Super node competitive selection method and device, and storage medium
A technology of super nodes and storage media, which is applied in the blockchain field and can solve problems such as cheating and too close nodes
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
no. 1 example
[0055] Such as figure 1 As shown, this application provides a super node election method, which is applied to a node. The node refers to any node server in the blockchain except the node that initiates the transaction. The following uses any node server except the node that initiates the transaction as The executive body performs the following method steps, including:
[0056] Step S100: Determine the distance between the node and the node that initiated the transaction.
[0057] Step S102: Determine whether the distance exceeds the preset distance, if so, go to step S104.
[0058] Step S104: The node elects for a super node through a verifiable random function, and determines itself as a super node after meeting the requirements of the verifiable random function.
[0059] The node initiating the transaction in the above steps S100-S104 represents the transaction initiator in a transaction record. For example, node A on the blockchain conducts a transaction with node B. If t...
no. 2 example
[0083] Such as Figure 5 As shown, this application provides a super node election device, which is applied to nodes, and the device includes:
[0084] A determining module 200, configured to determine the distance between the node and the node that initiates the transaction;
[0085] Judging module 202, for judging whether the distance exceeds a preset distance;
[0086] The election module 204 is used to run for a super node through a verifiable random function after the judging module 202 judges that the distance exceeds the preset distance, and determine itself as a super node after meeting the requirements of the verifiable random function.
[0087] The device designed in the above scheme, before a node becomes a super node, firstly screens the node by determining the distance between the node and the node that initiates the transaction, removes the node that is closer to the node that initiates the transaction, and then removes the nodes that are closer to the node The...
no. 3 example
[0096] Such as Figure 6 As shown, the present application provides an electronic device, including: a processor 301, a memory 302 connected to the processor, the memory 302 stores a storage medium 303 executable by the processor 301, and when the computing device is running, the processor 301 The storage medium 303 is executed to execute the method in the first embodiment or any optional implementation manner of the first embodiment during execution.
[0097] The present application provides a storage medium 303, on which a computer program is stored, and when the computer program is run by a processor, the method in the first embodiment or any optional implementation manner of the first embodiment is executed.
[0098] Wherein, the storage medium 303 can be realized by any type of volatile or non-volatile storage device or their combination, such as static random access memory (Static Random Access Memory, referred to as SRAM), electrically erasable programmable read-only M...
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