Non-owning view over a btck_BlockHash.
Declared in <kernel/bitcoinkernel_wrapper.h>
class BlockHashView
: public View<btck_BlockHash>
, public BlockHashApi<BlockHashView>
| Name | Description |
|---|---|
View<btck_BlockHash> | Non-owning view over a const C handle of type CType. |
BlockHashApi<BlockHashView> | CRTP mixin adding block-hash operations shared by the view and owning types. |
| Name | Description |
|---|---|
BlockHashView [constructor] | Constructs a view over ptr. |
ToBytes | Returns the raw 32-byte block hash. |
get | Returns the borrowed C handle. |
operator== | Compares two block hashes for equality. |
operator!= | Compares two block hashes for inequality. |
| Name | Description |
|---|---|
m_ptr | The borrowed C handle. |