MCPcopy Create free account
hub / github.com/LUX-Core/lux / _clear

Method _clear

src/txmempool.cpp:622–633  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

620}
621
622void CTxMemPool::_clear()
623{
624 mapLinks.clear();
625 mapTx.clear();
626 mapNextTx.clear();
627 totalTxSize = 0;
628 cachedInnerUsage = 0;
629 lastRollingFeeUpdate = GetTime();
630 blockSinceLastRollingFeeBump = false;
631 rollingMinimumFeeRate = 0;
632 ++nTransactionsUpdated;
633}
634
635void CTxMemPool::clear()
636{

Callers

nothing calls this directly

Calls 2

GetTimeFunction · 0.85
clearMethod · 0.45

Tested by

no test coverage detected