Table of Contents
Fetching ...

PureLottery: Fair and Bias-Resistant Leader Election with a Novel Single-Elimination Tournament Algorithm

Jonas Ballweg

TL;DR

This work addresses the problem of fair leader election in distributed and blockchain systems without relying on decentralized RNG. It introduces PureLottery, a novel single-elimination tournament algorithm where only binary matches occur, leveraging game-theoretic incentives to discourage cheating and achieve uniform fairness. The method guarantees that honest participants have a probability of $1/n$ to win, even under adversarial manipulation, and remains robust across arbitrary participant counts and weighted probabilities. An Ethereum/Solidity implementation demonstrates practical, gas-efficient deployment, with linear total gas and $O(\log n)$ communication per participant, making PureLottery suitable for smart contracts, DAOs, and blockchain-based lotteries.

Abstract

Leader Election (LE) is crucial in distributed systems and blockchain technology, ensuring one participant acts as the leader. Traditional LE methods often depend on distributed random number generation (RNG), facing issues like vulnerability to manipulation, lack of fairness, and the need for complex procedures such as verifiable delay functions (VDFs) and publicly-verifiable secret sharing (PVSS). This Bachelor's thesis presents a novel approach to randomized LE, leveraging a game-theoretic assumption that participants, aiming to be chosen as leaders, will naturally avoid actions that diminish their chances. This perspective simplifies LE by eliminating the need for decentralized RNG. Introducing PureLottery, inspired by single-elimination sports tournaments, this method offers a fair, bias-resistant, and efficient LE solution for blockchain environments. It operates on the principle of two participants competing in each match, rendering collusion efforts useless. PureLottery stands out for its low computational and communication complexity, suitable for smart contract implementation. It provides strong game-theoretic incentives for honesty and is robust against adversaries, ensuring no increase in election chances through dishonesty. The protocol guarantees that each honest player has at least a 1/n chance of winning, irrespective of adversary manipulation among the other n-1 participants. PureLottery can also address related problems like participant ranking, electing multiple leaders, and leader aversion, showcasing its versatility across various applications, including lotteries and blockchain protocols. An open-source implementation is made available for public use.

PureLottery: Fair and Bias-Resistant Leader Election with a Novel Single-Elimination Tournament Algorithm

TL;DR

This work addresses the problem of fair leader election in distributed and blockchain systems without relying on decentralized RNG. It introduces PureLottery, a novel single-elimination tournament algorithm where only binary matches occur, leveraging game-theoretic incentives to discourage cheating and achieve uniform fairness. The method guarantees that honest participants have a probability of to win, even under adversarial manipulation, and remains robust across arbitrary participant counts and weighted probabilities. An Ethereum/Solidity implementation demonstrates practical, gas-efficient deployment, with linear total gas and communication per participant, making PureLottery suitable for smart contracts, DAOs, and blockchain-based lotteries.

Abstract

Leader Election (LE) is crucial in distributed systems and blockchain technology, ensuring one participant acts as the leader. Traditional LE methods often depend on distributed random number generation (RNG), facing issues like vulnerability to manipulation, lack of fairness, and the need for complex procedures such as verifiable delay functions (VDFs) and publicly-verifiable secret sharing (PVSS). This Bachelor's thesis presents a novel approach to randomized LE, leveraging a game-theoretic assumption that participants, aiming to be chosen as leaders, will naturally avoid actions that diminish their chances. This perspective simplifies LE by eliminating the need for decentralized RNG. Introducing PureLottery, inspired by single-elimination sports tournaments, this method offers a fair, bias-resistant, and efficient LE solution for blockchain environments. It operates on the principle of two participants competing in each match, rendering collusion efforts useless. PureLottery stands out for its low computational and communication complexity, suitable for smart contract implementation. It provides strong game-theoretic incentives for honesty and is robust against adversaries, ensuring no increase in election chances through dishonesty. The protocol guarantees that each honest player has at least a 1/n chance of winning, irrespective of adversary manipulation among the other n-1 participants. PureLottery can also address related problems like participant ranking, electing multiple leaders, and leader aversion, showcasing its versatility across various applications, including lotteries and blockchain protocols. An open-source implementation is made available for public use.
Paper Structure (98 sections, 2 equations, 20 figures)

This paper contains 98 sections, 2 equations, 20 figures.

Figures (20)

  • Figure 1: An example of a two-player execution of PureLottery.
  • Figure 2: An example of a two-player execution of PureLottery with an honest and dishonest player.
  • Figure 3: An example of a PureLottery execution with four players.
  • Figure 4: An example of a PureLottery execution with four players where two players cheat and a dummy player $\perp$ is introduced.
  • Figure 5: The non-perfect binary tree becomes a perfect binary tree by adding a dummy player.
  • ...and 15 more figures