btck::View

Non-owning view over a const C handle of type CType.

Synopsis

Declared in <kernel/bitcoinkernel_wrapper.h>

template<typename CType>
class View;

Member Functions

NameDescription
View [constructor]Constructs a view over ptr, throwing if it is null.
get Returns the borrowed C handle.

Protected Data Members

NameDescription
m_ptr The borrowed C handle.

Derived Classes

NameDescription
BlockHashView Non-owning view over a btck_BlockHash.
BlockHeaderView Non-owning view over a btck_BlockHeader.
BlockTreeEntry Non-owning view over a btck_BlockTreeEntry, a node in the block index tree.
BlockValidationStateView Non-owning view over a btck_BlockValidationState.
ChainView Non-owning view over a btck_Chain, a sequence of block tree entries by height.
CoinView Non-owning view over a btck_Coin, an unspent transaction output entry.
ConsensusParamsView Non-owning view over btck_ConsensusParams, the consensus parameters of a chain.
OutPointView Non-owning view over a btck_TransactionOutPoint.
ScriptPubkeyView Non-owning view over a btck_ScriptPubkey.
TransactionInputView Non-owning view over a btck_TransactionInput.
TransactionOutputView Non-owning view over a btck_TransactionOutput.
TransactionSpentOutputsView Non-owning view over a btck_TransactionSpentOutputs.
TransactionView Non-owning view over a btck_Transaction.
TxidView Non-owning view over a btck_Txid.
WitnessStackView Non-owning view over a btck_WitnessStack.