mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-04-17 02:57:33 +02:00
kernel: Add chainstate loading when instantiating a ChainstateManager
The library will now internally load the chainstate when a new ChainstateManager is instantiated. Options for controlling details of loading the chainstate will be added over the next few commits.
This commit is contained in:
@@ -755,7 +755,8 @@ BITCOINKERNEL_API void btck_chainstate_manager_options_destroy(btck_ChainstateMa
|
||||
|
||||
/**
|
||||
* @brief Create a chainstate manager. This is the main object for many
|
||||
* validation tasks as well as for retrieving data from the chain. *
|
||||
* validation tasks as well as for retrieving data from the chain and
|
||||
* interacting with its chainstate and indexes.
|
||||
*
|
||||
* @param[in] chainstate_manager_options Non-null, created by @ref btck_chainstate_manager_options_create.
|
||||
* @return The allocated chainstate manager, or null on error.
|
||||
|
||||
Reference in New Issue
Block a user