Solana validators could stop replaying blocks that already lost
The proposal adds slot cancellation so the Votor consensus component can tell the replay thread which blocks to drop.
Solana developers have proposed a change to validator software that would let validators stop processing blocks that can never make it into the network's main chain. The proposal, a pull request on the Solana codebase, targets work that is wasted when two blocks compete for the same slot, a short window in which one block is meant to be produced.
When two blocks are produced for the same slot, validators replay both until one is finalized. The losing block is discarded, but the CPU time and resources spent on it are not recovered. The change would let a validator stop that work as soon as the competing block wins.
The proposal makes two changes. The replay thread would no longer block on the scheduler finishing its processing of blocks, and a new slot cancellation feature would let Votor, the consensus component, tell replay which blocks to stop trying to process. An earlier attempt, PR #16454, tackled a similar problem but added the ability to pause and resume block processing, which made it harder to review.
The aim is efficiency, not speed. According to U.Today, the change is not intended to affect transaction throughput or the price of SOL, Solana's token. Sending SOL, trading on a decentralized exchange or using Solana apps should work as before.
The pull request is still open for review. U.Today says more comments would help establish whether there are race conditions or problems with the reliability of replay and consensus, and suggests splitting it into two pull requests to make it easier to test. One possible benefit: the network could hold up better when compute loads are heavy.
Sources
Get stories like this in your inbox
The day’s biggest crypto stories and market moves in one short morning email. Free, no spam.