On Atomicity and Confidentiality Across Blockchains Under Failures
Yuechen Tao,Bo Li,Baochun Li
DOI: https://doi.org/10.1109/tkde.2023.3255842
IF: 9.235
2023-01-01
IEEE Transactions on Knowledge and Data Engineering
Abstract:Distributed applications that utilize heterogeneous blockchain systems have the potential to be widely deployed. In such applications, users from different blockchains can transact with one another through cross-chain transactions. There are two essential features of particular relevance for those applications during cross-chain transactions: the atomicity in that either all or none of the blockchains involved confirm a cross-chain transaction, the confidentiality in that a blockchain involved in a cross-chain transaction is only accessible for designated users. Existing cross-chain proposals have largely relied on permissioned blockchains to ensure confidentiality. However, we found that failures could occur when reading or writing information during transaction confirmations across permissioned blockchains, namely read/write (r/w) failures, which can lead to the violation of atomicity. In this paper, we propose a novel mechanism, Unity, to ensure both atomicity and confidentiality of cross-chain transactions under r/w failures by leveraging permissioned blockchains. When failures occur in reading or writing data, Unity classifies the data into two categories based on its status - whether data is the latest version or not, and presents different solutions for atomicity. Specifically, when data is not the latest, we design a four-phase-commit protocol4pc, in which consensus on confirming or aborting a cross-chain transaction can be achieved. If data is the latest when r/w failures occur, we propose a smart contract based solution SSC. We examine the effectiveness of Unity theoretically and through experiments. With a failure probability of 0.7, Unity achieves $98\%$ more atomic cross-chain transactions when compared with the state-of-the-art cross-chain platform, Hyperservice.
computer science, information systems, artificial intelligence,engineering, electrical & electronic