Supercharge Your Innovation With Domain-Expert AI Agents!

Block generation method and consensus node

A consensus and node technology, applied in the field of blockchain, can solve the problems of time order destruction of the entire chain block

Active Publication Date: 2020-08-11
ALIPAY (HANGZHOU) INFORMATION TECH CO LTD
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

In the BFT consensus protocol, the timestamp of the block is determined by the initiator of the proposal. If the initiator of the proposal does evil, the time order of the entire chain block will be destroyed.

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Block generation method and consensus node
  • Block generation method and consensus node
  • Block generation method and consensus node

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0023] In order to enable those skilled in the art to better understand the technical solutions in this specification, the technical solutions in the embodiments of this specification will be clearly and completely described below in conjunction with the drawings in the embodiments of this specification. Obviously, the described The embodiments are only some of the embodiments in this specification, not all of them. Based on the embodiments in this specification, all other embodiments obtained by persons of ordinary skill in the art without creative efforts shall fall within the protection scope of this specification.

[0024] As mentioned earlier, in the blockchain system, the timestamp of each block must be sequentially incremented just like the block number. Under the current BFT consensus protocol, the time stamp of the block is determined by the initiator of the proposal. If the initiator of the proposal does evil, the time order of the entire chain of blocks will be dest...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The embodiment of the invention provides a block generation method and a consensus node. The method comprises the steps that a first consensus node of a block chain initiates a target consensus proposal carrying a first timestamp provided by the first consensus node; and after receiving the target consensus proposal, the second consensus node of the block chain determines a second timestamp basedon the receiving time of the target consensus proposal; the second consensus node checks the first timestamp based on the third timestamp of the local ending block and the second timestamp so as to execute consensus logic on proposed data of the target consensus proposal after the check is passed. If the target consensus proposal reaches the consensus, the first consensus node and the second consensus node generate a newly-added block recording proposed data proposed by the target consensus, and a fourth timestamp of the generated newly-added block is determined at least based on the first timestamp and is not earlier than timestamps of other local blocks of the consensus node to which the newly-added block belongs.

Description

technical field [0001] This document relates to the field of blockchain technology, in particular to a block generation method and consensus nodes. Background technique [0002] In the blockchain system, the timestamp of each block must be sequentially incremented just like the block number. At present, most blockchain systems use the Byzantine Fault Tolerant (BFT, Byzantine Fault-Tolerant) consensus protocol. In the BFT consensus protocol, the timestamp of the block is determined by the initiator of the proposal. If the initiator of the proposal does evil, the time order of the entire chain block will be destroyed. In addition, for some blockchain services that need to trace back time, business decisions can only be executed when the timestamp of the block is correct. [0003] For this reason, there is an urgent need for a technical solution to ensure that the timestamp of the newly added block is incrementally increased relative to the timestamp of the previous block. ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F21/64
CPCG06F21/64G06F2221/2151H04L9/3239H04L9/3297H04L9/50H04L9/3265
Inventor 廖校均
Owner ALIPAY (HANGZHOU) INFORMATION TECH CO LTD
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More