5 #ifndef BITCOIN_KERNEL_MEMPOOL_PERSIST_H 6 #define BITCOIN_KERNEL_MEMPOOL_PERSIST_H 18 bool skip_file_commit =
false);
28 #endif // BITCOIN_KERNEL_MEMPOOL_PERSIST_H FILE * fopen(const fs::path &p, const char *mode)
bool LoadMempool(CTxMemPool &pool, const fs::path &load_path, Chainstate &active_chainstate, FopenFn mockable_fopen_function)
bool DumpMempool(const CTxMemPool &pool, const fs::path &dump_path, FopenFn mockable_fopen_function, bool skip_file_commit)
std::function< FILE *(const fs::path &, const char *)> FopenFn
Chainstate stores and provides an API to update our local knowledge of the current best chain...
CTxMemPool stores valid-according-to-the-current-best-chain transactions that may be included in the ...
Path class wrapper to block calls to the fs::path(std::string) implicit constructor and the fs::path:...