Skip to main content
QUICK REVIEW

[论文解读] Blockchain Oracle Design Patterns

Amirmohammad Pasdar, Zhongli Dong|arXiv (Cornell University)|Jun 17, 2021
Blockchain Technology Applications and SecurityComputer Science参考文献 33被引用 22
一句话总结

本文提出了一种对区块链预言机的系统性分类,将其划分为基于投票的和基于声誉的架构模式,分析了它们如何为智能合约提供可信的链外数据反馈。文章识别出保障数据完整性、可扩展性和安全性的关键技术策略,为跨多个区块链构建高性能、去中心化的预言机奠定了基础。

ABSTRACT

Blockchain is a form of distributed ledger technology (DLT) where data is shared among users connected over the internet. Transactions are data state changes on the blockchain that are permanently recorded in a secure and transparent way without the need of a third party. Besides, the introduction of smart contracts to the blockchain has added programmability to the blockchain and revolutionized the software ecosystem leading toward decentralized applications (DApps) attracting businesses and organizations to employ this technology. Although promising, blockchains and smart contracts have no access to the external systems (i.e., off-chain) where real-world data and events resides; consequently, the usability of smart contracts in terms of performance and programmability would be limited to the on-chain data. Hence, \emph{blockchain oracles} are introduced to mitigate the issue and are defined as trusted third-party services that send and verify the external information (i.e., feedback) and submit it to smart contracts for triggering state changes in the blockchain. In this paper, we will study and analyze blockchain oracles with regard to how they provide feedback to the blockchain and smart contracts. We classify the blockchain oracle techniques into two major groups such as voting-based strategies and reputation-based ones. The former mainly relies on participants' stakes for outcome finalization while the latter considers reputation in conjunction with authenticity proof mechanisms for data correctness and integrity. We then provide a structured description of patterns in detail for each classification and discuss research directions in the end.

研究动机与目标

  • 解决‘预言机问题’——即如何安全可靠地将外部现实世界数据输入区块链和智能合约。
  • 从技术角度分析现有区块链预言机机制,重点关注其对智能合约的反馈传递方式。
  • 将预言机设计分类并结构化为两大主要类别:基于投票的模式与基于声誉的模式。
  • 识别未来预言机开发在性能、安全性和跨区块链互操作性方面的研究空白。
  • 提供一个评估和设计可信、高性能预言机的框架,以支持去中心化应用。

提出的方法

  • 开展多源文献综述(MLR),涵盖学术论文、白皮书和灰色文献,以捕捉多样化的预言机设计。
  • 根据其结果最终确定机制对预言机进行分类:基于投票的(基于质押的共识)与基于声誉的(基于声誉和真实性证明的驱动)。
  • 分析预言机系统中使用的技术组件,如数据聚合、真实性证明机制和共识算法。
  • 通过响应时间、交易成本和可扩展性等指标评估预言机性能,并参考Chainlink的链外报告(OCR)等系统。
  • 考察区块链无关的设计(如Band Protocol、Chainlink),以评估其在不同区块链生态系统间的互操作性。
  • 评估查询类型处理(二元、标量、分类)以及高效数据聚合和完整性验证技术的必要性。

实验结果

研究问题

  • RQ1区块链预言机如何向智能合约提供最终反馈(即结果)?
  • RQ2基于投票的预言机设计与基于声誉的预言机设计在技术模式上有哪些显著区别?
  • RQ3真实性证明机制如何提升预言机系统中的数据完整性和正确性?
  • RQ4预言机设计在性能、安全性和跨区块链兼容性方面面临哪些关键挑战?
  • RQ5区块链无关的预言机如何提升互操作性并减少对单链解决方案的依赖?

主要发现

  • 基于投票的预言机依赖于质押加权投票来确定最终结果,但许多系统缺乏稳健的真实性证明机制,存在数据操纵风险。
  • 基于声誉的预言机利用具有经验证声誉的可信参与者报告数据,当结合密码学证明时,可显著提升可靠性。
  • Chainlink的链外报告(OCR)通过支持链外计算和聚合,显著降低了运营成本并提升了性能。
  • 亟需制定标准化要求以识别合法的区块链预言机,尤其是在欺诈项目和误导性代币风险上升的背景下。
  • 大多数现有预言机设计为特定区块链定制,凸显了开发更多区块链无关模式的必要性,以支持多链去中心化应用。
  • 处理非二元查询类型(如标量、分类)仍具挑战,原因在于数据多样性以及缺乏高效的聚合与验证机制。

阅读本论文

在 Nubint 阅读器中打开原文,边读边就任意段落提问。

在 Nubint 中阅读本论文

本解读由 AI 根据论文原文生成,引用前请核对原文。