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

Method SetBaseViewPtr

src/persistence/cdpdb.cpp:166–173  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

164}
165
166void CCdpDBCache::SetBaseViewPtr(CCdpDBCache *pBaseIn) {
167 cdp_global_data_cache.SetBase(&pBaseIn->cdp_global_data_cache);
168 cdp_cache.SetBase(&pBaseIn->cdp_cache);
169 cdp_bcoin_cache.SetBase(&pBaseIn->cdp_bcoin_cache);
170 user_cdp_cache.SetBase(&pBaseIn->user_cdp_cache);
171 cdp_ratio_index_cache.SetBase(&pBaseIn->cdp_ratio_index_cache);
172 cdp_height_index_cache.SetBase(&pBaseIn->cdp_height_index_cache);
173}
174
175void CCdpDBCache::SetDbOpLogMap(CDBOpLogMap *pDbOpLogMapIn) {
176 cdp_global_data_cache.SetDbOpLogMap(pDbOpLogMapIn);

Callers 1

CCacheWrapperMethod · 0.45

Calls 1

SetBaseMethod · 0.45

Tested by

no test coverage detected