[#btck-BlockHashView] = xref:btck.adoc[btck]::BlockHashView :relfileprefix: ../ :mrdocs: Non‐owning view over a `btck_BlockHash`. == Synopsis Declared in `<kernel/bitcoinkernel_wrapper.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- class BlockHashView : public xref:btck/View-041.adoc[View<btck_BlockHash>] , public xref:btck/BlockHashApi-00.adoc[BlockHashApi<BlockHashView>] ---- == Base Classes [cols="1,4"] |=== | Name| Description | `xref:btck/View-041.adoc[View<btck_BlockHash>]` | Non‐owning view over a const C handle of type `CType.` | `xref:btck/BlockHashApi-00.adoc[BlockHashApi<BlockHashView>]` | CRTP mixin adding block‐hash operations shared by the view and owning types. |=== == Member Functions [cols="1,4"] |=== | Name| Description | xref:btck/BlockHashView/2constructor.adoc[`BlockHashView`] [.small]#[constructor]# | Constructs a view over `ptr.` | xref:btck/BlockHashView/ToBytes.adoc[`ToBytes`] | Returns the raw 32‐byte block hash. | xref:btck/BlockHashView/get.adoc[`get`] | Returns the borrowed C handle. | xref:btck/BlockHashView/operator_eq.adoc[`operator==`] | Compares two block hashes for equality. | xref:btck/BlockHashView/operator_not_eq.adoc[`operator!=`] | Compares two block hashes for inequality. |=== == Protected Data Members [cols="1,4"] |=== | Name| Description | xref:btck/BlockHashView/m_ptr.adoc[`m_ptr`] | The borrowed C handle. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#