Epoch

A roughly 2 day period where validators have predetermined schedules for block production and stake changes take effect.

What is an Epoch

A Solana Epoch is roughly a 2-3 day long period of time consisting of 432,000 slots. Each slot is approximately 400 milliseconds long, essentially acting as the blockchain's version of a "schedule." Every blockchain needs some sort of mechanism to organize its time and events, so Solana divides its time into these Epochs. When a new Epoch begins, it tells the validators exactly when they will produce blocks, updates staked amounts, calculates rewards, and more.

This allows Solana to scale up to thousands of transactions per second without constantly asking the validators "who's next" or "what should we do next." Other blockchains utilize an Epoch system, however Solana's version is the most streamlined. Validators simply don't have to ask the other Validators when they can produce blocks or anything of the sort; the Epoch is determined for the entire period at the Epoch's start.

How Epochs Function in Solana's Architecture

So, what actually happens during these 432,000 slots? The validators produce blocks sequentially by the amount of SOL they have staked. The more SOL that is staked, the more times the validator produces a block. The network pre-determines when each validator must produce a block at the start of each new Epoch. At the beginning of a new Epoch, whatever stake adjustments were requested are activated. If you delegated SOL to a validator, this becomes active, and if you started the unstaking process, this starts now. The network forces a delay on changes to keep the network stable; you can't simply unstake SOL the instant you request to.

During this time, each block is assigned to be produced by specific validators. Solana utilizes a deterministic schedule (deterministic meaning predictable) to assign a specific block production time for each validator for the next 2-3 days. Each validator is expected to be ready to produce a block for their assigned time. If the validator is offline, for some reason (internet, hardware, etc.), they simply skip their assigned slot.

Significance for Validators, Stakers, and Users

Epochs matter a lot to Validators. Validators are required to keep their nodes up and running for the entire duration of the Epoch in order to generate rewards and be penalized. Validator's are smart and plan maintenance around Epoch boundaries. They will update their validator settings or adjust their commission rates without affecting the Epoch as much as they would if they did so during an Epoch where they are producing a lot of blocks. If a Validator falls behind or misses out on their produced blocks too much they lose reputation and rewards.

Epochs matter to Stakers as well. If you stake SOL today, your staked amount won't be activated until the next Epoch. If you unstake SOL, your unstake request is made now and the process is started at the next Epoch. Rewards are also calculated after every Epoch, so the Rewards generated during an Epoch are sent to you at the start of the next Epoch.

Epochs mostly aren't known to users. Epochs are part of the reason why Solana is capable of generating such high transaction speeds. Since validators are assigned to produce a specific block based on an Epoch that is already set, no time is wasted in asking who the next validator should be producing the next block. This ensures that users can send transactions and get them included in the next block generated (which is less than a second away).

Contents

Writen By

Hanko

Hanko is the Founder and CEO of Soladex. An early believer in Solana, he has deep roots in the ecosystem, including three-plus years operating a validator. With a decade of experience in SEO and affiliate marketing, Hanko brings proven digital expertise to the blockchain space. Through Soladex, he's on a mission to share Solana's potential with the world, creating educational content and resources for the rapidly growing community.

Stay Updated - Follow us on X

Project review threads, dApp insights, announcements, news, and more.