Hybrid Consensus Algorithm Based on Modified Proof-of-Probability and DPoS
As the core of blockchain technology, the consensus algorithm plays an important role in determining the security, data consistency, and efficiency of blockchain systems. The existing mainstream consensus algorithm is experiencing difficulties satisfying the needs of efficiency, security, and decent...
Main Authors: | , , |
---|---|
Format: | Article |
Language: | English |
Published: |
MDPI AG
2020-07-01
|
Series: | Future Internet |
Subjects: | |
Online Access: | https://www.mdpi.com/1999-5903/12/8/122 |
id |
doaj-05609261d31e4f2781ae3b97cf5a67d2 |
---|---|
record_format |
Article |
spelling |
doaj-05609261d31e4f2781ae3b97cf5a67d22020-11-25T03:05:51ZengMDPI AGFuture Internet1999-59032020-07-011212212210.3390/fi12080122Hybrid Consensus Algorithm Based on Modified Proof-of-Probability and DPoSBaocheng Wang0Zetao Li1Haibin Li2School of Information Science and Technology, North China University of Technology, Beijing 100144, ChinaSchool of Information Science and Technology, North China University of Technology, Beijing 100144, ChinaDepartment of Computer and Software Engineering, Shandong College of Electronic Technology, Jinan 250200, ChinaAs the core of blockchain technology, the consensus algorithm plays an important role in determining the security, data consistency, and efficiency of blockchain systems. The existing mainstream consensus algorithm is experiencing difficulties satisfying the needs of efficiency, security, and decentralization in real-world scenarios. This paper proposes a hybrid consensus algorithm based on modified Proof-of-Probability and Delegated Proof-of-Stake. In this method, the work of block generation and validation is, respectively, completed by the nodes using the modified Proof-of-Probability consensus algorithm and Delegated Proof-of-Stake consensus algorithm. When a transaction occurs, the system sends several target hash values to the whole network. Each modified Proof-of-Probability node has a different sorting algorithm, so they have different mining priorities. Every time a hash is decrypted by a modified Proof-of-Probability node, the modulo operation is done to the value of nonce, which is then compared with the expected value given by the supernode selected by the Delegated Proof-of-Stake nodes. If they are not the same, the Proof-of-Probability node enters the waiting time and the other Proof-of-Probability nodes continue to mine. By adopting two consensus algorithms, the malicious nodes must control more than 51% of the nodes that adopt the two consensus algorithms, at the same time, to effectively attack the system, that is, they must have more than 51% of the computing power and more than 51% of the tokens. This not only increases the cost of malicious attacks, but also reduces waste of computing power. In addition, the efficiency of the DPoS algorithm makes up for the deficiency of the PoP algorithm in system efficiency, and the mining behavior based on probability in the PoP algorithm also significantly weakens the ability of supernodes in the DPoS algorithm to conduct monopoly behavior or other malicious behaviors. In a word, the combination of the two algorithms makes the system perform better in terms of security, system efficiency, and decentralization.https://www.mdpi.com/1999-5903/12/8/122blockchainconsensus algorithmhashtransactionvoting |
collection |
DOAJ |
language |
English |
format |
Article |
sources |
DOAJ |
author |
Baocheng Wang Zetao Li Haibin Li |
spellingShingle |
Baocheng Wang Zetao Li Haibin Li Hybrid Consensus Algorithm Based on Modified Proof-of-Probability and DPoS Future Internet blockchain consensus algorithm hash transaction voting |
author_facet |
Baocheng Wang Zetao Li Haibin Li |
author_sort |
Baocheng Wang |
title |
Hybrid Consensus Algorithm Based on Modified Proof-of-Probability and DPoS |
title_short |
Hybrid Consensus Algorithm Based on Modified Proof-of-Probability and DPoS |
title_full |
Hybrid Consensus Algorithm Based on Modified Proof-of-Probability and DPoS |
title_fullStr |
Hybrid Consensus Algorithm Based on Modified Proof-of-Probability and DPoS |
title_full_unstemmed |
Hybrid Consensus Algorithm Based on Modified Proof-of-Probability and DPoS |
title_sort |
hybrid consensus algorithm based on modified proof-of-probability and dpos |
publisher |
MDPI AG |
series |
Future Internet |
issn |
1999-5903 |
publishDate |
2020-07-01 |
description |
As the core of blockchain technology, the consensus algorithm plays an important role in determining the security, data consistency, and efficiency of blockchain systems. The existing mainstream consensus algorithm is experiencing difficulties satisfying the needs of efficiency, security, and decentralization in real-world scenarios. This paper proposes a hybrid consensus algorithm based on modified Proof-of-Probability and Delegated Proof-of-Stake. In this method, the work of block generation and validation is, respectively, completed by the nodes using the modified Proof-of-Probability consensus algorithm and Delegated Proof-of-Stake consensus algorithm. When a transaction occurs, the system sends several target hash values to the whole network. Each modified Proof-of-Probability node has a different sorting algorithm, so they have different mining priorities. Every time a hash is decrypted by a modified Proof-of-Probability node, the modulo operation is done to the value of nonce, which is then compared with the expected value given by the supernode selected by the Delegated Proof-of-Stake nodes. If they are not the same, the Proof-of-Probability node enters the waiting time and the other Proof-of-Probability nodes continue to mine. By adopting two consensus algorithms, the malicious nodes must control more than 51% of the nodes that adopt the two consensus algorithms, at the same time, to effectively attack the system, that is, they must have more than 51% of the computing power and more than 51% of the tokens. This not only increases the cost of malicious attacks, but also reduces waste of computing power. In addition, the efficiency of the DPoS algorithm makes up for the deficiency of the PoP algorithm in system efficiency, and the mining behavior based on probability in the PoP algorithm also significantly weakens the ability of supernodes in the DPoS algorithm to conduct monopoly behavior or other malicious behaviors. In a word, the combination of the two algorithms makes the system perform better in terms of security, system efficiency, and decentralization. |
topic |
blockchain consensus algorithm hash transaction voting |
url |
https://www.mdpi.com/1999-5903/12/8/122 |
work_keys_str_mv |
AT baochengwang hybridconsensusalgorithmbasedonmodifiedproofofprobabilityanddpos AT zetaoli hybridconsensusalgorithmbasedonmodifiedproofofprobabilityanddpos AT haibinli hybridconsensusalgorithmbasedonmodifiedproofofprobabilityanddpos |
_version_ |
1724676947062030336 |