Constructors
Declared in <kernel/bitcoinkernel_wrapper.h>
Constructs an owning copy from a view.
BlockHash(BlockHashView const& view);
» more...
Constructs a block hash from raw 32-byte data.
explicit
BlockHash(std::array<std::byte, 32> const& hash);
» more...
Takes ownership of an existing C block hash.
explicit
BlockHash(btck_BlockHash* hash);
» more...
| Name | Description |
|---|---|
| view | The view to copy. |
| hash | The 32-byte hash value. |