Merge 489b587669 into merged_master (Bitcoin PR bitcoin/bitcoin#25215)

This commit is contained in:
James Dorfman 2024-09-10 20:19:35 +00:00
commit fe8d041f9f
9 changed files with 29 additions and 26 deletions

View file

@ -20,7 +20,7 @@ BOOST_FIXTURE_TEST_SUITE(validation_flush_tests, ChainTestingSetup)
//!
BOOST_AUTO_TEST_CASE(getcoinscachesizestate)
{
CTxMemPool mempool;
CTxMemPool& mempool = *Assert(m_node.mempool);
BlockManager blockman{};
CChainState chainstate{&mempool, blockman, *Assert(m_node.chainman)};
chainstate.InitCoinsDB(/*cache_size_bytes=*/1 << 10, /*in_memory=*/true, /*should_wipe=*/false);