btck::CoinApi

CRTP mixin adding coin accessors shared by the view and owning types.

Synopsis

Declared in <kernel/bitcoinkernel_wrapper.h>

template<typename Derived>
class CoinApi;

Member Functions

NameDescription
GetConfirmationHeight Returns the height at which the coin was confirmed.
GetOutput Returns the transaction output backing the coin.
IsCoinbase Reports whether the coin originates from a coinbase transaction.

Friends

NameDescription
Derived

Derived Classes

NameDescription
Coin Owning wrapper over a btck_Coin.
CoinView Non-owning view over a btck_Coin, an unspent transaction output entry.