nomos-simulations/simlib/blendnet-sims/scripts
gusto 8ef0adc996
Add top level readme (#59)
2024-12-03 14:12:47 +02:00
..
README.md Add top level readme (#59) 2024-12-03 14:12:47 +02:00
emission.py Rename `mixnet-sims` to `blendnet-sims` (#60) 2024-12-03 21:01:04 +09:00
latency.py Rename `mixnet-sims` to `blendnet-sims` (#60) 2024-12-03 21:01:04 +09:00
mixlog.py Rename `mixnet-sims` to `blendnet-sims` (#60) 2024-12-03 21:01:04 +09:00
requirements.txt Rename `mixnet-sims` to `blendnet-sims` (#60) 2024-12-03 21:01:04 +09:00

README.md

Nomos Blend Simulation Result Analysis

First of all, run the Nomos Blend simulation by following the instruction.

Latency Analysis

python3 latency.py <log_path>

This script calculates the minimum, average, median, and maximum latency taken by data messages to reach the final blend node.

Anonymity Analysis

python3 -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt

python3 emission.py --log-path <log_path> --plot-png-path <plot_png_path>

This script draws a scatter plot of emission events from all nodes to see how many messages (data or cover) were emitted at the same time window.