Consensus method, electronic device and storage medium of blockchain
A storage medium and blockchain technology, applied in the blockchain field, can solve problems such as the waste of computing resources of blockchain nodes, restricting the performance of blockchain systems, etc., and achieve the effect of improving security and credibility
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
no. 1 example
[0042] see figure 1 , the first embodiment of the consensus method of the blockchain of the present application includes:
[0043] S101: Detect whether there are multiple branch chains in the blockchain.
[0044] In this embodiment, multiple means more than one. Detecting whether a blockchain has multiple forks can be done by blockchain nodes. The node is, for example, an accounting node, which detects whether there are multiple branch chains in the blockchain before each time the transaction information is packaged into a block for uploading on the chain. For example, blockchain nodes can detect whether the blockchain has generated multiple blocks by exchanging the block height of the latest block, confirming whether the random number or root hash value of the block with the same block height is the same, etc. Branched.
[0045] In this embodiment, if multiple branch chains are not detected, the detection may be continued, or other operations may not be performed. If it ...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


