TxChain: efficient cryptocurrency light clients via contingent transaction aggregation
File(s)2020-580.pdf (447.24 KB)
Accepted version
Author(s)
Zamyatin, Alexei
Avarikioti, Zeta
Perez, Daniel
Knottenbelt, William J
Type
Conference Paper
Abstract
Cryptocurrency light- or simplified payment verification (SPV) clients allow nodes with limited resources to efficiently verify execution of payments. Instead of downloading the entire blockchain, only block headers and selected transactions are stored. Still, the storage and bandwidth cost, linear in blockchain size, remain non-negligible, especially for smart contracts and mobile devices: as of April 2020, these amount to 50 MB in Bitcoin and 5 GB in Ethereum.
Recently, two improved sublinear light clients were proposed: to validate the blockchain, NIPoPoWs and FlyClient only download a polylogarithmic number of block headers, sampled at random. The actual verification of payments, however, remains costly: for each verified transaction, the corresponding block must too be downloaded. This yields NIPoPoWs and FlyClient only effective under low transaction volumes.
We present TxChain, a novel mechanism to maintain efficiency of light clients even under high transaction volumes. Specifically, we introduce the concept of contingent transaction aggregation, where proving inclusion of a single contingent transaction implicitly proves that n other transactions exist in the blockchain. To verify n payments, TxChain requires a only single transaction in the best (n≤c), and [missing equation] transactions in the worst case (n>c), where c is a blockchain constant. We deploy TxChain on Bitcoin without consensus changes and implement a hard fork for Ethereum. To demonstrate effectiveness in the cross-chain setting, we implement TxChain as a smart contract on Ethereum to efficiently verify Bitcoin payments.
Recently, two improved sublinear light clients were proposed: to validate the blockchain, NIPoPoWs and FlyClient only download a polylogarithmic number of block headers, sampled at random. The actual verification of payments, however, remains costly: for each verified transaction, the corresponding block must too be downloaded. This yields NIPoPoWs and FlyClient only effective under low transaction volumes.
We present TxChain, a novel mechanism to maintain efficiency of light clients even under high transaction volumes. Specifically, we introduce the concept of contingent transaction aggregation, where proving inclusion of a single contingent transaction implicitly proves that n other transactions exist in the blockchain. To verify n payments, TxChain requires a only single transaction in the best (n≤c), and [missing equation] transactions in the worst case (n>c), where c is a blockchain constant. We deploy TxChain on Bitcoin without consensus changes and implement a hard fork for Ethereum. To demonstrate effectiveness in the cross-chain setting, we implement TxChain as a smart contract on Ethereum to efficiently verify Bitcoin payments.
Date Issued
2020-12-29
Date Acceptance
2020-09-01
Citation
2020, 12484, pp.269-286
ISBN
9783030661717
ISSN
0302-9743
Publisher
Springer International Publishing
Start Page
269
End Page
286
Volume
12484
Copyright Statement
© 2020 Springer Nature Switzerland AG. The Version of Record is available online at: http://dx.doi.org/https://link.springer.com/chapter/10.1007/978-3-030-66172-4_18
Identifier
http://dx.doi.org/10.1007/978-3-030-66172-4_18
Source
DPM 2020
Publication Status
Published
Start Date
2020-09-17
Finish Date
2020-09-18
Coverage Spatial
Surrey, UK