Research Article

An Improved PBFT Consensus Algorithm Based on the Raft Voting Mechanism and DAG Ledger Structure

Wei Zhang*
School of Computer Science and Artificial Intelligence, North China University of Technology

* Corresponding author: [email protected]

Abstract

To address the issues of high communication overhead, low throughput, and arbitrary primary node selection in the traditional PBFT consensus algorithm, this paper proposes an improved PBFT consensus algorithm based on the Raft voting mechanism and the DAG ledger structure. By introducing a two-layer architecture composed of proxy nodes and candidate nodes, the system nodes are reorganized. Within each proxy domain, a proxy primary node is elected using the Raft voting mechanism, thereby enhancing the stability and efficiency of primary node transitions. During the consensus process, leveraging the DAG ledger structure enables parallel block generation, which is divided into two phases: data block consensus and address block consensus. Digital signatures and hash commitment mechanisms are introduced in each phase to ensure message integrity and the verifiability of consensus data. Simulation results demonstrate that the improved algorithm achieves lower transaction latency and higher throughput compared to the original PBFT algorithm.

Keywords: Blockchain; Byzantine Fault Tolerance; Raft; DAG; Parallel Block Generation
Published: July 24, 2025
DOI: 10.54254/2753-8818/2025.25474
Volume: TNS Vol.104
pp. 165-179
Download PDF

References

  1. Ren, L., Zhang, S., & Wang, Y. (2021). A survey on Byzantine consensus and fault tolerance in blockchain. ACM Computing Surveys, 54(6), 1–36. https: //doi.org/10.1145/3457606
  2. Yin, M., Malkhi, D., Reiter, M. K., Gueta, G. G., & Abraham, I. (2019). HotStuff: BFT consensus with linearity and responsiveness. In Proceedings of the 38th ACM Symposium on Principles of Distributed Computing (PODC) (pp. 347–356). https: //doi.org/10.1145/3293611.3331591
  3. Bessani, A., Sousa, J., & Alchieri, E. A. P. (2014). State machine replication for the masses with BFT-SMaRt. In 44th Annual IEEE/IFIP International Conference on Dependable Systems and Networks (DSN) (pp. 355–362). https: //doi.org/10.1109/DSN.2014.43
  4. Ren, L., Zhang, X., & Xie, Y. (2021). A communication-efficient PBFT consensus algorithm based on aggregate signature. Journal of Systems Architecture, 117, 102128. https: //doi.org/10.1016/j.sysarc.2021.102128
  5. Gueta, G. G., Abraham, I., Grossman, S., Malkhi, D., Pinkas, B., Reiter, M. K., & Tamir, O. (2019). SBFT: A scalable and decentralized trust infrastructure. In 49th Annual IEEE/IFIP International Conference on Dependable Systems and Networks (DSN) (pp. 568–580). https: //doi.org/10.1109/DSN.2019.00062
  6. Lamport, L., Shostak, R., & Pease, M. (1982). The Byzantine generals problem. ACM Transactions on Programming Languages and Systems, 4(3), 382–401. https: //doi.org/10.1145/357172.357176
  7. Castro, M., & Liskov, B. (2002). Practical Byzantine fault tolerance and proactive recovery. ACM Transactions on Computer Systems, 20(4), 398–461. https: //doi.org/10.1145/571637.571640
  8. Schneider, F. B. (1990). Implementing fault-tolerant services using the state machine approach: A tutorial. ACM Computing Surveys, 22(4), 299–319. https: //doi.org/10.1145/98163.98167
  9. Ongaro, D., & Ousterhout, J. (2014). In search of an understandable consensus algorithm. In Proceedings of the 2014 USENIX Annual Technical Conference (USENIX ATC’14) (pp. 305–319). USENIX Association.
  10. Howard, H., Malkhi, D., Naor, M., et al. (2015). Raft refloated: Do we have consensus? ACM SIGOPS Operating Systems Review, 49(1), 30–36. https: //doi.org/10.1145/2723872.2723882
  11. Alvaro, P., Hellerstein, J. M., & Marczak, W. R. (2020). Leadership in protocol Raft. Distributed Computing, 33(1), 1–19. https: //doi.org/10.1007/s00446-019-00355-1
  12. Butt, A. R., Ahmed, A., Shah, M. A., et al. (2023). Performance characterization of Raft consensus. IEEE Transactions on Parallel and Distributed Systems, 34(2), 408–422. https: //doi.org/10.1109/TPDS.2022.3196875
  13. Popov, S. (2016). The Tangle [White paper]. IOTA. Retrieved June 12, 2025, from https: //iota.org/Tangle_illustration.pdf
  14. LeMahieu, C. (2017). Nano: A feeless distributed cryptocurrency network [White paper]. Retrieved June 12, 2025, from https: //nano.org/en/whitepaper
  15. Li, Z., Li, C., Zhou, P., et al. (2019). Conflux: A scalable and decentralized blockchain. In Proceedings of the 27th ACM Symposium on Operating Systems Principles (SOSP) (pp. 538–555). ACM.
  16. Gao, Z., Jiang, C., & Wang, Y. (2020). Research on distributed ledger consensus mechanism based on DAG. Journal of Software, 31(10), 2974–2994. https: //doi.org/10.13328/j.cnki.jos.006134
  17. Raikwar, M., Ghosal, D., Conti, M., et al. (2024). SoK: DAG-based consensus protocols [Preprint]. arXiv. https: //arxiv.org/abs/2411.10026