-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Added CID filtering to Bitswap server #10416
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
Merged
Merged
Changes from 30 commits
Commits
Show all changes
35 commits
Select commit
Hold shift + click to select a range
f2e9415
added CID filtering to polkadot-sdk's Bitswap server
x3c41a 599b739
refactor
x3c41a 69e39ca
reworked filtering
x3c41a 4f9cc3d
removed newline
x3c41a c41bfdd
Merge branch 'master' into cid_filtering
x3c41a af1e599
updated comment
x3c41a 7208cad
fmt
x3c41a 8ad5a9c
added prodc
x3c41a 003dd56
added prodc
x3c41a d7a8725
updated PRdoc
x3c41a 4d69697
updated PRdoc
x3c41a 4eaa0b2
Merge branch 'master' into cid_filtering
x3c41a 78f3b0b
removed cid dependency, simplified filtering
x3c41a baa2427
reverted bitswap.rs
x3c41a cc6b60a
updated litep2p dependency
x3c41a cc54be4
use new litep2p types
x3c41a 243e036
removed cid dependency
x3c41a 17eef01
removed dep
x3c41a 8ea0e2d
reverted substrate/client/network/src/bitswap/mod.rs
x3c41a 76c68f0
added is_valid_cid
x3c41a 9cc549c
added cid as dev dependency and fixed tests
x3c41a 68523e6
changed log level
x3c41a 4907631
added newline in the end
x3c41a 00a4f8e
Merge branch 'master' into cid_filtering
x3c41a 2dae245
added cargo.lock
x3c41a 7a463b2
improved version filtering
x3c41a 5773d20
added is_cid_supported check to bitswap server
x3c41a 58c9a70
Merge branch 'master' into cid_filtering
x3c41a d807753
Update from github-actions[bot] running command 'fmt'
github-actions[bot] f043a94
Merge branch 'master' into cid_filtering
x3c41a 672a81a
Update substrate/client/network/Cargo.toml
bkontur 9e859e0
NIt
bkontur beff085
Apply suggestions from code review
bkontur a9c4b4a
nit
bkontur 7cd70fd
Update prdoc/pr_10416.prdoc
bkontur File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,10 @@ | ||
| title: 'Added CID filtering to Bitswap server' | ||
| doc: | ||
| - audience: Node Dev | ||
| description: |- | ||
| This PR adds CID (Content Identifier) validation and filtering to the Bitswap server | ||
| implementation. The server now validates incoming CID requests before processing them. | ||
|
|
||
| crates: | ||
| - name: sc-network | ||
| bump: patch | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
|
bkontur marked this conversation as resolved.
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.