Import the file and attempt to add its contents to the mempool.
Declared in <node/mempool_persist.h>
bool
LoadMempool(
CTxMemPool& pool,
fs::path const& load_path,
Chainstate& active_chainstate,
ImportMempoolOptions&& opts);
True on success, false if the file could not be loaded.
| Name | Description |
|---|---|
| pool | The mempool to populate from the file. |
| load_path | Path of the serialized mempool to read. |
| active_chainstate | The active chainstate used to validate the imported transactions. |
| opts | Options controlling how the file is imported. |