p2pimpl

package
v1.2.5 Latest Latest
Warning

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

Go to latest
Published: Apr 1, 2020 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewHost

func NewHost(self *p2p.Peer, key libp2p_crypto.PrivKey) (p2p.Host, error)

NewHost starts the host for p2p for hostv2, it generates multiaddress, keypair and add PeerID to peer, add priKey to host TODO (leo) The peerstore has to be persisted on disk.

Types

This section is empty.

Jump to

Keyboard shortcuts

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