fuzz: try to add more code coverage for mempool fuzzing

Including test coverage for mempool eviction and expiry
This commit is contained in:
Suhas Daftuar
2023-10-12 10:48:55 -04:00
committed by Suhas Daftuar
parent f107417490
commit 72e74e0d42
2 changed files with 43 additions and 10 deletions

View File

@@ -418,6 +418,7 @@ void CTxMemPool::check(const CCoinsViewCache& active_coins_tip, int64_t spendhei
uint64_t innerUsage = 0;
assert(!m_txgraph->IsOversized(TxGraph::Level::MAIN));
m_txgraph->SanityCheck();
CCoinsViewCache mempoolDuplicate(const_cast<CCoinsViewCache*>(&active_coins_tip));