A library for distributed systems based on the Viewstamped Replication Revisited technique.
The current implementation supports all the protocols (normal, view change, recovery), as described in the original paper.
Run the example of a server:
cargo run --example server -- \
--addresses=127.0.0.1:3001,127.0.0.1:3002,127.0.0.1:3003 \
--seed=1234
Run the example of a client:
cargo run --example client -- \
--replicas=127.0.0.1:3001,127.0.0.1:3002,127.0.0.1:3003 \
--address=127.0.0.1:3000 \
--seed=1234
Run the simulation:
cargo run --bin vsr_simulation -- --seed=1234