If you have a node running, make sure to upgrade it as soon as possible. If you don't upgrade your node in the next 7 days, it will get out of sync with Etica mainnet.
Phase 1: 31st January 2024
Phase 2: 7th Febuary 2024
Viewed 244501 times and downloaded 30378 times since September 28, 2019
For reminder, every Etica network upgrade requires majority of nodes of the network to accept the upgrade by upgrading their nodes. There is no central entity that can enforce an upgrade on Etica network.
sudo apt-get update wget https://go.dev/dl/go1.19.1.linux-amd64.tar.gz sudo tar -xvf go1.19.1.linux-amd64.tar.gz sudo mv go /usr/local export GOROOT=/usr/local/go export GOPATH=$HOME/go export PATH=$GOPATH/bin:$GOROOT/bin:$PATH source ~/.profile go version
cd core-geth
git pullOtherwise if this is a new node and you never pulled the code yet. Run:
git clone https://github.com/etica/core-geth.git
sudo apt install make
sudo apt-get update
make geth
./build/bin/geth --networkid 61803 --nat extip:127.0.0.1 --datadir "./eticanode1" --http --http.addr "localhost" --http.port "8545" --port "30303" --allow-insecure-unlock --http.corsdomain "*" --rpc.allow-unprotected-txs --http.api eth,web3,personal,net --rpcvhosts=* --ipcpath "~/.ethereum/geth.ipc" --bootnodes "enode://b0e97d2f1a37b2035a34b97f32fb31ddd93ae822b603c56b7f17cfb189631ea2ef17bfbed904f8bc564765634f2d9db0a128835178c8af9f1dde68ee6b5e2bf7@167.172.47.195:30303"
Becomes:
./build/bin/geth --etica --nat extip:127.0.0.1 --datadir "./eticanode1" --http --http.addr "localhost" --http.port "8545" --port "30303" --allow-insecure-unlock --http.corsdomain "*" --rpc.allow-unprotected-txs --http.api eth,web3,personal,net --http.vhosts=* --ipcpath "~/.ethereum/geth.ipc" --bootnodes "enode://b0e97d2f1a37b2035a34b97f32fb31ddd93ae822b603c56b7f17cfb189631ea2ef17bfbed904f8bc564765634f2d9db0a128835178c8af9f1dde68ee6b5e2bf7@167.172.47.195:30303"
Another example (mining node):
./build/bin/geth --networkid 61803 --mine --miner.threads=2 --miner.gasprice "1000000000" --miner.gastarget "50000000" --miner.gaslimit "50000000" --nat extip:127.0.0.1 --datadir "./eticanode1" --http --http.addr "localhost" --http.port "8545" --port "30303" --allow-insecure-unlock --http.corsdomain "*" --rpc.allow-unprotected-txs --http.api eth,web3,personal,net --rpcvhosts=* --ipcpath "~/.ethereum/geth.ipc" --bootnodes "enode://b0e97d2f1a37b2035a34b97f32fb31ddd93ae822b603c56b7f17cfb189631ea2ef17bfbed904f8bc564765634f2d9db0a128835178c8af9f1dde68ee6b5e2bf7@167.172.47.195:30303"
Becomes:
./build/bin/geth --etica --mine miner.etherbase="0x769cAB9308A3b86f5006D667f30652C92E4d8558" --miner.threads=2 --miner.gasprice "1000000000" --miner.gaslimit "50000000" --nat extip:127.0.0.1 --datadir "./eticanode1" --http --http.addr "localhost" --http.port "8545" --port "30303" --allow-insecure-unlock --http.corsdomain "*" --rpc.allow-unprotected-txs --http.api eth,web3,personal,net --http.vhosts=* --ipcpath "~/.ethereum/geth.ipc" --bootnodes "enode://b0e97d2f1a37b2035a34b97f32fb31ddd93ae822b603c56b7f17cfb189631ea2ef17bfbed904f8bc564765634f2d9db0a128835178c8af9f1dde68ee6b5e2bf7@167.172.47.195:30303"
Important: If you specified a datadirectory (--datadir) you must keep it in the command line, otherwise your node will start syncing from scratch with a brand new default directory
pm2 start startnode.sh or ./startnode.shIf the upgrade was successfull, you should see this screen: