8000 GitHub - polinikita/vantage-bft: Vantage: signature-free BFT — Rust implementation & AWS evaluation testbed (fork of autobahn-artifact) · GitHub
[go: up one dir, main page]

Skip to content

About

Vantage: signature-free BFT — Rust implementation & AWS evaluation testbed (fork of autobahn-artifact)

Resources

Stars

4 stars

Watchers

0 watching

Forks

Repository files navigation

Vantage BFT testbed

rustc license

Overview

This repository implements and benchmarks Byzantine fault-tolerant consensus protocols on a shared Rust runtime. The protocols use the same networking, storage, worker, metrics, and benchmark components for comparable experiments.

The codebase is derived from the Autobahn SOSP 2024 artifact.

The current Vantage manuscript is available as vantage.pdf.

Protocols

Protocol CLI name Description
Vantage vantage Vantage consensus with data availability, repair, and sequence state sync
Autobahn Optimistic autobahn-optimistic Autobahn with optimistic tips enabled
Autobahn Seamless autobahn-seamless Autobahn with optimistic tips disabled
Simple-IT simple-it Simple-IT with optimistic reliable broadcast
Simple-IT Bracha simple-it-bracha Simple-IT with Bracha reliable broadcast

Workspace

Crate Role
node CLI, local benchmark, and benchmark client
primary Consensus protocols and primary coordination
worker Transaction batching and payload dissemination
network Reliable peer transport
store Persistent storage
config Committee, protocol, and runtime configuration
crypto Keys, signatures, and digests
metrics Prometheus metrics

Requirements

  • Rust 1.95.0 through rust-toolchain.toml
  • A C/C++ toolchain, Clang, OpenSSL, and pkg-config
  • Python 3 for benchmark launchers
  • Docker Compose for container benchmarks and monitoring

On macOS:

brew install llvm openssl pkg-config

On Ubuntu:

sudo apt-get update
sudo apt-get install -y build-essential clang libclang-dev libssl-dev pkg-config

Quick Start

cargo build --release --features benchmark
cargo test --workspace

Local benchmark

./target/release/node local-benchmark \
  --nodes 4 \
  --workers 1 \
  --rate 1000 \
  --tx-size 512 \
  --protocol vantage \
  --duration 60 \
  --mimic-latency-ms 0

An explicit --mimic-latency-ms 0 selects loopback latency. If no latency option is provided, the benchmark uses the built-in AWS RTT matrix. Vantage uses one-byte committee identifiers on its primary wire by default for committees of at most 256 validators; --no-compact-ids selects full keys.

Run ./target/release/node local-benchmark --help for all options.

Local dryrun with monitoring

python3 -m pip install pyyaml
python3 local-dryrun/dryrun.py

Configuration is in local-dryrun/config.yml. See local-dryrun/README.md.

Benchmarks

License

This software is licensed under Apache 2.0.

About

Vantage: signature-free BFT — Rust implementation & AWS evaluation testbed (fork of autobahn-artifact)

Resources

Stars

4 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages

0