{"title":"区块链网络虚拟时间加速仿真及应用评估","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":"{\"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}","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}
Virtual-Time-Accelerated Emulation for Blockchain Network and Application Evaluation
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