Get the btck_BlockTreeEntry whose associated btck_BlockHeader has the most known cumulative proof of work.
Declared in <kernel/bitcoinkernel.h>
[[__nonnull__]]
btck_BlockTreeEntry const*
btck_chainstate_manager_get_best_entry(btck_ChainstateManager const* chainstate_manager);
The btck_BlockTreeEntry, or null if no block headers have been loaded.
| Name | Description |
|---|---|
| chainstate_manager [in] | Non-null. |