Method for recording data block on blockchain, leader accounting node, and storage medium
AssigneeTencent Technology (Shenzhen) Company Limited
InventorsMao Cai Li, Hu Lan, Zong You Wang
Life of this patent
Estimating the term…
Loading patent…
AssigneeTencent Technology (Shenzhen) Company Limited
InventorsMao Cai Li, Hu Lan, Zong You Wang
Estimating the term…
The disclosure provides a method for recording a data block on a blockchain, a leader accounting node, and a storage medium. The method includes: generating a target data block; determining whether the plurality of branch blockchains include a branch blockchain having at least one data block waiting to be added onto the blockchain and for which no consensus has been reached; based on a determination that first branch blockchains have no data block waiting to be added onto the blockchain and for which no consensus has been reached, selecting, from the first branch blockchains, a branch blockchain for recording the target data block; recording a digest value of a previous data block recorded on the selected first branch blockchain in a block header of the target data block; and transmitting the target data block to other accounting nodes in the group of accounting nodes for reaching a consensus.
A method for recording a data block on a blockchain, the blockchain comprising a plurality of branch blockchains, recording of data blocks on the plurality of branch blockchains being performed by a same group of accounting nodes, the method being performed by a leader accounting node in the group of accounting nodes, the method comprising:
A leader accounting node in a blockchain comprising a plurality of branch blockchains, wherein data blocks are recorded on the plurality of branch blockchains by a same group of accounting nodes, and the leader accounting node is selected from the group of accounting nodes, the leader accounting node comprising:
A non-transitory computer-readable storage medium, storing computer-readable instructions, the computer-readable instructions, when executed by a processor, causing the processor to perform a method for recording a data block on a blockchain, the blockchain comprising a plurality of branch blockchains, recording of data blocks on the plurality of branch blockchains being performed by a same group of accounting nodes, the method being performed by a leader accounting node in the group of accounting nodes, the method comprising:
Dependencies are inferred from the claim text.