Bootstrapping (Windows)

Contents

Introduction

Syncing a blockchain is always a time consuming and painful process. Fortunately, with the Reddcoin Core Bootstrap, you can speed up the syncing of the blockchain on a fresh install of Reddcoin Core.

This process is not mandatory, but will cut synchronization times down dramatically when used.

Instructions

A video showing how to bootstrap on Windows: https://www.youtube.com/watch?v=lYcu5BA3RDo.

Video created by harmonyq.

Step 1: Backup wallet

Always make a backup of your wallet first if you have any Reddcoins in your wallet. Do not skip this step.

You can read here how to make a backup.

Step 2: Check if most recent version of Reddcoin Core is installed

It is important to use/run the most recent version of Reddcoin Core, as the most recent version will have bugfixes and improvements.

Currently, the most recent version is: Reddcoin Core v3.10.3.

To check the version of your Reddcoin Core, follow these steps:

  • Open Reddcoin Core.
  • Open ‘Debug window’, via ‘Help’ -> ‘Debug window’.


  • The ‘Debug window’ appears on the screen, showing the ‘Information’ tab.
    Client version will tell you your Reddcoin Core version.

    It should be v3.10.3.


  • If your version is v3.10.3, you are running the most recent version. You can continue with step 3 below.

    If your version is not v3.10.3 (and thus older), you should update Reddcoin Core first.
    More info about updating can be found here: Updating Reddcoin Core to a newer version.
    After you have updated, you can continue with step 3 below.

Step 3: Find your Reddcoin data directory

Your Reddcoin data directory contains important files used by Reddcoin Core, like the Reddcoin blockchain files and the wallet file. You need to know where your Reddcoin data directory is located, as you need to copy some files into this directory in the next steps.

  • Open Reddcoin Core.
  • Open ‘Debug window’, via ‘Help’ -> ‘Debug window’.


  • The ‘Debug window’ appears on the screen, showing the ‘Information’ tab. Click on the ‘Open’ button at the bottom to open the ‘Debug log file’.


  • The debug log file will be opened.
    Search for the following in the file (CTRL + F) to see your data directory:
    Using data directory

    In this example, the Reddcoin data directory is “C:\Blockchain\Reddcoin“.

  • Close/exit Reddcoin Core, via File -> Exit.

  • Open your Reddcoin data directory using Windows File Explorer.
    In my case, it’s “C:\Blockchain\Reddcoin“.

  • Delete these two folders:
    • blocks
    • chainstate

  • Delete this file:
    • peers.dat

  • Leave this window open.

Step 4: Download and extract the bootstrap file

You need to download the bootstrap file, and place the contents in your Reddcoin data.

  • Download the bootstrap file (.zip file – 4.5 GB):
    https://download.reddcoin.com/bin/bootstrap/blockchain-latest.zip

  • After the file is downloaded, the next step is to copy the contents of the bootstrap file to your Reddcoin data directory.

    Browse to the folder where the bootstrap file is saved.
    Right click on the file -> ‘Open with’ -> Windows Explorer.


  • The contents of the bootstrap file will be shown (two folders: blocks and chainstate).
    Copy/move these folders to your Reddcoin data directory (the window from the previous step that is still open, where you deleted the files/folders earlier).
    You can ‘drag and drop’, ‘right click copy, right click paste’ or ‘CTRL + C, CTRL +V’.


Step 5: Finish the sync

Start Reddcoin Core. If you did everything correctly, you should sync only a few days of blockchain data, instead of more than 6 years. Wait until the blockchain is fully synced before doing any transactions.

  • To speed up the weeks syncing, you can do the following:
    • In Reddcoin Core, go to: Help (menu) -> Debug window -> Peers.


       
    • Make the Peers window wider.
       
    • You are interested in the column ‘User Agent’ (2nd column).  
      Make the column wider to see its contents.


       
    • Peers with User Agent “Reddcoin:3” use Reddcoin Core v3.
      These peers are OK.

      Peers with User Agent “Reddcoin:1” use Reddcoin Core v1.
      Peers with User Agent “Reddcoin:2” use Reddcoin Core v2.
      These peers are using outdated versions of Reddcoin Core, stop connecting to these peers by banning them. Right click on these peers and ban them for 1 year.


       
    • Until the blockchain is fully synced, check the peers window every few minutes.  
      If you see new peers with “Reddcoin:1” or “Reddcoin:2”, ban them as well.
       
    •  I can recommend checking Peers and banning peers using older versions of Reddcoin Core (v1/v2) even after Reddcoin Core is fully synced. Not using v1/v2 peers help to keep your network traffic low and your blockchain data healthy.

When Reddcoin Core is fully synced, you can start using it!