btck_witness_stack_count_items

Return the number of items in a witness stack.

Synopsis

Declared in <kernel/bitcoinkernel.h>

[[__nonnull__]]
size_t
btck_witness_stack_count_items(btck_WitnessStack const* witness_stack);

Return Value

The number of witness stack items.

Parameters

NameDescription
witness_stack [in]Non-null.