CRTP mixin adding accessors over the coins spent by one transaction.

Synopsis

Declared in <kernel/bitcoinkernel_wrapper.h>

template<typename Derived>
class TransactionSpentOutputsApi;

Member Functions

Name

Description

Coins

Returns a range over all coins spent by the transaction.

Count

Returns the number of spent outputs.

GetCoin

Returns a single spent coin by index.

Friends

Name

Description

Derived

Derived Classes

Name

Description

TransactionSpentOutputs

Owning wrapper over a btck_TransactionSpentOutputs, the coins spent by one transaction.

TransactionSpentOutputsView

Non‐owning view over a btck_TransactionSpentOutputs.

Created with MrDocs