As the name implies, the Ouroboros PoS algorithm is based on the
PoS algorithm. In particular, it is similar to various subsets of the
Delegated PoS (DPoS) algorithm with their own various features. As well as for the classical PoS algorithm, all peer owners with a positive token balance can participate in blocks generation.
Let's take a closer look at how the nodes that form and sign blocks are selected. The main time entities in Ouroboros are Epochs and Slots, where each Epoch is divided into Slots (for example, 20 seconds). Each Slot has its own Slot Leader, a chosen peer owner, that has to generate and sign a block formed within a framework of a specific Slot. In case if for some reason, the Slot Leader wasn't able to sign a block in its Slor, he loses his right to generate a block in the current Slot.
The election of the Slot Leaders is performed as follows:
- Slot Leader of the following Epoch is elected during the current Epoch and a number of Slots for the next Epoch is chosen accordingly
- Each stakeholder has a chance to become a Slot Leader, but the more tokens a stakeholder has, the higher his chances of becoming a Slot Leader
- A special group of stakeholders, Electors, who has enough stake, for example, 2% of all tokens, participate in the election
- Each of the electors makes a random selection of potential Slot Leaders, after which, using the Follow-the-Satoshi algorithm,, real Slot Leaders for the next Epoch are elected from the generated list.
Sources