Skip to content

SimonRastikian/Streamlet

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

The Streamlet Protocol: Partially Synchrounous

About the Project

The Partially Synchronous variant of the Streamlet protocol described in section 3 of the paper by Benjamin Y Chan and Elaine Shi.

Installation

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-venv

To install the necessary libraries, type:

chmod +x install.sh ; ./install.sh

To clear out the project:

chmod +x uninstall.sh ; ./uninstall.sh

Running the Implementation

Activate the virtual environment created during installation and go to the directory called "protocol".

source packages-env/bin/activate
cd protocol

Launch the tests with one of the two commands

python -m unittest discover tests -v
python -m unittest discover tests -p '<filename>' -v

Improvements

  • Improvements for this implementation should handle echoing.
  • Additional tests including the presence of malicious/faulty nodes

About

A consensus protocol based on the Streamlet paper by B. Y. Chan and E. Shi

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors