Skip to content

Latest commit

 

History

History
35 lines (29 loc) · 1.12 KB

README.md

File metadata and controls

35 lines (29 loc) · 1.12 KB

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]