argente

package module
v0.0.0-...-ca1678d Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 25, 2022 License: MIT Imports: 33 Imported by: 0

README

Pin argenté

Pin argenté is a libp2p transport on working on yggdrasil, Ironwood and go-QUIC.

It allows libp2p nodes to efficiently exchange data on the yggdrasil network.

Note, Pin argenté is NOT part of the yggdrasil IPv6 overlay network. It can route data with yggdrasil's nodes (in both directions), but yggdrasil nodes can't connect to Pin argenté one since we do some custom crypto and packeting (we use QUIC instead of IPv6).

Documentation

Index

Constants

View Source
const P_PIN_ARGENTÉ = 0x3f42

Variables

View Source
var ErrAlreadyListening = errors.New("Pin argenté only support listening once at a time")
View Source
var ErrNotPinArgentéMaddr = errors.New("non Pin argenté maddr passed in")
View Source
var ErrOnlySupportEd25519 = errors.New("Pin argenté only supports Ed25519 keys")
View Source
var ErrPrivateNetworkNotSupported = errors.New("Pin argenté doesn't support private networks")

Functions

func New

func New(peers, listens []string, localDiscovery bool) func(priv crypto.PrivKey, pub crypto.PubKey, id peer.ID, psk pnet.PSK, rcmgr network.ResourceManager) (transport.Transport, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL