Bitcoin Forum
December 08, 2016, 10:08:05 AM *
News: To be able to use the next phase of the beta forum software, please ensure that your email address is correct/functional.
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: There ought to be a way to download the block chain over LAN  (Read 1398 times)
bitcredit
Member
**
Offline Offline

Activity: 76


View Profile
June 09, 2011, 07:45:51 AM
 #1

Many BitTorrent clients now search the LAN for peers and download rapidly from them if they're seeding.

Waiting for the whole block chain to be downloaded while you've got another computer with it up to date is aggravating. Now, I suppose I could copy some files, but I'm not sure which ones to copy and frankly I shouldn't have to. Ideally, Bitcoin should use the same technology that BitTorrent clients now use to find local peers. That being said, I'd happy being able to give the client a local IP and have it copy over the first 100,000 or so blocks quickly.
1481191685
Hero Member
*
Offline Offline

Posts: 1481191685

View Profile Personal Message (Offline)

Ignore
1481191685
Reply with quote  #2

1481191685
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1481191685
Hero Member
*
Offline Offline

Posts: 1481191685

View Profile Personal Message (Offline)

Ignore
1481191685
Reply with quote  #2

1481191685
Report to moderator
1481191685
Hero Member
*
Offline Offline

Posts: 1481191685

View Profile Personal Message (Offline)

Ignore
1481191685
Reply with quote  #2

1481191685
Report to moderator
Stephen Gornick
Legendary
*
Offline Offline

Activity: 2002



View Profile
June 09, 2011, 08:00:26 AM
 #2

I'd happy being able to give the client a local IP and have it copy over the first 100,000 or so blocks quickly.

You can tell the client to connect only to the ip address of another client on your LAN:
  see: -connect=n.n.n.n
  http://en.bitcoin.it/wiki/Running_Bitcoin

I don't know how much faster blocks are downloaded though -- the amount of time isn't necessarily spent entirely on transferring.

If you have a new wallet (no transactions yet), you can download the blockchain files:
  http://sourceforge.net/projects/bitcoin/files/Bitcoin/blockchain/

Because your client relies on the integrity of the blockchain when processing blocks, you don't want to just use a torrented copy.

Down the road, on the roadmap to Bitcoin 1.0 is a lightweight client that stores "headers only" so the time for a new installation to get to "ready" state will be shorter at some point.


PPCMac
Newbie
*
Offline Offline

Activity: 7


View Profile
June 09, 2011, 08:47:06 AM
 #3

Quote
If you have a new wallet (no transactions yet), you can download the blockchain files:
  http://sourceforge.net/projects/bitcoin/files/Bitcoin/blockchain/

Or you can use the dayly snapshot from here: http://81.169.129.25/blockchain/
which is compressed better and more up to date.
Sukrim
Legendary
*
Offline Offline

Activity: 1848


View Profile
June 09, 2011, 10:18:47 AM
 #4

Because your client relies on the integrity of the blockchain when processing blocks, you don't want to just use a torrented copy.
BitTorrent does heavy checksumming - if you'd offer a weekly updated "official torrent" (and maybe even download this torrent via the client if it's new!) this would NOT compromise any integrity imho.

Any node I download blocks from could send me bogus data instead as well...

https://bitfinex.com <-- leveraged trading of BTCUSD, LTCUSD and LTCBTC (long and short) - 10% discount on fees for the first 30 days with this refcode: x5K9YtL3Zb
Mail me at Bitmessage: BM-BbiHiVv5qh858ULsyRDtpRrG9WjXN3xf
Pages: [1]
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!