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
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: