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