This is a simulator for Multi-Level Distributed Caching on the Blockchain for Storage Optimisation which was presented at the ICBC2022 conference.
- go version 1.16
- Linux 64bit/Raspberry 64bit/Windows 10 or above 64bit
- tmux 3.0a
- cd blockchainnode
- run simxx.sh
- connect http://localhost:8080/ and click "Start Test" button
- cd blockchainnode
- go run blockchainnode.go -mode=ST -sc=0 -port=7001'
- sc is the storage class, 3 is the highest node
- mode : ST(Server will generate transactions and access objects) or MI(A node will generate transactions and access objects)
- cd blockchainsim
- go run blockchainsim.go