thehubbleproject / hubble-contracts

Hubble optimistic rollup
https://thehubbleproject.github.io/docs/
MIT License
133 stars 28 forks source link

Update SyncedPoint to use leveldb #658

Open jacque006 opened 2 years ago

jacque006 commented 2 years ago

Problem

When a node starts syncing when the client process starts up, it will sync from the genesis block defined in genesis.json. However, various StorageEngines and other components could be up to date on disk. This full re-syncing is unnecessary and makes node restarts/crashes slower to recover from.

Solution

Consider

This may need to be implemented after we have persisted batch and transaction storage