Skip to content

NicholasTroutman/DLT_Simulation

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DLT SIMULATION

This is a single-processor simulator of IoT-MANET environments with variable DLT architectures, environments, agent characteristics, and consensus algorithms.

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

  • Nicholas Troutman + Manuel Zander (IOTA TANGLE Simulator creator)

License

See LICENSE.txt

Acknowledgments

Thanks to my advisor Weidong (Larry) Shi at the University of Houston for guiding me and this project.

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

About

Localization-Aware DAG DLT Simulation

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 69.3%
  • R 27.8%
  • Shell 2.7%
  • Other 0.2%