Skip to content

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.
@gammazero gammazero requested a review from lidel September 28, 2024 03:38
@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

Co-authored-by: Marcin Rataj <lidel@lidel.org>
@gammazero gammazero merged commit f66ecf7 into main Sep 30, 2024
@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.

3 participants