Skip to content

axelniklasson/self-stabilizing-uniform-reliable-broadcast

Repository files navigation

Self-stabilizing Uniform Reliable Broadcast (URB)

Build Status

Set up

First, make sure that Go is installed. This project was developed for version 1.13, so that is the recommended version to use. Then, install dep.

When that is done, run the following commands.

cd $GOPATH/src/github.com && git clone https://github.com/axelniklasson/self-stabilizing-uniform-reliable-broadcast
cd self-stabilizing-uniform-reliable-broadcast
go get -u golang.org/x/lint/golint
echo "go vet ./... && go list ./... | xargs -n 1 golint -set_exit_status && go test -v ./..." >> .git/hooks/pre-commit
chmod +x .git/hooks/pre-commit scripts/*.sh
dep ensure

Running locally

./scripts/start.sh NUMBER_OF_NODES

Testing

All unit tests can be run through the bash script as sh scripts/test.sh.

About

Implementation of the self-stabilizing uniform reliable broadcast protocol introduced by Raynal et al.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published