Skip to content

This program is a modification of the SimBlock simulator developed by Distributed Systems Group, Tokyo Institute of Technology. This modification simulator shows the mining process that occurs using the Proof-of-Work concept. The Block creation in modified SimBlock is using a difficulty factor based on the number of leading-zero as the target hash.

License

Notifications You must be signed in to change notification settings

vmardiansyah/modified-simblock

Repository files navigation

Disclaimer

This simulator program is a modification from the SimBlock simulator, intended to show the mining process that occurs using the Proof-of-Work concept. The Block creation in modified SimBlock is using a difficulty factor based on the number of leading-zero as the target hash.

For example:

Difficulty = 1, meaning to find one leading-zero as the target hash.

Difficulty = 2, meaning to find two leading-zero as the target hash, etc.

You can change this Difficulty setting at SimulationConfiguration.java file on the setting folder.

You can see the different JSON output when finish re-compile this simulator.

Note to remember, the higher the Difficulty will need more time to re-compile the simulator.

Here are the sample output of the differences that we made. We run the modified simulator and create 5 blocks and 3 nodes.

Sample of Genesis Block

Original SimBlock [output.json] Modified SimBlock [output.json]

Sample of Chain Block (the blocks after genesis block)

Original SimBlock [output.json] Modified SimBlock [output.json]

What is SimBlock?

SimBlock is an open source blockchain network simulator, developed by Distributed Systems Group, Tokyo Institute of Technology.

Original source code is available: https://dsg-titech.github.io/simblock/

SimBlock has a visualization tool, by which you can see the transition of block propagation.

License

SimBlock is licensed under the Apache License, Version2.0.

Contact

E-mail: dsg-titech at googlegroups.com

About

This program is a modification of the SimBlock simulator developed by Distributed Systems Group, Tokyo Institute of Technology. This modification simulator shows the mining process that occurs using the Proof-of-Work concept. The Block creation in modified SimBlock is using a difficulty factor based on the number of leading-zero as the target hash.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages