diff --git a/simlib/Cargo.toml b/simlib/Cargo.toml index 322581b..fc56e2e 100644 --- a/simlib/Cargo.toml +++ b/simlib/Cargo.toml @@ -1,7 +1,6 @@ [workspace] members = [ "netrunner", - "mixnet-sims" - + "blendnet-sims" ] resolver = "2" diff --git a/simlib/mixnet-sims/Cargo.toml b/simlib/blendnet-sims/Cargo.toml similarity index 97% rename from simlib/mixnet-sims/Cargo.toml rename to simlib/blendnet-sims/Cargo.toml index 13f6898..73b7f1e 100644 --- a/simlib/mixnet-sims/Cargo.toml +++ b/simlib/blendnet-sims/Cargo.toml @@ -1,5 +1,5 @@ [package] -name = "mixnet-sims" +name = "blendnet-sims" version = "0.1.0" edition = "2021" diff --git a/simlib/mixnet-sims/README.md b/simlib/blendnet-sims/README.md similarity index 95% rename from simlib/mixnet-sims/README.md rename to simlib/blendnet-sims/README.md index b7326da..fcf5467 100644 --- a/simlib/mixnet-sims/README.md +++ b/simlib/blendnet-sims/README.md @@ -15,7 +15,7 @@ ## Configurations -The simulation can be configured by [config/mixnode.json](./config/mixnode.json). +The simulation can be configured by [config/blendnet.json](./config/blendnet.json). ### `step_time` and `network_settings` @@ -76,7 +76,7 @@ at the beginning of each epoch. At every selected slot, the node generates a cov ```bash cargo build --release -../target/release/mixnet-sims --input-settings ./config/mixnode.json +../target/release/blendnet-sims --input-settings ./config/blendnet.json ``` The simulation prints a bunch of logs that can be used for analysis. We recommend piping logs to a file. diff --git a/simlib/mixnet-sims/config/mixnode.json b/simlib/blendnet-sims/config/blendnet.json similarity index 100% rename from simlib/mixnet-sims/config/mixnode.json rename to simlib/blendnet-sims/config/blendnet.json diff --git a/simlib/mixnet-sims/scripts/README.md b/simlib/blendnet-sims/scripts/README.md similarity index 100% rename from simlib/mixnet-sims/scripts/README.md rename to simlib/blendnet-sims/scripts/README.md diff --git a/simlib/mixnet-sims/scripts/emission.py b/simlib/blendnet-sims/scripts/emission.py similarity index 100% rename from simlib/mixnet-sims/scripts/emission.py rename to simlib/blendnet-sims/scripts/emission.py diff --git a/simlib/mixnet-sims/scripts/latency.py b/simlib/blendnet-sims/scripts/latency.py similarity index 100% rename from simlib/mixnet-sims/scripts/latency.py rename to simlib/blendnet-sims/scripts/latency.py diff --git a/simlib/mixnet-sims/scripts/mixlog.py b/simlib/blendnet-sims/scripts/mixlog.py similarity index 100% rename from simlib/mixnet-sims/scripts/mixlog.py rename to simlib/blendnet-sims/scripts/mixlog.py diff --git a/simlib/mixnet-sims/scripts/requirements.txt b/simlib/blendnet-sims/scripts/requirements.txt similarity index 100% rename from simlib/mixnet-sims/scripts/requirements.txt rename to simlib/blendnet-sims/scripts/requirements.txt diff --git a/simlib/mixnet-sims/src/log.rs b/simlib/blendnet-sims/src/log.rs similarity index 100% rename from simlib/mixnet-sims/src/log.rs rename to simlib/blendnet-sims/src/log.rs diff --git a/simlib/mixnet-sims/src/main.rs b/simlib/blendnet-sims/src/main.rs similarity index 100% rename from simlib/mixnet-sims/src/main.rs rename to simlib/blendnet-sims/src/main.rs diff --git a/simlib/mixnet-sims/src/node/mix/consensus_streams.rs b/simlib/blendnet-sims/src/node/mix/consensus_streams.rs similarity index 100% rename from simlib/mixnet-sims/src/node/mix/consensus_streams.rs rename to simlib/blendnet-sims/src/node/mix/consensus_streams.rs diff --git a/simlib/mixnet-sims/src/node/mix/lottery.rs b/simlib/blendnet-sims/src/node/mix/lottery.rs similarity index 100% rename from simlib/mixnet-sims/src/node/mix/lottery.rs rename to simlib/blendnet-sims/src/node/mix/lottery.rs diff --git a/simlib/mixnet-sims/src/node/mix/message.rs b/simlib/blendnet-sims/src/node/mix/message.rs similarity index 100% rename from simlib/mixnet-sims/src/node/mix/message.rs rename to simlib/blendnet-sims/src/node/mix/message.rs diff --git a/simlib/mixnet-sims/src/node/mix/mod.rs b/simlib/blendnet-sims/src/node/mix/mod.rs similarity index 100% rename from simlib/mixnet-sims/src/node/mix/mod.rs rename to simlib/blendnet-sims/src/node/mix/mod.rs diff --git a/simlib/mixnet-sims/src/node/mix/scheduler.rs b/simlib/blendnet-sims/src/node/mix/scheduler.rs similarity index 100% rename from simlib/mixnet-sims/src/node/mix/scheduler.rs rename to simlib/blendnet-sims/src/node/mix/scheduler.rs diff --git a/simlib/mixnet-sims/src/node/mix/state.rs b/simlib/blendnet-sims/src/node/mix/state.rs similarity index 100% rename from simlib/mixnet-sims/src/node/mix/state.rs rename to simlib/blendnet-sims/src/node/mix/state.rs diff --git a/simlib/mixnet-sims/src/node/mix/stream_wrapper.rs b/simlib/blendnet-sims/src/node/mix/stream_wrapper.rs similarity index 100% rename from simlib/mixnet-sims/src/node/mix/stream_wrapper.rs rename to simlib/blendnet-sims/src/node/mix/stream_wrapper.rs diff --git a/simlib/mixnet-sims/src/node/mod.rs b/simlib/blendnet-sims/src/node/mod.rs similarity index 100% rename from simlib/mixnet-sims/src/node/mod.rs rename to simlib/blendnet-sims/src/node/mod.rs diff --git a/simlib/mixnet-sims/src/settings.rs b/simlib/blendnet-sims/src/settings.rs similarity index 100% rename from simlib/mixnet-sims/src/settings.rs rename to simlib/blendnet-sims/src/settings.rs