testutil

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: May 23, 2019 License: MIT Imports: 3 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RandPeerID deprecated

func RandPeerID() (peer.ID, error)

Deprecated: use github.com/libp2p/go-libp2p-core/peer/test.RandPeerID instead.

func RandTestKeyPair deprecated

func RandTestKeyPair(bits int) (ci.PrivKey, ci.PubKey, error)

Deprecated: use github.com/libp2p/go-libp2p-core/crypto/test.RandTestKeyPair instead. Supply RSA as a key type to get an equivalent result.

func SeededTestKeyPair deprecated

func SeededTestKeyPair(seed int64) (ci.PrivKey, ci.PubKey, error)

Deprecated: use github.com/libp2p/go-libp2p-core/crypto/test.SeededTestKeyPair instead. Supply RSA as a key type, with 512 bits, to get an equivalent result.

Types

This section is empty.

Jump to

Keyboard shortcuts

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