I have an up-to-date copy of the blockchain. Is there an easy way to generate bootstrap.dat from it so I can seed it without having to download the whole thing again?
This script is used to generate bootstrap.dat:
https://github.com/jgarzik/pynode/blob/master/mkbootstrap.pyIt requires an up-to-date pynode chain database.
In theory, someone could write a script that processes bitcoind's $DATADIR/blocks directory into bootstrap.dat, but no one has written that yet.
Hi Jeff,
I create some quicks steps to get this from the command line in Ubuntu / Debian:
$ sudo aptitude install rtorrent
$ rtorrent -n -d ~/.bitcoin/ "magnet:?xt=urn:btih:6fe493ba606847eac163baf35aae9db319735482&dn=bootstrap.dat&tr=udp://tracker.openbittorrent.com:80&tr=udp://tracker.publicbt.com:80&tr=udp://tracker.ccc.de:80&tr=udp://tracker.istole.it:80"
I'm not sure if the bootstrap.dat needs to go in .bitcoin or in .bitcoin/blocks/.
All the best,
D
PS: A little OT but I see pynode is a listen only client is there something in python like pynode that handles all bitcoin operations?