Feature/perf messing (#311)

* Merge branch 'develop' into feature/socks5-no-core

common/client-libs/directory-client/models/src/presence/topology.rs

* More diagnostics

* WIP commit, not properly multithreaded

* WIP, now sort of multithreaded but errors all over the place

* Replaced expect with a return

* Adding abort on panic

* Removing a few noisy prints

* Another ack-related expect replaced

* Moved profile.dev annotation to workspace cargo.toml

* Semi-stabilised socks

* Assigning connection shared key post registration (#309)

* Sending return address with connect request

* WIP commit

* Reading all available data on reader + removed duplicate code

Co-authored-by: jstuczyn <jedrzej.stuczynski@gmail.com>
This commit is contained in:
Dave Hrycyszyn
2020-08-20 13:43:26 +01:00
committed by GitHub
parent da25b23898
commit 7b2036bd33
25 changed files with 682 additions and 188 deletions
+3 -3
View File
@@ -38,7 +38,7 @@ export RUST_LOG=warning
# NOTE: If we wanted to suppress stdout and stderr, replace `&` with `> /dev/null 2>&1 &` in the `run`
# cargo run --bin nym-gateway -- init --id gateway-local --mix-host 127.0.0.1:10000 --clients-host 127.0.0.1:10001 --directory $DIR
cargo run --bin nym-gateway -- run --id gateway-local &
cargo run --release --bin nym-gateway -- run --id gateway-local &
sleep 1
@@ -46,8 +46,8 @@ sleep 1
# Will make it later either configurable by flags or config file.
for (( j=0; j<$NUMMIXES; j++ )); do
let layer=j%MAX_LAYERS+1
cargo run --bin nym-mixnode -- init --id mix-local$j --host 127.0.0.1 --port $((9980+$j)) --layer $layer --directory $DIR
cargo run --bin nym-mixnode -- run --id mix-local$j &
cargo run --release --bin nym-mixnode -- init --id mix-local$j --host 127.0.0.1 --port $((9980+$j)) --layer $layer --directory $DIR
cargo run --release --bin nym-mixnode -- run --id mix-local$j &
sleep 1
done