hyperledger-labs / mirbft

MirBFT is a consensus library implementing the Mir consensus protocol.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Sample Hello World App

matejpavlovic opened this issue · comments

A sample application using the mirbft library would be great to have directly in the repository, demonstrating the basic usage.

Special attention should be paid to adding explanatory comments, as the sample application is likely to serve as the entry point for those who wish to familiarise themselves with the code.

A sample application already exists, written by Jason Yellick, and probably can be imported here with only small modifications: https://github.com/jyellick/mirbft-sample

A sample chat application is now available in the /samples/chat-demo directory.
In the end, it is not based off the above-mentioned sample, since the code has been refactored substantially since.