Bitcoin Forum
April 27, 2024, 01:51:19 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: There ought to be a way to download the block chain over LAN  (Read 1609 times)
bitcredit (OP)
Member
**
Offline Offline

Activity: 78
Merit: 10


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.
1714182679
Hero Member
*
Offline Offline

Posts: 1714182679

View Profile Personal Message (Offline)

Ignore
1714182679
Reply with quote  #2

1714182679
Report to moderator
1714182679
Hero Member
*
Offline Offline

Posts: 1714182679

View Profile Personal Message (Offline)

Ignore
1714182679
Reply with quote  #2

1714182679
Report to moderator
1714182679
Hero Member
*
Offline Offline

Posts: 1714182679

View Profile Personal Message (Offline)

Ignore
1714182679
Reply with quote  #2

1714182679
Report to moderator
The Bitcoin network protocol was designed to be extremely flexible. It can be used to create timed transactions, escrow transactions, multi-signature transactions, etc. The current features of the client only hint at what will be possible in the future.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714182679
Hero Member
*
Offline Offline

Posts: 1714182679

View Profile Personal Message (Offline)

Ignore
1714182679
Reply with quote  #2

1714182679
Report to moderator
Stephen Gornick
Legendary
*
Offline Offline

Activity: 2506
Merit: 1010


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.


Unichange.me

            █
            █
            █
            █
            █
            █
            █
            █
            █
            █
            █
            █
            █
            █
            █
            █


PPCMac
Newbie
*
Offline Offline

Activity: 7
Merit: 0


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: 2618
Merit: 1006


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://www.coinlend.org <-- automated lending at various exchanges.
https://www.bitfinex.com <-- Trade BTC for other currencies and vice versa.
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!