Bitcoin Forum
November 02, 2024, 03:58:50 AM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Speed up syncing time?  (Read 2282 times)
s2 (OP)
Full Member
***
Offline Offline

Activity: 198
Merit: 123


View Profile
June 14, 2016, 03:17:43 PM
 #1

Is there any way to speed up syncing time of the initial syncing of the blockchain? 

I.e. copy the chain from a source and tell the machine not to verify the transactions over 3 months old but merely check the blocks and hashes are correct. 

Only thoroughly check the last 3 months worth of transactions via regular p2p network seems far faster approach but are there any security risks with this? (If indeed it is even possible)

icanscript
Hero Member
*****
Offline Offline

Activity: 686
Merit: 502



View Profile
June 14, 2016, 03:40:42 PM
 #2

There is... you can download a bootstrap file if you are using bitcoin core. - https://bitcoin.org/bin/block-chain/

or use an SPV wallet if its a client you are after - http://bitcoin.stackexchange.com/questions/4649/what-is-an-spv-client
cr1776
Legendary
*
Offline Offline

Activity: 4214
Merit: 1312


View Profile
June 14, 2016, 04:26:42 PM
 #3

There is... you can download a bootstrap file if you are using bitcoin core. - https://bitcoin.org/bin/block-chain/

or use an SPV wallet if its a client you are after - http://bitcoin.stackexchange.com/questions/4649/what-is-an-spv-client

Downloading the bootstrap is bad advice and is often slower than downloading the blockchain with bitcoin core (since v 0.10.0, iirc.)



icanscript
Hero Member
*****
Offline Offline

Activity: 686
Merit: 502



View Profile
June 14, 2016, 04:50:56 PM
 #4

There is... you can download a bootstrap file if you are using bitcoin core. - https://bitcoin.org/bin/block-chain/

or use an SPV wallet if its a client you are after - http://bitcoin.stackexchange.com/questions/4649/what-is-an-spv-client

Downloading the bootstrap is bad advice and is often slower than downloading the blockchain with bitcoin core (since v 0.10.0, iirc.)


Thanks for clarification (I have not used Bitcoin Core since before it was "core")

As an idea. you can find some nodes near you via https://blockchain.info/connected-nodes and add them to bitcoin.conf

addnode=<nodeip>
addnode=<nodeip>

and you can up the maxconnections (not sure if this would work or just waste bandwidth)

maxconnections=<max>

info from https://en.bitcoin.it/wiki/Running_Bitcoin#Sample_Bitcoin.conf
unamis76
Legendary
*
Offline Offline

Activity: 1512
Merit: 1012


View Profile
June 14, 2016, 05:57:43 PM
 #5

Is there any way to speed up syncing time of the initial syncing of the blockchain?  

Better hardware and a good connection is the only answer to this, I'm afraid.

You can sync in another (faster) computer and then copy the blockchain folder over if that's of any help.
Joel_Jantsen
Legendary
*
Offline Offline

Activity: 2016
Merit: 1323

Get your game girl


View Profile
June 14, 2016, 07:46:18 PM
 #6

Is there any way to speed up syncing time of the initial syncing of the blockchain?  

 a good connection is the only answer to this
Better hardware is okay but good connection doesn't necessarily guarantee it will speed up the syncing process.The network itself could take time to download the entire blockchain regardless of the speed as the nodes would be busy with the verification instead of giving priority to feed blocks to your local drive.
.Took me 3-4 days with 50mbps of download speed.
@op you can try running this command if its stuck or taking too long to respond "repairwallet".
BTC2Social
Newbie
*
Offline Offline

Activity: 20
Merit: 0


View Profile
June 15, 2016, 12:26:30 PM
 #7

If you don't want to wait for sync you could switch to an SPV wallet like Multibit or Electrum.
ranochigo
Legendary
*
Offline Offline

Activity: 3038
Merit: 4420


Crypto Swap Exchange


View Profile
June 15, 2016, 02:01:23 PM
 #8


and you can up the maxconnections (not sure if this would work or just waste bandwidth)

maxconnections=<max>
It does increase the total connection count if the port 8333 is port forwarded, otherwise it does nothing.
Better hardware is okay but good connection doesn't necessarily guarantee it will speed up the syncing process.The network itself could take time to download the entire blockchain regardless of the speed as the nodes would be busy with the verification instead of giving priority to feed blocks to your local drive.
.Took me 3-4 days with 50mbps of download speed.
@op you can try running this command if its stuck or taking too long to respond "repairwallet".
Verifying a block only takes a minute or so on a very bad hardware and after verification, the nodes just feed other nodes the blocks if they want it. The download speed hasn't been a bottleneck; the hardware speed is more of a factor.

█▀▀▀











█▄▄▄
▀▀▀▀▀▀▀▀▀▀▀
e
▄▄▄▄▄▄▄▄▄▄▄
█████████████
████████████▄███
██▐███████▄█████▀
█████████▄████▀
███▐████▄███▀
████▐██████▀
█████▀█████
███████████▄
████████████▄
██▄█████▀█████▄
▄█████████▀█████▀
███████████▀██▀
████▀█████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
c.h.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀█











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
nwfella
Legendary
*
Offline Offline

Activity: 1610
Merit: 1000

Well hello there!


View Profile
June 15, 2016, 07:11:28 PM
 #9

The good news is once you've managed to successfully download the blockchain the first time you don't have to go through the process all over again when you want to add additional nodes.

1.) Go buy yourself a 64gb USB stick
2.) Copy the blockchain to it (should be under %appdata%\Bitcoin\ most likely if running a windows box.
3.) Place in same subdir on the new node you wanna spin-up and load bitcoin-qt client

*Should only have to download and sync from the moment of last recorded block in your 'copied' chain till the present.

¯¯̿̿¯̿̿'̿̿̿̿̿̿̿'̿̿'̿̿̿̿̿'̿̿̿)͇̿̿)̿̿̿̿ '̿̿̿̿̿̿\̵͇̿̿\=(•̪̀●́)=o/̵͇̿̿/'̿̿ ̿ ̿̿

Gimme the crypto!!
unamis76
Legendary
*
Offline Offline

Activity: 1512
Merit: 1012


View Profile
June 15, 2016, 07:26:40 PM
 #10

Is there any way to speed up syncing time of the initial syncing of the blockchain?  

 a good connection is the only answer to this
Better hardware is okay but good connection doesn't necessarily guarantee it will speed up the syncing process.The network itself could take time to download the entire blockchain regardless of the speed as the nodes would be busy with the verification instead of giving priority to feed blocks to your local drive.
.Took me 3-4 days with 50mbps of download speed.

Correct. But I was simply referring to the fact that it's better to download with a 100MB connection than with a 1MB one... Or with an always up 10MB connection than with a lousy 100MB connection... Cheesy
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!