Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(WIP) verifier: Get single header when cheaper than chunk #5653

Closed

Conversation

JeremyRand
Copy link
Contributor

This PR extends #5147 by making the SPV verifier only retrieve single headers if doing so will save bandwidth compared to retrieving full chunks. In my brief performance testing, it improved the delay of verifying a watch-only wallet (using Tor) by around 30%.

It should not be merged until #5147 has been merged and this PR has been rebased accordingly.

@JeremyRand JeremyRand changed the title verifier: Get single header when cheaper than chunk (WIP) verifier: Get single header when cheaper than chunk Sep 23, 2019
@ecdsa
Copy link
Member

ecdsa commented Sep 23, 2019

closing as it depends on #5147

@ecdsa ecdsa closed this Sep 23, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants