88@@ -89,8 +89,10 @@ static CBlockIndex CreateBlockIndex(int nHeight, CBlockIndex* active_chain_tip)
89 // Test suite for ancestor feerate transaction selection.
90 // Implemented as an additional function, rather than a separate test case,
91 // to allow reusing the blockchain created in CreateNewBlock_validity.
92-void MinerTestingSetup::TestPackageSelection(const CChainParams& chainparams, const CScript& scriptPubKey, const std::vector<CTransactionRef>& txFirst)
93+void MinerTestingSetup::TestPackageSelection(const CScript& scriptPubKey, const std::vector<CTransactionRef>& txFirst)
94 {
95+ CTxMemPool tx_mempool{/*estimator=*/nullptr, /*check_ratio=*/1};
I think this conflicts with
@dongcarl ’s intent to construct less mempools (although maybe this isn’t a problem as this is instantiated with special parameters).
Good point. Fixed by constructing a mempool in only one place