Copy a witness stack.

Synopsis

Declared in <kernel/bitcoinkernel.h>

[[nodiscard, __nonnull__]]
btck_WitnessStack*
btck_witness_stack_copy(btck_WitnessStack const* witness_stack);

Return Value

The copied witness stack.

Note

The return value should not be discarded.

Parameters

Name

Description

witness_stack [in]

Non‐null.

Created with MrDocs