[#btck-BlockHashApi-00] = xref:btck.adoc[btck]::BlockHashApi :relfileprefix: ../ :mrdocs: CRTP mixin adding block‐hash operations shared by the view and owning types. == Synopsis Declared in `<kernel/bitcoinkernel_wrapper.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<typename Derived> class BlockHashApi; ---- == Member Functions [cols="1,4"] |=== | Name| Description | xref:btck/BlockHashApi-00/ToBytes.adoc[`ToBytes`] | Returns the raw 32‐byte block hash. | xref:btck/BlockHashApi-00/operator_eq.adoc[`operator==`] | Compares two block hashes for equality. | xref:btck/BlockHashApi-00/operator_not_eq.adoc[`operator!=`] | Compares two block hashes for inequality. |=== == Derived Classes [cols="1,4"] |=== | Name| Description | xref:btck/BlockHash.adoc[`BlockHash`] | Owning wrapper over a `btck_BlockHash`. | xref:btck/BlockHashView.adoc[`BlockHashView`] | Non‐owning view over a `btck_BlockHash`. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#