MCPcopy Create free account
hub / github.com/bitcoinxt/bitcoinxt / DynamicMemoryUsage

Method DynamicMemoryUsage

src/coins.cpp:68–70  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

66}
67
68size_t CCoinsViewCache::DynamicMemoryUsage() const {
69 return memusage::DynamicUsage(cacheCoins) + cachedCoinsUsage;
70}
71
72CCoinsMap::const_iterator CCoinsViewCache::FetchCoins(const uint256 &txid) const {
73 CCoinsMap::iterator it = cacheCoins.find(txid);

Callers 9

mempoolInfoToJSONFunction · 0.45
FetchCoinsMethod · 0.45
ModifyCoinsMethod · 0.45
BatchWriteMethod · 0.45
~CCoinsModifierMethod · 0.45
FlushStateToDiskFunction · 0.45
UpdateTipFunction · 0.45
VerifyDBMethod · 0.45
SelfTestMethod · 0.45

Calls 1

DynamicUsageFunction · 0.85

Tested by 1

SelfTestMethod · 0.36