Constructors
Synopses
Declared in <hash.h>
Constructs an all‐zero chain code.
constexpr
ChainCode() = default;
Constructs a chain code from a raw byte span.
constexpr
explicit
ChainCode(std::span<unsigned char const> vch);
Constructs a chain code from an existing 256‐bit blob.
constexpr
explicit
ChainCode(base_blob<256> const& b);
Parameters
Name |
Description |
vch |
The bytes to initialize the chain code with. |
b |
The blob to copy the chain code from. |
Created with MrDocs