A super node election method, 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 too close nodes and cheating
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
no. 1 example
[0055] like figure 1 As shown, the present application provides a super node election method, which is applied to a node, and the node refers to any node server in the blockchain except the node that initiates the transaction. Hereinafter, any node server except the node that initiates the transaction is The execution body performs the following method steps, including:
[0056] Step S100: Determine the distance between the node and the node that initiates the transaction.
[0057] Step S102: Determine whether the distance exceeds a preset distance, and if so, go to Step S104.
[0058] Step S104: The node elects a super node through a verifiable random function, and determines itself as a super node after satisfying the requirements of the verifiable random function.
[0059] The node that initiates the transaction in the above steps S100 to S104 represents the transaction initiator in a transaction record. For example, node A and node B on the blockchain conduct a transacti...
no. 2 example
[0083] like Figure 5 As shown, the present application provides a super node election device, which is applied to a node, and the device includes:
[0084] A determination 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 configured to run for a super node through a verifiable random function after the judgment module 202 judges that the distance exceeds a preset distance, and determine itself as a super node after meeting the requirements of the verifiable random function.
[0087] The device designed by the above scheme, before a node can run for a super node, it is first screened by determining the distance between the node and the node that initiates the transaction, and the nodes that are closer to the node that initiates the transaction are removed, and then the nodes that are closer to...
no. 3 example
[0096] like Image 6 As shown, the present application provides an electronic device, comprising: a processor 301 and a memory 302 connected to the processor, the memory 302 stores a storage medium executable by the processor 301, and when the computing device is running, the processor 301 executes The storage medium, when executed, executes the method in the first embodiment and any optional implementation manner of the first embodiment.
[0097] The present application provides a storage medium, where a computer program is stored on the storage medium, and the computer program executes the method in the first embodiment and any optional implementation manner of the first embodiment when the computer program is run by a processor.
[0098] Wherein, the storage medium can be realized by any type of volatile or non-volatile storage device or their combination, such as Static Random Access Memory (SRAM), Electrically Erasable Programmable Read-Only Memory (Electrically Erasable...
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