Bitcoin Core 28.99.0
P2P Digital Currency
Namespaces | Functions | Variables
mempool_persist.cpp File Reference
#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/signalinterrupt.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>
Include dependency graph for mempool_persist.cpp:

Go to the source code of this file.

Namespaces

namespace  node
 

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. More...
 
bool node::DumpMempool (const CTxMemPool &pool, const fs::path &dump_path, FopenFn mockable_fopen_function, bool skip_file_commit)
 

Variables

static const uint64_t node::MEMPOOL_DUMP_VERSION_NO_XOR_KEY {1}
 
static const uint64_t node::MEMPOOL_DUMP_VERSION {2}