[Bitcoin-ml] Optimized Header Sync

Jim Posen jim.posen at gmail.com
Tue Apr 3 17:55:24 UTC 2018


Cross post from bitcoin-dev.

Based on some ideas that were thrown around in this thread (https://lists.
linuxfoundation.org/pipermail/bitcoin-dev/2017-December/015385.html), I
have been working on a P2P extension that will allow faster header sync
mechanisms. The one-sentence summary is that by encoding headers more
efficiently (eg. omitting prev_hash) and downloading evenly spaced
checkpoints throughout history (say every 1,000th) from all peers first, we
could speed up header sync, which would be a huge improvement for light
clients. Here is a draft of the BIP: https://github.com/jimpo/
bips/blob/headers-sync/headersv2.mediawiki.

I'd love to hear any feedback people have.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxfoundation.org/pipermail/bitcoin-ml/attachments/20180403/c33fccbc/attachment.html>


More information about the bitcoin-ml mailing list