论文标题
Acon $^2 $:适应性的共识共识
ACon$^2$: Adaptive Conformal Consensus for Provable Blockchain Oracles
论文作者
论文摘要
带有智能合约的区块链是分布式分类帐系统,仅通过允许确定性操作的智能合约来实现分布式节点之间的阻滞状态一致性。但是,通过与随机脱链数据进行交互来实现智能合约的功能,这反过来又开启了破坏块状态一致性的可能性。为了解决此问题,使用Oracle智能合约来提供单个一致的外部数据来源。但是,同时,这引入了一个单点故障,这称为Oracle问题。为了解决甲骨文问题,我们提出了一种自适应共识共识(ACON $^2 $)算法,该算法通过在线不确定性量化学习的最新进步中从多个Oracle合同中得出共识集。有趣的是,共识集提供了分配转移和拜占庭对手的所需正确性保证。我们证明了拟议算法在两个价格数据集和一个以太坊案例研究中的功效。特别是,所提出算法的坚固性实施显示了所提出的算法的潜在实用性,这意味着在线机器学习算法适用于解决区块链中的安全问题。
Blockchains with smart contracts are distributed ledger systems that achieve block-state consistency among distributed nodes by only allowing deterministic operations of smart contracts. However, the power of smart contracts is enabled by interacting with stochastic off-chain data, which in turn opens the possibility to undermine the block-state consistency. To address this issue, an oracle smart contract is used to provide a single consistent source of external data; but, simultaneously, this introduces a single point of failure, which is called the oracle problem. To address the oracle problem, we propose an adaptive conformal consensus (ACon$^2$) algorithm that derives a consensus set of data from multiple oracle contracts via the recent advance in online uncertainty quantification learning. Interesting, the consensus set provides a desired correctness guarantee under distribution shift and Byzantine adversaries. We demonstrate the efficacy of the proposed algorithm on two price datasets and an Ethereum case study. In particular, the Solidity implementation of the proposed algorithm shows the potential practicality of the proposed algorithm, implying that online machine learning algorithms are applicable to address security issues in blockchains.