15 testing_setup->mineBlocks(1000);
17 testing_setup->m_node.chainman->CheckBlockIndex();
static void CheckBlockIndex(benchmark::Bench &bench)
Main entry point to nanobench's benchmarking facility.
Bench & run(char const *benchmarkName, Op &&op)
Repeatedly calls op() based on the configuration, and performs measurements.
std::unique_ptr< T > MakeNoLogFileContext(const ChainType chain_type=ChainType::REGTEST, TestOpts opts={})
Make a test setup that has disk access to the debug.log file disabled.