Virtual-Time-Accelerated Emulation for Blockchain Network and Application Evaluation

Xiaoliang Wu, Jiaqi Yan, Dong Jin
{"title":"Virtual-Time-Accelerated Emulation for Blockchain Network and Application Evaluation","authors":"Xiaoliang Wu, Jiaqi Yan, Dong Jin","doi":"10.1145/3316480.3322889","DOIUrl":null,"url":null,"abstract":"Blockchain technologies are in the ascendant of transforming the ways we manage contracts, make transactions, and manifest own- ership of property. The trend calls for a realistic testing and evalua- tion platform for blockchain applications and systems. We present Minichain, a container-based emulator that allows testing proof- of-work-based blockchains on a commodity computer. Minichain contains a realistic and configurable network environment, which is missing in today's blockchain testbeds. This unique feature enables us to evaluate the impact of network events (e.g., cyber-attacks) and conditions (e.g., congested or failed links) on blockchain appli- cations. Meanwhile, Minichain allows the direct execution of un- modified application code in the containers for fidelity, and utilizes the virtual time technique to speed up experiments and improve the system scale that one can accurately emulate. In particular, we mathematically analyze the convergence of the proof-of-work- based consensus algorithm to show the effectiveness of virtual time. We evaluate the performance of Minichain across both net- work layer and application layer, and demonstrate its usability by emulating a selfish mining attack initiated from the network layer","PeriodicalId":398793,"journal":{"name":"Proceedings of the 2019 ACM SIGSIM Conference on Principles of Advanced Discrete Simulation","volume":"404 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2019-05-29","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"5","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Proceedings of the 2019 ACM SIGSIM Conference on Principles of Advanced Discrete Simulation","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1145/3316480.3322889","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 5

Abstract

Blockchain technologies are in the ascendant of transforming the ways we manage contracts, make transactions, and manifest own- ership of property. The trend calls for a realistic testing and evalua- tion platform for blockchain applications and systems. We present Minichain, a container-based emulator that allows testing proof- of-work-based blockchains on a commodity computer. Minichain contains a realistic and configurable network environment, which is missing in today's blockchain testbeds. This unique feature enables us to evaluate the impact of network events (e.g., cyber-attacks) and conditions (e.g., congested or failed links) on blockchain appli- cations. Meanwhile, Minichain allows the direct execution of un- modified application code in the containers for fidelity, and utilizes the virtual time technique to speed up experiments and improve the system scale that one can accurately emulate. In particular, we mathematically analyze the convergence of the proof-of-work- based consensus algorithm to show the effectiveness of virtual time. We evaluate the performance of Minichain across both net- work layer and application layer, and demonstrate its usability by emulating a selfish mining attack initiated from the network layer
区块链网络虚拟时间加速仿真及应用评估
区块链技术正在改变我们管理合同、进行交易和显示财产所有权的方式。这一趋势要求为区块链应用和系统提供一个现实的测试和评估平台。我们介绍了Minichain,这是一个基于容器的模拟器,允许在商用计算机上测试基于工作量证明的区块链。Minichain包含了一个现实的、可配置的网络环境,这在今天的区块链测试平台中是缺失的。这个独特的功能使我们能够评估网络事件(例如,网络攻击)和条件(例如,拥塞或失败的链接)对b区块链应用程序的影响。同时,minicchain允许在容器中直接执行未经修改的应用程序代码,以保证保真度,并利用虚拟时间技术加快实验速度,提高系统规模,可以精确模拟。特别地,我们从数学上分析了基于工作量证明的共识算法的收敛性,以显示虚拟时间的有效性。我们评估了迷你链在网络层和应用层的性能,并通过模拟从网络层发起的自私挖掘攻击来证明其可用性
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信