btck::TxValidationState

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

Synopsis

Declared in <kernel/bitcoinkernel_wrapper.h>

class TxValidationState
    : public UniqueHandle<btck_TxValidationState, btck_tx_validation_state_destroy>

Base Classes

NameDescription
UniqueHandle<btck_TxValidationState, btck_tx_validation_state_destroy>Owning RAII handle for a non-copyable C object, backed by std::unique_ptr.

Member Functions

NameDescription
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

NameDescription
TxValidationState Inherit the base constructor that adopts a C handle.

Protected Types

NameDescription
Deleter Custom deleter that forwards to the C destroy function.

Protected Data Members

NameDescription
m_ptr The owned C handle.