Difference between revisions of "Speeding up sync for your DigiByte Core Wallet"

From DigiByte Wiki
Jump to navigation Jump to search
(38 intermediate revisions by 2 users not shown)
Line 1: Line 1:
  
 
'''Here’s a quick guide on how to add additional nodes / connections to the DigiByte network, in a bid to help speed up your blockchain download.'''
 
'''Here’s a quick guide on how to add additional nodes / connections to the DigiByte network, in a bid to help speed up your blockchain download.'''
 +
<blockquote>
 +
''Alternatively you can download the [http://bit.ly/dgbchain Bootstrap zip file] (9,2GB Aug18,2019)&nbsp;for DigiByte then follow the instructions below;<br/> 1) [https://github.com/digibyte/digibyte/releases/ Install] the core wallet but don't launch it.<br/> 2) Copy the zip file to the related folder below;&nbsp;(Show hidden files and create folders if needed)<br/> &nbsp; &nbsp; &nbsp;Windows: Users\~\Appdata\Roaming\DigiByte\<br/> &nbsp; &nbsp; &nbsp;macOS: ~/Library/Application Support/DigiByte/<br/> &nbsp; &nbsp; &nbsp;Linux: ~/.digibyte/<br/> 3) Create backup of your wallet.dat file. (If exist)<br/> 4) Delete all files except wallet.dat and zip file.<br/> 5) Unzip the zip file directly into the folder.&nbsp;(blocks folder must be in the DigiByte folder)<br/> 6) Delete the zip file and launch your core wallet.''
 +
</blockquote>
 +
Opening your DigiByte Core Wallet for the first time, you’ll be greeted by a screen telling you it needs to sync around 5 years'&nbsp;worth&nbsp;of transactions. That in itself isn’t too bad, as of July 2019 it’s around 13GB. What you want is to be connected to as many peers (nodes) as possible, in order to get it to download as fast as possible.
  
''Alternatively you can download a&nbsp;[http://cryptochainer.com/dir/ Bootstrap for DigiByte]&nbsp;and then follow the&nbsp;[http://cryptochainer.com/dir/?page_id=154 instructions here].''
+
Open a text editor and save the following content as "digibyte.conf" file then put it into your block&nbsp;directory.<br/> ''“In this instance you&nbsp;must&nbsp;include the speech marks, otherwise it will save it as digibyte.conf.txt which you&nbsp;don’t&nbsp;want!”''
  
&nbsp;
+
'''maxconnections=150<br/> addnode=seed1.digibyte.io<br/> addnode=seed2.digibyte.io<br/> addnode=seed3.digibyte.io<br/> addnode=seed.digibyte.io<br/> addnode=seed.digibyteprojects.com<br/> addnode=digihash.co<br/> addnode=digiexplorer.info<br/> addnode=seed.digibyteguide.com<br/> addnode=seed-1.us.digibyteservers.io<br/> addnode=digibyte.host<br/> addnode=dgb-peer.nownodes.io'''
  
Opening your DigiByte Core Wallet for the first time, you’ll be greeted by a screen telling you it needs to sync around 5 years worth of transactions. That in itself isn’t too bad, as of July&nbsp;2019&nbsp;it’s around 8GB. What you want is to be connected to as many peers (nodes) as possible, in order to get it to download as fast as possible.
+
Default block directories for operating systems;
  
Hover your mouse over the connections to see how many people you’re connected to. 8+ is ideal":
+
Windows: C:\Users\UserName\Appdata\Roaming\DigiByte\digibyte.conf<br/> macOS: ~/Library/Application Support/DigiByte/digibyte.conf<br/> Linux: ~/.digibyte/digibyte.conf
  
[https://imgur.com/nt57VuR Connections]
+
Then, just leave the DigiByte Core Wallet open and downloading the Blockchain, come back later, and you’ll be ready to go! It usually takes 3 to 8 hours according to&nbsp;your hardware and network conditions.
  
&nbsp;
+
You can also open the port 12024 on your router and [http://www.pcwintech.com/port-forwarding-guides forward] it to your node&nbsp;for accepting incoming connections.
 
 
If it shows zero connections, that indicates an issue with your Firewall, AntiVirus, or your DNS. However, that’s outside of the scope of this guide.
 
 
 
&nbsp;
 
 
 
To manually add more peers to help speed up your download, you can go to:
 
 
 
[https://www.whatsmydns.net/#A/seed.digibyte.io https://www.whatsmydns.net/#A/seed.digibyte.io]
 
 
 
&nbsp;
 
 
 
Next, grab some of the IP addresses, you’ll want to add maybe a dozen?
 
 
 
[https://imgur.com/8QHx6zX IP addresses]
 
 
 
&nbsp;
 
 
 
Then in your DigiByte Core Wallet go to Help -> Debug Window -> Console
 
 
 
[https://imgur.com/fEJdbHr Console]
 
 
 
&nbsp;
 
 
 
From here, type in:
 
 
 
“''addnode IPADDRESS add''”
 
 
 
&nbsp;
 
 
 
'''''NOTE: You want to repeat this process approx a dozen to a dozen to two dozen times, each with a different IP address'''''
 
 
 
Substitute&nbsp;''IPADDRESS''&nbsp;for the IP addresses you got from the whatsmydns website. Be sure to use some that are as close to you as possible, for example if you’re in the USA there’s no point adding IP’s from Italy etc.
 
 
 
'''''Tip: It should say “null” afterwards. That means “There was no error adding them” and so it’s been correctly added as a node'''''
 
 
 
IF you see “method not found (code -32601)”, it means you’ve not entered it in the correct format, so try again.
 
 
 
&nbsp;
 
 
 
Once you’ve added several more, you should see the speed increase for your Blockchain the download. It can also help if you tell your AntiVirus to exclude the folder that you told DigiByte to store the Blockchain in. For most people on Windows this is “%appdata%\DigiByte”.
 
 
 
&nbsp;
 
 
 
Then, just leave the DigiByte Core Wallet open and downloading the Blockchain, come back later, and you’ll be ready to go!
 

Revision as of 18:17, 18 August 2019

Here’s a quick guide on how to add additional nodes / connections to the DigiByte network, in a bid to help speed up your blockchain download.

Alternatively you can download the Bootstrap zip file (9,2GB Aug18,2019) for DigiByte then follow the instructions below;
1) Install the core wallet but don't launch it.
2) Copy the zip file to the related folder below; (Show hidden files and create folders if needed)
     Windows: Users\~\Appdata\Roaming\DigiByte\
     macOS: ~/Library/Application Support/DigiByte/
     Linux: ~/.digibyte/
3) Create backup of your wallet.dat file. (If exist)
4) Delete all files except wallet.dat and zip file.
5) Unzip the zip file directly into the folder. (blocks folder must be in the DigiByte folder)
6) Delete the zip file and launch your core wallet.

Opening your DigiByte Core Wallet for the first time, you’ll be greeted by a screen telling you it needs to sync around 5 years' worth of transactions. That in itself isn’t too bad, as of July 2019 it’s around 13GB. What you want is to be connected to as many peers (nodes) as possible, in order to get it to download as fast as possible.

Open a text editor and save the following content as "digibyte.conf" file then put it into your block directory.
“In this instance you must include the speech marks, otherwise it will save it as digibyte.conf.txt which you don’t want!”

maxconnections=150
addnode=seed1.digibyte.io
addnode=seed2.digibyte.io
addnode=seed3.digibyte.io
addnode=seed.digibyte.io
addnode=seed.digibyteprojects.com
addnode=digihash.co
addnode=digiexplorer.info
addnode=seed.digibyteguide.com
addnode=seed-1.us.digibyteservers.io
addnode=digibyte.host
addnode=dgb-peer.nownodes.io

Default block directories for operating systems;

Windows: C:\Users\UserName\Appdata\Roaming\DigiByte\digibyte.conf
macOS: ~/Library/Application Support/DigiByte/digibyte.conf
Linux: ~/.digibyte/digibyte.conf

Then, just leave the DigiByte Core Wallet open and downloading the Blockchain, come back later, and you’ll be ready to go! It usually takes 3 to 8 hours according to your hardware and network conditions.

You can also open the port 12024 on your router and forward it to your node for accepting incoming connections.