Running Quanta Node
Ensure you have downloaded the source code & compile or install our pre-built binaries
Running Listening Node
Configuring your Node
Inside data/testnet/config.ini, you'll find a number of configurations to set. You'll need to set the the rpc_endpoint which opens a websocket port to connect your wallet to.
Automatic startup/shutdown Script
Systemd:
Upgrading Node
Save this script as deploy.sh
chmod +x deploy.sh
You can find the available versions from our github releases.
This script automatically stops your node, fetch new binary, restart it.T
Troubleshooting
Sometimes you may have received blocks that you processed with an older version of the witness_node. In those situations you have to replay the blockchain (eg. replay the block stored on your machine). Other times, this will not work, and you have resync the entire blockchain from the network.
Make sure your systemd configuration have --replay-blockchain. This ensures that when you restart the service, it will do it.
To resync, you can delete the data/blockchain directory that stores the blocks. Then start the service back up again, which detects a blank directory and retrieves from the network again.
Last updated
Was this helpful?