A block chain data-based offline synchronization method and device
A synchronization device and blockchain technology, applied in the blockchain field, can solve the problems of inconvenient data statistics, speed up block data query and statistics, blockchain inconvenience, etc., and achieve the effect of reducing operations and speeding up query and statistics
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment
[0039] This embodiment provides a specific implementation process of a downlink synchronization method based on blockchain data, such as figure 1 shown, including the following steps:
[0040] Before program execution, it is necessary to create corresponding tables in the database according to the block data to be synchronized, and create indexes according to business needs. In this embodiment, the block chain has block data, transaction data, and log data. Using the MySQL database, create block tables, transaction tables, and log tables, and give the field hash and number of the block table, and the hash and block_number of the transaction table field, the address field of the account table, the block_number field of the log table plus an index, the index type is ordinary index, and the index method is BTREE. The choice of database and the method of indexing are not limited.
[0041] Step 1: Read block data.
[0042] Specifically, the program establishes a connection with ...
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