btck_block_validation_state_copy

Copies the btck_BlockValidationState.

Synopsis

Declared in <kernel/bitcoinkernel.h>

[[nodiscard, __nonnull__]]
btck_BlockValidationState*
btck_block_validation_state_copy(btck_BlockValidationState const* block_validation_state);

Return Value

The copied btck_BlockValidationState.

NOTE

The return value should not be discarded.

Parameters

NameDescription
block_validation_state [in]Non-null.