12#include <validation.h>
23 static const auto testing_setup = MakeNoLogFileContext<const TestingSetup>();
24 g_setup = testing_setup.get();
34 auto fuzzed_fopen = [&](
const fs::path&,
const char*) {
35 return fuzzed_file_provider.
open();
37 (void)
LoadMempool(pool, g_setup->m_node.chainman->ActiveChainstate(), fuzzed_fopen);
CTxMemPool stores valid-according-to-the-current-best-chain transactions that may be included in the ...
Path class wrapper to prepare application code for transition from boost::filesystem library to std::...
Testing setup that configures a complete environment.
int64_t ConsumeTime(FuzzedDataProvider &fuzzed_data_provider, const std::optional< int64_t > &min, const std::optional< int64_t > &max) noexcept
FuzzedFileProvider ConsumeFile(FuzzedDataProvider &fuzzed_data_provider) noexcept
void SetMockTime(int64_t nMockTimeIn)
DEPRECATED Use SetMockTime with chrono type.
bool LoadMempool(CTxMemPool &pool, CChainState &active_chainstate, FopenFn mockable_fopen_function)
Load the mempool from disk.
bool DumpMempool(const CTxMemPool &pool, FopenFn mockable_fopen_function, bool skip_file_commit)
Dump the mempool to disk.
FUZZ_TARGET_INIT(validation_load_mempool, initialize_validation_load_mempool)
void initialize_validation_load_mempool()