Documentation ¶
Index ¶
- func Addrs(n int) []string
- func BlocksOfSize(n int, size int) []blocks.Block
- func Bytes(n int) []byte
- func Cids(n int) []cid.Cid
- func HttpMultiaddrs(n int) []multiaddr.Multiaddr
- func Identity() (peer.ID, crypto.PrivKey, crypto.PubKey)
- func Multiaddrs(n int) []multiaddr.Multiaddr
- func Multihashes(n int) []multihash.Multihash
- func Peers(n int) []peer.ID
- func Seed() int64
- func SetSeed(seed int64)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BlocksOfSize ¶ added in v0.0.3
BlocksOfSize generates a slice of blocks of the specified byte size.
func HttpMultiaddrs ¶ added in v0.0.3
func HttpMultiaddrs(n int) []multiaddr.Multiaddr
HttpMultiaddrs returns a slice of n random unique Multiaddrs.
func Multiaddrs ¶
func Multiaddrs(n int) []multiaddr.Multiaddr
Multiaddrs returns a slice of n random unique Multiaddrs.
func Multihashes ¶
func Multihashes(n int) []multihash.Multihash
Multihashes returns a slice of n random unique Multihashes.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.