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

Light protocol syncing improvements #4212

Merged
merged 7 commits into from
Jan 20, 2017
Merged

Light protocol syncing improvements #4212

merged 7 commits into from
Jan 20, 2017

Conversation

rphmeier
Copy link
Contributor

@rphmeier rphmeier commented Jan 18, 2017

Now handles the head of the chain correctly and doesn't choke on forks. There are still a couple of low-hanging fruit for improvement (namely, improving the dispatch function to check peer capabilities + buffer availability and avoiding a common ancestor search after every transition out of idle state), but this is good enough for now.

Also fixes a couple of bugs in the HeaderChain and in the test client.

@rphmeier rphmeier added A0-pleasereview 🤓 Pull request needs code review. M4-core ⛓ Core client code / Rust. labels Jan 18, 2017
@rphmeier rphmeier requested a review from arkpar January 18, 2017 19:21
@arkpar arkpar added A8-looksgood 🦄 Pull request is reviewed well. and removed A0-pleasereview 🤓 Pull request needs code review. labels Jan 20, 2017
@arkpar arkpar merged commit a791cb5 into master Jan 20, 2017
@arkpar arkpar deleted the lightsync-ahead branch January 20, 2017 11:42
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
Light Client
  
Done
Development

Successfully merging this pull request may close these issues.

None yet

2 participants