Reads the block spent coins data the passed in block tree entry points to from disk and returns it.

Synopsis

Declared in <kernel/bitcoinkernel.h>

[[nodiscard, __nonnull__]]
btck_BlockSpentOutputs*
btck_block_spent_outputs_read(
    btck_ChainstateManager const* chainstate_manager,
    btck_BlockTreeEntry const* block_tree_entry);

Return Value

The read out block spent outputs, or null on error.

Note

The return value should not be discarded.

Parameters

Name

Description

chainstate_manager [in]

Non‐null.

block_tree_entry [in]

Non‐null.

Created with MrDocs