Skip to content
This repository has been archived by the owner on Nov 6, 2020. It is now read-only.

Keep track of first available block (excluding genesis) #1936

Closed
rphmeier opened this issue Aug 16, 2016 · 0 comments
Closed

Keep track of first available block (excluding genesis) #1936

rphmeier opened this issue Aug 16, 2016 · 0 comments
Assignees
Labels
F8-enhancement 🎊 An additional feature request. P5-sometimesoon 🌲 Issue is worth doing soon. Q2-easy 💃 Can be fixed by copy and pasting from StackOverflow.

Comments

@rphmeier
Copy link
Contributor

Now that snapshotting is live, it's no longer safe to assume that the entire chain is stored.
Also useful for block pruning, light client providers.

No migration necessary; just binary search for the first non-available block if the "first" key isn't found.

@rphmeier rphmeier added F8-enhancement 🎊 An additional feature request. P5-sometimesoon 🌲 Issue is worth doing soon. Q2-easy 💃 Can be fixed by copy and pasting from StackOverflow. labels Aug 16, 2016
@rphmeier rphmeier self-assigned this Aug 16, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
F8-enhancement 🎊 An additional feature request. P5-sometimesoon 🌲 Issue is worth doing soon. Q2-easy 💃 Can be fixed by copy and pasting from StackOverflow.
Projects
None yet
Development

No branches or pull requests

1 participant