We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aecc332 commit d2f8f1bCopy full SHA for d2f8f1b
src/bench/mempool_stress.cpp
@@ -88,7 +88,7 @@ static void ComplexMemPool(benchmark::Bench& bench)
88
}
89
std::vector<CTransactionRef> ordered_coins = CreateOrderedCoins(det_rand, childTxs, /*min_ancestors=*/1);
90
const auto testing_setup = MakeNoLogFileContext<const TestingSetup>(CBaseChainParams::MAIN);
91
- CTxMemPool pool;
+ CTxMemPool& pool = *testing_setup.get()->m_node.mempool;
92
LOCK2(cs_main, pool.cs);
93
bench.run([&]() NO_THREAD_SAFETY_ANALYSIS {
94
for (auto& tx : ordered_coins) {
0 commit comments