The invention discloses a multi-round voting type fault-tolerant sorting
consensus mechanism and method based on a block chain. The mechanism comprises service nodes in the
consensus and accounting process. Transaction
initiation and sorting are carried out through the service nodes, legal transactions are obtained and then put into a transaction
pool for transaction, and then multiple rounds of voting
consensus is entered; multiple rounds of consensus
verification and execution is performed on the
transaction data through the service node in the voting consensus; and after the consensus is completed, the multichannel account book of the block chain is synchronously updated and accounted, the transaction with successful consensus is sent to the sorting node to sort out the block, the received block transaction is verified by the accounting node, the state
database of the block transaction is updated after
verification, a new block is added to the main chain, and then a new round of consensus
verification and execution work is entered. According to the mechanism and method, achievement of global correct consensus can be guaranteed,
fault tolerance is high, and the mechanism and methodare suitable for alliance chains with a large number of nodes. When a large number of verification nodes fail, the
system stops working, so that the security of the
blockchain is better guaranteed,and the double-fault problem is prevented.