Commit Graph

23 Commits

Author SHA1 Message Date
Youngjoon Lee 091a60ae4e
print node ID as integer in logging (#54) 2024-11-15 11:19:28 +09:00
Youngjoon Lee 590e9c289f
Remove log of immediate forwardings (#52) 2024-11-15 11:19:04 +09:00
Youngjoon Lee 97cbd536f4
log emissions (#48) 2024-11-09 11:48:44 +09:00
Daniel Sanchez cffd93ece9
Use chacha12 instead of smallrng (#49) 2024-11-09 03:47:11 +01:00
Youngjoon Lee 29ce6e953e
Fix cache (#47)
Co-authored-by: Daniel Sanchez Quiros <sanchez.quiros.daniel@gmail.com>
2024-11-09 11:36:40 +09:00
Youngjoon Lee b66d7abf9d
Add msg type in the log (#46) 2024-11-09 11:36:26 +09:00
Youngjoon Lee a25bc27d09
Add number_of_hops (for cover traffic) in config (#45) 2024-11-09 11:36:09 +09:00
Youngjoon Lee fbb37a4317
Make `Interval` immediately release at the first interval (#44)
* wip

* fix tests
2024-11-09 11:35:54 +09:00
gusto f97136bda6
Add network data to runtime results (#43) 2024-11-08 12:44:19 +02:00
Youngjoon Lee 8147b7d718
Use logging instead of storing payload IDs in state (#42) 2024-11-08 19:14:27 +09:00
Youngjoon Lee 8c3c723710
Change configuration values in the sample file (#41) 2024-11-08 18:13:13 +09:00
Youngjoon Lee 5a0412ff83
Measure both data and cover message counts (#40) 2024-11-08 18:00:25 +09:00
Youngjoon Lee 2e85190a22
Use TimedCache to avoid OOM (#39)
* use TimedCache to avoid OOM

* add comment
2024-11-08 17:42:21 +09:00
Daniel Sanchez c220497ffb
Extract node configuration to simulation settings (#36)
* Extract node configuration to simulation settings

* Pipe settings and create mixnode setttings

* Update config with human readable parsing
2024-11-08 07:31:51 +01:00
Álex 8faafcfb6f
Add tests to timer streams and interval (#29)
* Add timer tests

* Add tests for timers and intervals.

---------

Co-authored-by: Daniel Sanchez <3danimanimal@gmail.com>
2024-11-08 06:25:27 +01:00
Youngjoon Lee 631c1a6916
Store `PayloadId`s in the state to measure latency (#34)
* Store `MessageId`s in the state to measure latency

* Use String for PayloadId
2024-11-08 06:25:13 +01:00
Daniel Sanchez 21d648b7ff
Serialize node id as index (#35) 2024-11-08 05:40:23 +01:00
Youngjoon Lee fb1894fb8c
Exclude peer who forwarded a message when forwarding the message (#32)
Co-authored-by: Daniel Sanchez <3danimanimal@gmail.com>
2024-11-08 05:20:30 +01:00
Daniel Sanchez 3d1bd0dc18
Include cover traffic (#31)
* Include cover traffic

* Remove branch from cargo

* Fix sim configuration

* Fix rebase

* Clippy happy
2024-11-08 05:09:46 +01:00
gusto 786942ad70
Simlib tracing level (#33)
* Ignore cargo.lock

* Add trace level and keep worker guard
2024-11-08 04:57:00 +02:00
Youngjoon Lee 6bc6193e7a
Immediate forwarding (#30)
* Immediate forwarding

* use uuid instead of payload datastructure
2024-11-08 11:14:30 +09:00
Youngjoon Lee 26f7db8322
use num_messages_broadcasted for warding; (#28)
Co-authored-by: Gusto <bacvinka@gmail.com>
2024-11-08 10:15:18 +09:00
Daniel Sanchez ff2c1b4271
Restructure crates (#24)
* Rename to netrunner

* Refactor sims structure

* Add missing workspace cargo

* Rebase changes

* Rebase changes

* Rebase changes

* Fix tests
2024-11-07 06:05:56 +01:00