A Closer Look At Solana's PoS, PoH, and how Jito and Firedancer Will Improve the Network

By Michael @ CryptoEQ | CryptoEQ | 6 Dec 2023


You are reading an excerpt from our free but shortened abridged report! While still packed with incredible research and data, for just $20/month you can upgrade to our FULL library of 50+ reports (including this one) and complete industry-leading analysis on the top crypto assets. 

67cbbf4723857b85c151585aa280e6d940346c501cef75bafd7dea02b44b24c9.png

Becoming a Premium member means enjoying all the perks of a Basic membership PLUS:

  • Full-length CORE Reports: More technical, in-depth research, actionable insights, and potential market alpha for serious crypto users
  • Early access to future CORE ratings: Being early is sometimes just as important as being right!
  • Premium Member CORE+ Reports: Coverage on the top issues pertaining to crypto users like bridge security, layer two solutions, DeFi plays, and more
  • CORE report Audio playback: Don’t want to read? No problem! Listen on the go.

 

Intro

Solana's approach to consensus in the blockchain realm involves a unique component known as Proof of History (PoH), which is integral to its Proof of Stake (PoS) system. PoH is not a standalone consensus mechanism but rather serves as a sequential record within Solana's architecture. It functions by timestamping transactions as they are added to a block, significantly speeding up the process of block production to every 400 milliseconds. This is a stark contrast to Ethereum's approximately 30-second block time and Bitcoin's 10-minute interval.

POS

Solana's PoS model requires validators to hold a certain amount of Solana's native tokens (SOL) to participate in maintaining network integrity. The PoS system equips Solana with additional security by allowing stake-weighted voting, wherein validators – chosen randomly and weighed according to their stake – verify nodes for the propriety of their version of the history.

The validator nodes chosen under the PoS model are given the power to create, propagate, and validate blocks, ensuring transaction accuracy and network security. Importantly, by leveraging stake-weighted voting, the PoS system minimizes any rogue influences, thus maintaining fair system play without extensive energy consumption.

A frequent mischaracterization of Solana's consensus is to describe it as Delegated Proof of Stake (DPoS). This is a misconception that the Solana team has repeatedly corrected. While it's true that Solana's network encompasses various roles—such as leaders, validators, and archivers—the process of assigning these roles is not akin to DPoS systems, where specific network participants are elected to perform certain functions.

In Solana's ecosystem, all nodes participate collectively in the network's roles. Leaders, for instance, are responsible for generating new blocks and do so in rapid succession, rotating every four blocks, equivalent to 1.6 seconds. During their short tenure as leaders, these nodes pack as many transactions as possible into their designated blocks and present them to Solana Clusters—a group of nodes tasked with validating transactions using the PoH-generated timestamps. Once validated, the transaction records are swiftly disseminated across the network, ensuring a high degree of efficiency and rapid throughput.

This innovative combination of PoH within a PoS framework is what gives Solana its edge in terms of speed and scalability, distinguishing it from other blockchain platforms and allowing it to handle a higher volume of transactions with lower latency.

Proof of History

 Solana is unique for its implementation of Proof-of-History (PoH), the first such use of this type of consensus algorithm. Achieving its competitive advantage from PoH, Solana can achieve high speeds and the ability to scale due to PoH acting as a decentralized clock for the network.  PoH enables asynchronous transactions by effectively time-stamping transactions. Validators in the network process as many transactions as possible using PoS and then, thanks to PoH, can arrange the transactions quickly based on the timestamp. 

The underpinning technology for PoH is the SHA256 hash function, commonly associated with Bitcoin's Proof of Work (PoW) consensus. However, Solana's application of SHA256 differs substantially. Instead of employing it to mine new blocks, it utilizes the hash function's consistent output to generate timestamps. These timestamps are analogous to 'clock ticks' in Solana's system, with each tick representing 400ms—aligning with the rapid creation of new blocks.

Simply put, PoH is (essentially) a trust-minimized global clock within the Solana protocol. In traditional PoW blockchains, miners hash together blocks, while in Solana with PoH, validators hash the hashes themselves continuously intra-block. The advantage of this approach is a global, trust-minimized concept of time for all of the nodes to use for consensus.

Because of this independent “timechain,” the leader in Solana block production is able to propagate timestamped transactions out to the network much faster. There’s no longer any lost time due to some arbitrary order determined by the block producer. The timechain provides a canonical order which can be easily checked. 

What Problem Does PoH Solve?

A key problem with the speeds and scalability of decentralized networks is that nodes can’t rely on a centralized or external source to keep track of the appropriate flow of time. This creates bottlenecks as the “supermajority” of nodes must first occur on the appropriate timestamp, which is then propagated back to the rest of the network. Other L1 PoS blockchains require validators to communicate and reach an agreement on time. However, with PoH in Solana, all validators must maintain their own clocks.

PoH represents a way for blockchains to keep the time between computers that don’t trust each other. Solana’s website explains: “A reliable clock makes network synchronization very simple. When synchronization is simple, the resulting network can be blazing fast, bound only by network bandwidth.” 

PoH provides a solution to this problem as it creates a way for every node to always be able to sequentially compute the passage of time cryptographically between two events without simply trusting the corresponding timestamp of each transaction. This bypasses having to first wait for the majority of the network to verify the timestamp. Essentially, transactions on Solana are verified and ordered without needing all nodes to agree simultaneously, making it quite different and much faster than typical blockchains. It also means Solana is a monolithic blockchain, serving as a single shard, whereas other chains, like Ethereum, Cosmos, Polkadot, etc., have gone with a modular (sharded) architecture. Solana does everything on a single chain in a single state. 

Validators

In the decentralized blockchain world, validator clients are pivotal components that underpin the consensus mechanisms of a network. These clients are the software that validators operate to propose and attest to blocks, ensuring the integrity and continuity of a blockchain. The original Solana Labs client debuted in March 2020 and encounters bottlenecks in processing concurrent transactions. Additionally, the lack of sharding—a method crucial for horizontal scalability—restricts the network's capability to scale efficiently in tandem with growth. These constraints pose significant hurdles to Solana's aspirations for maintaining high performance and scalability as transaction volumes escalate. Since then, great efforts have been undertaken to improve the client and even create new ones.

The Jito client is a more recent addition to the Solana ecosystem, optimized for Maximum Extractable Value (MEV) on the network. MEV is a phenomenon wherein validators and miners can influence transaction inclusion to extract additional value. While Ethereum validators can leverage MEV by selecting profitable transactions from the mempool during the auction period, Solana's continuous block production model does not provide a native mempool, complicating the process. Jito addresses this by simulating a mempool, allowing transactions to be bundled and processed more efficiently.

Firedancer

Firedancer, a new validator client developed by Jump Group, is engineered to maximize the performance of Solana's network by alleviating software inefficiencies inherent in the Solana Labs client. This reimagining of the validator client, written in the C programming language, is designed to push the hardware to its limits while maintaining compatibility with the existing Rust-based clients.

Key Features and Advancements with Firedancer

  • Sharding Support: Firedancer's integration of sharding promises horizontal scalability, partitioning the network into manageable segments to boost transaction processing efficiency.
  • Revamped Consensus Protocol: A refined iteration of Solana's proof-of-stake (PoS) consensus protocol underpins Firedancer, streamlining the validation process for greater speed and reliability.

Firedancer's Contributions to Solana's Ecosystem

  • Validator Code Rewrite: Firedancer represents a complete overhaul of the Solana validator code, ensuring compatibility with the existing protocol and validators.
  • Performance Optimization: Developed in C for peak performance, early tests reveal an impressive 10x to 100x improvement in processing, achieving over 1 million TPS.
  • Testnet Launch and Mainnet Forecast: Announced at Solana Breakpoint 2023, Firedancer's deployment on the testnet is a prelude to its expected mainnet integration in the latter half of 2024.

Firedancer revamps three critical functional components of the Solana Labs client: Networking, Runtime, and Consensus. The networking component manages all internet-based activities, including transaction reception and block propagation. The runtime component, or Solana Virtual Machine (SVM), ensures transactions are executed within their permissions, maintains the state of the chain, and leverages Solana's "Sealevel" capability for parallel processing of transactions involving non-competing states. The consensus component is responsible for securing the chain and verifying transactions, utilizing Solana's unique Proof of History mechanism.

Preliminary simulations of Firedancer's network capabilities indicate that transaction processing scales almost linearly with the number of cores in a validator's hardware. This suggests a substantial leap in throughput potential for the Solana network. Early demonstrations have hinted at the ability to process 1 million transactions per second per core, a remarkable feat, if realized.

In conclusion, the introduction of Firedancer as a high-performance validator client holds the promise of elevating the Solana network to unprecedented levels of efficiency and scalability. As such, it represents a significant development in the blockchain space, poised to enhance the performance of one of the leading platforms in the industry.

 

How do you rate this article?

67


Michael @ CryptoEQ
Michael @ CryptoEQ

I am a Co-Founder and Lead Analyst at CryptoEQ. Gain the market insights you need to grow your cryptocurrency portfolio. Our team's supportive and interactive approach helps you refine your crypto investing and trading strategies.


CryptoEQ
CryptoEQ

Gain the market insights you need to grow your cryptocurrency portfolio. Our team's supportive and interactive approach helps you refine your crypto investing and trading strategies.

Send a $0.01 microtip in crypto to the author, and earn yourself as you read!

20% to author / 80% to me.
We pay the tips from our rewards pool.