To resolve the block height issue
Resolve handshake and syncing issue
(A) Windows
Open gitbash as a administrator and navigate to script path which should be similar to this : $GOPATH/src/github.com/scripttoken/script or type cd go/src/github.com/scripttoken/script
close the running sesssion of node.
Now switch to db path ,
cd ../scriptnet/node/
Remove the existing and download the synced db binaries
rm -rf snapshot
curl https://scripttv.s3.eu-central-1.amazonaws.com/ablockchain-backup/snapshot.zip
rm -rf db
curl https://scripttv.s3.eu-central-1.amazonaws.com/ablockchain-backup/db.zip
unzip db.zip
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β.
Atlast run your node as it was running earlier.
(B) Ubuntu
Open terminal and navigate to script path which should be similar to this : $GOPATH/src/github.com/scripttoken/script
close the running sesssion of node.
Now switch to db path ,
cd ../scriptnet/node/
Remove the existing and download the synced db binaries
rm -rf snapshot
wget https://scripttv.s3.eu-central-1.amazonaws.com/ablockchain-backup/snapshot.zip
rm -rf db
wget https://scripttv.s3.eu-central-1.amazonaws.com/ablockchain-backup/db.zip
unzip db.zip
switch to script path
cd ../../script
make install
sudo chmod -R 777 /usr/local/go
Atlast run your node as it was running earlier.
(C) MAC
Open terminal and navigate to script path which should be similar to this : $GOPATH/src/github.com/scripttoken/script
close the running sesssion of node.
Now switch to db path ,
cd ../scriptnet/node/
Remove the existing and download the synced db binaries
rm -rf snapshot
wget https://scripttv.s3.eu-central-1.amazonaws.com/ablockchain-backup/snapshot.zip
rm -rf db
wget https://scripttv.s3.eu-central-1.amazonaws.com/ablockchain-backup/db.zip
unzip db.zip
switch to script path
cd ../../script
make install
sudo chmod -R 777 /usr/local/go
Atlast run your node as it was running earlier.
Last updated