Skip to content

M.Sc. Thesis Project: Performance Analysis of DAG-based Distributed Ledgers: A Hybrid Modeling of IOTA

License

Notifications You must be signed in to change notification settings

pacslab/iota_simulation

 
 

Repository files navigation

IOTA TANGLE SIMULATION

This is a single- and multi-agent simulation of the IOTA Tangle, as described in the white-paper.

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.

Prerequisites

The code is run and tested with Python 3.6.3 and 3.7 on macOS 10.12.6., 10.13 and 10.14. Create a virtual environment for Python 3 with:

virtualenv -p python3 envname

Installing packages

Pip's install of pygraphviz is currently broken, thus run the following before using the makefile:

brew install graphviz
pip3 install pygraphviz

Then the used Python libraries/packages can be installed with:

make

or alternatively with:

pip install -r requirements.txt

Running the tests

The Python unittest module is used for testing. Run the tests with:

python -m unittest discover

Running the simulation

Run the simulation with:

python core.py

In this file you can also change the configurations of the simulation.

Authors

  • Manuel Zander

License

See LICENSE.txt

Acknowledgments

Many thanks to Dominik Harz (nud3l) for his help and suggestions during development of this software.

About

M.Sc. Thesis Project: Performance Analysis of DAG-based Distributed Ledgers: A Hybrid Modeling of IOTA

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages

  • Python 99.9%
  • Makefile 0.1%