Author

Topic: I'm probably missing something...... (Read 2304 times)

legendary
Activity: 1072
Merit: 1189
May 24, 2011, 05:18:38 AM
#17
The hard part is not doing the sha256 checksum - it's verifying whether the ECDSA signatures are valid, and the transaction inputs are spent yet. So it requires both computation (an ECDSA signature verification is close a millisecond of CPU time), and disk seeks (random access to the block chain database).
hero member
Activity: 721
Merit: 503
May 24, 2011, 02:14:36 AM
#16
It can always verify the HTTP download with other peers afterwards, so it wouldn't be any more insecure.
Actually, the act of downloading the blockchain is quite fast. In fact, it's the verification part that takes the longest.

This will be easier once we have "light" clients. They can start in "light" mode and convert to a full node over time.

It takes 1.35 seconds to sha256sum the blockchain on my computer
legendary
Activity: 1204
Merit: 1015
May 23, 2011, 09:16:35 PM
#15
It can always verify the HTTP download with other peers afterwards, so it wouldn't be any more insecure.
Actually, the act of downloading the blockchain is quite fast. In fact, it's the verification part that takes the longest.

This will be easier once we have "light" clients. They can start in "light" mode and convert to a full node over time.
legendary
Activity: 966
Merit: 1009
May 22, 2011, 02:22:11 PM
#14
For whatever it's worth: the last time I walked someone through using the official Bitcoin client, I was paying attention to see what the least user-friendly part of the experience was. It seemed to be the long wait that the user had to go through while downloading the block chain. In addition to taking hours of time, there was no explanation of what was happening and no indication of when the process would be over.
Yeah, it would be nice if it could show the current block count so you knew how far you'd got, perhaps with a calculated ETA
jr. member
Activity: 42
Merit: 1
May 22, 2011, 02:16:01 PM
#13
For whatever it's worth: the last time I walked someone through using the official Bitcoin client, I was paying attention to see what the least user-friendly part of the experience was. It seemed to be the long wait that the user had to go through while downloading the block chain. In addition to taking hours of time, there was no explanation of what was happening and no indication of when the process would be over.
sr. member
Activity: 294
Merit: 273
May 22, 2011, 01:37:52 PM
#12
I think the reason this is the default is simply for bandwidth reasons, but I could be wrong.
hero member
Activity: 721
Merit: 503
May 22, 2011, 12:55:08 PM
#11
As I said:
You can, but I can get the hash of the entire chain from peers and verify that what I just downloaded is correct while still getting the speed advantage.
legendary
Activity: 966
Merit: 1009
May 22, 2011, 12:50:48 PM
#10
It can always verify the HTTP download with other peers afterwards, so it wouldn't be any more insecure.
full member
Activity: 140
Merit: 100
May 22, 2011, 12:37:47 PM
#9
The client defaults to downloading from peers, which is probably more secure than an HTTP direct download.
hero member
Activity: 721
Merit: 503
May 22, 2011, 07:48:27 AM
#8
The blockchain to 120K blocks is on the sourceforge download page.

But the client doesn't download that by default, right?

The client ALWAYS downloads the block chain. It will download the block chain from its peers if one isn't already present.

I meant it doesn't download over HTTP - it downloads from peers, which can be slower
hero member
Activity: 588
Merit: 500
May 21, 2011, 01:57:21 PM
#7
The blockchain to 120K blocks is on the sourceforge download page.

But the client doesn't download that by default, right?

The client ALWAYS downloads the block chain. It will download the block chain from its peers if one isn't already present.
legendary
Activity: 1036
Merit: 1002
May 20, 2011, 04:28:57 PM
#6
It's reasonable to choose security over speed in default settings.
hero member
Activity: 721
Merit: 503
May 20, 2011, 12:37:26 PM
#5
The blockchain to 120K blocks is on the sourceforge download page.

But the client doesn't download that by default, right?
hero member
Activity: 721
Merit: 503
May 20, 2011, 12:36:27 PM
#4
You can, but I can get the hash of the entire chain from peers and verify that what I just downloaded is correct while still getting the speed advantage.
hero member
Activity: 588
Merit: 500
May 20, 2011, 12:35:43 PM
#3
The blockchain to 120K blocks is on the sourceforge download page.
sr. member
Activity: 364
Merit: 250
May 20, 2011, 12:34:13 PM
#2
If I give you a fake blockchain, I can give you a fake blockchain.
hero member
Activity: 721
Merit: 503
May 20, 2011, 12:30:32 PM
#1
But is there any reason why the current blockchain can't be downloaded outside the client for first-time setup?
Although I suppose in theory it could, but for some reason it seems to be unsupported and the client instead downloads it all from peers (at a very slow speed - it took hours for me when it could take minutes going over a simple HTTP download).

So, what have I missed?
Jump to: