Skip to content

Latest commit

 

History

History
61 lines (35 loc) · 1.72 KB

File metadata and controls

61 lines (35 loc) · 1.72 KB

Plenum Byzantine Fault Tolerant Protocol

Details about the protocol, including a great tutorial, can be found on the wiki.

Plenum makes extensive use of coroutines and the async/await keywords in Python, and as such, requires Python version 3.5.0 or later and libsodium. See the "Installation Steps" section for help.

To install...

pip install plenum

From here, you can play with the command-line interface:

plenum

Or you can run the tests:

python -m plenum.test

Plenum requires libsodium. To install...

Ubuntu:

  1. Run sudo add-apt-repository ppa:fkrull/deadsnakes

  2. Run sudo apt-get update

  3. Run sudo apt-get install python3.5

  4. First, check that the universe repository is enabled by inspecting /etc/apt/sources.list file with your favorite editor.

  5. You will need to use sudo to ensure that you have permissions to edit the file. If universe is not included then modify the file so that it does include the following line: deb http://us.archive.ubuntu.com/ubuntu vivid main universe

  6. Run sudo apt-get update

  7. Run sudo apt-get install libsodium13

CentOS/Redhat:

  1. Run sudo yum install python3.5

  2. Run sudo yum install libsodium-devel

Mac:

  1. Go to https://www.python.org and from the "Downloads" menu, download the Python 3.5.1 package(python-3.5.1-macosx10.6.pkg).

  2. Open the downloaded file to install it.

  3. If you are a homebrew fan, you can install it using this brew command: brew install python3

  4. To install homebrew package manager see: http://brew.sh/

  5. Once you have the homebrew installed on your machine, run brew install libsodium to install libsodium.