Epoch

An epoch is a fixed period of time on a blockchain, made up of a set number of slots or blocks, used to organise validator duties, rewards and finality. On Ethereum's Beacon Chain, one epoch is 32 slots of 12 seconds each.

Proof of Stake networks divide time into repeating cycles so validators know when to act. On Ethereum, each epoch is 32 slots, about 6.4 minutes. During an epoch, validators are shuffled into committees, and each active validator is expected to submit one attestation, a vote on the state of the chain. The first slot of each epoch serves as a checkpoint, and a checkpoint is normally finalized after about two epochs if enough stake has voted for it.

Epochs matter to anyone who stakes. Rewards and penalties are calculated epoch by epoch, and queues for activating or exiting a validator are measured in epochs. For example, a validator that goes offline for a few epochs misses its attestations and loses a small amount of the rewards it would otherwise have earned.

Epoch length varies widely between blockchains, from minutes on some networks to days on others. That affects how often rewards arrive and how long it takes to start or stop staking. Some DeFi protocols also borrow the word for their own reward cycles, which are set by their smart contracts rather than by the blockchain.

A common misconception is that an epoch is the same as a block. On Ethereum, an epoch contains many slots, and each slot can hold at most one block. A real risk for validator operators is signing two conflicting attestations for the same target epoch, which can lead to slashing.

Learn more

Related terms