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.
Declared in <kernel/bitcoinkernel.h>
[[nodiscard, __nonnull__]]
btck_ChainstateManager*
btck_chainstate_manager_create(btck_ChainstateManagerOptions const* chainstate_manager_options);
The allocated chainstate manager, or null on error.
The return value should not be discarded.
| Name | Description |
|---|---|
| chainstate_manager_options [in] | Non-null, created by btck_chainstate_manager_options_create. |