Consolidating all rewards is no longer safe to do after the move to static rewards as rewards now have a higher precision. Consensus may generate a higher reward due to sub-satoshi amounts than more frequent intermediate running of consolidate rewards. This PR updates the -consolidatereards flag to only consolidate the per-block rewards.
Flush the DB after flushing the view to make sure that changes are all present in the DB.
Summary
-consolidatereards
flag to only consolidate the per-block rewards.Implications
Storage
Consensus