Improved gossip protocol for blockchain applications

Publication Date

6-1-2022

Document Type

Article

Publication Title

Cluster Computing

Volume

25

Issue

3

DOI

10.1007/s10586-021-03504-z

First Page

1915

Last Page

1926

Abstract

Blockchain is a distributed digital ledger consisting of sequence of blocks. These blocks are groups of transactions that make up a sequence where each block contains the cryptographic hash of its prior block. To maintain huge networks, data integrity, and consistency some blockchain deployments uses a distributed communication method known as gossip protocol. In gossip protocol, every node/system relays any recent data to all its neighbors in an atomic fashion where each neighbor imitates the process until the whole system is synchronized. The number of iterations required to synchronize N hosts is O (log N) despite the failing nodes and data losses in transmission. However, the protocol is not cost effective when it comes to number of state exchanges and the transmission delay due to the redundant state information exchanges. To make gossip protocol more efficient; first, we propose a fail-proof algorithm that can be used under zero node failure scenarios; secondly, an opportunistic algorithm giving a rational, stable, and predictable correction phase and lastly a checking algorithm that obtains an iterative correction until a convergence or a synchronization across all the nodes in the system are reached. We implement these improvements and carefully analyze and demonstrate our findings.

Keywords

Blockchain, Convergence, Cryptocurrency, Gossip protocol, Synchronization

Department

Computer Engineering

Share

COinS