Bitcoin Core  27.99.0
P2P Digital Currency
Classes | Namespaces | Functions
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  kernel::ImportMempoolOptions
 

Namespaces

 kernel
 

Functions

bool kernel::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. More...
 
bool kernel::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. More...