Update seed peer to resolve connectivity issue

(A) For Windows

  1. Login Gitbash as a administrator and switch to script path

  2. The normal path should be β€œ$GOPATH/src/github.com/scripttoken/script”. Type β€œcd go/src/github.com/scripttoken/script” and press enter to get there, then run the following command.

git pull

  1. Now execute below command to copy or match the updated config file to scriptnet path,

cp -r ./integration/scriptnet/node/config.yaml ../scriptnet/node

cd ../scriptnet/node

rm db

wget https://scripttv.s3.eu-central-1.amazonaws.com/ablockchain-backup/db.zip

unzip db.zip

  1. Close gitbash and then reopen gitbash again by right clicking the icon and select run as an administrator, then execute the below command.

cd go/src/github.com/scripttoken/script

  1. Switch to "bin" directory i.e $GOPATH/bin/ where your binary has been generated using the above command. Navigate to the bin folder by typing β€œcd $GOPATH/bin”.

  2. Atlast run your node as it was running earlier after closing the previous terminals

(B) Linux/Ubuntu

  1. Open terminal and navigate to script path which should be similar to this : "$GOPATH/src/github.com/scripttoken/script" . Type "cd /usr/local/go/src/github/scripttoken/script" and press enter to get there, then run the following command.

git pull

  1. Now execute below command to copy or match the updated config file to scriptnet path,

cp -r ./integration/scriptnet/node/config.yaml ../scriptnet/node

cd ../scriptnet/node

rm -rf db

wget https://scripttv.s3.eu-central-1.amazonaws.com/ablockchain-backup/db.zip

unzip db.zip

  1. Switch back to script path by below command,

cd ../../script

sudo chmod -R 777 /usr/local/go

  1. close the running sesssion of node.

  2. Atlast run your node as it was running earlier in sessions.

(C) MAC

  1. Open terminal and navigate to script path which should be similar to this : "$GOPATH/src/github.com/scripttoken/script" . Type "cd /usr/local/go/src/github/scripttoken/script" and press enter to get there, then run the following command.

git pull

  1. Now execute below command to copy or match the updated config file to scriptnet path,

cp -r ./integration/scriptnet/node/config.yaml ../scriptnet/node

cd ../scriptnet/node

rm -rf db

wget https://scripttv.s3.eu-central-1.amazonaws.com/ablockchain-backup/db.zip

unzip db.zip

  1. Switch back to script path by below command,

cd ../../script

sudo chmod -R 777 /usr/local/go

  1. close the running sesssion of node.

  2. Atlast run your node as it was running earlier in sessions.

Last updated