Please enter IP Address of this node: please specify IP address of your node
Please enter existing chainId to connect to: please specify chain ID you would like to connect to
Please enter RPC Port of this node[Default:22000]:Please enter Network Listening Port of this node[Default:22001]:Please enter Constellation Port of this node[Default:22002]:Please enter Node Manager Port of this node[Default:22003]:Please enter WS Port of this node[Default:22004]:
You can use default values by pressing Enter or used ports that you would like to. Warning please sure that you properly secure RPC Port and WS Port, so only you or your Dapp can connect to them!
Node start-up (setup) by command example
Instead of manually typing all the required information, you can run a command instead, see example below:
./setup.sh create -n DemoCreator ip <YOUR SERVER IP ADDRESS> -r 22000 -w 22001 -c 22002 --nm 22003 --ws 22004 -pk <YOUR MINING PRIVATE KEY> --ethnet ropsten --chainId <CHAIN ID> 2>&1 | tee ~/log
Node successful start-up
After you run manually ./setup.sh or run it as a command, it automatically calls startMining on Lition Registry contract to let the other nodes know that your node is up and your are ready to take part in mining process.
Please note that this might take quite some time as startMining is processed on Ethereum network so in edge cases it might take even few hours, but usually it is just a few minutes.
Once you see message the Node is running, everything is setup and your node is running
If you must shut down your node or it just crashed from some reason, do not use ./setup.sh script again to boot it up - it would override the saved state (blocks, your private keys in keystore if you added some, etc...)
For restart, please enter the directory with saved state - it is the Node name parameter that you specified during setup and run ./start.sh script without any parameters. In case of this example it is DemoCreator