Owning wrapper over a btck_WitnessStack.

Synopsis

Declared in <kernel/bitcoinkernel_wrapper.h>

Base Classes

Name

Description

Handle<btck_WitnessStack, btck_witness_stack_copy, btck_witness_stack_destroy>

Owning RAII handle for a copyable C object of type CType.

WitnessStackApi<WitnessStack>

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

Member Functions

Name

Description

WitnessStack [constructor]

Constructs an owning copy from a view.

operator=

Assignment operators

CountItems

Returns the number of items on the witness stack.

GetItem

Returns a single witness item by index.

Items

get

Returns the owned C handle.

Protected Data Members

Name

Description

m_ptr

The owned C handle.

Created with MrDocs