conversion

package
v0.0.0-...-9dda5dc Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetPeerIDFromPubKey

func GetPeerIDFromPubKey(pubkey string) (peer.ID, error)

func GetPeerIDFromSecp256PubKey

func GetPeerIDFromSecp256PubKey(pk []byte) (peer.ID, error)

func GetPeerIDsFromPubKeys

func GetPeerIDsFromPubKeys(pubkeys []string) ([]peer.ID, error)

func GetPubKeyFromPeerID

func GetPubKeyFromPeerID(pID string) (string, error)

func GetPubKeysFromPeerIDs

func GetPubKeysFromPeerIDs(peers []string) ([]string, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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