CRTP mixin adding block‐hash operations shared by the view and owning types.

Synopsis

Declared in <kernel/bitcoinkernel_wrapper.h>

template<typename Derived>
class BlockHashApi;

Member Functions

Name

Description

ToBytes

Returns the raw 32‐byte block hash.

operator==

Compares two block hashes for equality.

operator!=

Compares two block hashes for inequality.

Derived Classes

Name

Description

BlockHash

Owning wrapper over a btck_BlockHash.

BlockHashView

Non‐owning view over a btck_BlockHash.

Created with MrDocs