Owning wrapper over a btck_BlockHash.
Declared in <kernel/bitcoinkernel_wrapper.h>
class BlockHash
: public Handle<btck_BlockHash, btck_block_hash_copy, btck_block_hash_destroy>
, public BlockHashApi<BlockHash>
| Name | Description |
|---|---|
Handle<btck_BlockHash, btck_block_hash_copy, btck_block_hash_destroy> | Owning RAII handle for a copyable C object of type CType. |
BlockHashApi<BlockHash> | CRTP mixin adding block-hash operations shared by the view and owning types. |
| Name | Description |
|---|---|
BlockHash [constructor] | Constructors |
operator= | Assignment operators |
ToBytes | Returns the raw 32-byte block hash. |
get | Returns the owned C handle. |
operator== | Compares two block hashes for equality. |
operator!= | Compares two block hashes for inequality. |
| Name | Description |
|---|---|
m_ptr | The owned C handle. |