Bitcoin Forum
June 15, 2024, 03:39:39 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: block downloading question  (Read 811 times)
HorseRider (OP)
Donator
Legendary
*
Offline Offline

Activity: 1120
Merit: 1001


View Profile
November 27, 2012, 05:02:51 AM
 #1

The blockchain download is really time consuming. I started to download the block 2 days ago, and it is not completed. This is really confusing for me.

If the blockchain is all the same, and there are tens of thousands nodes running on the internet, which means I can connect to 100~200 nodes to ask for the data, and download the blockchain from all of them at the same time. I can use all the bandwidth to download the data.  But this is not what happened.  I can see that my node only connected to 8 other nodes, and download at only 30~50KB/s. sometimes it stopped downloading. 

My node does not contribute very much to the network, too. my upload speed is very low.

My the bitcoin blockchain updates does not work in a emule style?

16SvwJtQET7mkHZFFbJpgPaDA1Pxtmbm5P
DannyHamilton
Legendary
*
Offline Offline

Activity: 3430
Merit: 4658



View Profile
November 27, 2012, 05:13:39 AM
 #2

It's not the downloading of the blockchain that takes so long.  Your computer has to verify every block since the beginning. It is the verification of the blocks that takes so long.
CIYAM
Legendary
*
Offline Offline

Activity: 1890
Merit: 1078


Ian Knowles - CIYAM Lead Developer


View Profile WWW
November 27, 2012, 05:17:48 AM
 #3

You can download the entire blockchain up until the last checkpoint in order to save a lot of the sync time from here: http://eu2.bitcoincharts.com/blockchain/
(instructions are included on the site)

With CIYAM anyone can create 100% generated C++ web applications in literally minutes.

GPG Public Key | 1ciyam3htJit1feGa26p2wQ4aw6KFTejU
niko
Hero Member
*****
Offline Offline

Activity: 756
Merit: 501


There is more to Bitcoin than bitcoins.


View Profile
November 27, 2012, 05:23:33 AM
 #4

Also, slightly off-topic: since you say you only see eight connections, your client is not listening for new connections. Try enabling uPnP on your router and in the client, or manually forward port 8333 from your router to your machine. Note, you should asign a static LAN IP to your machine in the case of manual forward.

They're there, in their room.
Your mining rig is on fire, yet you're very calm.
CIYAM
Legendary
*
Offline Offline

Activity: 1890
Merit: 1078


Ian Knowles - CIYAM Lead Developer


View Profile WWW
November 27, 2012, 05:30:48 AM
 #5

As was noted by Danny having more connections is not really going to help wrt the speed of obtaining blocks - in fact limiting the connection to just a single one (that is the fastest you have a connection to) would probably be better for that purpose.

Having more connections is only really better in that it makes any sort of "spoofing" attack a much more difficult proposal as well as increasing the general size/strength of the Bitcoin network.

With CIYAM anyone can create 100% generated C++ web applications in literally minutes.

GPG Public Key | 1ciyam3htJit1feGa26p2wQ4aw6KFTejU
finway
Hero Member
*****
Offline Offline

Activity: 714
Merit: 500


View Profile
November 27, 2012, 07:02:03 AM
 #6

try this much faster pre0.8 edition:
http://bitcoin.sipa.be/builds/pre-0.8/
The bottleneck is verification&disk seeking, not the network.

You can import blocks from local files to save your time:
bitcoin.exe -loadblock=DATA_DIR/blk0001.dat -loadblock=DATA_DIR/blk0002.dat

HorseRider (OP)
Donator
Legendary
*
Offline Offline

Activity: 1120
Merit: 1001


View Profile
November 28, 2012, 06:12:35 PM
 #7

try this much faster pre0.8 edition:
http://bitcoin.sipa.be/builds/pre-0.8/
The bottleneck is verification&disk seeking, not the network.

You can import blocks from local files to save your time:
bitcoin.exe -loadblock=DATA_DIR/blk0001.dat -loadblock=DATA_DIR/blk0002.dat

Thanks for all the answering to my question.

If I buy a IDE flash disk, how much it help?

16SvwJtQET7mkHZFFbJpgPaDA1Pxtmbm5P
finway
Hero Member
*****
Offline Offline

Activity: 714
Merit: 500


View Profile
November 29, 2012, 01:05:23 AM
 #8

try this much faster pre0.8 edition:
http://bitcoin.sipa.be/builds/pre-0.8/
The bottleneck is verification&disk seeking, not the network.

You can import blocks from local files to save your time:
bitcoin.exe -loadblock=DATA_DIR/blk0001.dat -loadblock=DATA_DIR/blk0002.dat

Thanks for all the answering to my question.

If I buy a IDE flash disk, how much it help?

It may save 1/2 - 1/3 of your time, i guess, never tried.

Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!