Create a chainstate manager. This is the main object for many validation tasks as well as for retrieving data from the chain and interacting with its chainstate and indexes.
Synopsis
Declared in <kernel/bitcoinkernel.h>
[[nodiscard, __nonnull__]]
btck_ChainstateManager*
btck_chainstate_manager_create(btck_ChainstateManagerOptions const* chainstate_manager_options);
Return Value
The allocated chainstate manager, or null on error.
|
Note
|
The return value should not be discarded. |
Parameters
Name |
Description |
chainstate_manager_options [in] |
Non‐null, created by |
Created with MrDocs