HotPoW: Finality from Proof-of-Work Quorums

Patrik Keller, Rainer BöhmearXiv 2019

TL;DR

This paper introduces HotPoW, a novel distributed ledger protocol that achieves finality (guaranteed transaction completion) in a permissionless setting, bridging the gap between Nakamoto consensus (like Bitcoin) and Byzantine Fault Tolerance (BFT) systems. By developing a theory of "proof-of-work quorums," HotPoW allows for reliable and fast transaction commits, overcoming a fundamental conflict between inclusivity and security in existing proof-of-work systems.

What Problem Does This Paper Address?

Traditional proof-of-work (PoW) systems, like Bitcoin, face a fundamental tension: they aim for inclusivity (allowing anyone to participate) and security (preventing malicious actors from controlling the system). PoW systems achieve inclusivity by making participation easy, but this often comes at the cost of eventual consistency, meaning transactions aren't guaranteed to be final for a significant period. This lack of finality is a major hurdle for high-value transactions. While Byzantine Fault Tolerance (BFT) systems offer finality, they typically require pre-defined identities and are not practical for large, permissionless networks. This paper addresses the challenge of achieving both finality and permissionless inclusivity in distributed ledgers.

Methods

The core innovation is the theory of proof-of-work quorums. Instead of relying on a single PoW solution to validate a block (as in Nakamoto consensus), HotPoW requires a quorum of PoW solutions. This quorum is formed by votes, where each vote is a triple: a reference to a previous block, a public key, and a PoW solution. The theory demonstrates that with a sufficiently large quorum size (a new security parameter), the uniqueness of these quorums becomes probabilistically guaranteed, even with the inherent randomness of PoW.

HotPoW then integrates this quorum concept with the pipelined three-phase commit mechanism from the HotStuff BFT protocol. This allows for a structured, multi-phase commit process that, when combined with PoW quorums, enables finality. The protocol uses ephemeral identities generated by PoW solutions, avoiding the need for pre-existing identities required by traditional BFT. The authors also leverage the gamma distribution to model the time it takes to gather a quorum, showing it offers more predictable block delays than the exponential distribution in Nakamoto consensus.

Datasets

Not discussed in the paper. The evaluation relies on discrete event simulations.

Key Insights and Ideas

  • The Inclusivity-Security Trade-off in PoW: The paper clearly articulates the inherent conflict in PoW systems: making it easy for anyone to participate (inclusivity) means a minority can have a significant chance of influencing the ledger, compromising security.
  • Proof-of-Work Quorums as a Bridge: The central idea is that by requiring multiple PoW solutions (a quorum) to validate a block, the system can achieve a level of security comparable to BFT while retaining the permissionless nature of PoW.
  • Stochastic Uniqueness: The theory of PoW quorums shows that while PoW is probabilistic, a large enough quorum makes it highly improbable for conflicting quorums to form, thus ensuring a unique outcome.
  • Finality via Pipelined Commit: Combining PoW quorums with the HotStuff three-phase commit mechanism is key to achieving guaranteed finality, a feature largely absent in pure PoW systems.
  • Ephemeral Identities: HotPoW generates identities on-the-fly through PoW solutions, eliminating the need for centralized identity management, a common requirement in BFT.

Key Results

  • Finality Achieved: HotPoW successfully implements a distributed log protocol that supports finality.
  • Robustness: Simulations demonstrate that HotPoW can tolerate network latency, churn (nodes joining/leaving), and targeted attacks on consistency and liveness.
  • Efficiency: The protocol has a small storage overhead compared to plain Nakamoto consensus and is less complex than sidechain-based solutions for finality.
  • Predictable Commit Times: The use of gamma distributions for quorum formation leads to more predictable block arrival times compared to the exponential distribution in Nakamoto consensus.
  • Security Analysis: The paper provides theoretical analysis and simulation-based evidence showing that HotPoW is resilient to attacks like censoring and subversion gain, especially with larger quorum sizes. For instance, with a quorum size of 8, eclipse attacks can be detected within a single expected block time.

Limitations and Future Work

  • PoW-1 and PoW-2 Assumptions: The protocol's security relies on assumptions about the network's total compute power and the adversary's fraction of that power (PoW-1 and PoW-2). The paper acknowledges that these are difficult to rule out entirely in practice.
  • Incentive Mechanism: The paper does not propose a specific incentive mechanism for participation, noting that designing such mechanisms for PoW systems is complex and can lead to endogenous parameters (like network rate λ).
  • Simulation Realism: The network simulation uses exponentially distributed message propagation times, which might not fully reflect real-world network topologies. Future work could explore more structured network models.
  • Compression Techniques: While storage overhead is shown to be manageable, the authors suggest exploring compression techniques for vote messages.
  • Formal Security Proofs: While the paper provides theoretical analysis and simulations, it acknowledges that a full formal security proof for HotPoW is a significant undertaking.
  • Practical Deployment: The authors explicitly state that the provided code is for research purposes and not safe for systems dealing with real values.

Summary updated

BibTeX
@misc{keller2019hotpow,
  author = {Patrik Keller and Rainer Böhme},
  title = {{HotPoW: Finality from Proof-of-Work Quorums}},
  year = {2019},
  eprint = {1907.13531},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1907.13531},
}
Figure