I’ve followed in the past the tutorial “How to host a Virtual Node” and when downloading the script run.sh from this url:
https://node.incognito.org/run.sh
I’ve got a script that begins with:
#!/bin/sh bash
run()
{
validator_key=xxx
bootnode="mainnet-bootnode.incognito.org:9330"
is_shipping_logs=0
latest_tag=$1
current_tag=$2
data_dir="data"
eth_data_dir="eth-mainnet-data"
eth_data_dir_geth="eth-mainnet-data-geth"
logshipper_data_dir="logshipper-mainnet-data"
backup_log=0
but now the script that download from here begins with:
#!/bin/sh bash
run()
{
validator_key=xxx
bootnode="testnet-bootnode.incognito.org:9330"
is_shipping_logs=1
latest_tag=$1
current_tag=$2
data_dir="data"
eth_data_dir="eth-kovan-data"
logshipper_data_dir="logshipper-data"
I think that the current one is for testnet.
Can I keep running the first one or the script has to be updated? Also the tutorial has to be updated to connect to mainnet?
Now, when restarting the Node I rerun the same run.sh with xxx changed with the validator key as in the tutorial without redownload the script every time, is this correct?
Thanks in advance.
Enrico