Script Network Documentation
  • Getting Started Guides
    • How to Sign Up + Sign In to Script TV
    • Using the Live TV player
    • Navigating the Script TV Dashboard (Test Phase)
    • Testnet, Explorer + Creating a Wallet (Test Phase)
    • Reward System: Script Points, Zealy, Galxe + more
  • ScriptGLASS - How to mint
  • 🎬About Script Network
    • Introduction
    • Products
    • Why Script TV?
    • How it works
    • Understanding the Script Blockchain
    • Script TV + Web3
    • Market Strategy
    • Benefits
    • Comparison
  • 🗺️Roadmap
  • 🪙Script Tokens
    • SCPT
      • Detailed SCPT Tokenomics
    • SPAY
      • 💰SPAY Tokenomics
        • 🕶️ScriptGLASS explained
          • Economics
        • Allowable/Earnable Watch Time
      • Mechanism Design of Glasses
        • Glass Types
        • Glass Payouts
          • Durability
        • Gems
        • Levels
        • Recharge Vouchers
        • Recharge Voucher Mechanism
        • Recharge Costs
        • Glass Minting
        • Game Theory
  • 🦸For Users
    • ⛓️Blockchain Integration
      • Installation guide for Script Node setup for Win , Mac and Linux
      • Build and Install
      • Run Unit Tests
      • Launch Script Node
      • Command Line Tool
      • Steps To Upgrade The Chain
      • Account/Wallet Management
      • Call Smart Contract
      • Turing-Complete Smart Contract Support
    • Basic Concept
    • Tokens
    • Script NFTs
    • Transactions
    • Script Wallet
    • Faucet (Technical)
    • Smart Contracts
  • 🌐Script Network Explorer
    • Block APIs
    • Transaction APIs
    • Account APIs
    • Stake APIs
  • 🔯Nodes
    • Node Token Emissions
    • Lightning Node Overview
      • Validator / Lightning Node Setup
        • Steps To Change Node Password
        • Stake to the Lightning node
    • Lightning Staking Process
      • Lightning Stake Withdrawal Process
        • Staking through Web Wallet
  • 💠Validators
    • Block Settlement
    • Steps To Migrate Lightning/Validator
  • 📒Edge Documentation
    • Introduction
    • What is Edge
    • How it works
    • Edge Uses
    • Possibilities with Edge
    • Edge Features
    • Benefits
    • Use Cases
  • 🔗Smart Contract Development
    • 💻 How to quickly deploy a smart contract on Script Blockchain
  • Smart Contract & App Development
    • Turing-Complete Smart Contract
    • Ethereum RPC API support
    • Setup the ETH RPC Adaptor for the Script Testnet
    • Metamask
    • Truffle
    • Hardhat
    • Remix
    • Web3.js
    • Explorer Tools for DApp Development
    • Script Blockchain SRC20 Token Integration Guide
  • 📔API References
    • Metamask Script Network RPC Details (Testnet)
    • RPC API Reference
      • Examples
      • GetBlock
        • Transaction Types
        • Request
        • GetBlockByHeight
      • GetTransaction
        • GetPendingTransactions
    • Tx APIs
      • Broadcast Raw Transaction
      • BroadcastRawTransactionAsync
    • ScriptCli APIs
      • Account APIs
        • NewKey API
        • ListKeys
        • UnlockKey
        • LockKey
        • IsKeyUnlocked
      • Tx APIs
        • Send
        • Configuration for the Script Blockchain Node
  • 🤝Referrals/Network Effects
  • 🛡️ Audits
  • 📊Script Network Blockchain Summary
  • Disclaimer
  • Frequently Asked Question
    • To resolve the block height issue
    • Update seed peer to resolve connectivity issue
Powered by GitBook
On this page

Was this helpful?

  1. Frequently Asked Question

Update seed peer to resolve connectivity issue

PreviousTo resolve the block height issue

Last updated 1 year ago

Was this helpful?

(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

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

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

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.

wget

wget

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