收录:
摘要:
Decentralized application (DAPP), replacing traditional business logic and data access layer with block chain, is a new form of Internet service. Testing DAPP requires large-scale distributed systems. Performing experiments in a real system is costly and difficult. This article carefully analyses the process of block generation and synchronization and explains the reasons for the low efficiency of block chain system simulation. We incorporate fuzzy rule based model for enhancing the logging system in blockchain. Rules based on fuzzy are utilized inside system of fuzzy logic to obtain outcome on basis of input variables. The data of Ethereum and Bitcoin proves that the block generation interval conforms to the exponential distribution, and the real PoW calculation can be replaced with random numbers. Both block verification and network propagation processes have latency, which can be simulated with asynchronous messaging. Based on the above analysis, this article proposes a high-performance simulation method based on event-driven model, which is suitable for describing the communication and synchronization behave our of block chain networks. The method can effectively describe the block generation, the synchronization process between nodes, and supports different equity proof forms. Using this method, the performance of the PoW systemis tested. Under the ecs.c6.xlargeinstance,the simulation running speed reaches 782 times of actual system. Further experiments show that this method can be efficiently used in larger-scale networks and is an effective tool for DAPP developing and testing. © 2021-IOS Press. All rights reserved.
关键词:
通讯作者信息:
电子邮件地址:
来源 :
Journal of Intelligent and Fuzzy Systems
ISSN: 1064-1246
年份: 2021
期: 4
卷: 40
页码: 8101-8107
2 . 0 0 0
JCR@2022
ESI学科: COMPUTER SCIENCE;
ESI高被引阀值:87
JCR分区:4