package
0.0.0-20230703214630-6d3db958c73d
Repository: https://github.com/onflow/go-bitswap.git
Documentation: pkg.go.dev
# Functions
New creates a new MessageQueue.
# Structs
MessageQueue implements queue of want messages to send to peers.
# Interfaces
DontHaveTimeoutManager pings a peer to estimate latency so it can set a reasonable upper bound on when to consider a DONT_HAVE request as timed out (when connected to a peer that doesn't support DONT_HAVE messages).
MessageNetwork is any network that can connect peers and generate a message sender.
PeerConnection is a connection to a peer that can be pinged, and the average latency measured.
# Type aliases
Fires when a timeout occurs waiting for a response from a peer running an older version of Bitswap that doesn't support DONT_HAVE messages.