-
公开(公告)号:US20220158836A1
公开(公告)日:2022-05-19
申请号:US17591440
申请日:2022-02-02
Applicant: HUAWEI TECHNOLOGIES CO., LTD.
Inventor: Danyang LI , Xun LIU , Ji WANG , Chunyu CAI , Fan PAN
IPC: H04L9/32
Abstract: The disclosure provides example block generation methods. One example method includes that when a first blockchain node is a leader, packing, by the first blockchain node, a leader-elected transaction in a transaction pool into a first block, where the leader-elected transaction records a leader proof of the first blockchain node. The leader proof records a voting state in which each of the plurality of second blockchain nodes votes on the first blockchain node, and the voting state indicates whether a vote is a positive vote or a negative vote. Sends the first block to the plurality of second blockchain nodes, so that the first blockchain node and/or the second blockchain nodes perform fork processing based on the leader proof.
-
公开(公告)号:US20200374133A1
公开(公告)日:2020-11-26
申请号:US16992455
申请日:2020-08-13
Applicant: HUAWEI TECHNOLOGIES CO., LTD.
Abstract: A method for blockchain generation is provided. The method includes: sending, by a client, transaction information to a first node device, where the transaction information includes basic information and digest information; receiving, by the client, an endorsement result sent by the first node device, where the endorsement result includes a signature generated after the first node device successfully performs transaction simulation; and if the endorsement result meets a preset transaction condition, sending, by the client, the digest information and the endorsement result to a second node device, so that the second node device sends, to the first node device the digest information to generate a complete blockchain. In this way, only the digest information is transmitted between the first node device and the second node device. Therefore, the second node device does not obtain the complete transaction information, so that information security is improved.
-