This is to track the regression introduced in master, which needs fixing for 0.14. See #9240, #9371, etc.
{
    mapLinks.clear();
    mapTx.clear();
    mapNextTx.clear();
    totalTxSize = 0;
    cachedInnerUsage = 0;
    lastRollingFeeUpdate = GetTime();
    blockSinceLastRollingFeeBump = false;
    rollingMinimumFeeRate = 0;
    ++nTransactionsUpdated;
}
void CTxMemPool::clear()
{
    LOCK(cs);
    _clear();
}
void CTxMemPool::check(const CCoinsViewCache *pcoins) const