Non-owning view over a btck_Coin, an unspent transaction output entry.
Declared in <kernel/bitcoinkernel_wrapper.h>
class CoinView
: public View<btck_Coin>
, public CoinApi<CoinView>
| Name | Description |
|---|---|
View<btck_Coin> | Non-owning view over a const C handle of type CType. |
CoinApi<CoinView> | CRTP mixin adding coin accessors shared by the view and owning types. |
| Name | Description |
|---|---|
CoinView [constructor] | Constructs a view over ptr. |
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. |
get | Returns the borrowed C handle. |
| Name | Description |
|---|---|
m_ptr | The borrowed C handle. |