Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var AdvancedEnableInlining = true
View Source
var ErrInvalidAddr = fmt.Errorf("invalid p2p multiaddr")
Functions ¶
func IDB58Encode
deprecated
Types ¶
type AddrInfo ¶
func AddrInfoFromP2pAddr ¶
AddrInfoFromP2pAddr converts a Multiaddr to an AddrInfo.
type ID ¶
type ID string
func IDFromPublicKey ¶
func IDFromPublicKey(pk libp2pcrypto.PubKey) (ID, error)
IDFromPublicKey returns the Peer ID corresponding to the public key pk. nolint: staticcheck
Click to show internal directories.
Click to hide internal directories.