ipfs / ipfs/boxo

Bitswap: Expose peer-pruning option

Open
#946 0 comments 1 reaction 0 assignees View on GitHub
need/analysis P2
Dominant language
Go
Stars
316
Forks
163
Avg merge
4d 12h
Merged PRs (30d)
8

Description

There is a parameter [here](https://github.com/ipfs/boxo/blob/364c5040ec91ec8e2a61446e9921e9225704c34d/bitswap/client/internal/session/sessionwantsender.go#L16).

Any peer that responds with 16 dont-haves is pruned (availability turned off). We might expose it as an option as it seems relatively relevant wrt to bitswap traffic control.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.