Returns the previous block tree entry in the tree, or null if the current block tree entry is the genesis block.
Declared in <kernel/bitcoinkernel.h>
[[__nonnull__]]
btck_BlockTreeEntry const*
btck_block_tree_entry_get_previous(btck_BlockTreeEntry const* block_tree_entry);
The previous block tree entry, or null on error or if the current block tree entry is the genesis block.
| Name | Description |
|---|---|
| block_tree_entry [in] | Non-null. |