arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 1803.06015cs.DB
收藏

区块链的数据库视角

Database Perspectives on Blockchains

Sara Cohen, Aviv Zohar

摘要:

现代区块链系统是对分布式计算范式的全新审视,在大规模公共网络的假设下应用。它们可以用来存储和共享信息,而无需可信的中心方。人们一直在努力开发区块链系统,用于各种用途,从加密货币到身份控制、供应链管理等,这些工作都没有直接研究使用区块链作为管理数据的底层基础设施时出现的基本数据库问题。使用区块链存储数据和集中控制的数据库之间的关键区别在于,交易是通过共识机制被区块链接受的。因此,一旦用户发布了一个交易,她就不能确定它是否会被接受。此外,尚未被接受的交易不能被用户撤回,并且可以在未来附加到区块链。这造成了困难,因为如果交易未被接受,用户可能希望重新发出交易。然而,这些数据可能会被两次附加到区块链上。在本文中,我们通过介绍区块链作为数据库基础的存储层的正式基础,提出了区块链的数据库视角。我们解决的主要问题是交易附加的不确定性,这是共识机制的结果。我们研究了两种类型的事务附加问题:(1)在给定区块链状态、未决事务和完整性约束的情况下,确定拒绝约束是否可能被矛盾的复杂性;(2)生成与未决事务的给定子集相互(不)一致的事务的复杂性。解决这些问题对于确保用户能够发出与其意图一致的事务至关重要。最后,我们为今后的工作指明了重要方向。

英文摘要:

Modern blockchain systems are a fresh look at the paradigm of distributed computing, applied under assumptions of large-scale public networks. They can be used to store and share information without a trusted central party. There has been much effort to develop blockchain systems for a myriad of uses, ranging from cryptocurrencies to identity control, supply chain management, etc. None of this work has directly studied the fundamental database issues that arise when using blockchains as the underlying infrastructure to manage data. The key difference between using blockchains to store data and centrally controlled databases is that transactions are accepted to a blockchain via a consensus mechanism. Hence, once a user has issued a transaction, she cannot be certain if it will be accepted. Moreover, a yet unaccepted transaction cannot be retracted by the user, and may be appended to the blockchain in the future. This causes difficulties as the user may wish to reissue a transaction, if it was not accepted. Yet this data may then become appended twice to the blockchain. In this paper we present a database perspective on blockchains by introducing formal foundations for blockchains as a storage layer that underlies a database. The main issue that we tackle is uncertainty in transaction appending that is a result of the consensus mechanism. We study two flavors of transaction appending problems: (1) the complexity of determining whether it is possible for a denial constraint to be contradicted, given the state of the blockchain, pending transactions, and integrity constraints and (2) the complexity of generating transactions that are mutually (in)consistent with given subsets of pending transactions. Solving these problems is critical to ensure that users can issue transactions consistent with their intentions. Finally, we chart important directions for future work.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑