Hashgraph Consensus: What It is, How It Works (2024)

What Is Hashgraph Consensus?

Hashgraph consensus is an alternative to—or the next generation of—the technology behind blockchain consensus mechanisms. Instead of using the computational power of large networks to verify transactions, transactions are recorded and confirmed via a protocol that uses node communication.

A hashgraph is a decentralized ledger in much the same way a blockchain is. It stores information, secures it with cryptography, limits access, and uses the stored data as verification. However, a hashgraph network reaches consensus in a much different way than a blockchain does.

Hashgraph consensus is reached using concepts called "gossip," "gossip about gossip,"and virtual voting. Designers of the system report that it solves the problems inherent to consensus-building algorithms, such as proof of work (PoW), in terms of better speed and higher efficiency.

Learn more about hashgraph consensus and how it is different and more efficient than blockchain consensus mechanisms.

Key Takeaways

  • Hashgraph consensus uses information about information rather than the content itself to create consensus.
  • Primary information in the hashgraph is called "gossip," and secondary information is called "gossip about gossip."
  • The hashgraph distributed ledger system has not received wide adoption by the crypto community.

Hashgraph consensus—gossip, gossip about gossip, and virtual voting—is the mechanism the Hedera distributed ledger uses to validate and confirm transactions.

Understanding Hashgraph Consensus

Hashgraph is an alternative to blockchain. Similar to a blockchain, it stores data and encrypts it. A hash is generated for transaction information, and new transactions or data are added and built upon. However, a blockchain is a ledger that consists of blocks of data. Each block is linked to the previous block using its data, verified by a network of validators to create the next block. This process creates one chain. A hashgraph isn't one chain—all information is kept in an encrypted ledger, and every user participates in the validation process, not just the validators.

For example, Alice creates a transaction with Bob, and all of the information she knows is given to him. Bob then makes a transaction with Kris. All of the information Bob has is communicated to Kris. Kris transacts with Eli, and everything she knows is transferred. This continues throughout the network, with the chain essentially gossiping about the events taking place. Every node knows what all other nodes know, so there is no need for computational validation.

As the gossip spreads from user to user, the network uses algorithms and automation to ensure the state of the hashgraph ledger is updated and the same.

Gossip

Information about data is called "gossip." The data structure contained in a transaction are:

  • A timestamp
  • More transactions or zeros
  • Two hashes from the parent containers
  • An encrypted signature.

The two hashes are the last events from two syncing nodes that compare their information. Nodes are continuously creating events and syncing.

Hashgraph—the ledger—is more efficient than blockchain because no energy is wasted on blocks that are not accepted. All information is retained in a hashgraph.

Gossip About Gossip

Information about transaction data is called "gossip about gossip." Information is synchronized in the hashgraph network using an event called a "gossip sync." A gossip sync is a collaborative history of "gossip events" throughout the hashgraph. In this way, data cannot be altered or tampered with, and there is consensus.

Virtual Voting

Virtual voting occurs when the nodes compare events and reach a consensus via a voting algorithm. Here's how it works—a transaction is assigned a timestamp as a node receives it. As it passes to the other nodes in the network, it is assigned a timestamp that is a median of all of the timestamps for that transaction received by the nodes in the network. The median acts as the result of the vote. This creates a more fair transaction system than a blockchain because the network decides, not one node.

Fault Tolerance

As with most distributed ledgers and blockchain, there is always a chance that a participant in the network is not honest. There might be delays in communication or network latency that causes nodes not to communicate properly.

Consensus mechanisms are designed to deal with these faults by setting fault tolerance criteria. Developers need to consider and account for bad actors, bad connections, network latency, and other network issues. Hashgraph consensus can tolerate one-third of the network acting maliciously. It is reportedly asynchronous Byzantine fault tolerant—the highest security level—which means that honest nodes on a network continue operating even if there are bad actors.

How Is Hashgraph Different From Blockchain?

Hashgraph is a data structure that maintains the records of who told who what and in what order they did so. It is a collaborative history of gossip events as participants add and share information, which validates transactions much faster than a blockchain.

Blockchain adds previous transaction information to new transaction information and encrypts it. A third party is needed to validate the transactions between parties. Hashgraph doesn't need this slow process because of the gossip protocol.

Hashgraph consensus is much faster than blockchain consensus mechanisms, with average transaction confirmation times in seconds rather than minutes.

Bitcoin and many other cryptocurrencies have issues with message timing. However, hashgraph's asynchronous Byzantine fault tolerance overcomes the problem of message timing by assuming that lost or delayed messages will eventually make it to their destinations.

For example, if two transactions occur simultaneously, a blockchain network chooses which order the transactions occurred. In some blockchains, transaction fees prioritize confirmation. Other networks might decide which transaction is confirmed based on how many tokens a validator has staked. In these blockchains, one node influences the outcome.

Hashgraph consensus eliminates the influence one node or a group of nodes can have on transactions. Because there is a timestamp on each transaction, and each transaction is communicated to the entire network, transaction timing issues are resolved.

What Is Hashgraph Consensus?

Hashgraph consensus is a mechanism used in a hashgraph distributed ledger to validate transactions.

How Does Hashgraph Consensus Work?

Hashgraph consensus works using consensus timestamps and "gossip," in which each node communicates everything it knows to random nodes in "gossip events."

Will Hashgraph Replace Blockchain?

Hashgraph is designed to be—and marketed as—an improvement on blockchain technology, but whether it will replace it remains to be seen. It doesn't yet have as much developer interest and adoption as blockchain technology.

Hashgraph Consensus: What It is, How It Works (2024)

FAQs

Hashgraph Consensus: What It is, How It Works? ›

It utilizes a Directed Acyclic Graph (DAG) structure for working of Hashgraph consensus mechanism in distributed systems. The consensus algorithm uses a unique “virtual voting” and “gossip about gossip” protocol to provide fast and secure consensus without needing a centralized authority or high computational power.

How is consensus in hashgraph achieved? ›

It stores information, secures it with cryptography, limits access, and uses the stored data as verification. However, a hashgraph network reaches consensus in a much different way than a blockchain does. Hashgraph consensus is reached using concepts called "gossip," "gossip about gossip," and virtual voting.

How does Hedera consensus work? ›

How does it work? The hashgraph consensus algorithm is a distributed consensus mechanism used by Hedera. It uses a data structure called a hashgraph, and a consensus mechanism called the Gossip protocol. This combination allows for fast, fair, and secure consensus.

What is the swirlds hashgraph consensus algorithm? ›

The goal of the Swirlds hashgraph consensus algorithm is for the members of the community to come to a consensus (agreement) on the order of the events (and thus the order of transactions inside the events), and to agree on a timestamp for each event (and so for each transaction).

What is the consensus time in Hedera? ›

Every transaction is assigned a consensus time, which is the median of the times at which each node says it first received it. Received here refers to the time that a given node was first passed the transaction from another node through gossip.

How does Ripple consensus work? ›

Consensus in Ripple aims at delivering the transactions submitted by clients to all participating nodes in a common global order, despite faulty or malicious (Byzantine) nodes [27].

How does consensus algorithm work? ›

Consensus algorithms are a set of rules or protocols that enable nodes in a blockchain network to agree on a shared state of the network. They are used to ensure that all nodes in the network come to a consensus on the validity of transactions and the order in which they are added to the blockchain.

Will Hedera reach $100? ›

Hedera's strengths consist of performance, security, management, stability, and compliance. No other public distributed technology has the potential to compete with Hedera. By 2030, Hedera will be used by almost every enterprise in the world, so HBAR will easily reach $100 per token, according to some expert opinions.

Can Hedera reach $5 dollars? ›

Riding on the anticipated proliferation of blockchain technologies around the world, by 2030, the prices of HBAR could reach all-time highs. The low is predicted to be around $4.75, and the average price to shoot up to $5.40.

Is Hedera backed by Google? ›

‍Google Cloud has long been a supporter of the Hedera network as a member of the Governing Council,” said Shayne Higdon, CEO of The HBAR Foundation.

What are the drawbacks of hashgraph? ›

Cons. Despite its many advantages over traditional blockchain technology, Hashgraph has a few drawbacks. It is more expensive to use, as it requires more resources, such as storage and bandwidth. Furthermore, it has yet to be widely adopted, so it is not feasible for mainstream applications.

Which is the best consensus algorithm in blockchain? ›

Proof of Work (PoW) is the oldest and most widely used consensus algorithm in blockchain. It was first implemented by Bitcoin and later adopted by many other cryptocurrencies. PoW requires nodes to solve a hard mathematical puzzle, called a hash, to create a new block and validate transactions.

Why is hashgraph better than blockchain? ›

The main purpose of hashgraph is to overcome the limitations of blockchain, aiming to provide faster transaction processing speeds, reduced transaction fees, and higher levels of security through a proprietary system called aBFT (Asynchronous Byzantine Fault Tolerance).

What is the Hedera consensus mechanism? ›

The receiving node processes (for instance, confirms the paying account has sufficient balance to pay the fee) the transaction and, if processing is successful, submits the transaction to the Hedera network for consensus by adding the transaction to an event and gossiping that event to another node.

Can Hedera reach $10? ›

Conclusion. Reaching $10 per coin is an ambitious goal for HBAR, but it's not impossible. The combination of Hedera's technological superiority, enterprise adoption, ecosystem growth, favorable tokenomics, regulatory clarity, and positive market sentiment can drive HBAR to new heights.

How much will Hedera be worth in 2030? ›

Hedera (HBAR) Price Prediction 2030
YearPrice
2025$ 0.05196
2026$ 0.054558
2027$ 0.057286
2030$ 0.066315
1 more row

How is consensus achieved in Hyperledger fabric? ›

In Hyperledger Fabric, PBFT is used in the ordering service, responsible for reaching consensus on the order of transactions. PBFT ensures that the network can tolerate up to one-third of the nodes being malicious or faulty while still reaching agreement on transaction ordering.

What does consensus achieve in a blockchain? ›

In the blockchain, a consensus mechanism is a system that validates a transaction and marks it as authentic. This mechanism lists all valid transactions of a coin in a blockchain to build trust in the coin among traders. Several currencies, such as Bitcoin, Ethereum etc., use this system for security purposes.

What is the consensus mechanism of Cardano blockchain? ›

Cardano is built on the ground-breaking PoS consensus protocol Ouroboros, and the first blockchain consensus protocol to be developed through peer-reviewed research. At the heart of the protocol are stake pools, reliable server nodes run by a stake pool operator to which ada holders can delegate their stake.

How consensus is achieved in Bitcoin? ›

Proof of work (PoW) is a common consensus mechanism used by the most popular cryptocurrency networks, such as Bitcoin and Litecoin. It requires a participant node to prove that the work done and submitted by them was valid and a large network of programs to verify it.

Top Articles
How to Wipe a PC (With or Without OS)? 2024 Full Guide
Dave Ramsey: 7 Vacation Splurges That are a Waste of Money
What Did Bimbo Airhead Reply When Asked
UPS Paketshop: Filialen & Standorte
Amc Near My Location
Craigslist Vans
Kaydengodly
Bucks County Job Requisitions
Pitt Authorized User
Premier Boating Center Conroe
Sport Clip Hours
Diablo 3 Metascore
2016 Ford Fusion Belt Diagram
Mineral Wells Independent School District
Colorado mayor, police respond to Trump's claims that Venezuelan gang is 'taking over'
What Happened To Anna Citron Lansky
Locate At&T Store Near Me
Niche Crime Rate
Wgu Academy Phone Number
Project, Time & Expense Tracking Software for Business
Www.publicsurplus.com Motor Pool
Craigslist Battle Ground Washington
Valic Eremit
Hctc Speed Test
Arrest Gif
Jesus Revolution Showtimes Near Regal Stonecrest
Speedstepper
Free T33N Leaks
2004 Honda Odyssey Firing Order
Frank Vascellaro
Korg Forums :: View topic
Robot or human?
Does Iherb Accept Ebt
Western Gold Gateway
Vanessa West Tripod Jeffrey Dahmer
Bimmerpost version for Porsche forum?
How To Get Soul Reaper Knife In Critical Legends
Wsbtv Fish And Game Report
NHL training camps open with Swayman's status with the Bruins among the many questions
Dr Adj Redist Cadv Prin Amex Charge
Anhedönia Last Name Origin
Gasoline Prices At Sam's Club
Promo Code Blackout Bingo 2023
Shell Gas Stations Prices
Rs3 Nature Spirit Quick Guide
4k Movie, Streaming, Blu-Ray Disc, and Home Theater Product Reviews & News
Oklahoma City Farm & Garden Craigslist
Matt Brickman Wikipedia
Suzanne Olsen Swift River
Affidea ExpressCare - Affidea Ireland
Ravenna Greataxe
Latest Posts
Article information

Author: Rubie Ullrich

Last Updated:

Views: 6396

Rating: 4.1 / 5 (52 voted)

Reviews: 91% of readers found this page helpful

Author information

Name: Rubie Ullrich

Birthday: 1998-02-02

Address: 743 Stoltenberg Center, Genovevaville, NJ 59925-3119

Phone: +2202978377583

Job: Administration Engineer

Hobby: Surfing, Sailing, Listening to music, Web surfing, Kitesurfing, Geocaching, Backpacking

Introduction: My name is Rubie Ullrich, I am a enthusiastic, perfect, tender, vivacious, talented, famous, delightful person who loves writing and wants to share my knowledge and understanding with you.