ChainCode::ChainCode

Constructors

Synopses

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...

Parameters

NameDescription
vchThe bytes to initialize the chain code with.
bThe blob to copy the chain code from.