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: option to not read size of blocks for want-have requests #672

Merged
merged 10 commits into from
Sep 27, 2024

refactor: defaults.DefaultWantHaveReplaceSize

db2d8bc
Select commit
Loading
Failed to load commit list.
Merged

feat: option to not read size of blocks for want-have requests #672

refactor: defaults.DefaultWantHaveReplaceSize
db2d8bc
Select commit
Loading
Failed to load commit list.
Codecov / codecov/patch succeeded Sep 26, 2024 in 0s

73.91% of diff hit (target 60.18%)

View this Pull Request on Codecov

73.91% of diff hit (target 60.18%)

Annotations

Check warning on line 78 in bitswap/options.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

bitswap/options.go#L77-L78

Added lines #L77 - L78 were not covered by tests

Check warning on line 127 in bitswap/server/internal/decision/blockstoremanager.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

bitswap/server/internal/decision/blockstoremanager.go#L126-L127

Added lines #L126 - L127 were not covered by tests

Check warning on line 137 in bitswap/server/internal/decision/blockstoremanager.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

bitswap/server/internal/decision/blockstoremanager.go#L134-L137

Added lines #L134 - L137 were not covered by tests

Check warning on line 145 in bitswap/server/internal/decision/blockstoremanager.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

bitswap/server/internal/decision/blockstoremanager.go#L144-L145

Added lines #L144 - L145 were not covered by tests

Check warning on line 706 in bitswap/server/internal/decision/engine.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

bitswap/server/internal/decision/engine.go#L704-L706

Added lines #L704 - L706 were not covered by tests

Check warning on line 283 in bitswap/server/server.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

bitswap/server/server.go#L277-L283

Added lines #L277 - L283 were not covered by tests