![]() |
Bitcoin Core 31.1.0
P2P Digital Currency
|
#include <node/mempool_persist.h>#include <clientversion.h>#include <consensus/amount.h>#include <logging.h>#include <primitives/transaction.h>#include <random.h>#include <serialize.h>#include <streams.h>#include <sync.h>#include <txmempool.h>#include <uint256.h>#include <util/fs.h>#include <util/fs_helpers.h>#include <util/obfuscation.h>#include <util/signalinterrupt.h>#include <util/syserror.h>#include <util/time.h>#include <validation.h>#include <cstdint>#include <cstdio>#include <exception>#include <functional>#include <map>#include <memory>#include <set>#include <stdexcept>#include <utility>#include <vector>Go to the source code of this file.
Namespaces | |
| namespace | node |
Typedefs | |
| using | FopenFn |
Functions | |
| 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. | |
| 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. | |
Variables | |
| static const uint64_t | node::MEMPOOL_DUMP_VERSION_NO_XOR_KEY {1} |
| static const uint64_t | node::MEMPOOL_DUMP_VERSION {2} |
| using fsbridge::FopenFn |