| 56 | } |
| 57 | |
| 58 | bool chain::IsBlockInflatedRewardStarted(CCacheWrapper &cw, HeightType height) { |
| 59 | auto version = GetFeatureForkVersion(height); |
| 60 | if (version >= MAJOR_VER_R3_5) { |
| 61 | CBlockInflatedReward blockInflatedReward; |
| 62 | cw.blockCache.GetBlockInflatedReward(blockInflatedReward); |
| 63 | return (blockInflatedReward.start_height != 0 && height >= blockInflatedReward.start_height); |
| 64 | } |
| 65 | return false; |
| 66 | } |
| 67 | |
| 68 | // process block delegates, call at the tail of block executing |
| 69 | bool chain::ProcessBlockDelegates(CBlock &block, CCacheWrapper &cw, CValidationState &state) { |
nothing calls this directly
no test coverage detected