Block chain consensus method and device and electronic equipment
A blockchain and consensus technology, applied in the blockchain field, can solve problems such as single block conditions
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0029] The embodiment of the present invention provides a block chain consensus method, such as figure 1 As shown, the method includes the following steps:
[0030] Step S11, obtaining the target values of all nodes in the blockchain system.
[0031] The embodiment of the present invention is applicable to blockchain system consensus schemes based on contribution values, or integral values, or numerical values such as score values. When the blockchain system meets the conditions for creating a new block, it is necessary to determine which node in the system has the new block To be eligible for block creation, it is first necessary to obtain the target value of all nodes in the blockchain system, wherein the target value includes any of the following: contribution value, integral value, and score value; if the blockchain system uses Consensus mechanism based on contribution value, then it is necessary to obtain the contribution value of all nodes at this time; if the block...
Embodiment 2
[0063] The embodiment of the present invention also provides a block chain consensus device, the block chain consensus device is mainly used to implement the block chain consensus method provided in the first embodiment above, the block chain consensus device provided in the embodiment of the present invention is as follows Make a specific introduction.
[0064] image 3is a functional block diagram of a block chain consensus device provided by an embodiment of the present invention, such as image 3 As shown, the device mainly includes: an acquisition module 100, a first determination module 200, and a second determination module 300, wherein:
[0065] An acquisition module 100, configured to acquire target values of all nodes in the blockchain system.
[0066] The first determination module 200 is configured to determine a maximum hash value for each node to perform a hash operation based on the target value, wherein the greater the target value of the node, the greater ...
Embodiment 3
[0083] see Figure 4 , the embodiment of the present invention provides an electronic device, the electronic device includes: a processor 60, a memory 61, a bus 62 and a communication interface 63, the processor 60, the communication interface 63 and the memory 61 are connected through the bus 62; the processor 60 is used to execute executable modules, such as computer programs, stored in memory 61 .
[0084] Wherein, the memory 61 may include a high-speed random access memory (RAM, RandomAccessMemory), and may also include a non-volatile memory (non-volatile memory), such as at least one disk memory. The communication connection between the system network element and at least one other network element is realized through at least one communication interface 63 (which may be wired or wireless), and the Internet, wide area network, local network, metropolitan area network, etc. can be used.
[0085] The bus 62 can be an ISA bus, a PCI bus or an EISA bus, etc. The bus can be d...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com