Implementation method of blockchains
A blockchain and block technology, applied in the field of Python, can solve problems such as non-unique blocks
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0014] Such as figure 1 Shown, the present invention adopts following steps:
[0015] Step 1. Create a block chain class, and the specific content is realized: 1. Initialize the block chain; 2. Initialize the chain stem; 3. Collect the chain stem results; 4. Generate gene block results; such as:
[0016] class qukuai:
[0017] def __init__(ziji, qukuai):
[0018] self.zhainy = [] / / initialize blockchain
[0019] self.workfarm = [] / / initialize chain trunk
[0020] for i in range(3):
[0021] self.workman.append(workman)
[0022] self.resul = [] / / collection chain result
[0023] self.oldschool (unfish) / / generate genetic results
[0024] Step 2. Create a return function receiver to receive the last blockchain object returned by Rastak, and compare the last block of the current blockchain to see if they are the same; for example:
[0025] def get_trans(self):
[0026] return json.unysl({ / / return object
[0027] 'sendto': ''.join(entin.sample(string.ascii_letters +stri...
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