btck::BlockHashApi

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

NameDescription
ToBytes Returns the raw 32-byte block hash.
operator== Compares two block hashes for equality.
operator!= Compares two block hashes for inequality.

Derived Classes

NameDescription
BlockHash Owning wrapper over a btck_BlockHash.
BlockHashView Non-owning view over a btck_BlockHash.