8) Update spec.json file
1) Update spec.json on both MoC node and rpc bootnode.
  • Stop Parity
1
sudo systemctl stop poa-parity
Copied!
  • Add Registrar contract address into params section of spec.json. Make sure it is the appropriate params section.
    1
    "name": "...",
    2
    "engine": {
    3
    ...
    4
    },
    5
    "params": {
    6
    ...,
    7
    "NetworkID": "xxx",
    8
    ...,
    9
    "registrar": "0xREGISTRAR_ADDRESS"
    10
    },
    11
    ...
    Copied!
2) Restart Parity on both nodes.
1
sudo systemctl restart poa-parity && sleep 10 && sudo systemctl restart poa-netstats
Copied!
3) Check Netstat to ensure your nodes are communicating. They should display the same block hash for each block.
Open http://1.2.3.4:3000 (using your Netstats url instance) to check your nodes.
Last modified 1yr ago
Export as PDF
Copy link