Difference between revisions of "Bootstrapping"

From Genesis Network Wiki
Jump to navigation Jump to search
(How to Use)
Line 7: Line 7:
 
'''Before doing ANY changes, modifications or tests to your Genesis wallets, make sure you backup your wallet.dat file and your private key. Please see the <html><a href="https://wiki.genesisnetwork.io/index.php?title=Wallets_(GUI)" target="_blank">Wallets</a></html> section for more info'''
 
'''Before doing ANY changes, modifications or tests to your Genesis wallets, make sure you backup your wallet.dat file and your private key. Please see the <html><a href="https://wiki.genesisnetwork.io/index.php?title=Wallets_(GUI)" target="_blank">Wallets</a></html> section for more info'''
 
* Windows, MacOS & Linux GUI
 
* Windows, MacOS & Linux GUI
 +
** '''Shut down wallet'''
 
** Download the file '''<html><a href="https://genxcommunityhelper.blob.core.windows.net/bootstraps/2019-03-19/bootstrap.zip" target="_blank">here</a></html>'''
 
** Download the file '''<html><a href="https://genxcommunityhelper.blob.core.windows.net/bootstraps/2019-03-19/bootstrap.zip" target="_blank">here</a></html>'''
 
** Extract to your Genesis support folder
 
** Extract to your Genesis support folder
Line 12: Line 13:
 
*** '''Mac default location''': ~/Library/Application Support/Genesis/main
 
*** '''Mac default location''': ~/Library/Application Support/Genesis/main
 
*** '''Linux default location''': /home/YOURUSERNAME/.genesis/main/
 
*** '''Linux default location''': /home/YOURUSERNAME/.genesis/main/
* Linux Terminal (Run line by line)
+
** Restart wallet and let sync
 +
=== Linux Terminal ===
 +
* '''Shut down wallet''' and run '''line''' by '''line'''.
 
  sudo apt install -y unzip # if you don't already have this
 
  sudo apt install -y unzip # if you don't already have this
 
  wget <nowiki>https://genxcommunityhelper.blob.core.windows.net/bootstraps/2019-03-19/bootstrap.zip</nowiki>
 
  wget <nowiki>https://genxcommunityhelper.blob.core.windows.net/bootstraps/2019-03-19/bootstrap.zip</nowiki>
 
  sudo unzip -o bootstrap.zip -d /home/YOURUSERNAME/.genesis/main/ # change for your username assuming default location
 
  sudo unzip -o bootstrap.zip -d /home/YOURUSERNAME/.genesis/main/ # change for your username assuming default location

Revision as of 22:17, 17 March 2019

What is Bootstrapping

Bootstrapping is a process in which you can speed up the syncing of your wallet. This can be for a plethora of uses in which you'd need a full-node. Local QT wallet, masternode "hot" wallets, explorers, etc. Letting the blockchain sync from scratch takes a long time and depending on the machine, upwards of hours. A bootstrap can decrease this time by 90% or more.

  • The bootstrap contains most of the current blockchain in a zip file. Current bootstrap goes to block 302k. From there, your node will sync the remainder of the way.
  • The latest bootstrap uses txindex=1, so for explorers or other apps, this bootstrap will still work for you

How to Use

Before doing ANY changes, modifications or tests to your Genesis wallets, make sure you backup your wallet.dat file and your private key. Please see the Wallets section for more info

  • Windows, MacOS & Linux GUI
    • Shut down wallet
    • Download the file here
    • Extract to your Genesis support folder
      • Windows default location: C:\Users\YOURUSERNAME\AppData\Roaming\Genesis\main
      • Mac default location: ~/Library/Application Support/Genesis/main
      • Linux default location: /home/YOURUSERNAME/.genesis/main/
    • Restart wallet and let sync

Linux Terminal

  • Shut down wallet and run line by line.
sudo apt install -y unzip # if you don't already have this
wget https://genxcommunityhelper.blob.core.windows.net/bootstraps/2019-03-19/bootstrap.zip
sudo unzip -o bootstrap.zip -d /home/YOURUSERNAME/.genesis/main/ # change for your username assuming default location