Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Simd 118: add recalculation method and use when booting from snapshot (…
…#1159) * Add recalculate_partitioned_rewards method * Pass starting block height into set_epoch_reward_status_active * Store recalculated rewards in Bank * Populate Bank::epoch_reward_status from recalculation * Skip allocating epoch_reward_status to immediately replace it * Add calc test ability to customize rewards per block * Add unit tests for recalculate_stake_rewards * Add unit test for recalculate_partitioned_rewards * Remove now-erroneous snapshot test cases * Remove unused metrics timer * Calc review comments * Refactor test harness to dedupe advancing to epoch boundary * Update test * Review suggestions: improve comments
- Loading branch information