Updating a state merkle tree
AssigneeAlibaba Group Holding Limited
InventorZhonghao Lu
Life of this patent
Estimating the term…
Loading patent…
AssigneeAlibaba Group Holding Limited
InventorZhonghao Lu
Estimating the term…
Implementations of the present specification provide a method for updating a state Merkle tree, where the state Merkle tree is used to store a state of an account in a blockchain network. The method includes: accessing data related to a state Merkle tree that stores a state of an account in a blockchain network; determining to-be-updated nodes that need to be updated in the state Merkle tree due to a state change of the account; extracting one first subtree and M second subtrees from the state Merkle tree based on the to-be-updated nodes; allocating the M second subtrees to N worker threads, wherein two or more of the N worker threads process in parallel the M second subtrees to obtain each updated second subtree; and updating at least the first subtree based on hash values of root nodes of the updated second subtrees, to obtain an updated state Merkle tree.
A computer-implemented method for updating a blockchain network, the method comprising:
(canceled)
A computer-implemented system, comprising:
A non-transitory, computer-readable medium storing one or more instructions executable by a computer system to perform operations for updating a blockchain network, wherein the operations comprise:
(canceled)
Dependencies are inferred from the claim text.