A Consensus interface for LibP2P
The LibP2P Consensus interface allows to abstract different consensus algorithms implemented for libp2p with an standarized layer so they can be swapped seamlessly.
Table of Contents
go-get the module:
go get -u github.com/libp2p/go-libp2p-consensus
You can run
make deps and
make test, although they do very little because this module only declares some interfaces.
In a different project just:
This module is published as a GX dependency. So you can also import in GX with:
> gx import github.com/libp2p/go-libp2p-consensus
The code is documented in godoc.org/github.com/libp2p/go-libp2p-consensus.
Small note: If editing the README, please conform to the standard-readme specification.
MIT © Protocol Labs, Inc.