29 lines
817 B
Markdown
Raw Normal View History

2018-04-30 22:37:23 +02:00
# Propagation simulator
2018-04-17 13:10:35 +02:00
---
2018-04-30 22:37:23 +02:00
This simulator implements command for running different simulation implementations. Currently supported:
- whisperv6
- naive p2p propagation
# Installation
```
go get github.com/status-im/simulator/cmd/propagation_simulator
```
# Usage
Just run:
```
propagation_simulator
```
This tool is looking for the `network.json` file as an input. You may override this name with `-i filename.json` command line flag. This should be valid JSON file with graph structure described here (link TBD). See examples/ directory.
```
propagation_simulator -i graph.json
```
Output statistics will be printed to the stdout, and final propagation data will be writtein into `propagation.json` file. (TODO: describe file format and further steps)
See `propagation_simulator --help` for more options.