Colordag: An Incentive-Compatible Blockchain

Ittai Abraham, Danny Dolev, Ittay Eyal, Joseph Y. Halpern · DOI

Introduction

In the decade since the inception of Bitcoin, the security of Proof-of-Work (PoW) blockchains has largely rested on the assumption that participants will follow the protocol if it is in their financial interest. However, standard Nakamoto consensus is famously not incentive-compatible; mining pools controlling more than 25% of the network's hash power can increase their relative revenue through "selfish mining"—withholding blocks to orphan the work of honest miners.

While subsequent research, most notably the Fruitchain protocol, attempted to solve this by establishing an $\epsilon$-Nash Equilibrium ($\epsilon$-NE), these solutions contain a subtle but fatal flaw. In an $\epsilon$-NE, an attacker can only gain a negligible amount ($\epsilon$) by deviating from the protocol. However, if this deviation is "risk-free"—meaning the attacker loses nothing even if the attack fails—rational actors may still choose to deviate. If a large enough portion of the network adopts such "harmless" deviations, the blockchain's liveness can collapse.

Colordag addresses this by introducing a stronger game-theoretic standard: the $\epsilon$-sure Nash Equilibrium. In this model, following the protocol is the strictly best response in almost all scenarios, ensuring that honest mining is not just a suggestion, but a mathematical necessity for profit maximization.

The Problem with Risk-Free Deviations

The authors identify that in protocols like Fruitchain, a miner can slightly modify their software to ignore blocks from other miners. While the financial gain from this behavior is tiny, the risk is zero. This creates a fragile equilibrium. Colordag is designed to ensure that any deviation from the honest protocol carries a tangible risk of loss, thereby "weaponizing" the majority's hash power against potential attackers.

The Colordag Protocol

Colordag moves away from a linear chain to a Directed Acyclic Graph (DAG) and employs three primary mechanisms to enforce honest behavior:

1. Random Block Coloring

Every block mined in Colordag is randomly assigned one of $N_C$ colors, determined by the hash of the block's contents. The protocol evaluates rewards by looking at the subgraphs (graph minors) of each color independently. Because blocks of a specific color are generated less frequently than the total block rate, the network has ample time to propagate them. This effectively acts as a cryptographic time-spacer, eliminating "natural" forks caused by network latency and removing the primary tool used by selfish miners to orphan honest blocks.

2. Acceptability Thresholds

To receive a reward, a block must be deemed "acceptable." This requires the block to be part of a path that closely tracks the canonical longest path within its specific color subgraph. This mechanism prevents "pumping and dumping" attacks, where an adversary builds a long private chain in secret and releases it later to invalidate honest work. If the private chain deviates too far from the observed network history, it fails the acceptability test and receives zero rewards.

3. Symmetric Penalties for Forking

Colordag introduces a "scorched earth" policy for forks. If multiple acceptable blocks appear at the same depth within a color subgraph, all blocks at that depth are penalized and receive zero rewards. Since miners are concerned with their relative revenue (their share of the total rewards), and an attacker by definition controls less than 50% of the hash power, these symmetric penalties hurt the attacker more than the honest majority. By causing a fork, an attacker destroys their own rewards at a rate that diminishes their total percentage of the "reward pie."

Theoretical Guarantees

The paper provides rigorous mathematical proofs that Colordag satisfies the core requirements of a robust ledger:

  • $\epsilon$-Sure Nash Equilibrium: Honest mining is the optimal strategy against any coalition with <50% hash power.
  • Omniscient Adversary Resilience: The security holds even against a theoretical adversary who knows the future timing of all block generations and network message delays.
  • Ledger Desiderata: The protocol maintains Ledger Consistency (history remains stable), Ledger Growth (the chain progresses), and Revenue Consistency (miner payouts are predictable and secure).

Limitations and Future Directions

To satisfy the mathematical requirements of an omniscient adversary, the current theoretical parameters for Colordag (such as the number of colors) are quite large, which could lead to inefficiencies in a live environment. Furthermore, the baseline ledger described in the paper focuses on a single canonical path, which limits transaction throughput.

However, the authors suggest that these limitations are primarily artifacts of the rigorous proof style. By applying standard DAG techniques—such as including transactions from all acceptable predecessors across all colors—throughput can be significantly increased. Additionally, preliminary experiments using Deep Reinforcement Learning suggest that against a realistic (non-omniscient) adversary, Colordag achieves its security goals with much smaller, highly practical parameters.

Conclusion

Colordag represents a significant step forward in blockchain game theory. By shifting the focus from simple $\epsilon$-Nash Equilibrium to $\epsilon$-sure Nash Equilibrium, it provides a blueprint for decentralized systems that are not only secure against direct attacks but also resilient to the subtle, risk-free deviations that threaten the stability of current PoW protocols.

Summary updated

BibTeX
@inproceedings{abraham2023colordag,
  author = {Ittai Abraham and Danny Dolev and Ittay Eyal and Joseph Y. Halpern},
  title = {{Colordag: An Incentive-Compatible Blockchain}},
  booktitle = {DISC},
  year = {2023},
  doi = {10.4230/lipics.disc.2023.1},
}
Figure