[RFC] Best method for initial block download?
We really need to improve bitcoin’s startup time for the first-time user, notably the block chain download. Has anyone given this any thought already?
I would suggest
- guarantee that blkNNNN.dat is the same on all platforms (Linux, Windows, 32-bit, 64-bit)
- publish zip-compressed block chain up to block XXXXX on bitcoin.org, where XXXXX == the largest height of hashes built into bitcoin
binary - publish zip-compressed block chain via trackerless torrent
- call out to remote BT program to download block chain, falling back to HTTP if not working
Another option is to add a more efficient network retrieval method, such as a “download-pkg” command, where a “pkg” is defined as a pre-packaged, pre-compressed range of blocks. a list of block chain ranges packaged could be retrieved via “list-pkgs”. Or generalize this concept further by permitting the bitcoin network protocol to share and download unspecified binary objects based on SHA-1 hash.