| 178 | return flag_cache.GetData(name, fValue); |
| 179 | } |
| 180 | bool CBlockDBCache::WriteGlobalFinBlock(const int32_t height, const uint256 hash) { |
| 181 | finality_block_cache.SetData(std::make_pair(height, hash)); |
| 182 | return true; |
| 183 | } |
| 184 | bool CBlockDBCache::ReadGlobalFinBlock(std::pair<int32_t,uint256>& block) { |
| 185 | return finality_block_cache.GetData(block); |
| 186 | } |
no test coverage detected