Bitcoin ABC
0.26.3
P2P Digital Currency
|
Classes | |
struct | BlockManagerOpts |
An options struct for BlockManager , more ergonomically referred to as BlockManager::Options due to the using-declaration in BlockManager . More... | |
struct | ChainstateManagerOpts |
An options struct for ChainstateManager , more ergonomically referred to as ChainstateManager::Options due to the using-declaration in ChainstateManager . More... | |
struct | MemPoolOptions |
Options struct containing options for constructing a CTxMemPool. More... | |
struct | ValidationCacheSizes |
Functions | |
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) |
bool | 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 disk. More... | |
bool | LoadMempool (CTxMemPool &pool, const fs::path &load_path, Chainstate &active_chainstate, fsbridge::FopenFn mockable_fopen_function=fsbridge::fopen) |
Load the mempool from disk. More... | |
Variables | |
static const uint64_t | MEMPOOL_DUMP_VERSION = 1 |
bool kernel::DumpMempool | ( | const CTxMemPool & | pool, |
const fs::path & | dump_path, | ||
FopenFn | mockable_fopen_function, | ||
bool | skip_file_commit | ||
) |
Definition at line 143 of file mempool_persist.cpp.
bool kernel::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 disk.
bool kernel::LoadMempool | ( | CTxMemPool & | pool, |
const fs::path & | load_path, | ||
Chainstate & | active_chainstate, | ||
FopenFn | mockable_fopen_function | ||
) |
bool kernel::LoadMempool | ( | CTxMemPool & | pool, |
const fs::path & | load_path, | ||
Chainstate & | active_chainstate, | ||
fsbridge::FopenFn | mockable_fopen_function = fsbridge::fopen |
||
) |
Load the mempool from disk.
|
static |
Definition at line 37 of file mempool_persist.cpp.