Owning wrapper over a btck_Txid transaction identifier.

Synopsis

Declared in <kernel/bitcoinkernel_wrapper.h>

Base Classes

Name

Description

Handle<btck_Txid, btck_txid_copy, btck_txid_destroy>

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

TxidApi<Txid>

CRTP mixin adding transaction‐id operations shared by the view and owning types.

Member Functions

Name

Description

Txid [constructor]

Constructs an owning copy from a view.

operator=

Assignment operators

ToBytes

Returns the raw 32‐byte transaction id.

get

Returns the owned C handle.

operator==

Compares two transaction ids for equality.

operator!=

Compares two transaction ids for inequality.

Protected Data Members

Name

Description

m_ptr

The owned C handle.

Created with MrDocs