The invention relates to a
blockchain block synchronization technology, and particularly relates to a parallel block synchronization method for
blockchain nodes. The method is characterized by including the following aspects: (1) determining a height range of synchronization, and putting the height range into a memory
queue; (2) enabling an asynchronous thread to regularly obtain the block heightto be synchronized from the memory
queue, and sending block synchronization requests to other nodes; (3) enabling the nodes that receive the block synchronization requests to take out the local corresponding data, and sending the data to the nodes that request synchronization; (4) enabling the nodes to collect the block information returned by other nodes, and judging whether the block informationneeds to be stored by
consensus; and (5) if the synchronization is successful, deleting a mark to be synchronized of the height, and if the synchronization is not successful, putting back the heightinto the memory
queue. The invention provides the parallel block synchronization method for the
blockchain nodes, the blocks and transaction information that have a node missing phenomenon or need tobe updated can be synchronized in time without affecting the normal
consensus and a block
building process of a blockchain, and the continuity and integrity of blockchain data can be ensured; and by using a parallel technology, the original
transaction processing speed can be guaranteed, and thread resources of a computer can be fully utilized.