83 Commits

Author SHA1 Message Date
fredericosteixeira
07f9b23d40
Merge 556231357414c11f7bf693e89ac37b9c0313abfb into a42dc4b4bf6a3aa11bed8735f9647dfd9cadb824 2025-01-05 13:22:31 +00:00
Frederico
5562313574 playing with parameters 2025-01-05 14:22:24 +01:00
Frederico
22760e53b4 updating gitignore 2025-01-05 14:22:15 +01:00
Frederico
1f85cae4e0 improving identation 2025-01-02 20:00:49 +01:00
Frederico
e64c573ec2 scale_block_size is a float now 2025-01-02 20:00:29 +01:00
Youngjoon Lee
a42dc4b4bf
feat(blend): calculate topology diameter (#66) 2025-01-02 22:26:48 +09:00
Frederico
4c014275de playing with parameters 2024-12-31 00:09:18 +01:00
Frederico
b6a1e5db68 variable gas limit is a parameter 2024-12-31 00:09:03 +01:00
Frederico
323fcf56a0 fixed seed to make results depend only on input parameters 2024-12-31 00:08:33 +01:00
Frederico
2f8d646905 variable and fixed gas limit have the same mean 2024-12-31 00:08:16 +01:00
Frederico
c89b94dc8a max price 2024-12-31 00:07:57 +01:00
Frederico
7a99edfbb6 variable gas limit as parameter 2024-12-31 00:07:31 +01:00
Youngjoon Lee
be5df9ead1
Fix netrunner tests (#61) 2024-12-20 16:22:47 +09:00
Frederico
cd5c6772ab playing with parameters 2024-12-16 22:07:03 +01:00
Frederico
906bb97619 parameter to purge low offer tx 2024-12-16 22:06:25 +01:00
Frederico
ec8dc2f433 implementation of min price 2024-12-16 22:05:28 +01:00
Frederico
702fb35b7b ignore png files 2024-12-16 22:05:08 +01:00
Frederico
7402e9f54c in EIP, base fee and actual price are different things. 2024-12-16 19:54:19 +01:00
Frederico
27d921c9fe implementation of the TFM tool 2024-12-16 17:44:04 +01:00
Youngjoon Lee
be304046dd
fix(blend): ensure all nodes are connected and have the same peering degree (#64)
* fix(blendnet): ensure all nodes are connected and have the same peering degree

* cover the case where it is impossible to ensure all nodes have the same num of conns
2024-12-14 00:42:23 +09:00
Youngjoon Lee
45a2152bba
refactor(blendnet): rename mix to blend (#63)
* rename mix to blend

* update ci

* add missing dir
2024-12-13 13:31:28 +09:00
gusto
8ef0adc996
Add top level readme (#59) 2024-12-03 14:12:47 +02:00
Youngjoon Lee
2460174def
Rename mixnet-sims to blendnet-sims (#60)
* Rename `mixnet-sims` to `blendnet-sims`

* Rename `mixnet-sims` to `blendnet-sims`
2024-12-03 21:01:04 +09:00
Youngjoon Lee
80bbdf7fbe
Move /scripts to /simlib/mixnet-sims/ (#58) 2024-12-03 20:39:59 +09:00
Youngjoon Lee
2b99275058
Deprecate mixnet v1 component simulations (#57) 2024-12-03 20:39:46 +09:00
Youngjoon Lee
c600ebd304
Update mix python script for new log format (#53)
* Update mix python script for new log format

* remove unused imports
2024-11-21 15:52:27 +09:00
Youngjoon Lee
9740035f85
Add README for mix simulation and scripts (#56) 2024-11-18 15:37:00 +09:00
Youngjoon Lee
319450ed59
Add mix emission analysis (#55) 2024-11-18 10:31:27 +09:00
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
gusto
769ba42f85
Make cache optional (#51) 2024-11-13 03:55:13 +01:00
Álex
424585dd2a
Implement message parser and average latency calculator. (#38)
* Implement message parser and average latency calculator.

* Fix node_id type parsing, add more stats.

* Add more stats, slight refactor.

* Remove unnecessary class

* Improve naming.

* Adapt to new log format
2024-11-09 11:54:10 +09:00
gusto
5adb0a1ad6
Min max and avg total bandwidth per node (#50) 2024-11-09 11:53:54 +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 PayloadIds 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