Skip to main content
QUICK REVIEW

[Paper Review] The Consensus Number of a Cryptocurrency (Extended Version)

Rachid Guerraoui, Petr Kuznetsov|arXiv (Cornell University)|Jun 13, 2019
Blockchain Technology Applications and SecurityComputer Science39 references8 citations
TL;DR

This paper demonstrates that consensus is not required to prevent double-spending in cryptocurrencies by showing that the asset transfer problem has a consensus number of 1 when each account has a single owner. The authors present a deterministic, asynchronous Byzantine fault-tolerant asset transfer protocol using atomic-snapshot memory and secure broadcast, achieving linearizability without consensus, which is simpler and more efficient than consensus-based approaches.

ABSTRACT

Many blockchain-based algorithms, such as Bitcoin, implement a decentralized asset transfer system, often referred to as a cryptocurrency. As stated in the original paper by Nakamoto, at the heart of these systems lies the problem of preventing double-spending; this is usually solved by achieving consensus on the order of transfers among the participants. In this paper, we treat the asset transfer problem as a concurrent object and determine its consensus number, showing that consensus is, in fact, not necessary to prevent double-spending. We first consider the problem as defined by Nakamoto, where only a single process---the account owner---can withdraw from each account. Safety and liveness need to be ensured for correct account owners, whereas misbehaving account owners might be unable to perform transfers. We show that the consensus number of an asset transfer object is $1$. We then consider a more general $k$-shared asset transfer object where up to $k$ processes can atomically withdraw from the same account, and show that this object has consensus number $k$. We establish our results in the context of shared memory with benign faults, allowing us to properly understand the level of difficulty of the asset transfer problem. We also translate these results in the message passing setting with Byzantine players, a model that is more relevant in practice. In this model, we describe an asynchronous Byzantine fault-tolerant asset transfer implementation that is both simpler and more efficient than state-of-the-art consensus-based solutions. Our results are applicable to both the permissioned (private) and permissionless (public) setting, as normally their differentiation is hidden by the abstractions on top of which our algorithms are based.

Motivation & Objective

  • To challenge the widely held belief that consensus is essential for preventing double-spending in cryptocurrencies.
  • To formally define the asset transfer problem as a shared object type in distributed computing.
  • To determine the consensus number of asset transfer objects under benign and Byzantine fault models.
  • To design a deterministic, asynchronous, and more efficient alternative to consensus-based asset transfer protocols.
  • To generalize the model to k-shared accounts and establish their consensus number as k.

Proposed method

  • The authors model the asset transfer problem as a concurrent object type in shared memory with benign faults, proving its consensus number is 1.
  • They use atomic-snapshot memory to implement linearizable withdrawals by validating transfers against a consistent memory view.
  • For k-shared accounts, they extend the model to allow up to k processes to withdraw from the same account, proving the consensus number is k.
  • In the message-passing model with Byzantine faults, they implement a BFT service per account to assign sequence numbers, ensuring consistency and order.
  • They modify a secure broadcast protocol to provide the account-order property, enabling causality enforcement across transfers without global consensus.
  • The protocol ensures safety and liveness for non-compromised accounts by relying on quorum-signed sequence numbers and local validation.

Experimental results

Research questions

  • RQ1Is consensus truly necessary to prevent double-spending in decentralized cryptocurrencies?
  • RQ2What is the consensus number of a single-owner asset transfer object in shared memory with benign faults?
  • RQ3How does the consensus number change when multiple processes are allowed to withdraw from the same account?
  • RQ4Can a consensus-free, deterministic, and asynchronous Byzantine fault-tolerant asset transfer protocol be constructed that is more efficient than consensus-based alternatives?
  • RQ5How can causality and linearizability be preserved across accounts without global total ordering?

Key findings

  • The consensus number of a single-owner asset transfer object is 1, proving that consensus is not required to prevent double-spending.
  • For k-shared asset transfer objects, where up to k processes can withdraw from the same account, the consensus number is k.
  • The proposed protocol achieves linearizability and safety in the presence of Byzantine faults without solving consensus, using BFT services and secure broadcast.
  • The protocol ensures liveness for non-compromised accounts, even in asynchronous systems with Byzantine faults.
  • The approach is applicable to both permissioned and permissionless cryptocurrencies, as the abstraction hides underlying access control differences.
  • The protocol is simpler and more efficient than state-of-the-art consensus-based solutions, avoiding the complexity and performance bottlenecks of consensus modules.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.