Owning wrapper over a btck_Coin.

Synopsis

Declared in <kernel/bitcoinkernel_wrapper.h>

Base Classes

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.

Member Functions

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.

Protected Data Members

Name

Description

m_ptr

The owned C handle.

Created with MrDocs