Forum

Update enode list on xDai

Dear @xdai-validators who running Parity-Ethereum v2.7.2,

(Anyblock Analytics, Burner Wallet, Galtproject, Gnosis, Lab10, MakerDAO, Portis, Syncnode)

We need to update enode list as the current list on your nodes is a bit obsolete. For that, we need to update spec.json and bootnodes.txt files. Please follow the steps below:

  1. Login to your node through SSH.

  2. Stop parity service:

    sudo systemctl stop poa-parity
    
  3. Switch to home directory:

    cd /home/validator
    pwd
    

    output should be

    /home/validator
    
  4. Create backups of spec.json and bootnodes.txt files:

    sudo mkdir backups-spec
    BKPFLDR="backups-spec/$(date '+%Y%m%dT%H%M%S' -u)"
    sudo mkdir -p "$BKPFLDR"
    sudo mv spec.json bootnodes.txt "$BKPFLDR"
    
  5. Switch to validator user:

    sudo -i -u validator
    
  6. Download new spec.json file from our repo:

    curl -LO 'https://raw.githubusercontent.com/poanetwork/poa-chain-spec/dai/spec.json'
    
  7. Download new bootnodes.txt file from our repo:

    curl -LO 'https://raw.githubusercontent.com/poanetwork/poa-chain-spec/dai/bootnodes.txt'
    
  8. Login back to sudo-enabled user:

    exit
    
  9. Restart services:

    sudo systemctl start poa-parity && sleep 10 && sudo systemctl restart poa-netstats
    
  10. Check that your node is green in Netstats https://dai-netstat.poa.network (this may take a couple of minutes).

  11. Wait to see if your node produces new blocks: https://blockscout.com/poa/xdai/

Thank you

2 Likes

Anyblock Analytics updated :slight_smile:

1 Like

Syncnode updated as instructed

1 Like

Gnosis updated and running

1 Like

Maker updated and running

1 Like