pool.TrimToSize(pool.DynamicMemoryUsage()*3/4);// tx3 should pay for tx2 (CPFP)
BOOST_CHECK(!pool.exists(tx1.GetHash()));
BOOST_CHECK(pool.exists(tx2.GetHash()));
BOOST_CHECK(pool.exists(tx3.GetHash()));
pool.TrimToSize(::GetSerializeSize(CTransaction(tx1),SER_NETWORK,PROTOCOL_VERSION));// mempool is limited to tx1's size in memory usage, so nothing fits