Block synchronization method, device, computer and storage medium
A block and block header technology, applied in the field of blockchain, can solve problems such as data authenticity can not be verified, reduce the authenticity and validity of synchronized blocks, and block inconsistency
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Publication Date
- 2021-09-14
Smart Images

Figure 1 
Figure 2 
Figure 3
Abstract
Description
technical field
[0001] The present application relates to the technical field of block chains, and in particular to a block synchronization method, device, computer and storage medium. Background technique
[0002] Due to the decentralization and anti-tampering features of the blockchain, the application of the blockchain is becoming more and more extensive. When synchronizing blocks between nodes in the blockchain, it is extremely important to ensure the accuracy of the block data. At present, when synchronizing blocks between nodes in the blockchain, the node that is synchronizing the block generally first synchronizes the block header of the block, and verifies the hash of the previous block contained in the block header and the hash of the block. Whether the hash value of the corresponding previous block is consistent, if the two are consistent, write the block into the ledger of the node. This simple verification based on the comparison of the hash value makes the node ...
Examples
Embodiment Construction
[0082] The following will clearly and completely describe the technical solutions in the embodiments of the application with reference to the drawings in the embodiments of the application. Apparently, the described embodiments are only some of the embodiments of the application, not all of them. Based on the embodiments in this application, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of this application.
[0083] Specifically, see Figure 1a , Figure 1a is a block synchronization architecture diagram provided by the embodiment of this application, such as Figure 1a As shown, the first node device 101 sends a block synchronization request to the second node device cluster 102 associated with the first node device, and the second node device cluster 102 may include the second node device 1021, the second node device 1022 and the second Node device 1023. Taking the second node device 1021 as a...