Documentation
¶
Index ¶
- Variables
- type Bitswapdeprecated
- type Option
- func EngineBlockstoreWorkerCount(count int) Optiondeprecated
- func EngineTaskWorkerCount(count int) Optiondeprecated
- func MaxOutstandingBytesPerPeer(count int) Optiondeprecated
- func ProvideEnabled(enabled bool) Optiondeprecated
- func ProviderSearchDelay(newProvSearchDelay time.Duration) Optiondeprecated
- func RebroadcastDelay(newRebroadcastDelay delay.D) Optiondeprecated
- func SetSendDontHaves(send bool) Optiondeprecated
- func SetSimulateDontHavesOnTimeout(send bool) Optiondeprecated
- func TaskWorkerCount(count int) Optiondeprecated
- func WithPeerBlockRequestFilter(pbrf libipfs.PeerBlockRequestFilter) Optiondeprecated
- func WithScoreLedger(scoreLedger server.ScoreLedger) Optiondeprecated
- func WithTargetMessageSize(tms int) Optiondeprecated
- func WithTaskComparator(comparator libipfs.TaskComparator) Optiondeprecated
- func WithTracer(tap tracer.Tracer) Optiondeprecated
- type PeerBlockRequestFilterdeprecated
- type Statdeprecated
- type TaskComparatordeprecated
- type TaskInfodeprecated
- type Tracerdeprecated
Constants ¶
This section is empty.
Variables ¶
var HasBlockBufferSize = libipfs.HasBlockBufferSize
Deprecated: use github.com/ipfs/go-libipfs/bitswap.HasBlockBufferSize instead
Functions ¶
This section is empty.
Types ¶
type Bitswap
deprecated
Deprecated: use github.com/ipfs/go-libipfs/bitswap.Bitswap instead
func New
deprecated
func New(ctx context.Context, net network.BitSwapNetwork, bstore blockstore.Blockstore, options ...Option) *Bitswap
Deprecated: use github.com/ipfs/go-libipfs/bitswap.New instead
type Option ¶ added in v0.0.6
Option is interface{} of server.Option or client.Option or func(*Bitswap) wrapped in a struct to gain strong type checking. Deprecated: use github.com/ipfs/go-libipfs/bitswap.Option instead
func EngineBlockstoreWorkerCount
deprecated
added in
v0.3.3
func EngineTaskWorkerCount
deprecated
added in
v0.4.0
func MaxOutstandingBytesPerPeer
deprecated
added in
v0.4.0
func ProvideEnabled
deprecated
added in
v0.0.5
func ProviderSearchDelay
deprecated
added in
v0.1.2
func RebroadcastDelay
deprecated
added in
v0.1.2
func SetSendDontHaves
deprecated
added in
v0.2.0
func SetSimulateDontHavesOnTimeout
deprecated
added in
v0.4.0
func TaskWorkerCount
deprecated
func WithPeerBlockRequestFilter
deprecated
added in
v0.6.0
func WithPeerBlockRequestFilter(pbrf libipfs.PeerBlockRequestFilter) Option
Deprecated: use github.com/ipfs/go-libipfs/bitswap.WithPeerBlockRequestFilter instead
func WithScoreLedger
deprecated
added in
v0.3.0
func WithScoreLedger(scoreLedger server.ScoreLedger) Option
Deprecated: use github.com/ipfs/go-libipfs/bitswap.WithScoreLedger instead
func WithTargetMessageSize
deprecated
added in
v0.6.0
func WithTaskComparator
deprecated
added in
v0.5.0
func WithTaskComparator(comparator libipfs.TaskComparator) Option
Deprecated: use github.com/ipfs/go-libipfs/bitswap.WithTaskComparator instead
func WithTracer
deprecated
added in
v0.5.0
type PeerBlockRequestFilter
deprecated
added in
v0.6.0
type PeerBlockRequestFilter = libipfs.PeerBlockRequestFilter
Deprecated: use github.com/ipfs/go-libipfs/bitswap.PeerBlockRequestFilter instead
type TaskComparator
deprecated
added in
v0.5.0
type TaskComparator = libipfs.TaskComparator
Deprecated: use github.com/ipfs/go-libipfs/bitswap.TaskComparator instead
Directories
¶
Path | Synopsis |
---|---|
Package bitswap implements the IPFS exchange interface with the BitSwap bilateral exchange protocol.
|
Package bitswap implements the IPFS exchange interface with the BitSwap bilateral exchange protocol. |
wantlist
Package wantlist implements an object for bitswap that contains the keys that a given peer wants.
|
Package wantlist implements an object for bitswap that contains the keys that a given peer wants. |