NimbleChain: Speeding up Cryptocurrencies in General-purpose Permissionless Blockchains

Nakamoto’s seminal work gave rise to permissionless blockchains – as well as a wide range of proposals to mitigate their performance shortcomings. Despite substantial throughput and energy efficiency achievements, most proposals only bring modest (or marginal) gains in transaction commit latency. Consequently, commit latencies in today’s permissionless blockchain landscape remain prohibitively high. This paper proposes NimbleChain, a novel algorithm that extends permissionless blockchains based on Nakamoto consensus with a fast path that delivers causal promises of commitment , or simply promises . Since promises only partially order transactions, their latency is only a small fraction of the totally-ordered commitment latency of Nakamoto consensus. Still, the weak consistency guarantees of promises are strong enough to correctly implement cryptocurrencies. To the best of our knowledge, NimbleChain is the first system to bring together fast, partially-ordered transactions with consensus-based, totally-ordered transactions in a permissionless setting. This hybrid consistency model is able to speed up cryptocurrency transactions while still supporting smart contracts, which typically have (strong) sequential consistency needs. We implement NimbleChain as an extension of Ethereum and evaluate it in a 500-node geo-distributed deployment. The results show NimbleChain can promise a cryptocurrency transactions up to an order of magnitude faster than a vanilla Ethereum implementation, with marginal overheads.

[1]  Petr Kuznetsov,et al.  Permissionless and Asynchronous Asset Transfer , 2023, DISC.

[2]  Luís E. T. Rodrigues,et al.  Kauri: Scalable BFT Consensus with Pipelined Tree-Based Dissemination and Aggregation , 2021, SOSP.

[3]  Xinyu Lei,et al.  Security Threats from Bitcoin Wallet Smartphone Applications: Vulnerabilities, Attacks, and Countermeasures , 2021, CODASPY.

[4]  Roderval Marcelino,et al.  Iota Tangle: A cryptocurrency to communicate Internet-of-Things data , 2020, Future Gener. Comput. Syst..

[5]  Stefan Schmid,et al.  SOK: cryptocurrency networking context, state-of-the-art, challenges , 2020, ARES.

[6]  Petr Kuznetsov,et al.  Online Payments by Merely Broadcasting Messages , 2020, 2020 50th Annual IEEE/IFIP International Conference on Dependable Systems and Networks (DSN).

[7]  M. Matos,et al.  Impact of Geo-Distribution and Mining Pools on Blockchains: A Study of Ethereum , 2020, 2020 50th Annual IEEE/IFIP International Conference on Dependable Systems and Networks (DSN).

[8]  Valerio Schiavoni,et al.  Kollaps: decentralized and dynamic topology emulation , 2020, EuroSys.

[9]  Bo Li,et al.  On Sharding Open Blockchains with Smart Contracts , 2020, 2020 IEEE 36th International Conference on Data Engineering (ICDE).

[10]  Srdjan Capkun,et al.  Snappy: Fast On-chain Payments with Practical Collaterals , 2020, NDSS.

[11]  Sreeram Kannan,et al.  Prism: Deconstructing the Blockchain to Approach Physical Limits , 2019, CCS.

[12]  David Mazières,et al.  Fast and secure global payments with Stellar , 2019, SOSP.

[13]  Roger Wattenhofer,et al.  ABC: Asynchronous Blockchain without Consensus , 2019, ArXiv.

[14]  Emin Gün Sirer,et al.  Scalable and Probabilistic Leaderless BFT Consensus through Metastability , 2019, ArXiv.

[15]  Rachid Guerraoui,et al.  The consensus number of a cryptocurrency , 2019, Distributed Computing.

[16]  Stefan Dziembowski,et al.  Perun: Virtual Payment Hubs over Cryptocurrencies , 2019, 2019 IEEE Symposium on Security and Privacy (SP).

[17]  Prateek Saxena,et al.  OHIE: Blockchain Scaling Made Simple , 2018, 2020 IEEE Symposium on Security and Privacy (SP).

[18]  Abhi Shelat,et al.  A Better Method to Analyze Blockchain Consistency , 2018, CCS.

[19]  Mariana Raykova,et al.  RapidChain: Scaling Blockchain via Full Sharding , 2018, CCS.

[20]  Qun Li,et al.  FastPay: A Secure Fast Payment Method for Edge-IoT Platforms using Blockchain , 2018, 2018 IEEE/ACM Symposium on Edge Computing (SEC).

[21]  Andrew C. Myers,et al.  MixT: a language for mixing consistency in geodistributed transactions , 2018, PLDI.

[22]  Stefano Bistarelli,et al.  An Analysis of Non-standard Bitcoin Transactions , 2018, 2018 Crypto Valley Conference on Blockchain Technology (CVCBT).

[23]  Philipp Jovanovic,et al.  OmniLedger: A Secure, Scale-Out, Decentralized Ledger via Sharding , 2018, 2018 IEEE Symposium on Security and Privacy (SP).

[24]  Wei Xu,et al.  Scaling Nakamoto Consensus to Thousands of Transactions per Second , 2018, ArXiv.

[25]  Ee-Chien Chang,et al.  Towards Scaling Blockchain Systems via Sharding , 2018, SIGMOD Conference.

[26]  Marko Vukolic,et al.  Hyperledger fabric: a distributed operating system for permissioned blockchains , 2018, EuroSys.

[27]  Emin Gün Sirer,et al.  Decentralization in Bitcoin and Ethereum Networks , 2018, Financial Cryptography.

[28]  Leonid Reyzin,et al.  Beyond Hellman's Time-Memory Trade-Offs with Applications to Proofs of Space , 2017, ASIACRYPT.

[29]  Lin Chen,et al.  On Security Analysis of Proof-of-Elapsed-Time (PoET) , 2017, SSS.

[30]  Silvio Micali,et al.  Algorand: Scaling Byzantine Agreements for Cryptocurrencies , 2017, IACR Cryptol. ePrint Arch..

[31]  Johan Pouwelse,et al.  TrustChain: A Sybil-resistant scalable blockchain , 2017, Future Gener. Comput. Syst..

[32]  Aggelos Kiayias,et al.  The Bitcoin Backbone Protocol with Chains of Variable Difficulty , 2017, CRYPTO.

[33]  Aggelos Kiayias,et al.  Ouroboros: A Provably Secure Proof-of-Stake Blockchain Protocol , 2017, CRYPTO.

[34]  Elaine Shi,et al.  Rethinking Large-Scale Consensus , 2017, 2017 IEEE 30th Computer Security Foundations Symposium (CSF).

[35]  Elaine Shi,et al.  FruitChains: A Fair Blockchain , 2017, IACR Cryptol. ePrint Arch..

[36]  Abhi Shelat,et al.  Analysis of the Blockchain Protocol in Asynchronous Networks , 2017, EUROCRYPT.

[37]  Kartik Nayak,et al.  Solida: A Blockchain Protocol Based on Reconfigurable Byzantine Consensus , 2016, OPODIS.

[38]  Prateek Saxena,et al.  A Secure Sharding Protocol For Open Blockchains , 2016, CCS.

[39]  Elaine Shi,et al.  The Honey Badger of BFT Protocols , 2016, CCS.

[40]  Bryan Ford,et al.  Enhancing Bitcoin Security and Performance with Strong Consistency via Collective Signing , 2016, USENIX Security Symposium.

[41]  Emin Gün Sirer,et al.  Bitcoin-NG: A Scalable Blockchain Protocol , 2015, NSDI.

[42]  Stefan Dziembowski,et al.  Proofs of Space , 2015, CRYPTO.

[43]  Aggelos Kiayias,et al.  The Bitcoin Backbone Protocol: Analysis and Applications , 2015, EUROCRYPT.

[44]  Yoad Lewenberg,et al.  Inclusive Block Chain Protocols , 2015, Financial Cryptography.

[45]  Aviv Zohar,et al.  Secure High-Rate Transaction Processing in Bitcoin , 2015, Financial Cryptography.

[46]  Christian Decker,et al.  Have a snack, pay with Bitcoins , 2013, IEEE P2P 2013 Proceedings.

[47]  Ghassan O. Karame,et al.  Double-spending fast payments in bitcoin , 2012, CCS.

[48]  Cheng Li,et al.  Making geo-replicated systems fast as possible, consistent when necessary , 2012, OSDI 2012.

[49]  Michael J. Freedman,et al.  Don't settle for eventual: scalable causal consistency for wide-area storage with COPS , 2011, SOSP.

[50]  Eric A. Brewer,et al.  Towards robust distributed systems (abstract) , 2000, PODC '00.

[51]  Michael K. Reiter,et al.  A high-throughput secure reliable multicast protocol , 1996, Proceedings 9th IEEE Computer Security Foundations Workshop.

[52]  Gil Neiger,et al.  Causal memory: definitions, implementation, and programming , 1995, Distributed Computing.

[53]  Gil Neiger,et al.  Causal Memory , 1991, WDAG.

[54]  Leslie Lamport,et al.  Time, clocks, and the ordering of events in a distributed system , 1978, CACM.

[55]  Dong Zhou,et al.  A Decentralized Blockchain with High Throughput and Fast Confirmation , 2020, USENIX Annual Technical Conference.

[56]  Yonatan Sompolinsky,et al.  PHANTOM and GHOSTDAG A Scalable Generalization of Nakamoto Consensus February 2, 2020 , 2020 .

[57]  Hao Wang,et al.  Monoxide: Scale out Blockchains with Asynchronous Consensus Zones , 2019, NSDI.

[58]  Eleftherios Kokoris-Kogias,et al.  Robust and Scalable Consensus for Sharded Distributed Ledgers , 2019, IACR Cryptol. ePrint Arch..

[59]  Xiaodong Wang,et al.  A bike sharing system based on Blockchain platform , 2018 .

[60]  Ronen Tamari,et al.  Helix: A Scalable and Fair Consensus Algorithm Resistant to Ordering Manipulation , 2018, IACR Cryptol. ePrint Arch..

[61]  Ethan Heilman,et al.  TumbleBit: An Untrusted Bitcoin-Compatible Anonymous Payment Hub , 2017, NDSS.

[62]  Elaine Shi,et al.  Hybrid Consensus: Efficient Consensus in the Permissionless Model , 2016, DISC.

[63]  Yoad Lewenberg,et al.  SPECTRE: A Fast and Scalable Cryptocurrency Protocol , 2016, IACR Cryptol. ePrint Arch..

[64]  Aggelos Kiayias,et al.  Speed-Security Tradeoffs in Blockchain Protocols , 2015, IACR Cryptol. ePrint Arch..

[65]  Daniel Davis Wood,et al.  ETHEREUM: A SECURE DECENTRALISED GENERALISED TRANSACTION LEDGER , 2014 .

[66]  S. Nakamoto,et al.  Bitcoin: A Peer-to-Peer Electronic Cash System , 2008 .