package
0.12.0
Repository: https://github.com/ipfs/go-bitswap.git
Documentation: pkg.go.dev

# Packages

Package wantlist implements an object for bitswap that contains the keys that a given peer wants.

# Functions

New initializes a Bitswap client that runs until client.Close is called.
ProviderSearchDelay overwrites the global provider search delay Deprecated: use github.com/ipfs/go-libipfs/bitswap/client.ProviderSearchDelay instead.
RebroadcastDelay overwrites the global provider rebroadcast delay Deprecated: use github.com/ipfs/go-libipfs/bitswap/client.RebroadcastDelay instead.
Deprecated: use github.com/ipfs/go-libipfs/bitswap/client.SetSimulateDontHavesOnTimeout instead.
Deprecated: use github.com/ipfs/go-libipfs/bitswap/client.WithBlockReceivedNotifier instead.
Configures the Client to use given tracer.

# Type aliases

Deprecated: use github.com/ipfs/go-libipfs/bitswap/client.BlockReceivedNotifier instead.
Client instances implement the bitswap protocol.
Option defines the functional option type that can be used to configure bitswap instances Deprecated: use github.com/ipfs/go-libipfs/bitswap/client.Option instead.
Stat is a struct that provides various statistics on bitswap operations Deprecated: use github.com/ipfs/go-libipfs/client.Stat instead.