A blockchain implementation using the HotStuff consensus algorithm.
This is a Rust workspace (mono repo) containing:
app/- Main PismoChain applicationhotstuff_rs/- HotStuff consensus algorithm library
- Rust 1.70+
- Cargo
Build the entire workspace:
cargo buildBuild specific packages:
# Build the main application
cargo build -p PismoChain
# Build the library
cargo build -p hotstuff_rsRun the main application:
cargo run --bin pismochainRun all tests:
cargo testRun tests for a specific package:
cargo test -p hotstuff_rsThe main application (app/) depends on the hotstuff_rs library as a local path dependency. This allows for rapid development and testing of both components together.
Apache-2.0