No history yet

Proof of History

Proof of History

In a distributed network, agreeing on the time is a surprisingly hard problem. If different computers around the world record events, how can you be sure which one happened first? There's no single, universally trusted clock to reference. This uncertainty can slow everything down, as nodes have to spend time and resources communicating to agree on the order of transactions.

Solana's answer to this is Proof of History (PoH). It's not a consensus mechanism like Proof of Stake, but rather a way to create a trustworthy, cryptographic record of time. PoH functions as a decentralized clock, allowing the entire network to agree on the sequence of events without needing to talk to each other first.

Proof-of-history allows validators to timestamp each transaction that occurs on the network.

How It Works

The magic behind PoH is a high-frequency Verifiable Delay Function (VDF). In simple terms, the network is constantly running a sequence of computations. It takes the output of one computation and uses it as the input for the next one. This process creates a chain of hashes, where each hash proves a specific moment in time has passed.

This is done using the SHA-256 hashing algorithm. A leader node takes a piece of data, hashes it, then takes that hash and hashes it again, over and over. This creates a long, unbroken chain. Because you can't predict the output of a hash function, the only way to generate the chain is to actually perform the sequence of computations.

When a new transaction comes in, it's inserted into this hash chain. Its data is combined with the current hash in the sequence. The result is a timestamp—not a traditional one like "10:35 AM," but a cryptographic one that says, "this transaction happened at count 500 of the PoH sequence." Anyone can then verify this by re-running the computations. This creates an unchangeable, verifiable order of all transactions.

Why It Matters

By establishing a clear order of events before transactions are processed by the wider network, PoH dramatically boosts efficiency. Validators don't need to communicate with each other to figure out the transaction sequence. They can simply trust the order encoded in the PoH stream.

This massively reduces the communication overhead that slows down other blockchains. With a pre-sorted list of transactions, validators can process them much more quickly and in parallel. The result is a network that can handle a huge number of transactions per second with very low latency.

By leveraging PoH, Solana achieves high throughput and low latency, enabling near-instant confirmation of transactions.

Ultimately, Proof of History serves as the network's pacemaker. It provides a consistent, reliable rhythm that keeps every node in sync, creating the foundation for Solana's high-speed performance.

Quiz Questions 1/5

What is the primary problem that Solana's Proof of History (PoH) is designed to solve?

Quiz Questions 2/5

True or False: Proof of History is a consensus mechanism that replaces Proof of Stake on the Solana network.