btck::BlockValidationStateView

Non-owning view over a btck_BlockValidationState.

Synopsis

Declared in <kernel/bitcoinkernel_wrapper.h>

class BlockValidationStateView
    : public View<btck_BlockValidationState>
    , public BlockValidationStateApi<BlockValidationStateView>

Base Classes

NameDescription
View<btck_BlockValidationState>Non-owning view over a const C handle of type CType.
BlockValidationStateApi<BlockValidationStateView>CRTP mixin adding block-validation-state accessors shared by the view and owning types.

Member Functions

NameDescription
BlockValidationStateView [constructor]Constructs a view over ptr.
GetBlockValidationResult Returns the specific block validation result.
GetValidationMode Returns the overall validation outcome.
get Returns the borrowed C handle.

Protected Data Members

NameDescription
m_ptr The borrowed C handle.