5#ifndef BITCOIN_NODE_MEMPOOL_PERSIST_H
6#define BITCOIN_NODE_MEMPOOL_PERSIST_H
18 bool skip_file_commit =
false);
29 ImportMempoolOptions&& opts);
CTxMemPool stores valid-according-to-the-current-best-chain transactions that may be included in the ...
Chainstate stores and provides an API to update our local knowledge of the current best chain.
FILE * fopen(const fs::path &p, const char *mode)
std::function< FILE *(const fs::path &, const char *)> FopenFn
bool 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.
bool DumpMempool(const CTxMemPool &pool, const fs::path &dump_path, FopenFn mockable_fopen_function, bool skip_file_commit)
bool apply_fee_delta_priority
fsbridge::FopenFn mockable_fopen_function
bool apply_unbroadcast_set