Skip to main content
Log in

Improved gossip protocol for blockchain applications

  • Published:
Cluster Computing Aims and scope Submit manuscript

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.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Fig. 1
Fig. 2
Fig. 3
Fig. 4
Fig. 5
Fig. 6
Fig. 7
Fig. 8
Fig. 9
Fig. 10
Fig. 11

Similar content being viewed by others

References

  1. Birman, K.: The promise, and limitations, of gossip protocols. SIGOPS Oper. Syst. Rev. 41(5), 813 (2007)

    Article  Google Scholar 

  2. Demers, A., Greene, D., Hauser, C., et al.: Epidemic algorithms for replicated database management. In: Proceedings of the sixth annual ACM symposium on principles of distributed computing, Vancouver, BC, pp. 1–12 (1987)

  3. Yang, J., Simon, T., Mueller, C., Klan, D., Sattler, K.U.: Comparing and refining gossip protocols for fault tolerance in wireless P2P systems. In: 2011 19th International euromicro conference on parallel, distributed and network-based processing, pp. 595–599. IEEE (2011)

    Chapter  Google Scholar 

  4. Ganesh, A.J., Kermarrec, A.M., Laurent, M.: Peer-to-peer membership management for gossip-based protocols. IEEE Trans. 5, 139–149 (2003)

    Google Scholar 

  5. Yaga, D., Mell, P., Roby, N., Scarfone, K.: Blockchain technology overview. Tech. Rep., National Institute of Standards and Technology [Online]. Available https://doi.org/10.6028/NIST.IR.8202 (2018)

  6. Aste, T., Tasca, P., Di Matteo, T.: Blockchain technologies: the foreseeable impact on society and industry. Computer 50(9), 18–28 (2017)

    Article  Google Scholar 

  7. Alrashdan, M.T.: Keystroke dynamics analysis to enhance password security of mobile banking applications. Int. J. Adv. Comput. Technol. 9(6), 8–16 (2020)

    Google Scholar 

  8. Muheidat, F., Tawalbeh, L.: Artificial intelligence and blockchain for cybersecurity applications. In: Maleh, Y., Baddi, Y., Alazab, M., Tawalbeh, L., Romdhani, I. (eds.) Artificial Intelligence and Blockchain for Future Cybersecurity Applications. Studies in Big Data, vol. 90. Springer, Cham (2021). https://doi.org/10.1007/978-3-030-74575-2_1

    Chapter  Google Scholar 

  9. Joo, M. H., Nishikawa, Y., & Dandapani, K.: Cryptocurrency, a successful application of blockchain technology. Managerial Finance (2019)

  10. Maleh, Y., Baddi, Y., Alazab, M., Tawalbeh, L., Romdhani, I.: Artificial Intelligence and Blockchain for Future Cybersecurity Applications. Springer Nature, Cham (2021)

    Book  Google Scholar 

  11. Johansen, H.D., Renesse, R.V., Vigfusson, Y., Johansen, D.: Fireflies: a secure and scalable membership and gossip service. ACM Trans. Comput. Syst. (TOCS) 33(2), 5 (2015)

    Article  Google Scholar 

  12. Nakamoto, S.: Bitcoin: a peer-to-peer electronic cash system. [Online]. Available https://bitcoin.org/bitcoin.pdf (2008)

  13. Hoefler, T., Barak, A., Shiloh, A., Drezner, Z.: Corrected gossip algorithms for fast reliable broadcast on unreliable systems. In: International parallel and distributed processing symposium (IPDPS'17), pp. 357–366. IEEE (2017)

  14. Mikalsen, J.: FireChain: an efficient blockchain protocol using secure gossip. MSc Thesis, UiT Arctic University of Norway (2018)

  15. Buchman, E., Kwon, J., Tendermint, Z.: The latest gossip on BFT consensus. arXiv [Online]. Available https://arxiv.org/abs/1807.04938v1 (2018)

  16. He, X., Cui, Y., Jiang, Y.: An improved gossip algorithm based on semi-distributed blockchain network. In: 2019 international conference on cyber-enabled distributed computing and knowledge discovery (CyberC), Guilin, pp. 24–27. https://doi.org/10.1109/CyberC.2019.00014 (2019)

  17. Long, J., Wei, R.: Scalable BFT consensus mechanism through aggregated signature gossip. In: 2019 IEEE international conference on blockchain and cryptocurrency (ICBC), Seoul, pp. 360–367. https://doi.org/10.1109/BLOC.2019.8751327 (2019)

  18. Hu, W., Hu, Y., Yao, W., Li, H.: A blockchain-based byzantine consensus algorithm for information authentication of the internet of vehicles. IEEE Access 7, 139703–139711 (2019). https://doi.org/10.1109/ACCESS.2019.2941507

    Article  Google Scholar 

  19. Berendea, N., Mercier, H., Onica, E., Riviere, E.: Fair and efficient gossip in hyperledger fabric. In: Proceedings of the international conference on distributed computing (ICDCS'20), pp. 190–200. IEEE (2020)

  20. Li, P., Wang, G., Chen, X., Long, F., Xu, W.: Gosig: a scalable and high-performance byzantine consensus for consortium blockchains. In: Proceedings of the 11th ACM symposium on cloud computing (SoCC '20), pp. 223–237. Association for Computing Machinery, New York, NY (2020)

  21. Saldamli, G., Mehta, S.S., Raje, P.S., Kumar, M.S., Deshpande, S.S.: Proceedings of the international conference on security and management (SAM), Athens, pp. 63–68 (2019)

  22. Sedgewick, R., Wayne, K.: Algorithms, 4th edn. Addison-Wesley, Boston (2011)

    Google Scholar 

  23. Zarrin, J., Wen Phang, H., Babu Saheer, L., et al.: Blockchain for decentralization of internet: prospects, trends, and challenges. Clust. Comput. (2021). https://doi.org/10.1007/s10586-021-03301-8

    Article  Google Scholar 

  24. Merkle, R.: Method of providing digital signatures. US Patent 4309569, 5 Jan, 1982

  25. Niranjanamurthy, M., Nithya, B.N., Jagannatha, S.: Analysis of Blockchain technology: pros, cons and SWOT. Clust. Comput. 22, 14743–14757 (2019). https://doi.org/10.1007/s10586-018-2387-5

    Article  Google Scholar 

  26. Gong, J., Navimipour, N.J.: An in-depth and systematic literature review on the blockchain-based approaches for cloud computing. Clust. Comput. (2021). https://doi.org/10.1007/s10586-021-03412-2

    Article  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Lo’ai Tawalbeh.

Additional information

Publisher's Note

Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Rights and permissions

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Saldamli, G., Upadhyay, C., Jadhav, D. et al. Improved gossip protocol for blockchain applications. Cluster Comput 25, 1915–1926 (2022). https://doi.org/10.1007/s10586-021-03504-z

Download citation

  • Received:

  • Revised:

  • Accepted:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s10586-021-03504-z

Keywords

Navigation