Skip to content

Conversation

@ltardivo
Copy link
Collaborator

@ltardivo ltardivo commented Jun 3, 2024

Until now, we had to parse the blockchain sequentially from the TBC activation block due to the dependency on update actions over the database. This PR refactors the synchronization process and modifies the DB to produce independence over row insertion in the Output table, providing the opportunity to synchronize the entire blockchain in parallel using all available cores, and to handle block reorgs.

The key changes are:

  • Remove Non Standard table and IdToRevs table
  • Include fields in Output table to make the sync process independent on each inserted row
  • Refactor sync process. Simplify configuration when restarting the services
  • Remove query by contract class
  • More work on docker files

@ClemensLey ClemensLey merged commit 2273cf1 into main Jun 11, 2024
@ClemensLey ClemensLey deleted the feat/remove-non-standard branch June 11, 2024 20:15
@ClemensLey
Copy link
Contributor

Great work

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants