arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2403.09880cs.CR
收藏

如何在比特币智能合约中节省费用:一个简单的乐观链下协议

How To Save Fees in Bitcoin Smart Contracts: a Simple Optimistic Off-chain Protocol

Dario Maddaloni, Riccardo Marchesin, Roberto Zunino

AI总结:

本文提出一种简单的乐观链下协议,将比特币智能合约的大部分执行移出链上以大幅降低交易费用,同时在对手破坏链下执行时仍能由诚实参与方在链上强制执行正确合约行为。

摘要:

我们考虑在比特币上执行智能合约。在那里,每个合约步骤都对应于向区块链追加一笔新交易,该交易花费代表旧合约状态的输出,并为更新后的状态创建一个新输出。这一标准流程要求合约参与方为每个执行步骤支付交易费用。在本文中,我们引入了一个协议,将比特币合约的大部分执行转移到链下。当所有参与方都遵循该协议时,他们能够节省交易费用,并大幅降低费用。相比之下,每当对手试图破坏链下执行时,任何诚实的参与方仍然能够通过在链上继续执行来强制执行正确的合约行为。

英文摘要:

We consider the execution of smart contracts on Bitcoin. There, every contract step corresponds to appending to the blockchain a new transaction that spends the output representing the old contract state, creating a new one for the updated state. This standard procedure requires the contract participants to pay transaction fees for every execution step. In this paper, we introduce a protocol that moves most of the execution of a Bitcoin contract off-chain. When all participants follow this protocol, they are able to save on transaction fees, drastically reducing them. By contrast, whenever adversaries try to disrupt the off-chain execution, any honest participant is still able to enforce the correct contract behaviour, by continuing its execution on-chain.

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

↑