Import the file and attempt to add its contents to the mempool.
Synopsis
Declared in <node/mempool_persist.h>
bool
LoadMempool(
CTxMemPool& pool,
fs::path const& load_path,
Chainstate& active_chainstate,
ImportMempoolOptions&& opts);
Return Value
True on success, false if the file could not be loaded.
Parameters
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. |
Created with MrDocs