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

From DigiByte Wiki
Jump to navigation Jump to search
(18 intermediate revisions by the same user 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.'''
 +
 
 +
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…
 
<blockquote>
 
<blockquote>
''Alternatively you can download a [https://www.googleapis.com/drive/v3/files/1Vn3K92IG7wuxW_CSgjrzrScrBHx3QLMR?alt=media&key=AIzaSyBeDNj854e6QaBciLnPJ0Npe5zrHRMnm7o Bootstrap zip file for DigiByte] (9,2GB 2Aug2019)&nbsp;then follow the instructions below;<br/> 1) 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.''
+
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.
</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.
 
  
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!”''
+
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.)
  
'''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=136.243.14.102'''
+
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/
  
Default block directories for operating systems;
+
4)&nbsp;Delete all files <u>'''EXCEPT wallet.dat'''</u>&nbsp;file (if exist)&nbsp;from your DigiByte folder.
  
Windows: C:\Users\UserName\Appdata\Roaming\DigiByte\digibyte.conf<br/> macOS: ~/Library/Application Support/DigiByte/digibyte.conf<br/> Linux: ~/.digibyte/digibyte.conf
+
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.
  
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.
+
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.
  
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.
+
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.