ipld-eth-server/vendor/github.com/libp2p/go-libp2p-interface-pnet
2019-12-02 13:24:49 -06:00
..
.travis.yml update dependencies to work with update eth-block-extractor 2019-12-02 13:24:49 -06:00
codecov.yml update dependencies to work with update eth-block-extractor 2019-12-02 13:24:49 -06:00
error.go update dependencies to work with update eth-block-extractor 2019-12-02 13:24:49 -06:00
go.mod update dependencies to work with update eth-block-extractor 2019-12-02 13:24:49 -06:00
interface.go update dependencies to work with update eth-block-extractor 2019-12-02 13:24:49 -06:00
LICENSE update dependencies to work with update eth-block-extractor 2019-12-02 13:24:49 -06:00
Makefile update dependencies to work with update eth-block-extractor 2019-12-02 13:24:49 -06:00
package.json update dependencies to work with update eth-block-extractor 2019-12-02 13:24:49 -06:00
README.md update dependencies to work with update eth-block-extractor 2019-12-02 13:24:49 -06:00

go-libp2p-interface-pnet

An interface providing abstraction of swarm protection for libp2p.

Table of Contents

Usage

Core of this interface in Protector that is used to protect the swarm. It makes decisions about which streams are allowed to pass.

This interface is accepted in multiple places in libp2p but most importantly in go-libp2p-swarm NewSwarmWithProtector and NewNetworkWithProtector.

Implementations:

Contribute

PRs are welcome!

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

License

MIT © Jeromy Johnson