Solana developers propose cutting wasted computing work for validators

Solana developers have proposed a change to the network’s validator software that would prevent computers from wasting resources processing blocks that have already lost out to competing versions.

Summary

  • Anza developer Philippe Laferrière has proposed changes to Solana’s Agave validator software to prevent unnecessary transaction execution on rejected blocks.
  • The proposal simplifies an earlier approach that explored temporarily suspending work on competing blocks while retaining the ability to resume execution.
  • The development follows Solana’s October rollout of Alpenglow, which introduced a redesigned consensus mechanism with a finality target of roughly 150 milliseconds.
  • Anza is separately working on changes to reduce transaction scheduling delays, with the block replay proposal dependent on the implementation of that update.

In a GitHub proposal submitted on Nov. 23, Anza developer Philippe Laferrière outlined a change to Agave, Solana’s main validator client, that would allow validators to abandon a block once a competing version has been finalized by the network.

The proposed change concerns a part of the validator software known as replay, through which validators execute transactions contained in blocks received from other participants and independently verify the resulting changes to the blockchain’s state.

While Solana’s consensus mechanism determines which blocks become part of its permanent transaction history, the computational work involved in processing their contents does not necessarily finish at the same time.

How would the Solana validator update work?

Solana validators can sometimes receive competing versions of a block for the same slot, a designated period during which a block producer is expected to produce a block.

A validator may begin executing transactions from one version before the network has reached an agreement on which version should be accepted, particularly when competing blocks arrive at different times.

Processing a block involves executing instructions associated with transactions, checking their results and calculating changes to the accounts involved, which can require substantial computing resources when a block contains thousands of transactions.

If the network reaches consensus on a competing version while a validator is still performing those calculations, completing the remaining transactions in the losing block serves no purpose in establishing the network’s accepted state.

Laferrière’s proposal would allow validators to terminate that work as soon as the competing version has been finalized, freeing up computing resources for processing other blocks.

The implementation simplifies an earlier approach explored in a separate pull request, which considered temporarily suspending the processing of competing blocks while retaining the ability to resume execution if necessary.

With the latest approach, developers would rely on finalization to determine when processing can be abandoned permanently, removing the need to manage the suspension and potential resumption of execution.

Validator improvements follow Solana’s Alpenglow upgrade

The proposed changes follow the Oct. 21 rollout of Alpenglow, a redesign of Solana’s consensus mechanism developed by Anza to reduce the amount of time required for the network to reach agreement on blocks.

As crypto.news previously reported during Alpenglow’s testing phase, the first stage of the upgrade introduced Votor, a new consensus mechanism, while retaining Solana’s existing Turbine system for distributing block data across the network.

Votor operates through two voting paths, one of which allows a block to be finalized in a single round when votes representing 80% of the network’s stake are received, with a second path that uses two rounds of voting.

Designed to bring finality down from roughly 12.8 seconds to around 150 milliseconds, the upgrade has changed how validators communicate without altering the underlying process through which transactions are executed.

The migration has led to the removal of validator votes from blocks, with operators now paying a flat admission fee of 0.8 SOL per epoch instead of paying fees on individual vote transactions.

Anza has not published estimates of how frequently validators encounter competing blocks that require their ongoing execution to be abandoned or how much computing capacity could be recovered through Laferrière’s proposal.

At Solana Breakpoint in London last week, Anza CEO Brennan Watt outlined the firm’s development roadmap for 2027, which includes plans to double the network’s computing capacity and reduce the compute units required for transactions involving token accounts by 80%.

In a Nov. 19 X post summarizing Watt’s presentation, Solana identified another engineering priority as building a “simpler protocol with fewer special cases, safer to change.”

The roadmap includes faster block distribution through further improvements to Alpenglow and the introduction of Constellation, a mechanism intended to make transaction ordering more predictable and encourage competition among validators.

Anza explores changes to transaction scheduling

Separately, developers at Anza are working on a related proposal concerning delays that can occur during transaction scheduling within the validator client.

Solana’s execution architecture allows transactions that do not compete for access to the same writable accounts to be processed in parallel, while transactions involving shared account state must be coordinated to ensure their execution produces consistent results.

The scheduler is responsible for distributing that work, and the proposed modification would address circumstances in which other parts of the validator software are left waiting for it to complete its operations.

Laferrière’s block replay proposal remains in draft and depends on the scheduler modification being merged into Agave’s codebase.

Share with your friends!

Products You May Like

Leave a Reply

Your email address will not be published. Required fields are marked *

Please enter CoinGecko Free Api Key to get this plugin works.