Pages:
Author

Topic: [new feature discussion] -fastboot - page 2. (Read 2374 times)

newbie
Activity: 16
Merit: 0
August 18, 2011, 04:00:25 AM
#4
what do you mean? take only last N blocks? but then we don't have the whole history
hero member
Activity: 792
Merit: 1000
Bite me
August 18, 2011, 03:57:40 AM
#3
how about loading the blocks backwards?
newbie
Activity: 16
Merit: 0
August 18, 2011, 03:42:15 AM
#2
Any constructive criticism from people who voted no ?  Thanks!
newbie
Activity: 16
Merit: 0
August 17, 2011, 10:54:19 PM
#1
Hey guys,

I'm in the middle of implementing new option for official bitcoin client:  -fastboot.
As we know, currently syncing "fresh" client takes really long time - even several hours. This option will allow user to download all blocks in a very short time, by downloading almost all blocks (as compressed file) from one of mirrors (mirror will be choosen randomly by client).  MDhash of downloaded file will be hardcoded into client, to prevent changing blocks. It also mean that this code needs to be updated every few weeks (as currently is with the number of blocks),  but I think it's worth it.

What do you think about that?

Pros:
+ sync you fresh client in few minutes


Cons:
- servers with files are centralized, so in case they doesn't work,  option won't speed up


Thanks!

----
EDIT: I've run small test.

I used Matt's blockchain (thanks Matt for sharing this!!) on fresh client.
(http://bitcoin.bluematt.me/bitcoin-nightly/blockchain-nightly/)

download time: 7 minutes
bunzip2 and tar -  ~ 2 minutes
./bitcoin -rescan :  1 minute


total: 10 minutes
result:  140600 blocks done
-------
Pages:
Jump to: