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

Method SingleEntryCacheTest

src/test/coins_tests.cpp:597–601  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

595{
596public:
597 SingleEntryCacheTest(CAmount base_value, CAmount cache_value, char cache_flags)
598 {
599 WriteCoinsViewEntry(base, base_value, base_value == ABSENT ? NO_ENTRY : DIRTY);
600 cache.usage() += InsertCoinsMapEntry(cache.map(), cache_value, cache_flags);
601 }
602
603 CCoinsView root;
604 CCoinsViewCacheTest base{&root};

Callers

nothing calls this directly

Calls 2

WriteCoinsViewEntryFunction · 0.85
InsertCoinsMapEntryFunction · 0.85

Tested by

no test coverage detected