{"title":"Hashgraph Over the Edge: Achieving Byzantine Fault Tolerance in Decentralized P2P Frameworks","authors":"Wanli Zhao;Satoshi Fujita","doi":"10.1109/ACCESS.2025.3604512","DOIUrl":null,"url":null,"abstract":"This paper explores the integration of the Hashgraph consensus protocol into two widely used peer-to-peer (P2P) communication frameworks: Secure Scuttlebutt (SSB) and libp2p. SSB operates within a local-first architecture, prioritizing offline-first data synchronization through append-only logs and gossip-based replication, while libp2p employs a modular, pub-sub-driven approach to facilitate real-time message dissemination across decentralized networks. We propose a dual integration approach, embedding an asynchronous Byzantine fault-tolerant (aBFT) layer into both frameworks to evaluate their complementary strengths in diverse networking scenarios. This dual-path strategy allows us to investigate how Hashgraph’s aBFT properties interact with fundamentally different P2P architectures—append-only, local-first versus modular, pub-sub—thus offering a broader understanding of its applicability. Our goal is to enhance their ability to achieve a globally consistent state despite the challenges of intermittent connectivity and network partitions. To assess the feasibility and performance implications of this integration, we conduct a series of controlled experiments using Docker-based network simulations. Our evaluation focuses on key trade-offs involving consistency, latency, and bandwidth utilization. The results show that SSB+Hashgraph achieves strong eventual consistency, ensuring robust data integrity even under adversarial conditions. However, this comes at the cost of increased message propagation latency, due to the bulk gossip overhead inherent in SSB’s replication model. In contrast, libp2p+Hashgraph enables significantly faster message propagation through its pub-sub mechanism, but incurs higher bandwidth consumption as more frequent state updates are required to maintain consensus. Notably, our experiments confirm that the proposed approach successfully maintains consensus even in the presence of up to 25% malicious nodes, highlighting its resilience and strong Byzantine fault tolerance. These findings demonstrate the practical viability of combining gossip-based data replication with aBFT consensus to improve the reliability and scalability of decentralized applications. Moreover, our study offers valuable insights into the trade-offs involved in designing resilient P2P communication systems capable of operating efficiently across heterogeneous network environments.","PeriodicalId":13079,"journal":{"name":"IEEE Access","volume":"13 ","pages":"153035-153055"},"PeriodicalIF":3.6000,"publicationDate":"2025-09-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"https://ieeexplore.ieee.org/stamp/stamp.jsp?tp=&arnumber=11145446","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"IEEE Access","FirstCategoryId":"94","ListUrlMain":"https://ieeexplore.ieee.org/document/11145446/","RegionNum":3,"RegionCategory":"计算机科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q2","JCRName":"COMPUTER SCIENCE, INFORMATION SYSTEMS","Score":null,"Total":0}
引用次数: 0
Abstract
This paper explores the integration of the Hashgraph consensus protocol into two widely used peer-to-peer (P2P) communication frameworks: Secure Scuttlebutt (SSB) and libp2p. SSB operates within a local-first architecture, prioritizing offline-first data synchronization through append-only logs and gossip-based replication, while libp2p employs a modular, pub-sub-driven approach to facilitate real-time message dissemination across decentralized networks. We propose a dual integration approach, embedding an asynchronous Byzantine fault-tolerant (aBFT) layer into both frameworks to evaluate their complementary strengths in diverse networking scenarios. This dual-path strategy allows us to investigate how Hashgraph’s aBFT properties interact with fundamentally different P2P architectures—append-only, local-first versus modular, pub-sub—thus offering a broader understanding of its applicability. Our goal is to enhance their ability to achieve a globally consistent state despite the challenges of intermittent connectivity and network partitions. To assess the feasibility and performance implications of this integration, we conduct a series of controlled experiments using Docker-based network simulations. Our evaluation focuses on key trade-offs involving consistency, latency, and bandwidth utilization. The results show that SSB+Hashgraph achieves strong eventual consistency, ensuring robust data integrity even under adversarial conditions. However, this comes at the cost of increased message propagation latency, due to the bulk gossip overhead inherent in SSB’s replication model. In contrast, libp2p+Hashgraph enables significantly faster message propagation through its pub-sub mechanism, but incurs higher bandwidth consumption as more frequent state updates are required to maintain consensus. Notably, our experiments confirm that the proposed approach successfully maintains consensus even in the presence of up to 25% malicious nodes, highlighting its resilience and strong Byzantine fault tolerance. These findings demonstrate the practical viability of combining gossip-based data replication with aBFT consensus to improve the reliability and scalability of decentralized applications. Moreover, our study offers valuable insights into the trade-offs involved in designing resilient P2P communication systems capable of operating efficiently across heterogeneous network environments.
IEEE AccessCOMPUTER SCIENCE, INFORMATION SYSTEMSENGIN-ENGINEERING, ELECTRICAL & ELECTRONIC
CiteScore
9.80
自引率
7.70%
发文量
6673
审稿时长
6 weeks
期刊介绍:
IEEE Access® is a multidisciplinary, open access (OA), applications-oriented, all-electronic archival journal that continuously presents the results of original research or development across all of IEEE''s fields of interest.
IEEE Access will publish articles that are of high interest to readers, original, technically correct, and clearly presented. Supported by author publication charges (APC), its hallmarks are a rapid peer review and publication process with open access to all readers. Unlike IEEE''s traditional Transactions or Journals, reviews are "binary", in that reviewers will either Accept or Reject an article in the form it is submitted in order to achieve rapid turnaround. Especially encouraged are submissions on:
Multidisciplinary topics, or applications-oriented articles and negative results that do not fit within the scope of IEEE''s traditional journals.
Practical articles discussing new experiments or measurement techniques, interesting solutions to engineering.
Development of new or improved fabrication or manufacturing techniques.
Reviews or survey articles of new or evolving fields oriented to assist others in understanding the new area.