# Functions
NewFromIpfsHost returns a BitSwapNetwork supported by underlying IPFS host.
Deprecated: use github.com/ipfs/go-libipfs/bitswap/network.Prefix instead.
Deprecated: use github.com/ipfs/go-libipfs/bitswap/network.SupportedProtocols instead.
# Variables
ProtocolBitswap is the current version of the bitswap protocol: 1.2.0 Deprecated: use github.com/ipfs/go-libipfs/bitswap/network.ProtocolBitswap instead.
ProtocolBitswapNoVers is equivalent to the legacy bitswap protocol Deprecated: use github.com/ipfs/go-libipfs/bitswap/network.BitSwapNetwork instead.
ProtocolBitswapOneOne is the the prefix for version 1.1.0 Deprecated: use github.com/ipfs/go-libipfs/bitswap/network.ProtocolBitswapOneOne instead.
ProtocolBitswapOneZero is the prefix for the legacy bitswap protocol Deprecated: use github.com/ipfs/go-libipfs/bitswap/network.ProtocolBitswapOneZero instead.
# Type aliases
BitSwapNetwork provides network connectivity for BitSwap sessions.
Deprecated: use github.com/ipfs/go-libipfs/bitswap/network.ConnectionListener instead.
MessageSender is an interface for sending a series of messages over the bitswap network Deprecated: use github.com/ipfs/go-libipfs/bitswap/network.MessageSender instead.
Deprecated: use github.com/ipfs/go-libipfs/bitswap/network.MessageSenderOpts instead.
Deprecated: use github.com/ipfs/go-libipfs/bitswap/network.NetOpt instead.
Pinger is an interface to ping a peer and get the average latency of all pings Deprecated: use github.com/ipfs/go-libipfs/bitswap/network.Pinger instead.
Receiver is an interface that can receive messages from the BitSwapNetwork.
Routing is an interface to providing and finding providers on a bitswap network.
Deprecated: use github.com/ipfs/go-libipfs/bitswap/network.Settings instead.
Stats is a container for statistics about the bitswap network the numbers inside are specific to bitswap, and not any other protocols using the same underlying network.