27 const auto test_setup = MakeNoLogFileContext<const TestingSetup>();
28 const Config &config = test_setup->m_node.chainman->GetConfig();
34 constexpr size_t NUM_BLOCKS{200};
36 for (
size_t b = 0; b < NUM_BLOCKS; ++b) {
38 tx.
vin.push_back(MineBlock(config, test_setup->m_node, P2SH_OP_TRUE));
39 tx.
vin.back().scriptSig = scriptSig;
44 << std::vector<uint8_t>(100));
53 for (
const auto &txr : txs) {
55 test_setup->m_node.chainman->ProcessTransaction(txr);
60 bench.
run([&] { PrepareBlock(config, test_setup->m_node, P2SH_OP_TRUE); });
RecursiveMutex cs_main
Mutex to guard access to validation specific variables, such as reading or changing the chainstate.