Teechain: a secure payment network with asynchronous blockchain access
File(s) Teechain-sosp19-final.pdf (1.1 MB)
Accepted version
Author(s)
Type
Conference Paper
Abstract
Blockchains such as Bitcoin and Ethereum execute payment transactions securely, but their performance is limited by the need for global consensus. Payment networks overcome this limitation through off-chain transactions. Instead of writing to the blockchain for each transaction, they only settle the final payment balances with the underlying blockchain. When executing off-chain transactions in current payment networks, parties must access the blockchain within bounded time to detect misbehaving parties that deviate from the protocol. This opens a window for attacks in which a malicious party can steal funds by deliberately delaying other parties' blockchain access and prevents parties from using payment networks when disconnected from the blockchain.
We present Teechain, the first layer-two payment network that executes off-chain transactions asynchronously with respect to the underlying blockchain. To prevent parties from misbehaving, Teechain uses treasuries, protected by hardware trusted execution environments (TEEs), to establish off-chain payment channels between parties. Treasuries maintain collateral funds and can exchange transactions efficiently and securely, without interacting with the underlying blockchain. To mitigate against treasury failures and to avoid having to trust all TEEs, Teechain replicates the state of treasuries using committee chains, a new variant of chain replication with threshold secret sharing. Teechain achieves at least a 33X higher transaction throughput than the state-of-the-art Lightning payment network. A 30-machine Teechain deployment can handle over 1 million Bitcoin transactions per second.
We present Teechain, the first layer-two payment network that executes off-chain transactions asynchronously with respect to the underlying blockchain. To prevent parties from misbehaving, Teechain uses treasuries, protected by hardware trusted execution environments (TEEs), to establish off-chain payment channels between parties. Treasuries maintain collateral funds and can exchange transactions efficiently and securely, without interacting with the underlying blockchain. To mitigate against treasury failures and to avoid having to trust all TEEs, Teechain replicates the state of treasuries using committee chains, a new variant of chain replication with threshold secret sharing. Teechain achieves at least a 33X higher transaction throughput than the state-of-the-art Lightning payment network. A 30-machine Teechain deployment can handle over 1 million Bitcoin transactions per second.
Date Issued
2019-10-27
Date Acceptance
2019-08-30
Citation
Proceedings of the 27th ACM Symposium on Operating Systems Principles (SOSP), 2019, pp.63-79
ISBN
9781450368735
Publisher
ACM Press
Start Page
63
End Page
79
Journal / Book Title
Proceedings of the 27th ACM Symposium on Operating Systems Principles (SOSP)
Copyright Statement
© 2019 Association for Computing Machinery.
Sponsor
Commission of the European Communities
Identifier
https://dl.acm.org/citation.cfm?doid=3341301.3359627
Grant Number
690111
Source
27th ACM Symposium on Operating Systems Principles (SOSP)
Publication Status
Published
Start Date
2019-10-27
Finish Date
2019-10-30
Coverage Spatial
Huntsville, Ontario, Canada
Date Publish Online
2019-10-27
