Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: ability to configure bitswap wanthave replacement #165

Merged
merged 5 commits into from
Sep 30, 2024

Conversation

gammazero
Copy link
Contributor

A new flag and environ var is available to specify the maximum blocksize that bitswap will replace WantHave with WantBlock responses. A value of zero diables replacement and avoids block size lookup for WantHave requests. This option only applies when bitswap is enabled.

Depends on: ipfs/boxo#672

A new flag and environ var is available to specify the maximum blocksize that bitswap will replace WantHave with WantBlock responses. A value of zero diables replacement and avoids block size lookup for WantHave requests. This option only applies when bitswap is enabled.
@lidel lidel changed the title Add ability to configure bitswap wanthave replacement feat: ability to configure bitswap wanthave replacement Sep 30, 2024
Copy link
Member

@lidel lidel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

CHANGELOG.md Outdated Show resolved Hide resolved
Co-authored-by: Marcin Rataj <[email protected]>
@gammazero gammazero merged commit f66ecf7 into main Sep 30, 2024
13 checks passed
@gammazero gammazero deleted the feat/config-wanthave-replacement branch September 30, 2024 21:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants