Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
103 lines (58 sloc) 3.93 KB

Bootstrap - Steps to Install a Bootstrap

These instructions are intended for anyone that wants to speed up the synchronization process when installing the wallet for the first time or to resolve issues with a wallet that has forked onto the wrong chain.

Downloading the Bootstrap from a PC or MAC

This section is intended for those that want to install the bootstrap on a PC or MAC.

  1. Close the Rupaya wallet. Be sure that it is completely closed before proceeding.

  2. Open the following URL in a web browser to download the zip file containing the bootstrap:

  3. Open the file named rupx-bootstrap.zip using an unzip utility (i.e.Winzip or 7zip).

  4. In the unzip utility, open the Rupaya folder and extract the blocks, chainstate, and zerocoin folders into the RupayaCore folder where your wallet is installed

    • Mac: /Users/USERNAME/Library/Application Support/RupayaCore
    • Windows: C:\Users\USERNAME\AppData\Roaming\RupayaCore
    • If prompted, confirm that you want to replace the existing file(s).
  5. Restart the Rupaya wallet.

    • The installation of the bootstrap is now complete.

Download the Bootstrap from a Linux VPS Using a Bash Script

This section is intended for those that want to install the bootstrap on a Linux VPS using a bash script, which will automate the process.

Warning

Only do this on a Linux VPS Hot Wallet that does not contain RUPX or zRUPX, or you will lose your coins.

  1. Login to the Linux VPS as the user that will be running the wallet.
  2. Run the following commands, one at a time, to download and run the bash script:
  • For those running the wallet as the user rupxmn, use the following commands:

    wget https://raw.githubusercontent.com/BlockchainBrain/Rupaya_Bootstrap/master/rupxmn-bootstrap.sh
    bash rupxmn-bootstrap.sh
    
  • For those running the wallet as the user root, use the following commands:

    wget https://raw.githubusercontent.com/BlockchainBrain/Rupaya_Bootstrap/master/root-bootstrap.sh
    bash root-bootstrap.sh
    
  • For those that used the bash script to setup the MasterNode, use the following commands:

    wget https://raw.githubusercontent.com/BlockchainBrain/Rupaya_Bootstrap/master/script-bootstrap.sh
    bash script-bootstrap.sh
    
  1. Verify that the wallet is running and that the block count is above 177000:

    rupaya-cli getinfo
    
  • NOTE: It may take a few minutes for connections to begin to establish. Don't be alarmed if the initial output shows "blocks": -1

Download the Bootstrap Manually from a Linux VPS

This section is intended for those that want to manually install the bootstrap on a Linux VPS. YOU DO NOT NEED TO REPEAT THIS STEP IF YOU ALREADY INSTALLED THE BOOTSTRAP USING THE BASH SCRIPT.

Warning

Only do this on a Linux VPS Hot Wallet that does not contain RUPX or zRUPX, or you will lose your coins.

  1. Login to the Linux VPS as the user that will be running the wallet.

  2. Close the Rupaya wallet:

    rupaya-cli stop && sleep 10
    
  3. Run the following commands to delete the old rupayacore files and folders:

    cp ~/.rupayacore/rupaya.conf .
    sudo rm -rf ~/.rupayacore
    mkdir ~/.rupayacore
    mv rupaya.conf ~/.rupayacore/.
    
  4. Run the following command to download the bootstrap:

    wget https://rupaya.ams3.cdn.digitaloceanspaces.com/bootstrap/rupx-bootstrap.tar.gz
    
  5. Extract the bootstrap folders and files into the .rupayacore folder:

    tar xf rupx-bootstrap.tar.gz -C ~/
    
  6. Restart the wallet:

    rupayad -daemon
    
  7. Delete the bootstrap.zip file:

    rm rupx-bootstrap.tar.gz
    
You can’t perform that action at this time.