Skip to content

Code for running both centralized and distributed BFTList clients.

License

Notifications You must be signed in to change notification settings

sspbft/BFTList-client

Repository files navigation

BFTList-client

Code for running both centralized and distributed BFTList clients. Note that this code has been implemented as a mere help tool, giving little time to follow best practices during development.

Setup

git clone git@github.com:sspbft/BFTList-client.git && cd BFTList-client
chmod +x *.sh
python3.7 -m venv env
source ./env/bin/activate
pip install --upgrade pip
pip install -r requirements.txt

Make sure that BFTList is running either locally or on PlanetLab and simply supply the absolute path to the corresponding hosts.txt to the scripts below.

Running the interactive client shell

./start_shell.sh [absolute_path_to_hosts_file]

Running clients locally

./run_clients_local.sh [absolute_path_to_hosts_file] [nbr_of_clients] [reqs_per_client]

Running clients distributed

Run the following on each PlanetLab node, assuming that all repos are bootstrapped correctly and residing in /sspbft.

./run_clients_distributed.sh [absolute_path_to_hosts_file] [nbr_of_clients] [reqs_per_client]

Checking node consistency

./check_consistency.sh [absolute_path_to_hosts_file]

About

Code for running both centralized and distributed BFTList clients.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published