skip to main content
research-article

Atomic commitment across blockchains

Published:01 May 2020Publication History
Skip Abstract Section

Abstract

The recent adoption of blockchain technologies and open permissionless networks suggest the importance of peer-to-peer atomic cross-chain transaction protocols. Users should be able to atomically exchange tokens and assets without depending on centralized intermediaries such as exchanges. Recent peer-to-peer atomic cross-chain swap protocols use hashlocks and timelocks to ensure that participants comply to the protocol. However, an expired timelock could lead to a violation of the all-or-nothing atomicity property. An honest participant who fails to execute a smart contract on time due to a crash failure, denial of service attacks or even network delays might end up losing assets. Although a crashed participant is the only participant who ends up worse off, current proposals are unsuitable for atomic cross-chain transactions in asynchronous environments where crash failures and network delays are the norm. In this paper, we present AC3WN, the first decentralized all-or-nothing atomic cross-chain commitment protocol. The redeem and refund events of the smart contracts that exchange assets are modeled as conflicting events. An open permissionless network of witnesses is used to guarantee that conflicting events could never simultaneously occur and either all smart contracts in an atomic cross-chain transaction are redeemed or all of them are refunded.

References

  1. Atomic cross-chain trading. https://en.bitcoin.it/wiki/Atomic cross-chain trading, 2018.Google ScholarGoogle Scholar
  2. Bitcoin confirmations. https: //www.buybitcoinworldwide.com/confirmations/, 2018.Google ScholarGoogle Scholar
  3. Coinbase. https://coinbase.com, 2018.Google ScholarGoogle Scholar
  4. Robinhood. https://robinhood.com/, 2018.Google ScholarGoogle Scholar
  5. Solidity --- solidity 0.5.5 documentation. https://solidity.readthedocs.io/en/v0.5.5/, 2018.Google ScholarGoogle Scholar
  6. Avg. transaction fee historical chart. https://bitinfocharts.com/comparison/transactionfees-btc-eth.html, 2019.Google ScholarGoogle Scholar
  7. Cost of a 51% attack for different cryptocurrencies. https://www.crypto51.app/, 2019.Google ScholarGoogle Scholar
  8. P. A. Bernstein, V. Hadzilacos, and N. Goodman. Concurrency control and recovery in database systems. 1987.Google ScholarGoogle Scholar
  9. V. Buterin et al. A next-generation smart contract and decentralized application platform. white paper, 2014.Google ScholarGoogle Scholar
  10. T. Dickerson, P. Gazzillo, M. Herlihy, and E. Koskinen. Adding concurrency to smart contracts. In Proceedings of the ACM Symposium on Principles of Distributed Computing, pages 303--312. ACM, 2017.Google ScholarGoogle ScholarDigital LibraryDigital Library
  11. I. Eyal, A. E. Gencer, E. G. Sirer, and R. Van Renesse. Bitcoin-ng: A scalable blockchain protocol. In NSDI, pages 45--59, 2016.Google ScholarGoogle Scholar
  12. O. Goldreich. Foundations of cryptography: volume 1, basic tools. Cambridge University Press, Cambridge, 2001.Google ScholarGoogle ScholarCross RefCross Ref
  13. J. Gray et al. The transaction concept: Virtues and limitations. In VLDB, volume 81, pages 144--154. Citeseer, 1981.Google ScholarGoogle Scholar
  14. J. N. Gray. Notes on data base operating systems. In Operating Systems, pages 393--481. Springer, 1978.Google ScholarGoogle ScholarCross RefCross Ref
  15. T. Haerder and A. Reuter. Principles of transaction-oriented database recovery. ACM computing surveys (CSUR), 15(4):287--317, 1983.Google ScholarGoogle Scholar
  16. M. Herlihy. Atomic cross-chain swaps. In Proceedings of the 2018 ACM symposium on principles of distributed computing, pages 245--254, 2018.Google ScholarGoogle ScholarDigital LibraryDigital Library
  17. M. Herlihy. Blockchains from a distributed computing perspective. Communications of the ACM, 62(2):78--85, 2019.Google ScholarGoogle ScholarDigital LibraryDigital Library
  18. E. K. Kogias, P. Jovanovic, N. Gailly, I. Khoffi, L. Gasser, and B. Ford. Enhancing bitcoin security and performance with strong consistency via collective signing. In 25th USENIX Security Symposium (USENIX Security 16), pages 279--296, 2016.Google ScholarGoogle ScholarDigital LibraryDigital Library
  19. L. Luu, V. Narayanan, C. Zheng, K. Baweja, S. Gilbert, and P. Saxena. A secure sharding protocol for open blockchains. In Proceedings of the 2016 ACM SIGSAC Conference on Computer and Communications Security, pages 17--30. ACM, 2016.Google ScholarGoogle ScholarDigital LibraryDigital Library
  20. S. Maiyya, V. Zakhary, D. Agrawal, and A. E. Abbadi. Database and distributed computing fundamentals for scalable, fault-tolerant, and consistent maintenance of blockchains. PVLDB, 11(12):2098--2101, 2018.Google ScholarGoogle ScholarDigital LibraryDigital Library
  21. S. Micali. Algorand: the efficient and democratic ledger. CoRR, abs/1607.01341, 2016.Google ScholarGoogle Scholar
  22. S. Nakamoto. Bitcoin: A peer-to-peer electronic cash system. 2008.Google ScholarGoogle Scholar
  23. T. Nolan. Alt chains and atomic transfers. https://bitcointalk.org/index.php?topic=193281.msg2224949#msg2224949, 2013.Google ScholarGoogle Scholar
  24. D. O'Keeffe. Understanding cryptocurrency transaction speeds. https://medium.com/coinmonks/understanding-cryptocurrency-transaction-speeds-f9731fd93cb3, 2018.Google ScholarGoogle Scholar
  25. R. Pass and E. Shi. Hybrid consensus: Efficient consensus in the permissionless model. In 31st International Symposium on Distributed Computing (DISC 2017). Schloss Dagstuhl-Leibniz-Zentrum fuer Informatik, 2017.Google ScholarGoogle Scholar
  26. R. L. Rivest, A. Shamir, and L. Adleman. A method for obtaining digital signatures and public-key cryptosystems. Communications of the ACM, 21(2):120--126, 1978.Google ScholarGoogle ScholarDigital LibraryDigital Library
  27. D. Ryan. Costs of a real world ethereum contract. https://hackernoon.com/costs-of-a-real-world-ethereum-contract-2033511b3214, 2017.Google ScholarGoogle Scholar
  28. G. Wood. Ethereum: A secure decentralised generalised transaction ledger. Ethereum project yellow paper, 151:1--32, 2014.Google ScholarGoogle Scholar

Index Terms

  1. Atomic commitment across blockchains
      Index terms have been assigned to the content through auto-classification.

      Recommendations

      Comments

      Login options

      Check if you have access through your login credentials or your institution to get full access on this article.

      Sign in

      Full Access

      • Published in

        cover image Proceedings of the VLDB Endowment
        Proceedings of the VLDB Endowment  Volume 13, Issue 9
        May 2020
        295 pages
        ISSN:2150-8097
        Issue’s Table of Contents

        Publisher

        VLDB Endowment

        Publication History

        • Published: 1 May 2020
        Published in pvldb Volume 13, Issue 9

        Qualifiers

        • research-article

      PDF Format

      View or Download as a PDF file.

      PDF

      eReader

      View online with eReader.

      eReader