Renew Participation Keys
The process of renewing a participation key is simply creating a new participation key and registering it online before the previous key expires.
You can renew a participation key anytime before it expires, and we recommend to do it at least two weeks (about 38,400 rounds) in advance so as not to risk having an account marked as online that is not participating.
The validity ranges of participation keys can overlap. For any account, at any time, at most one participation key is registered, namely the one included in the latest online key registration transaction for this account.
- Create a new participation key with a first voting round that is less than the last voting round of the current participation key. It should leave enough time to carry out this whole process (e.g. 40,000 rounds).
- Place both keys in the participating node's ledger directory.
- Once the network reaches the first voting round for the new key, submit an online key registration transaction for the new participation key.
- Wait at least 320 rounds to validate that the node is participating.
- Once participation is confirmed, it is safe to delete the old participation key.
goal supplies single commands to renew all participation keys on a node (
goal account renewallpartkeys) or renew the participation key for a specific account (
goal account renewpartkey). It is recommended that you only use these for testing purposes or for very low-stake accounts, since both of them require your private keys to be online.
Removing Old Keys¶
When a participation key is no longer in use, simply delete the participation key file. Participation keys can be identified by their filename, which contains the address of the account and the first and last participation rounds.
$ rm `$ALGORAND_DATA/<network>/<address>.<firstround>.<lastround>.partkey`
Restart the node to clear the old key from memory:
$ sudo systemctl restart algorand
$ goal node restart