The Partially Synchronous variant of the Streamlet protocol described in section 3 of the paper by Benjamin Y Chan and Elaine Shi.
The project installation assumes the user has Python 3.10. However, if python3.10 or the corresponding venv module are not installed, then run the following commands:
sudo apt-get install python3.10
sudo apt-get install python3.10-venvTo install the necessary libraries, type:
chmod +x install.sh ; ./install.shTo clear out the project:
chmod +x uninstall.sh ; ./uninstall.shActivate the virtual environment created during installation and go to the directory called "protocol".
source packages-env/bin/activate
cd protocolLaunch the tests with one of the two commands
python -m unittest discover tests -v
python -m unittest discover tests -p '<filename>' -v- Improvements for this implementation should handle echoing.
- Additional tests including the presence of malicious/faulty nodes