Run the following commands in different terminals:
cargo run -- --id 0
cargo run -- --id 1
cargo run -- --id 2Send a propose to any of the nodes:
curl -X POST http://0.0.0.0:8000/ -d "proposed value"| Name | Name | Last commit date | ||
|---|---|---|---|---|
Run the following commands in different terminals:
cargo run -- --id 0
cargo run -- --id 1
cargo run -- --id 2Send a propose to any of the nodes:
curl -X POST http://0.0.0.0:8000/ -d "proposed value"