testnet

package
v2.0.0-rc8 Latest Latest
Warning

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

Go to latest
Published: May 16, 2024 License: Apache-2.0, MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Network

type Network interface {
	Adapter() (peer.ID, gsnet.GraphSyncNetwork, dtnet.DataTransferNetwork)
	HasPeer(peer.ID) bool
}

Network is an interface for generating graphsync network interfaces based on a test network.

func StreamNet

func StreamNet(ctx context.Context, net mockpeernet.Mocknet) Network

StreamNet is a testnet that uses libp2p's MockNet

Jump to

Keyboard shortcuts

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