Owning wrapper over a btck_Coin.
Declared in <kernel/bitcoinkernel_wrapper.h>
class Coin
: public Handle<btck_Coin, btck_coin_copy, btck_coin_destroy>
, public CoinApi<Coin>
| Name | Description |
|---|---|
Handle<btck_Coin, btck_coin_copy, btck_coin_destroy> | Owning RAII handle for a copyable C object of type CType. |
CoinApi<Coin> | CRTP mixin adding coin accessors shared by the view and owning types. |
| Name | Description |
|---|---|
Coin [constructor] | Constructors |
operator= | Assignment operators |
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 owned C handle. |
| Name | Description |
|---|---|
m_ptr | The owned C handle. |