Owning wrapper over a btck_TxValidationState, holding a transaction's validation outcome.

Synopsis

Declared in <kernel/bitcoinkernel_wrapper.h>

Base Classes

Name

Description

UniqueHandle<btck_TxValidationState, btck_tx_validation_state_destroy>

Owning RAII handle for a non‐copyable C object, backed by std::unique_ptr.

Member Functions

Name

Description

TxValidationState [constructor]

Constructs an empty transaction validation state.

GetTxValidationResult

Returns the specific transaction validation result.

GetValidationMode

Returns the overall validation outcome.

get

Returns the owned C handle.

Using Declarations

Name

Description

TxValidationState

Inherit the base constructor that adopts a C handle.

Protected Types

Name

Description

Deleter

Custom deleter that forwards to the C destroy function.

Protected Data Members

Name

Description

m_ptr

The owned C handle.

Created with MrDocs