LAST CHANCE BLACK FRIDAY: Save now on Ledger hardware wallets and accessories.

Shop now

Up your Web3 game

Ledger Academy Quests

  • Test your knowledge
  • Earn POK NFTs
Play now See all quests

Gossip Protocol Meaning

Jul 23, 2024 | Updated Jul 23, 2024
A gossip protocol is a method for sharing information across a distributed network of computers without relying on a central authority.

What Is a Gossip Protocol?

A gossip protocol is a communication technique in which nodes in a network exchange information with randomly selected peers. This approach enables rapid and reliable data distribution across a network, making it particularly useful for large-scale distributed systems.

In a gossip-based system, information spreads exponentially. When a node receives new data, it chooses a few random nodes and shares this information with them. These recipient nodes then repeat the process, causing the data to quickly propagate throughout the network. This continues until all nodes have received the information, ensuring widespread data consistency.

For example, Hashgraph, a distributed ledger technology, uses the gossip protocol as a key component of its consensus mechanism. In Hashgraph’s implementation, when a node (let’s call it Node A) wants to share information, it randomly selects another node (say, Node B) and sends all its new data. Node B then does the same with another random node. This process repeats, spreading new information rapidly across the entire network.

Types Of Gossip Protocols

There are several types of gossip protocols, each suited to different use cases:

1. Anti-entropy model: In this model, nodes regularly compare their entire dataset with other nodes to identify and rectify inconsistencies. While thorough, this approach can be bandwidth-intensive.

2. Rumor-mongering model: Also known as the dissemination protocol, this model focuses on spreading new information quickly. Nodes share only the latest updates, making it more efficient in terms of network usage.

3. Aggregation model: This type of gossip protocol computes system-wide aggregates. Nodes sample information from each other and combine values to generate a global value.

Each type of gossip protocol has its own strengths and is chosen based on the specific requirements of the distributed system. The anti-entropy model ensures high consistency but at the cost of bandwidth. The rumor-mongering model is efficient for quick information dissemination. The aggregation model helps compute global states or values across the network.

By choosing the appropriate type of gossip protocol, distributed systems can achieve efficient information sharing and maintain network health without relying on centralized coordination.

ERC-20 Tokens

ERC-20 tokens is the technical standard for fungible digital tokens that run only on the Ethereum blockchain network. They are built on smart contracts that keep track of the tokens created on the Ethereum network.

Full definition

Creator Economy

The creator economy is the economic system built on the internet or digital platforms that enable individuals to earn money based on things they create.

Full definition

Cursed Inscriptions

Cursed inscriptions are digital artifacts that were not indexed by the Ordinals protocol and did not receive an inscription number.

Full definition