mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-06-01 08:44:02 +02:00
fuzz: try to add more code coverage for mempool fuzzing
Including test coverage for mempool eviction and expiry
This commit is contained in:
committed by
Suhas Daftuar
parent
f107417490
commit
72e74e0d42
@@ -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));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user