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

From DigiByte Wiki
Jump to navigation Jump to search
(35 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 speed up the sync period of the DigiByte core wallet.'''
  
''“Alternatively you can download a [http://cryptochainer.com/dir/ Bootstrap for DigiByte] and then follow the [http://cryptochainer.com/dir/?page_id=154 instructions here].”''
+
DigiByte is the longest UTXO blockchain in existence which has over 9.450.000 blocks and the size of the these blocks is around 13GB as of September 2019.
  
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.
+
It is not too much compared to Bitcoin’s chain size which is around 240GB. Sync process of the DigiByte core wallet usually takes 3 to 8 hours according to your bandwidth and hardware specifications. This period can be significantly shortened when you use an SSD storage. After all it is still pretty acceptable time period for setting up a full node but if you have a low bandwidth and weak hardware or if you are in hurry then you may need a faster way.
  
Open a text editor and save following content as digibyte.conf file then put it into your chain directory according to your os.
+
Downloading a copy of the blockchain is the most known way to speed core wallet sync up. In fact, it’s not a good way to keep decentralization at a high level but if you really need it, there is nothing wrong with using it.
  
Windows: C:\Users\UserName\Appdata\Roaming\DigiByte\digibyte.conf<br/> macOS: ~/Library/Application Support/DigiByte/digibyte.conf<br/> Linux: ~/.digibyte/digibyte.conf
+
If you are ready, let’s take the necessary steps together…
 +
<blockquote>
 +
1) If you are installing the DGB core wallet for the first time, download it for your operating system;&nbsp;[https://github.com/digibyte/digibyte/releases/download/v7.17.2/digibyte-7.17.2-win64-setup.exe Windows], [https://github.com/digibyte/digibyte/releases/download/v7.17.2/digibyte-7.17.2-osx.dmg macOS], [https://github.com/digibyte/digibyte/releases/download/v7.17.2/digibyte-7.17.2-x86_64-linux-gnu.tar.gz Linux].&nbsp;Install it as usual but <u>'''do not run it at this phase'''</u>.&nbsp;If you already have a core wallet and trying to clean install or upgrade, <u>'''backup your wallet.dat file'''</u>&nbsp;(File > Backup Wallet)&nbsp;and shut down your core wallet.
  
—————<br/> maxconnections=200<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.inf<br/> addnode=seed.digibyteguide.com<br/> addnode=seed-1.us.digibyteservers.io<br/> —————
+
2) Download&nbsp;the&nbsp;[http://tiny.cc/digiblocks .zip] file.&nbsp;It is about 9,4GB as of September 2019 and regularly updating a couple of times in a month. The best thing about this file is that it is hosted on Google servers ensuring that you can reach your maximum download speed wherever you are in the world. That means you can download it in 15&nbsp;minutes if you have 100Mbps download speed. (If you have a poor internet connection, you may want to download it&nbsp;using another pc with&nbsp;a high speed internet connection then copy it to your device.)
  
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 depends on your hardware and network conditions.
+
3)&nbsp;After the download is complete, go to folder below according to your OS.&nbsp;(You may need so set hidden files as visible then create DigiByte folder at this phase.)<br/> &nbsp; &nbsp; Windows: Users\Username\Appdata\Roaming\DigiByte\ (Or run&nbsp;%AppData%\DigiByte)<br/> &nbsp; &nbsp; macOS: ~/Library/Application Support/DigiByte/<br/> &nbsp; &nbsp; Linux: ~/.digibyte/
 +
 
 +
4)&nbsp;Delete all files <u>'''EXCEPT wallet.dat'''</u>&nbsp;file (if exist)&nbsp;from your DigiByte folder.
 +
 
 +
5)&nbsp;Copy the .zip file you downloaded into the DigiByte folder and unzip it directly into that folder. Do not create a new folder while unzipping it, blocks folder and wallet.dat file must be in the same folder.
 +
 
 +
6)&nbsp;You can delete .zip file after unzipping it. It also includes an optimized digibyte.conf file that allows you to connect to more nodes faster. If you want to use&nbsp;your own digibyte.conf file you can also delete it.
 +
 
 +
7)&nbsp;Now you are ready to run your core wallet. At first start, it will ask you the default chain folder which points the folder you prepared. Do not change it unless you prepared a folder in a different location. Your core wallet will be ready to use in a couple of minutes and start contributing the DigiByte blockchain.
 +
</blockquote>
 +
You can also open the port 12024 on your router and forward&nbsp;it to fixed local ip address of the your computer. For port forwarding instructions please [https://www.dgbwiki.com/index.php?title=Port_forwarding_process_for_your_DigiByte_node click here].

Revision as of 19:37, 17 November 2019

Here’s a quick guide speed up the sync period of the DigiByte core wallet.

DigiByte is the longest UTXO blockchain in existence which has over 9.450.000 blocks and the size of the these blocks is around 13GB as of September 2019.

It is not too much compared to Bitcoin’s chain size which is around 240GB. Sync process of the DigiByte core wallet usually takes 3 to 8 hours according to your bandwidth and hardware specifications. This period can be significantly shortened when you use an SSD storage. After all it is still pretty acceptable time period for setting up a full node but if you have a low bandwidth and weak hardware or if you are in hurry then you may need a faster way.

Downloading a copy of the blockchain is the most known way to speed core wallet sync up. In fact, it’s not a good way to keep decentralization at a high level but if you really need it, there is nothing wrong with using it.

If you are ready, let’s take the necessary steps together…

1) If you are installing the DGB core wallet for the first time, download it for your operating system; Windows, macOS, Linux. Install it as usual but do not run it at this phase. If you already have a core wallet and trying to clean install or upgrade, backup your wallet.dat file (File > Backup Wallet) and shut down your core wallet.

2) Download the .zip file. It is about 9,4GB as of September 2019 and regularly updating a couple of times in a month. The best thing about this file is that it is hosted on Google servers ensuring that you can reach your maximum download speed wherever you are in the world. That means you can download it in 15 minutes if you have 100Mbps download speed. (If you have a poor internet connection, you may want to download it using another pc with a high speed internet connection then copy it to your device.)

3) After the download is complete, go to folder below according to your OS. (You may need so set hidden files as visible then create DigiByte folder at this phase.)
    Windows: Users\Username\Appdata\Roaming\DigiByte\ (Or run %AppData%\DigiByte)
    macOS: ~/Library/Application Support/DigiByte/
    Linux: ~/.digibyte/

4) Delete all files EXCEPT wallet.dat file (if exist) from your DigiByte folder.

5) Copy the .zip file you downloaded into the DigiByte folder and unzip it directly into that folder. Do not create a new folder while unzipping it, blocks folder and wallet.dat file must be in the same folder.

6) You can delete .zip file after unzipping it. It also includes an optimized digibyte.conf file that allows you to connect to more nodes faster. If you want to use your own digibyte.conf file you can also delete it.

7) Now you are ready to run your core wallet. At first start, it will ask you the default chain folder which points the folder you prepared. Do not change it unless you prepared a folder in a different location. Your core wallet will be ready to use in a couple of minutes and start contributing the DigiByte blockchain.

You can also open the port 12024 on your router and forward it to fixed local ip address of the your computer. For port forwarding instructions please click here.