MCPcopy Create free account
hub / github.com/ElementsProject/elements / GetCoinsCacheSizeState

Method GetCoinsCacheSizeState

src/validation.cpp:2459–2465  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2457}
2458
2459CoinsCacheSizeState CChainState::GetCoinsCacheSizeState()
2460{
2461 AssertLockHeld(::cs_main);
2462 return this->GetCoinsCacheSizeState(
2463 m_coinstip_cache_size_bytes,
2464 gArgs.GetIntArg("-maxmempool", DEFAULT_MAX_MEMPOOL_SIZE) * 1000000);
2465}
2466
2467CoinsCacheSizeState CChainState::GetCoinsCacheSizeState(
2468 size_t max_coins_cache_size_bytes,

Callers 2

BOOST_AUTO_TEST_CASEFunction · 0.80

Calls 2

GetIntArgMethod · 0.80
DynamicMemoryUsageMethod · 0.45

Tested by 1

BOOST_AUTO_TEST_CASEFunction · 0.64