CPC H04L 9/3297 (2013.01) [G06Q 20/36 (2013.01); H04L 9/50 (2022.05)] | 17 Claims |
1. A block processing method, comprising:
obtaining, based on generation of a block, a time interval stored in a root block of a target blockchain;
based on a transaction occurrence time of a transaction included in the block being within the time interval, determining, as a target subchain, a subchain meeting a target condition from a first target quantity of subchains connected to the root block,
wherein the determining comprises randomly determining a first subchain with a minimum quantity of the blocks as the target subchain when a plurality of subchains have the minimum quantity of the blocks; and
adding the block to the target subchain of the target blockchain based on a consensus being reached on the block.
|