[#btck-BlockHash] = xref:btck.adoc[btck]::BlockHash :relfileprefix: ../ :mrdocs: Owning wrapper over a `btck_BlockHash`. == Synopsis Declared in `<kernel/bitcoinkernel_wrapper.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- class BlockHash : public xref:btck/Handle-046.adoc[Handle<btck_BlockHash, btck_block_hash_copy, btck_block_hash_destroy>] , public xref:btck/BlockHashApi-00.adoc[BlockHashApi<BlockHash>] ---- == Base Classes [cols="1,4"] |=== | Name| Description | `xref:btck/Handle-046.adoc[Handle<btck_BlockHash, btck_block_hash_copy, btck_block_hash_destroy>]` | Owning RAII handle for a copyable C object of type `CType.` | `xref:btck/BlockHashApi-00.adoc[BlockHashApi<BlockHash>]` | CRTP mixin adding block‐hash operations shared by the view and owning types. |=== == Member Functions [cols="1,4"] |=== | Name| Description | xref:btck/BlockHash/2constructor-0a.adoc[`BlockHash`] [.small]#[constructor]# | Constructors | xref:btck/BlockHash/operator_assign-05.adoc[`operator=`] | Assignment operators | xref:btck/BlockHash/ToBytes.adoc[`ToBytes`] | Returns the raw 32‐byte block hash. | xref:btck/BlockHash/get-08.adoc[`get`] | Returns the owned C handle. | xref:btck/BlockHash/operator_eq.adoc[`operator==`] | Compares two block hashes for equality. | xref:btck/BlockHash/operator_not_eq.adoc[`operator!=`] | Compares two block hashes for inequality. |=== == Protected Data Members [cols="1,4"] |=== | Name| Description | xref:btck/BlockHash/m_ptr.adoc[`m_ptr`] | The owned C handle. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#