Optimistic Democracy: How GenLayer Works
Optimistic Democracy is GenLayer's consensus mechanism, rooted in Condorcet's Jury Theorem (opens in a new tab) (click the link to check out our interactive model), which affirms that collective decision-making becomes more accurate as independent validators vote. The process unfolds in distinct phases:
-
User Submits a Transaction: The user sends a transaction to the GenLayer network.
-
Leader (Validator) Proposes Result: A validator is randomly chosen as the Leader-Validator, processes the transaction, and proposes a result.
-
Validators Recompute: A committee of validators (Validators) re-computes the transaction. If the output aligns (i.e., is “equivalent”) with the Leader-Validator’s result, they approve; otherwise, they deny.
-
Result Accepted: Once a majority approves, the result is provisionally accepted.
-
Can Appeal: If any participant disputes the outcome, they can appeal within the Finality Window by posting a bond.
-
Additional Validation (If Appealed): A new set of validators may be chosen to re-evaluate the transaction. If the appeal is valid, they reward the appellant; if not, the bond is forfeited.
-
Final Decision: After all appeals are resolved, the outcome becomes final.