Reads the block spent coins data the passed in block tree entry points to from disk and returns it.
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);
The read out block spent outputs, or null on error.
The return value should not be discarded.
| Name | Description |
|---|---|
| chainstate_manager [in] | Non-null. |
| block_tree_entry [in] | Non-null. |