MCPcopy Create free account
hub / github.com/bitcoin/bitcoin / GetCacheSize

Method GetCacheSize

src/coins.cpp:306–308  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

304}
305
306unsigned int CCoinsViewCache::GetCacheSize() const {
307 return cacheCoins.size();
308}
309
310bool CCoinsViewCache::HaveInputs(const CTransaction& tx) const
311{

Callers 9

FlushStateToDiskMethod · 0.80
EXCLUSIVE_LOCKS_REQUIREDFunction · 0.80
CheckCacheFunction · 0.80
BOOST_AUTO_TEST_CASEFunction · 0.80
BOOST_AUTO_TEST_CASEFunction · 0.80
SetupSnapshotMethod · 0.80
TestCoinsViewFunction · 0.80
utxo_snapshot_fuzzFunction · 0.80
FUZZ_TARGETFunction · 0.80

Calls 1

sizeMethod · 0.45

Tested by 7

CheckCacheFunction · 0.64
BOOST_AUTO_TEST_CASEFunction · 0.64
BOOST_AUTO_TEST_CASEFunction · 0.64
SetupSnapshotMethod · 0.64
TestCoinsViewFunction · 0.64
utxo_snapshot_fuzzFunction · 0.64
FUZZ_TARGETFunction · 0.64