Validators

#How to find safe head

First, find latest justified epoch

  1. For all later epochs except current epoch:
  2. Ensure at least 33% of target votes for this epoch 2.a If any epoch fails, safe head is last justified block 2.b From last justified epoch, for each slot, verify that it cannot be reorged
  3. Count all attestation for descendants of this slot. If it is an empty slot, attestations for non-empty descendants are counted fully and attestations as “empty slot” half
  4. The slot is safe if >50%, otherwise unsafe
  5. Return last safe block

Attestations for empty slot only count half because they are only votes for previous block

Always following the head of fork choice is not safe However, we can find a safe head that follows the latest head by 4s in normal circumstances Under the assumption that the network is synchronous and >50% of stake is honest, safe head will never revert It is best to expose this safe head by default, although the unsafe head should be made available as a user choice

#Fee Recipient

Every time a validator proposes a block, it will get the sum of all tips paid by all the transactions contained in that block.

#Types of Fee’s

This is not technically true all the time, but we mention it

#Lido

Lido: Operators to set the fee recipient to a dedicated fee vault and restakes it into stETH1

#Rocket Pool

Rocket Pool: Operator to set the fee recipient to the distributor contract address. Its oDAO (Oracle DAO) that monitors operator’s behavior will monitor and penalize operators that do not comply.2

see https://dao.rocketpool.net/t/mev-and-penalty-system/772

#Footnotes