Invention Grant
- Patent Title: Method for determining main chain of blockchain, device, and storage medium
-
Application No.: US16962713Application Date: 2019-01-18
-
Publication No.: US12081682B2Publication Date: 2024-09-03
- Inventor: Wei Xiao
- Applicant: BAIDU ONLINE NETWORK TECHNOLOGY (BEIJING) CO., LTD.
- Applicant Address: CN Beijing
- Assignee: BAIDU ONLINE NETWORK TECHNOLOGY (BEIJING) CO., LTD.
- Current Assignee: BAIDU ONLINE NETWORK TECHNOLOGY (BEIJING) CO., LTD.
- Current Assignee Address: CN Beijing
- Agency: Lippes Mathias LLP
- Priority: CN 1810411049.4 2018.05.02
- International Application: PCT/CN2019/072335 2019.01.18
- International Announcement: WO2019/210711A 2019.11.07
- Date entered country: 2020-07-16
- Main IPC: H04L9/00
- IPC: H04L9/00 ; H04L9/32 ; G06Q30/018

Abstract:
A method for determining a main chain of a blockchain, a device, and a storage medium. The method comprises: determining, on the basis of a detection result that it is detected that a blockchain has at least two fork chains, weights of blocks in the fork chains (110); determining, on the basis of the weights of the blocks comprised in the fork chains, the weights of the fork chains (120); and determining a main chain from the fork chains on the basis of the weights of the fork chains, and rolling back the fork chains except for the main chain (130).
Information query