MCPcopy Create free account
hub / github.com/BTCGPU/BTCGPU / _clear

Method _clear

src/txmempool.cpp:586–597  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

584}
585
586void CTxMemPool::_clear()
587{
588 mapLinks.clear();
589 mapTx.clear();
590 mapNextTx.clear();
591 totalTxSize = 0;
592 cachedInnerUsage = 0;
593 lastRollingFeeUpdate = GetTime();
594 blockSinceLastRollingFeeBump = false;
595 rollingMinimumFeeRate = 0;
596 ++nTransactionsUpdated;
597}
598
599void CTxMemPool::clear()
600{

Callers

nothing calls this directly

Calls 2

GetTimeFunction · 0.85
clearMethod · 0.45

Tested by

no test coverage detected