Next Article in Journal
MC-ISA: A Multi-Channel Code Visualization Method for Malware Detection
Next Article in Special Issue
Three-Stage Cross-Chain Protocol Based on Notary Group
Previous Article in Journal
Reconfiguration Using Bio-Inspired Conduction Mode of Field-Effect Transistors toward the Creation of Recyclable Devices
Previous Article in Special Issue
An Interoperable Blockchain Security Frameworks Based on Microservices and Smart Contract in IoT Environment
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

P-Raft: An Efficient and Robust Consensus Mechanism for Consortium Blockchains

1
College of Computer Science and Electronic Engineering, Hunan University, Changsha 410082, China
2
Hunan Provincial Key Laboratory of Blockchain Infrastructure and Application, Changsha 410082, China
*
Author to whom correspondence should be addressed.
Electronics 2023, 12(10), 2271; https://doi.org/10.3390/electronics12102271
Submission received: 24 April 2023 / Revised: 13 May 2023 / Accepted: 16 May 2023 / Published: 17 May 2023
(This article belongs to the Special Issue Advances in Security and Blockchain Technologies)

Abstract

With the rise in blockchain technology, consortium blockchains have garnered increasing attention in practical applications due to their decentralization and immutability. However, the performance of current consortium blockchains remains a significant obstacle to large-scale commercial adoption. The consensus algorithm, as a fundamental component of blockchain technology, plays a critical role in ensuring both security and efficiency. Unfortunately, most existing consensus algorithms for consortium blockchains are vote-based consensus algorithms, and the performance of vote-based consensus algorithms is largely limited by the performance of the leader node. Therefore, we present P-Raft: a high-performance consensus algorithm that builds upon the Raft algorithm and leverages node server performance evaluations. The primary objectives of this article included enhancing the efficiency of Leader processing, promoting the utilization of the consortium blockchain, and ensuring the robustness of Leader election. Specifically designed to meet the service requirements of consortium blockchain’s consensus mechanism, the P-Raft incorporated the Yasa model, which evaluated the instant machine performance of each node. The performance of each node is then associated with the election timeout, ensuring that nodes with superior performance are more likely to be chosen as Leaders. Additionally, we implemented a leader verification mechanism based on the Bohen-Lynn-Shacham (BLS) signature, which prevented malicious Byzantine nodes from becoming Leaders without receiving enough votes. Empirical findings show that the P-Raft can swiftly designate high-performing nodes as Leaders, thereby greatly improving service efficiency in the consensus process and the overall performance of the consensus mechanism. Ultimately, P-Raft is better equipped to meet the demands of consortium blockchain applications for large-scale transactions.
Keywords: blockchain; consensus mechanism; performance evaluation; Raft blockchain; consensus mechanism; performance evaluation; Raft

Share and Cite

MDPI and ACS Style

Lu, S.; Zhang, X.; Zhao, R.; Chen, L.; Li, J.; Yang, G. P-Raft: An Efficient and Robust Consensus Mechanism for Consortium Blockchains. Electronics 2023, 12, 2271. https://doi.org/10.3390/electronics12102271

AMA Style

Lu S, Zhang X, Zhao R, Chen L, Li J, Yang G. P-Raft: An Efficient and Robust Consensus Mechanism for Consortium Blockchains. Electronics. 2023; 12(10):2271. https://doi.org/10.3390/electronics12102271

Chicago/Turabian Style

Lu, Shaofei, Xuyang Zhang, Renke Zhao, Lizhi Chen, Junyi Li, and Guanzhong Yang. 2023. "P-Raft: An Efficient and Robust Consensus Mechanism for Consortium Blockchains" Electronics 12, no. 10: 2271. https://doi.org/10.3390/electronics12102271

APA Style

Lu, S., Zhang, X., Zhao, R., Chen, L., Li, J., & Yang, G. (2023). P-Raft: An Efficient and Robust Consensus Mechanism for Consortium Blockchains. Electronics, 12(10), 2271. https://doi.org/10.3390/electronics12102271

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop