btck::WitnessStackApi

CRTP mixin adding witness-stack accessors shared by the view and owning types.

Synopsis

Declared in <kernel/bitcoinkernel_wrapper.h>

template<typename Derived>
class WitnessStackApi;

Member Functions

NameDescription
CountItems Returns the number of items on the witness stack.
GetItem Returns a single witness item by index.
Items Returns a range over all witness items.

Friends

NameDescription
Derived

Derived Classes

NameDescription
WitnessStack Owning wrapper over a btck_WitnessStack.
WitnessStackView Non-owning view over a btck_WitnessStack.