Duniter-v2s - goOnline / goOffline

Where can I find documentation about how to trigger goOnline / goOffline actions for validator nodes?

1 Like

The documentation has to be completed and should appear here : docs/user/smith.md · master · nodes / rust / Duniter v2S · GitLab


[copy-paste from the existing, wiki mode]

  • Generate and publish your session keys
    1. create an ssh bridge from your desktop/laptop to your server : ssh -L 9945:localhost:9945 SSH_USER@YOUR_SERVER
    2. In your browser go to polkadotjs : ws://localhost:9945
    3. In the UI : developer > appel RPC > author > rotateKey() and run
    4. copy the result in clipboard
    5. In the UI : developer > extrinsics > YOUR_SMITH_ACCOUNT > authorityMembers > setSessionKeys(keys) then copy your session keys and run the query.
    6. wait 48h to verify you keep sync
  • Join
    • In the UI : developer > extrinsics > YOUR_SMITH_ACCOUNT > authorityMembers > goOnline()

If you’re not able to monitor, reboot, act on your node, goOffline() to avoid penality to the blockchain and to you.

1 Like