> For the complete documentation index, see [llms.txt](https://unirep.gitbook.io/unirep/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://unirep.gitbook.io/unirep/protocol/glossary/epoch.md).

# Epoch

Definition of epoch in UniRep

* There is the notion of **epoch** in Unirep. Every `epochLength` blocks, one epoch ends and next epoch begins.
* The epoch starts with 1. After an [epoch transition](/unirep/protocol/glossary/epoch-transition.md), in other words, after an amount of blocks and someone performs `epochTransition()` in the UniRep smart contract, the `currentEpoch` increases by 1.

{% hint style="info" %}
See also

* [Epoch Key](/unirep/protocol/glossary/epoch-key.md)
* [Epoch Transition](/unirep/protocol/glossary/epoch-transition.md)
* [User State Transition](/unirep/protocol/glossary/user-state-transition.md)
  {% endhint %}
