Validator Setup
📶Running a Validator
Set environment
WEBSITE, DETAILS, DISPLAY_PIC and CONTACT are optional
for DISPLAY_PIC please refer to this : Harmony Guide
Write env to .profile
This step is optional, but we recommend you to do it for convenience
Create Validator
You can create your validator by using command below :
When specifying commission parameters, the commission-max-change-rate
is used to measure % point change over the commission-rate
. E.g. 1% to 2% is a 100% rate increase, but only 1 percentage point.
It's possible that you won't have enough MPX to be part of the active set of validators in the beginning. Users are able to delegate to inactive validators (those outside of the active set) using the XFI Console You can confirm that you are in the validator set by using a third party explorer like XFI Scan.
Edit Validator
You can edit your validator details using command below :
Before you continue, you can edit your environment variable, or you can edit manually
Unjail Validator
When a validator is "jailed" for downtime, you must submit an Unjail
transaction from the operator account in order to be able to get block proposer rewards again (depends on the zone fee distribution).
Halting Your Validator
When attempting to perform routine maintenance or planning for an upcoming coordinated upgrade, it can be useful to have your validator systematically and gracefully halt. You can achieve this by either setting the halt-height
to the height at which you want your node to shutdown or by passing the --halt-height
flag to crossfid
. The node will shutdown with a zero exit code at that given height after committing the block.
Get last block height
Halt Validator
replace HALT_HEIGHT with number shown from result of Get last block height and add some (like 100 or 500)
Last updated