Owning wrapper over a btck_WitnessStack.
Declared in <kernel/bitcoinkernel_wrapper.h>
class WitnessStack
: public Handle<btck_WitnessStack, btck_witness_stack_copy, btck_witness_stack_destroy>
, public WitnessStackApi<WitnessStack>
| 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. |
| 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. |
| Name | Description |
|---|---|
m_ptr | The owned C handle. |