Supercharge Your Innovation With Domain-Expert AI Agents!

A block generation method and consensus node

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

Active Publication Date: 2020-11-17
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
  • A block generation method and consensus node
  • A block generation method and consensus node
  • A 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 this specification provides a block generation method and a consensus node. The method includes: a first consensus node of the block chain initiates a target consensus proposal carrying a first time stamp provided by the first consensus node. After receiving the target consensus proposal, the second consensus node of the block chain determines a second timestamp based on the receiving time of the target consensus proposal. The second consensus node checks the first timestamp based on the third timestamp of the local end block and the second timestamp, so as to execute consensus logic on the proposed data of the target consensus proposal after the verification is passed. If the target consensus proposal reaches a consensus, the first consensus node and the second consensus node generate a new block that records the proposed data of the target consensus proposal, wherein the generated new block The fourth timestamp of is determined based at least on the first timestamp, and is no earlier than the timestamp of other blocks local to the consensus node.

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 Patents(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