2 min to read.
Validator
A participant in a proof-of-stake network that proposes new blocks and verifies the blocks of others.
What is a Validator?
A validator is a participant in a proof-of-stake blockchain that is responsible for creating new blocks and confirming that blocks made by others are valid. Validators take the place that miners occupy in proof-of-work systems. Instead of spending electricity on computation, they lock up coins as a stake, which they can partly lose if they act dishonestly.
How it works
To become a validator, an operator deposits the required stake and runs node software that stays online and in sync with the network. The work has two parts:
- Proposing. The protocol regularly selects a validator, in a pseudo-random way usually weighted by stake, to assemble the next block from pending transactions.
- Attesting. The other validators check the proposed block and sign a vote for it. When validators holding enough of the total stake have voted, the block is accepted and, after a further period, considered final.
Validators receive rewards for performing these duties. A validator that is offline misses rewards and incurs small penalties. One that signs contradictory messages, for example two different blocks for the same slot, is slashed: part of its stake is destroyed and it is removed from the validator set.
Example
On Ethereum, a validator is activated with a deposit of 32 ether and is controlled by a signing key that must stay online. Many holders do not run validators themselves and use staking pools or services, which operate validators on their behalf.
Why it matters
Validators are the security of a proof-of-stake chain. An attacker would need to control a large share of all staked coins to disrupt or rewrite the ledger, and would stand to lose that stake.
Risks and misunderstandings
- Operating a validator demands reliable hardware, a stable connection and careful key management. Running the same keys on two machines at once can cause slashing.
- When a few large operators or services control much of the stake, the network becomes more centralised.
- A validator is not the same as an ordinary full node. Full nodes verify the chain for their own use but do not propose blocks or stake.
- On delegated networks, the number of active validators is capped.