Owning wrapper over a btck_BlockHash.

Synopsis

Declared in <kernel/bitcoinkernel_wrapper.h>

Base Classes

Name

Description

Handle<btck_BlockHash, btck_block_hash_copy, btck_block_hash_destroy>

Owning RAII handle for a copyable C object of type CType.

BlockHashApi<BlockHash>

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

Member Functions

Name

Description

BlockHash [constructor]

Constructors

operator=

Assignment operators

ToBytes

Returns the raw 32‐byte block hash.

get

Returns the owned C handle.

operator==

Compares two block hashes for equality.

operator!=

Compares two block hashes for inequality.

Protected Data Members

Name

Description

m_ptr

The owned C handle.

Created with MrDocs