Skip to content

Commit

Permalink
Updated secondary slot algo doc (#6297)
Browse files Browse the repository at this point in the history
* Updated secondary slot algo doc

ref: https://substrate.stackexchange.com/questions/11943/why-was-babe-secondary-slot-assignment-not-implemented-in-a-round-robin-style/

* Update docs/learn/learn-consensus.md

* minor edits

---------

Co-authored-by: Radha <86818441+DrW3RK@users.noreply.github.com>
  • Loading branch information
ToufeeqP and DrW3RK authored Oct 7, 2024
1 parent 70980ff commit b104c50
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docs/learn/learn-consensus.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,10 +83,10 @@ build in some capacity until finalization kicks in and amputates a fork. See
### No Validators in Slot

When no validators have rolled low enough in the randomness lottery to qualify for block production,
a slot can remain seemingly blockless. We avoid this by running a secondary, round-robin style
validator selection algorithm in the background. The validators selected to produce blocks through
this algorithm always produce blocks. Still, these _secondary_ blocks are ignored if the same slot
also produces a primary block from a [VRF-selected](./learn-cryptography.md#randomness) validator.
a slot can remain seemingly blockless. Polkadot protocol runs a [secondary validator selection algorithm](https://spec.polkadot.network/sect-block-production#defn-babe-secondary-slots) in the
background. The validators selected through this predictable algorithm always produce
blocks. These _secondary_ blocks are ignored if the same slot
has a primary block produced from a [VRF-selected](./learn-cryptography.md#randomness) validator.
Thus, a slot can have either a _primary_ or a _secondary_ block, and no slots are ever skipped.

For more details on BABE, please see the
Expand Down

0 comments on commit b104c50

Please sign in to comment.