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

Method GetCacheSize

src/persistence/cdpdb.cpp:184–187  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

182}
183
184uint32_t CCdpDBCache::GetCacheSize() const {
185 return cdp_global_data_cache.GetCacheSize() + cdp_cache.GetCacheSize() + cdp_bcoin_cache.GetCacheSize() +
186 user_cdp_cache.GetCacheSize() + cdp_ratio_index_cache.GetCacheSize() + cdp_height_index_cache.GetCacheSize();
187}
188
189bool CCdpDBCache::Flush() {
190 cdp_global_data_cache.Flush();

Callers 2

WriteChainStateFunction · 0.45
BOOST_AUTO_TEST_CASEFunction · 0.45

Calls

no outgoing calls

Tested by 1

BOOST_AUTO_TEST_CASEFunction · 0.36