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

fix panickers in tree-route #5479

Merged
merged 1 commit into from Apr 20, 2017
Merged

fix panickers in tree-route #5479

merged 1 commit into from Apr 20, 2017

Conversation

rphmeier
Copy link
Contributor

Originally reported by @svyatonik

Periodic chain head announcements by light servers would compute tree-route to determine depth of common ancestor between previous announcements. If an announcement was made directly after warp-syncing from the genesis, the tree-route would traverse into missing blocks and panic would be triggered.

Beta not affected as the light server is disabled by default, but we may want to backport regardless.

@rphmeier rphmeier added A0-pleasereview 🤓 Pull request needs code review. M4-core ⛓ Core client code / Rust. labels Apr 20, 2017
@arkpar arkpar added A8-looksgood 🦄 Pull request is reviewed well. and removed A0-pleasereview 🤓 Pull request needs code review. labels Apr 20, 2017
@rphmeier rphmeier merged commit f18f81e into master Apr 20, 2017
@5chdn 5chdn deleted the fix-tree-route-panic branch September 21, 2017 09:35
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
A8-looksgood 🦄 Pull request is reviewed well. M4-core ⛓ Core client code / Rust.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants