Cargando…
An efficient sharding consensus algorithm for consortium chains
The consensus algorithm is very critical in any blockchain system, because it directly affects the performance and security of the blockchain system. At present, the classic Practical Byzantine Fault Tolerance Algorithm (PBFT), which is mainly used in the consortium chain, will lead to system commun...
Autores principales: | , , , , |
---|---|
Formato: | Online Artículo Texto |
Lenguaje: | English |
Publicado: |
Nature Publishing Group UK
2023
|
Materias: | |
Acceso en línea: | https://www.ncbi.nlm.nih.gov/pmc/articles/PMC9807556/ https://www.ncbi.nlm.nih.gov/pubmed/36593262 http://dx.doi.org/10.1038/s41598-022-27228-1 |
_version_ | 1784862745754075136 |
---|---|
author | Wu, Xiaoxiong Jiang, Wangxi Song, Mingyang Jia, Zhenhong Qin, Jiwei |
author_facet | Wu, Xiaoxiong Jiang, Wangxi Song, Mingyang Jia, Zhenhong Qin, Jiwei |
author_sort | Wu, Xiaoxiong |
collection | PubMed |
description | The consensus algorithm is very critical in any blockchain system, because it directly affects the performance and security of the blockchain system. At present, the classic Practical Byzantine Fault Tolerance Algorithm (PBFT), which is mainly used in the consortium chain, will lead to system communication congestion and reduced throughput when the number of nodes increases, so the PBFT algorithm is not suitable for large-scale consortium chains. In response to the above problems, this paper proposes a new clustering-based sharding consensus algorithm (KBFT), which aims to ensure that the consortium chain takes into account decentralization, security and scalability. The KBFT algorithm first uses the K-prototype clustering algorithm to shard the nodes in the network according to mixed attributes, and second, disjoint transactions are used to reach consensus in parallel in different shards. Concurrently, the KBFT algorithm introduces a supervision mechanism and a node credit mechanism, which is used to supervise and score the behavior of the nodes and select the proxy nodes, which improves security. We discuss the choice of shard size with the help of the binomial probability distribution and analyze the probability that the system can successfully form a global block under different node failure probabilities. Finally, the proposed algorithm is evaluated through theoretical analysis and simulation experiments. Results show that the proposed algorithm achieves a marked improvement in scalability and throughput along with a marked reduction in communication complexity compared with the classic baseline algorithm PBFT in this field of study, which improves the operating efficiency of the system and simultaneously guarantees the security and robustness of the system. |
format | Online Article Text |
id | pubmed-9807556 |
institution | National Center for Biotechnology Information |
language | English |
publishDate | 2023 |
publisher | Nature Publishing Group UK |
record_format | MEDLINE/PubMed |
spelling | pubmed-98075562023-01-04 An efficient sharding consensus algorithm for consortium chains Wu, Xiaoxiong Jiang, Wangxi Song, Mingyang Jia, Zhenhong Qin, Jiwei Sci Rep Article The consensus algorithm is very critical in any blockchain system, because it directly affects the performance and security of the blockchain system. At present, the classic Practical Byzantine Fault Tolerance Algorithm (PBFT), which is mainly used in the consortium chain, will lead to system communication congestion and reduced throughput when the number of nodes increases, so the PBFT algorithm is not suitable for large-scale consortium chains. In response to the above problems, this paper proposes a new clustering-based sharding consensus algorithm (KBFT), which aims to ensure that the consortium chain takes into account decentralization, security and scalability. The KBFT algorithm first uses the K-prototype clustering algorithm to shard the nodes in the network according to mixed attributes, and second, disjoint transactions are used to reach consensus in parallel in different shards. Concurrently, the KBFT algorithm introduces a supervision mechanism and a node credit mechanism, which is used to supervise and score the behavior of the nodes and select the proxy nodes, which improves security. We discuss the choice of shard size with the help of the binomial probability distribution and analyze the probability that the system can successfully form a global block under different node failure probabilities. Finally, the proposed algorithm is evaluated through theoretical analysis and simulation experiments. Results show that the proposed algorithm achieves a marked improvement in scalability and throughput along with a marked reduction in communication complexity compared with the classic baseline algorithm PBFT in this field of study, which improves the operating efficiency of the system and simultaneously guarantees the security and robustness of the system. Nature Publishing Group UK 2023-01-02 /pmc/articles/PMC9807556/ /pubmed/36593262 http://dx.doi.org/10.1038/s41598-022-27228-1 Text en © The Author(s) 2023 https://creativecommons.org/licenses/by/4.0/Open Access This article is licensed under a Creative Commons Attribution 4.0 International License, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if changes were made. The images or other third party material in this article are included in the article's Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the article's Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this licence, visit http://creativecommons.org/licenses/by/4.0/ (https://creativecommons.org/licenses/by/4.0/) . |
spellingShingle | Article Wu, Xiaoxiong Jiang, Wangxi Song, Mingyang Jia, Zhenhong Qin, Jiwei An efficient sharding consensus algorithm for consortium chains |
title | An efficient sharding consensus algorithm for consortium chains |
title_full | An efficient sharding consensus algorithm for consortium chains |
title_fullStr | An efficient sharding consensus algorithm for consortium chains |
title_full_unstemmed | An efficient sharding consensus algorithm for consortium chains |
title_short | An efficient sharding consensus algorithm for consortium chains |
title_sort | efficient sharding consensus algorithm for consortium chains |
topic | Article |
url | https://www.ncbi.nlm.nih.gov/pmc/articles/PMC9807556/ https://www.ncbi.nlm.nih.gov/pubmed/36593262 http://dx.doi.org/10.1038/s41598-022-27228-1 |
work_keys_str_mv | AT wuxiaoxiong anefficientshardingconsensusalgorithmforconsortiumchains AT jiangwangxi anefficientshardingconsensusalgorithmforconsortiumchains AT songmingyang anefficientshardingconsensusalgorithmforconsortiumchains AT jiazhenhong anefficientshardingconsensusalgorithmforconsortiumchains AT qinjiwei anefficientshardingconsensusalgorithmforconsortiumchains AT wuxiaoxiong efficientshardingconsensusalgorithmforconsortiumchains AT jiangwangxi efficientshardingconsensusalgorithmforconsortiumchains AT songmingyang efficientshardingconsensusalgorithmforconsortiumchains AT jiazhenhong efficientshardingconsensusalgorithmforconsortiumchains AT qinjiwei efficientshardingconsensusalgorithmforconsortiumchains |