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

Name

Description

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

Name

Description

Derived

Derived Classes

Name

Description

Coin

Owning wrapper over a btck_Coin.

CoinView

Non‐owning view over a btck_Coin, an unspent transaction output entry.

Created with MrDocs