Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- first of all log in into your vps from putty and open the hot wallet so it starts syncing
- on putty:
- -go to your latest directory:
- cd blocknetdx-3.14.1/bin
- -stop the servicenode:
- ./blocknetdx-cli stop
- -return to the main directory:
- cd ~
- -remove old directories:
- rm -r -f blocknetdx-3.14.1
- -remove this one if you have no funds on the vps:
- rm -r -f .blocknetdx
- -time to install new wallet:
- wget https://github.com/blocknetdx/blocknet/releases/download/v4.0.2/blocknet-4.0.2-x86_64-linux-gnu.tar.gz
- -extract the downloaded file:
- tar xzvf blocknet-4.0.2-x86_64-linux-gnu.tar.gz
- -now we have to create the .blocknet and wallets directories:
- mkdir .blocknet
- cd .blocknet
- -create the config file:
- nano blocknet.conf
- -paste this inside with a long username and a long password(no need to remember, just make them long enough and use only alphanumericals characters):
- daemon=1
- rpcallowip=127.0.0.1
- rpcuser=user
- rpcpassword=password
- -save by pressing "ctrl + x" then press "y" and "enter" to save the file
- -now we make a new directory:
- mkdir wallets
- -now install a program called "WinSCP" to view what's in your vps:
- https://winscp.net/eng/download.php
- -run the program and log in into your vps from there
- -once you are inside you should see various folders, open the newly created ".blocknet" and go inside the "wallets" directory
- -now go on your browser and download the official bootstrap zip to sync the wallet faster:
- https://github.com/blocknetdx/blocknet-blockchain-bootstrap/releases/download/v4.0/Blocknet.zip
- -when it ends the download unzip the blocknet folder on your desktop. while waiting go to next step
- -if your hot wallet is synced up, backup your wallet.dat on desktop, make sure you have encrypted the wallet before doing this!
- -then from WinSCP drag the wallet.dat file inside the "wallets" folder
- -now if the download of the bootstrap has finished and you have extracted it, you should have a folder on your desktop called Blocknet with the bootstrap folders inside.
- -open it and drag the folders "blocks, chainstate, indexes" inside the ".blocknet" folder on WinSCP.
- -it will take some time (30 minutes+) so go play some videogames 😁
- -go back to putty after its done and go back to main directory:
- cd ~
- -go into the folder of the new version of the wallet:
- cd blocknet-4.0.2/bin/
- -start the server:
- ./blocknetd
- (it should say:
- Blocknet server starting)
- -wait for it to sync up. You can check the status by running this command on the server:
- ./blocknet-cli -getinfo
- Wait for it to have the same blocks as your hot wallet.
- -when it finishes type this, where password is the one you used for your hot wallet to encyrpt it (if it gives you an error put the password between brackets "your_password"):
- ./blocknet-cli walletpassphrase password 999999999 true
- (999999999 are the seconds in which the wallet will stay open and stake, so if you use this number it will be 11 years roughly 😂)
- (true is very important because it tells the wallet to stake and not to spend)
- -check if everthing has worked by typing:
- ./blocknet-cli getstakingstatus
- (you should hopefully see something like this:
- "staking": true,
- "lastupdated": 1582066623,
- "lastupdatedstr": "2020-02-18T22:57:03.000Z",
- "lastblockprocessed": 1335330,
- "status": "Staking is active"
- )
- im @fede#5857 on discord
- donate a coffee if you want (block only) :P. thanks
- BYrcD4YEW5kcPf3bBgpD2ymetJKPLxTjiu
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement