Skip to content

isabella232/go-libp2p-consensus

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 

Repository files navigation

go-libp2p-consensus

GoDoc Build Status Discourse posts

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

Install

Simply 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.

Usage

In a different project just:

import "github.com/libp2p/go-libp2p-consensus"

This repo is gomod-compatible, and users of go 1.11 and later with modules enabled will automatically pull the latest tagged release by referencing this package. Upgrades to future releases can be managed using go get, or by editing your go.mod file as described by the gomod documentation.

The code is documented in godoc.org/github.com/libp2p/go-libp2p-consensus.

Contribute

PRs accepted.

Small note: If editing the README, please conform to the standard-readme specification.

License

MIT © Protocol Labs, Inc.


The last gx published version of this module was: 0.0.3: QmZ88KbrvZMJpXaNwAGffswcYKz8EbeafzAFGMCA6MEZKt

About

A consensus interface for LibP2P

Resources

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Go 100.0%