hashed-io / hashed-pallets

Hashed Network pallets
MIT License
0 stars 0 forks source link

Link the information on the blockchain with the database #3

Closed tlacloc closed 9 months ago

tlacloc commented 1 year ago

Issue Description

Task

Link the information on the blockchain with the database.

Description

The objective of this issue is to establish a connection and synchronization between the information stored on the blockchain and the corresponding database. This linkage will enable seamless data transfer and consistency between the two systems, ensuring that changes made on the blockchain are reflected in the database and vice versa.

Changes Made

  1. Analyze the data structures and formats used on the blockchain and in the database.
  2. Develop a mechanism to extract relevant information from the blockchain.
  3. Implement a synchronization process to update the database with the extracted blockchain data.
  4. Design a mechanism to capture changes made in the database and propagate them to the blockchain.
  5. Implement the synchronization process to update the blockchain with the relevant database changes.
  6. Handle any conflicts or inconsistencies that may arise during the synchronization process.
  7. Write comprehensive tests to validate the synchronization mechanism.

Overall Impact

Implications for Other Codebase

Acceptance Criteria