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

Method ReadGlobalFinBlock

src/persistence/blockdb.cpp:184–186  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

182 return true;
183}
184bool CBlockDBCache::ReadGlobalFinBlock(std::pair<int32_t,uint256>& block) {
185 return finality_block_cache.GetData(block);
186}
187
188bool CBlockDBCache::GetBlockInflatedReward(CBlockInflatedReward &value) {
189 return block_inflated_reward_cache.GetData(value);

Callers 3

ProcessBlockMessageFunction · 0.80
getinfoFunction · 0.80
GetGlobalFinBlockHashMethod · 0.80

Calls 1

GetDataMethod · 0.45

Tested by

no test coverage detected