In periods of competing blocks, Solana validators spend CPU and timing resources replaying blocks that will never make it into the canonical chain once another competing block from the same slot has been finalized.
This PR proposes changes to validator software to help prevent work from being done. It also decouples functionality and gives control to Votor in requesting slot cancellation without modifying BankForks.
What is being proposed?
Overall, this is a reasonable technical improvement and has a good engineering motivation. Further technical comments and review would be helpful to understand if there are potential race conditions or issues with reliability of replay and consensus. This could be split into two PRs to make it easier to test and review.
u.today