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

Name

Description

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

Name

Description

Derived

Derived Classes

Name

Description

WitnessStack

Owning wrapper over a btck_WitnessStack.

WitnessStackView

Non‐owning view over a btck_WitnessStack.

Created with MrDocs