Skip to content

kc1212/checo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Checo (checkpoint consensus)

Build Status

The code for my thesis.

Installation

pip install -r requirements.txt

Using virtualenv is recommended.

Running tests

pytest is used to run the tests, for example:

  • pytest to run all tests
  • pytest tests/test_consensus.py for a single file
  • pytest tests/test_consensus.py::test_acs for a single test

Running manually

  • First start the discovery server python -m src.discovery.
  • Then start at least 4 nodes python -m src.node PORT N T [FLAGS], the port number must be unique and the values N and T must be the same on all the nodes. For example python -m src.node 12345 4 1 --test acs -v. For more information, see the help python -m src.node -h.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages