# Functions
NewFromIpfsHost returns a BitSwapNetwork supported by underlying IPFS host.
No description provided by the author
No description provided by the author
# Variables
ProtocolBitswap is the current version of the bitswap protocol: 1.2.0.
ProtocolBitswapNoVers is equivalent to the legacy bitswap protocol.
ProtocolBitswapOneOne is the the prefix for version 1.1.0.
ProtocolBitswapOneZero is the prefix for the legacy bitswap protocol.
# Structs
No description provided by the author
No description provided by the author
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.
# Interfaces
BitSwapNetwork provides network connectivity for BitSwap sessions.
No description provided by the author
MessageSender is an interface for sending a series of messages over the bitswap network.
Pinger is an interface to ping a peer and get the average latency of all pings.
Receiver is an interface that can receive messages from the BitSwapNetwork.
Routing is an interface to providing and finding providers on a bitswap network.
# Type aliases
No description provided by the author