Liquid Stake with compassSOL for an 7.32% APY from staking, MEV + fees

Enjoy the freedom of liquid staking in Solana Defi while delegating your stake to the high performance Solana Compass validator. Stake or unstake at any time here, or with a Jupiter swap.

Benefit from our high staking returns and over 2 years experience operating a Solana validator, and receive additional yield from priority fees + MEV tips

Earn 6.7% APY staking with Solana Compass

Help decentralize and secure the Solana network delegating your stake to us and earn an impressive 6.7% APY yield on your SOL, while supporting us to create new guides and tools. Learn more

Stake your SOL

  1. Click to connect your wallet
  2. Enter the amount you wish to stake
  3. Kick back and enjoy your returns
  4. Unstake from your wallet or our staking dashboard

Earn 6.7% APY staking with Solana Compass

Help decentralize and secure the Solana network delegating your stake to us and earn an impressive 6.7% APY yield on your SOL, while supporting us to create new guides and tools.

Learn more

Solana Changelog - October 11, 2022 - Vote Credit Proposal, Curve 25519 Compute Costs, & Seahorse v2

By Changelog

Published on 2022-10-11

Discover the latest Solana developments including a new vote credit proposal, optimized Curve 25519 compute costs, and the exciting release of Seahorse v2 for Python developers.

The notes below are AI generated and may not be 100% accurate. Watch the video to be sure!

Solana Changelog: Vote Credit Proposal, Curve 25519 Optimization, and Seahorse v2 Launch

In the ever-evolving world of blockchain technology, Solana continues to make significant strides in improving its ecosystem. The latest Solana Changelog podcast, featuring Jacob, Joe, and Colin, brings us up to speed on the most recent developments in the Solana blockchain. From a new vote credit proposal to optimizations in compute costs and the launch of Seahorse v2, there's plenty to unpack in this week's update.

The Timely Vote Credit Proposal: Rewarding Efficiency

One of the most intriguing updates discussed in the podcast is the new vote credit proposal. This initiative aims to address a known issue within the Solana network where validators sometimes delay submitting their votes to ensure they align with the majority fork, thus guaranteeing their votes count towards credits.

The proposed solution introduces a tiered credit system based on voting latency. Jacob explains, "There's a proposal to give a specific amount of credits every slot to those that vote quickly." This system effectively categorizes validators into low-latency and high-latency voters, with the former receiving more credits for their swift action.

How the New Credit System Works

Under this new proposal, credits would be distributed for each block or slot, with a greater share allocated to low-latency voters. The accumulation of these credits over an epoch then determines the reward a validator receives. This approach stands in contrast to the current system where credits are awarded solely based on voting for the majority block, which has inadvertently incentivized waiting to ensure voting on the correct fork.

The introduction of this system could have far-reaching implications for the Solana network. By incentivizing quick voting, it may lead to faster consensus and improved overall network performance. Moreover, it could encourage validators to optimize their systems for low-latency operations, potentially resulting in a more responsive and efficient blockchain.

Curve 25519 Compute Cost Reduction: Boosting On-Chain Efficiency

Another significant update highlighted in the changelog is the reduction in compute costs for Curve 25519 operations. This change is particularly noteworthy for developers working with Program Derived Addresses (PDAs) on Solana.

Colin elaborates on this update, stating, "The compute cost for curve 25519 operations are going to go down." This optimization means that when validating PDAs on-chain, developers will now have more compute units to work with, potentially allowing for more complex operations or improved efficiency in smart contracts.

The Impact of Reduced Compute Costs

The reduction in compute costs for Curve 25519 operations is not just a minor technical adjustment; it represents a significant optimization that can have far-reaching effects on the Solana ecosystem. With more compute units available, developers can create more sophisticated and feature-rich applications without hitting computational limits as quickly.

This change stems from a reevaluation of the actual computational requirements for these operations. As Jacob notes, "Previously it was just like they put in placeholder values and now they put more realistic values for how much that compute would cost." This recalibration demonstrates Solana's commitment to ongoing optimization and efficiency improvements.

For end-users, this could translate to smoother, faster, and potentially more complex decentralized applications (dApps) running on the Solana blockchain. It's another step towards Solana's goal of providing a high-performance, low-cost blockchain platform for developers and users alike.

TPU Connection Cache: Preparing for the Future

The podcast also touched upon changes to the Transaction Processing Unit (TPU) connection cache. This update involves separating the cache between QUIC and UDP protocols, a move that Joe describes as making it "a little bit easier to code in the future."

This change is particularly significant in the context of Solana's future plans. As Joe mentions, "UDP is going to be deprecated at some point," and this update ensures that the system is prepared for a smooth transition to QUIC in the future.

The Significance of Protocol Updates

While this might seem like a minor technical detail, it underscores Solana's forward-thinking approach to network development. By preparing the groundwork for a transition from UDP to QUIC, Solana is ensuring that its network can evolve without causing disruptions to existing systems or requiring major overhauls down the line.

The move to QUIC could bring several benefits to the Solana network, including improved connection reliability, reduced latency, and better congestion control. All of these factors contribute to Solana's ongoing efforts to provide a fast, efficient, and scalable blockchain platform.

Zero-Lamport Account Cleanup: Enhancing Efficiency

An interesting optimization discussed in the podcast relates to the cleanup of zero-lamport accounts. Colin explains that previously, these accounts were kept based on the previous full snapshot rather than the current slot. This resulted in a significant number of zero-lamport accounts not being cleaned up when they could have been.

The change allows for more efficient cleanup of these accounts, potentially freeing up resources and improving overall system performance. As Colin notes, "There's like a slight modification to the code that's just made something a lot more efficient."

The Importance of Resource Management

This update highlights the importance of efficient resource management in blockchain systems. Zero-lamport accounts, which essentially hold no value, can accumulate over time and consume unnecessary space and processing power if not properly managed.

By improving the cleanup process for these accounts, Solana is demonstrating its commitment to optimizing every aspect of its blockchain. This kind of attention to detail is crucial for maintaining Solana's reputation as a high-performance blockchain capable of handling a large number of transactions quickly and efficiently.

Validator Reset Improvements: Enhancing Consensus Mechanisms

The podcast also touched upon changes that allow validators to reset back to the slot that matches their last voted slot. Jacob explains, "Validators can kind of like reset back to the slot that matches their last voted slot."

This change disallows resetting back to a slot that's part of an invalid fork, which can help prevent consensus problems. It's particularly useful in situations where something goes wrong at a particular slot that could potentially cause consensus issues.

Strengthening Network Resilience

This update represents another step in Solana's ongoing efforts to strengthen its consensus mechanism and improve network resilience. By providing validators with more precise control over their reset capabilities, Solana is helping to ensure that the network can quickly recover from potential issues and maintain consensus.

The ability to reset to a specific slot that matches the last voted slot can be crucial in scenarios where network partitions or other issues might have caused some validators to fall out of sync. This feature allows for a more graceful recovery process, potentially reducing downtime and maintaining the overall stability of the Solana network.

Seahorse v2: Empowering Python Developers on Solana

One of the most exciting announcements in this changelog is the release of Seahorse v2 as a beta. Seahorse is a tool that allows developers to write Solana programs using Python, making the blockchain more accessible to a wider range of developers.

Joe enthusiastically shares, "Amelia posted an awesome thread on Twitter and she released V2 as a beta and there's a little bit of cool Python goodies in there." He goes on to mention improvements such as better use of data types and the availability of dictionaries, making the development experience more natural for Python developers.

Key Features of Seahorse v2

Seahorse v2 brings several significant improvements that make Solana development more accessible and powerful for Python developers:

  1. Improved Data Types: The new version offers better support for Python data types, allowing developers to write more idiomatic Python code that compiles to Solana programs.

  2. Dictionary Support: The addition of dictionary support is a big win for Python developers, as it allows for more flexible and intuitive data structures in Solana programs.

  3. CPI Support: As Jacob mentions, "CPI is allowed now in Seahorse v2." This means developers can now make Cross-Program Invocations (CPIs) to any Solana program directly from their Python code, greatly expanding the possibilities for interprogram interactions.

  4. More Natural Python Syntax: Overall, Seahorse v2 aims to make writing Solana programs feel more like writing standard Python code, reducing the learning curve for developers new to blockchain development.

The Impact of Seahorse v2 on Solana Development

The release of Seahorse v2 is a significant milestone in Solana's efforts to make its blockchain more accessible to a wider range of developers. By allowing developers to write Solana programs in Python, a language known for its simplicity and large community, Solana is potentially opening the doors to a new wave of blockchain developers.

This could lead to an increase in the number and diversity of applications built on Solana, as Python developers who may have been hesitant to dive into blockchain development now have a more familiar entry point. Furthermore, the ability to use Python's rich ecosystem of libraries and tools could lead to more innovative and complex applications on the Solana blockchain.

The addition of CPI support in Seahorse v2 is particularly noteworthy. This feature allows Python-written programs to interact with any other program on the Solana blockchain, greatly expanding the potential for creating interconnected and sophisticated decentralized applications.

Conclusion: Solana's Continuous Evolution

This week's Solana Changelog demonstrates the blockchain's commitment to continuous improvement and innovation. From optimizing low-level operations like Curve 25519 computations to introducing high-level developer tools like Seahorse v2, Solana is working on multiple fronts to enhance its ecosystem.

The new vote credit proposal shows Solana's focus on improving its consensus mechanism and incentivizing efficient validator behavior. The reduction in compute costs for Curve 25519 operations and the cleanup of zero-lamport accounts highlight the ongoing efforts to optimize the blockchain's performance and resource usage.

Meanwhile, the release of Seahorse v2 represents a significant step in making Solana more accessible to a wider range of developers, potentially accelerating the growth of the Solana ecosystem.

These updates, taken together, paint a picture of a blockchain that is not resting on its laurels but is constantly evolving to meet the needs of its users and developers. As Solana continues to grow and mature, updates like these will play a crucial role in maintaining its position as one of the leading blockchain platforms for high-performance decentralized applications.

The Solana team's dedication to improvement and innovation is clear, and it will be exciting to see how these changes impact the ecosystem in the coming months. Whether you're a validator, a developer, or a user of Solana-based applications, these updates promise a faster, more efficient, and more developer-friendly blockchain platform.

Facts + Figures

  • A new vote credit proposal aims to reward validators for quick voting, categorizing them into low-latency and high-latency voters.
  • The proposal suggests distributing a specific amount of credits every slot, with more credits allocated to low-latency voters.
  • Compute costs for Curve 25519 operations are being reduced, allowing for more efficient on-chain validation of Program Derived Addresses (PDAs).
  • The TPU connection cache is being separated between QUIC and UDP protocols, preparing for the future deprecation of UDP.
  • An optimization has been made to clean up zero-lamport accounts more efficiently, potentially affecting around 25,000 slots worth of accounts.
  • Validators can now reset to a slot that matches their last voted slot, helping to prevent consensus problems.
  • Seahorse v2 has been released as a beta, introducing several improvements for Python developers working on Solana.
  • Seahorse v2 includes better support for Python data types and the addition of dictionary support.
  • Cross-Program Invocations (CPIs) are now allowed in Seahorse v2, expanding the capabilities of Python-written Solana programs.
  • The Solana Stack Exchange is available as a resource for developers seeking answers to technical questions.
  • Breakpoint tickets are available for purchase, though no specific details about the event were provided in the transcript.

Questions Answered

What is the new vote credit proposal for Solana validators?

The new vote credit proposal aims to incentivize quick voting by Solana validators. It introduces a system where validators are categorized as either low-latency or high-latency voters, with more credits awarded to those who vote quickly. This proposal is designed to combat the known issue of validators delaying their votes to ensure they align with the majority fork, which can slow down the consensus process.

How are compute costs changing for Curve 25519 operations?

Compute costs for Curve 25519 operations on Solana are being reduced. This change allows for more efficient on-chain validation of Program Derived Addresses (PDAs), giving developers more compute units to work with. The reduction comes from a reevaluation of the actual computational requirements, replacing previous placeholder values with more realistic ones.

What improvements does Seahorse v2 bring for Python developers?

Seahorse v2, released as a beta, brings several improvements for Python developers working on Solana. It offers better support for Python data types, introduces dictionary support, and allows for Cross-Program Invocations (CPIs) to any Solana program. These enhancements make the development experience more natural and powerful for Python developers, potentially opening up Solana development to a wider range of programmers.

How is Solana improving its handling of zero-lamport accounts?

Solana has implemented an optimization to clean up zero-lamport accounts more efficiently. Previously, these accounts were kept based on the previous full snapshot rather than the current slot, resulting in many unnecessary accounts not being cleaned up. The new change allows for more efficient cleanup, potentially affecting around 25,000 slots worth of accounts and improving overall system performance.

What changes have been made to validator reset capabilities?

Validators can now reset to a slot that matches their last voted slot. This change disallows resetting back to a slot that's part of an invalid fork, which helps prevent consensus problems. It's particularly useful in situations where issues at a particular slot could potentially cause consensus disruptions, allowing for more graceful recovery and maintenance of network stability.

How is Solana preparing for future protocol changes in its TPU connection cache?

Solana is separating the Transaction Processing Unit (TPU) connection cache between QUIC and UDP protocols. This change is in preparation for the future deprecation of UDP, ensuring that the system is ready for a smooth transition to QUIC. This forward-thinking approach demonstrates Solana's commitment to evolving its network infrastructure without causing disruptions to existing systems.

What resources are available for Solana developers seeking technical assistance?

The Solana Stack Exchange is available as a resource for developers seeking answers to technical questions about Solana development. This platform allows developers to ask questions, share knowledge, and find solutions to common problems encountered while building on the Solana blockchain.

Related Content

Solana Changelog - October 11, 2022 - Vote Credit Proposal, Curve 25519 Compute Costs, & Seahorse v2

Explore Solana's latest developments including a timely vote credit proposal, reduced curve 25519 compute costs, and the exciting Seahorse v2 release in this comprehensive changelog.

Solana Changelog - January 17, 2023 - SIMD 3, Compute Cost Updates, Golana

Dive into the latest Solana developments including the SIMD 3 proposal for dynamic base fees, compute cost updates, and the introduction of Golana for Go developers.

Solana Changelog - Bridge Comparator, Program Loader v4, Feature Gates, and More

Discover the latest Solana developments including Jupiter's bridge comparator, Program Loader v4, feature gates, and more in this comprehensive changelog.

Solana Changelog - November 1, 2022 - Error Logging, Open-Source Proposals, and Voter Withdrawals

Discover the latest Solana updates including improved error logging, community-driven proposals, and exciting developments in the ecosystem.

Solana Changelog - October 3, 2022 - P2P Network, Versioned Transaction Guides, and xNFT Backpack!

Explore the latest Solana developments including SolPG enhancements, P2P network proposals, versioned transaction guides, and the exciting release of xNFT Backpack.

Solana Changelog - October 18, 2022 - Unified Scheduler, BPF to SBF, and Thirdweb Solana!

Discover the latest Solana improvements including a unified scheduler proposal, BPF to SBF migration, and Thirdweb's Solana support. Stay updated on Solana's evolving ecosystem.

Solana Changelog - January 17, 2023 - SIMD 3, Compute Cost Updates, Golana

Explore Solana's latest developments including SIMD 3 proposal for dynamic base fees, compute cost updates, and the introduction of Golana for Go developers.

Solana Changelog - January 31, 2023 - Geyser Improvements, Program-Test, and Bokken

Explore the latest Solana developments including a proposed fee market for storage, Geyser improvements, and the game-changing Bokken debugger for Solana programs.

Solana Changelog - April 9 - Flare and GetEpochStake

Discover the latest Solana developments including the Flare CLI for smart contract interaction, GetEpochStake proposal, and crucial performance enhancements for validators.

Solana Changelog March 7 - Verifiable Builds, Admin RPC, and Geyser

Explore the latest Solana developments including verifiable builds, admin RPC improvements, and Geyser interface updates for enhanced performance and security.

Solana Changelog - April 23 - Migrating BPF Programs, Priority Fees on the CLI, and More

Explore the latest Solana developments including BPF program migration, CLI priority fee updates, the upcoming Bonkathon, and major Anchor 0.30 release changes.

Solana Changelog - April 23 - Migrating BPF Programs, Priority Fees on the CLI, and More

Discover the latest Solana developments including BPF program migration, CLI priority fee updates, the upcoming Bonkathon, and major Anchor improvements in version 0.30.0.

Solana Changelog - September 19th, 2022 - Larger TXs, PubSub docs, & Summer Camp winners!

Discover the latest Solana updates including increased transaction sizes, new SDK modifications, and the exciting winners of the Solana Summer Camp hackathon.

Solana Changelog - December 13, 2022 - BigTable Fixes, Versioned Tx Program Testing, and OpenBook!

Discover the latest Solana updates including transaction capping, BigTable improvements, versioned transactions in program tests, and the exciting launch of OpenBook DEX.

Solana Changelog - September 13th, 2022 - Transaction v0, Fee Markets for Storage & SuperTeam Earn!

Explore Solana's latest developments including versioned transactions, fee markets for storage, and the exciting launch of SuperTeam Earn.