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

From DigiByte Wiki
Jump to navigation Jump to search
Line 24: Line 24:
 
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.
 
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.
 
</blockquote>  
 
</blockquote>  
You can also open the port 12024 on your router and forward&nbsp;it to fixed local ip address of the your device.&nbsp;By doing this you will be able to accept incoming connections to your core wallet.
+
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].
 
 
Each router manufacturer has a different UI and setup menu for the port forwarding. You can refer [http://www.pcwintech.com/port-forwarding-guides PcWinTech’s guide] to find your settings.
 

Revision as of 02:42, 10 September 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.230.000 blocks and the size of the these blocks is around 13GB as of August 2019.

It is not too much compared to Bitcoin’s chain size which is around 133GB. 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 Bootstrap DigiByte.zip file. It is about 9,2GB as of August 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 DigiByte.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 DigiByte.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.