计算机科学 > 计算机科学中的逻辑
[提交于 2018年11月14日]
标题:On the specification and verification of atomic swap smart contracts
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:Blockchain systems and smart contracts provide ways to securely implement multi-party transactions without the use of trusted intermediaries, which currently underpin many commercial transactions. However, they do so by transferring trust to computer systems, raising the question of whether code can be trusted. Experience with high value losses resulting from incorrect code has already shown that formal verification of smart contracts is likely to be beneficial. This note investigates the specification and verification of a simple form of multi-party transaction, atomic swaps. It is argued that logics with the ability to express properties of strategies of players in a multi-agent setting are conceptually useful for this purpose, although ultimately, for our specific examples, the less expressive setting of temporal logic suffices for verification of concrete implementations. This is illustrated through a number of examples of the use of a model checker to verify atomic swap smart contracts in on-chain and cross-chain settings.
提交历史
来自:Ron van der Meyden[v1] 2018年11月14日 星期三 22:27:13 UTC