Skip to content

nvinuesa/tobcast

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Total order broadcast (tobcast)

Please visit https://underscorenico.github.io/blog/2019/11/12/total-order-broadcast/ for implementation details.

Build

The project uses makefile, to build simply run:

make all

and to test it simply run:

make test

or

make test-race

Run

Run the binary:

.bin/github.com/underscorenico/tobcast

Note: keep in mind that every time you run the binary, the configuration is read, so you need to update the tcp listen port every time you launch a new instance.

Dependency

If you want to use tobcast as a Go dependency simply:

go get github.com/underscorenico/tobcast/tobcast

and import it in your project:

import "github.com/underscorenico/tobcast/pkg/tobcast"