Maintaining a validator
How to update and maintain a validator on the Kii network
This will guide you through basic operations on how to maintain a validator.
What is a validator?
Validators are the ones responsible for committing blocks. Due to this responsibility, validators must run their own nodes and will be slashed if they become unavailable or sign blocks at the same height. Validators will also receive rewards for each block signed from fees.
Creating a validator
Key creation
To create a validator, you first must have a key available for transactions. A new key can be created with:
You will get an output such as:
Transfer funds
Ensure your account has sufficient funds for fees and self-delegation.
Create the validator
A validator will be created based on your consensus public key. You can check your current public key using:
To create a validator you can use the following command:
The transaction must be done on the machine running the node
An additional flag
--node
can be passed to point to an available RPC node
Further instructions on how to run a validator can be found at Running a Validator.
Edit validator description
At any moment, you can update your validator public description. This description is public and is what will be shown on block explorers.
To update your delegator information you can use:
Where:
--from
must be the operator of the validator--identity
can be used as to verify identity with systems like Keybase or UPort--commission-rate
must follow these rules:Must be between 0 and the validator's
commission-max-rate
Must not exceed the validator's
commission-max-change-rate
which is maximum % point change rate per day.
Neither commission-max-rate
and commission-max-change-rate
can be changed after validator creation.
Unjail Validator
Your validator may get jailed for downtime. To unjail your validator you must use the following transaction:
Halting Your Validator
You may want to halt your validator for maintenance or a coordinated upgrade. You can gracefully halt your validator by setting it halt-height
to the height you want to pause your validator. The node will shutdown with a zero exit code at that given height after committing the block.
Last updated