Bitcoin Core 28.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  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. More...
 
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. More...