Migrating a Validator
Last updated
Was this helpful?
Last updated
Was this helpful?
Ensure you Validator Backup before you migrate it. Do not forget!
If you don't have the mnemonics saved, you can back it up with:
This prints the private key to stderr
, you can then paste in into the file mykey.backup
.
To check on the new full node if it finished catching-up:
Only continue if catching_up
is false
To prevent double signing, you should stop the validator node before stopping the new full node to ensure the new node is at a greater block height than the validator node.
The validator should start missing blocks at this point. This is the desired behavior!
On the validator node, the file is ~/.secretd/config/priv_validator_key.json
.
You can copy it manually or for example you can copy the file to the new machine using ssh:
After being copied, the key (priv_validator_key.json
) should then be removed from the old node's config
directory to prevent double-signing if the node were to start back up.
The new node should start signing blocks once caught up.
Please read about .