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

From DigiByte Wiki
Jump to navigation Jump to search
(45 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 how to 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 10.850.000 blocks, the size of the these blocks is around 19GB as of May 2020.
  
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 280GB. Sync process of the DigiByte core wallet usually takes 4 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 the following content as "digibyte.conf" file then put it into your block&nbsp;directory.<br/> ''Note:&nbsp;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!''
+
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.
  
'''maxconnections=100<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'''
+
If you are ready, let’s take the necessary steps together:
  
Default block directories for operating systems;
+
1) If you are installing the DGB core wallet for the first time, download it for your operating system; [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].Install it as usual but <u>'''do not run it at this phase'''</u>.If you already have a core wallet and trying to clean install or upgrade, <u>'''backup your wallet.dat file'''</u> (File > Backup Wallet) and shut down your core wallet.
  
Windows: C:\Users\UserName\Appdata\Roaming\DigiByte\digibyte.conf<br/> macOS: ~/Library/Application Support/DigiByte/digibyte.conf<br/> Linux: ~/.digibyte/digibyte.conf
+
2) Download the[https://drive.google.com/file/d/1o3kCLnZLofkKrFGFvWl2bnt44ouGfoM7/view?usp=sharing .zip] file. It's about 12.7GB compressed as of May 15th 2020 and updated about once every 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 20 minutes if you have 100Mbps or higher 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.)
  
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.
+
3) After the download is complete, go to folder below according to your OS. (You may need to set hidden files as visible, then create DigiByte folder at this phase.)<br  />  Windows: Users\Username\Appdata\Roaming\DigiByte\ (Or run%AppData%\DigiByte)<br  />  macOS: ~/Library/Application Support/DigiByte/<br  />  Linux: ~/.digibyte/
  
You can also open the port 12024 on your router and forward it to your node&nbsp;for accepting incoming connections.
+
4) Delete all files <u>'''EXCEPT wallet.dat'''</u> file (if it exists) 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, or keep it for future use. 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 few minutes and start contributing to the DigiByte blockchain.
 +
 
 +
You can also open the port 12024 on your router and forward it to a 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 10:33, 17 May 2020

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

DigiByte is the longest UTXO blockchain in existence which has over 10.850.000 blocks, the size of the these blocks is around 19GB as of May 2020.

It is not too much compared to Bitcoin’s chain size which is around 280GB. Sync process of the DigiByte core wallet usually takes 4 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's about 12.7GB compressed as of May 15th 2020 and updated about once every 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 20 minutes if you have 100Mbps or higher 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 to 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 it exists) 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, or keep it for future use. 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 few minutes and start contributing to the DigiByte blockchain.

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