ava-labs / hypersdk

Opinionated Framework for Building Hyper-Scalable Blockchains on Avalanche
Other
200 stars 105 forks source link

[x/merkledb] re-use data on disk when restarting sync after history window #53

Open patrick-ogrady opened 1 year ago

patrick-ogrady commented 1 year ago

When we have previously synced but are past the "history window" kept by other nodes, we clear all previously synced data on-disk.

Instead, we should fetch edge proofs of the current state to see if we can avoid re-fetching anything we already have from the rest of the network.

github-actions[bot] commented 1 year ago

This issue has become stale because it has been open 60 days with no activity. Adding the lifecycle/frozen label will exempt this issue from future lifecycle events.