Checking laws of the blockchain with property-based testing

Alexander Chepurnoy,Mayank Rathee

2018 International Workshop on Blockchain Oriented Software Engineering (IWBOSE)(2018)

引用 9|浏览6
暂无评分
摘要
Inspired by the success of Bitcoin, many clients for the Bitcoin protocol as well as for alternative blockchain protocols have been implemented. However, implementations may contain errors, and the cost of an error in the case of a cryptocurrency can be extremely high. We propose to tackle this problem with a suite of abstract property tests that check whether a blockchain system satisfies laws that most blockchain and blockchain-like systems should satisfy. To test a new blockchain system, its developers need to instantiate generators of random objects to be used by the tests. The test suite then checks the satisfaction of the laws over many random cases. We provide examples of laws in the paper.
更多
查看译文
关键词
checking laws,Bitcoin protocol,alternative blockchain protocols,property-based testing,blockchain-like systems
AI 理解论文
溯源树
样例
生成溯源树,研究论文发展脉络
Chat Paper
正在生成论文摘要