BLOCKCHAIN CONSENSUS METHOD, APPARATUS, AND DEVICE, AND STORAGE MEDIUM
Abstract:
Embodiments of the disclosure provide a blockchain consensus method, apparatus, device, and storage medium and relate to the field of blockchain technology. The method includes determining, from a plurality of sub-blockchains, a target sub-blockchain to which a target block belongs, and adding the target block to the target sub-blockchain, where the target block is generated based on transaction data or obtained by synchronizing with other nodes; obtaining, from the plurality of sub-blockchains, a sequence of valid blocks for each of the plurality of sub-blockchains, where each sequence of valid blocks includes at least one valid block; and globally ranking the obtained valid blocks based on a logical clock corresponding to each of the obtained valid blocks, to obtain a global blockchain.
Information query
Patent Agency Ranking
0/0