计算机科学 > 程序设计语言
[提交于 2019年11月28日]
标题:Securing Smart Contract On The Fly
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:We present Solythesis, a source to source Solidity compiler which takes a smart contract code and a user specified invariant as the input and produces an instrumented contract that rejects all transactions that violate the invariant. The design of Solythesis is driven by our observation that the consensus protocol and the storage layer are the primary and the secondary performance bottlenecks of Ethereum, respectively. Solythesis operates with our novel delta update and delta check techniques to minimize the overhead caused by the instrumented storage access statements. Our experimental results validate our hypothesis that the overhead of runtime validation, which is often too expensive for other domains, is in fact negligible for smart contracts. The CPU overhead of Solythesis is only 0.12% on average for our 23 benchmark contracts.
提交历史
来自:Ao Li[v1] 2019年11月28日 星期四 06:52:31 UTC