Blockchain PoP (Proof of Peer) Consensus Introduction

PoP consensus is divided into transaction set consensus and block consensus. In the consensus stage of the transaction set, firstly, each node collects transactions into the transaction pool, and the Leader node continuously extracts transactions from the transaction pool. After receiving the broadcasted transaction set information, first judge the missing transactions and ask the leader node for the missing transactions. After obtaining the complete transaction set, vote on this proposal and broadcast it to other nodes. After the vote is passed, a transaction set consensus is reached.

In the block consensus stage, each node verifies each transaction in the transaction set in order after the transaction set reaches a consensus, and finally obtains a state tree root hash, which is combined with the transaction tree root hash, block number, and time formed by the transaction set. Then each node votes for the new block it generates and collects the votes of other nodes. The block with the number of votes exceeding the threshold is considered to pass the verification.

Guess you like

Origin blog.csdn.net/xzhu4571/article/details/125784415