![]() |
Bitcoin Core 31.0.0
P2P Digital Currency
|
#include <node/mempool_persist.h>#include <node/mempool_args.h>#include <node/mempool_persist_args.h>#include <test/fuzz/FuzzedDataProvider.h>#include <test/fuzz/fuzz.h>#include <test/fuzz/util.h>#include <test/fuzz/util/mempool.h>#include <test/util/setup_common.h>#include <test/util/txmempool.h>#include <txmempool.h>#include <util/check.h>#include <util/time.h>#include <util/translation.h>#include <validation.h>#include <cstdint>#include <vector>Go to the source code of this file.
Functions | |
| void | initialize_validation_load_mempool () |
| FUZZ_TARGET (validation_load_mempool,.init=initialize_validation_load_mempool) | |
| 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 a file. | |
| 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. | |
| fs::path | MempoolPath (const ArgsManager &argsman) |
| 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.
Definition at line 153 of file mempool_persist.cpp.
| FUZZ_TARGET | ( | validation_load_mempool | , |
| . | init = initialize_validation_load_mempool ) |
Definition at line 39 of file validation_load_mempool.cpp.
| void initialize_validation_load_mempool | ( | ) |
Definition at line 33 of file validation_load_mempool.cpp.
| 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.
Definition at line 43 of file mempool_persist.cpp.
| fs::path node::MempoolPath | ( | const ArgsManager & | argsman | ) |