Bitcoin Core 31.0.0
P2P Digital Currency
Loading...
Searching...
No Matches
mempool_persist.h File Reference
#include <util/fs.h>
Include dependency graph for mempool_persist.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  node::ImportMempoolOptions

Namespaces

namespace  node

Functions

bool node::DumpMempool (const CTxMemPool &pool, const fs::path &dump_path, fsbridge::FopenFn mockable_fopen_function=fsbridge::fopen, bool skip_file_commit=false)
 Dump the mempool to a file.
bool node::LoadMempool (CTxMemPool &pool, const fs::path &load_path, Chainstate &active_chainstate, ImportMempoolOptions &&opts)
 Import the file and attempt to add its contents to the mempool.