-
Notifications
You must be signed in to change notification settings - Fork 1.2k
feat(kad): allow to explicitly set Mode::{Client,Server}
#4132
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 20 commits
Commits
Show all changes
33 commits
Select commit
Hold shift + click to select a range
ef09472
feat: Add Kademlia::set_explicit_mode
dariusc93 a62fa23
chore: Return on ExplicitMode::Auto
dariusc93 94e8ddf
chore: Formatted code
dariusc93 d9f7ab8
chore: Remove ExplicitMode and add auto_mode and waker field
dariusc93 048607b
chore: Remove ExplicitMode
dariusc93 437be0f
chore: Move into a single function
dariusc93 884ce0c
chore: Group fields together
dariusc93 6faeade
chore: added test set_client_to_server_mode
dariusc93 b7f55b7
Merge branch 'master' into kad-explicit-mode
dariusc93 ce2bb2a
chore: Update test
dariusc93 7e93c8b
Merge branch 'kad-explicit-mode' of github.com:dariusc93/rust-libp2p …
dariusc93 bb42582
chore: Update CHANGELOG.md
dariusc93 6521bff
Merge branch 'master' into kad-explicit-mode
dariusc93 35f8013
Merge branch 'kad-explicit-mode' of github.com:dariusc93/rust-libp2p …
dariusc93 0423bcb
chore: Redetermine mode when setting mode to None
dariusc93 a3f43ce
Update protocols/kad/tests/client_mode.rs
dariusc93 7974cef
Update protocols/kad/src/behaviour.rs
dariusc93 f53172c
Merge branch 'kad-explicit-mode' of github.com:dariusc93/rust-libp2p …
dariusc93 bc260c7
fix: Correct test
dariusc93 f23a7f9
chore: Format code
dariusc93 82be8cd
Update protocols/kad/CHANGELOG.md
dariusc93 9af4772
chore: if statement into reconfigure_mode
dariusc93 bb18f70
chore: Move log into reconfigure_mode
dariusc93 5613545
Update protocols/kad/src/behaviour.rs
dariusc93 9ed97ed
Merge branch 'master' into kad-explicit-mode
dariusc93 39481fe
chore: Rename method
dariusc93 6e37c3c
chore: Return early and minor cleanup
dariusc93 aed03b7
Update protocols/kad/src/behaviour.rs
dariusc93 2b588e2
Merge branch 'kad-explicit-mode' of github.com:dariusc93/rust-libp2p …
dariusc93 6f500d3
Merge branch 'master' into kad-explicit-mode
dariusc93 365b3c5
chore: Update version
dariusc93 2ffb5ff
Merge branch 'kad-explicit-mode' of github.com:dariusc93/rust-libp2p …
dariusc93 2592177
chore: Bump version
dariusc93 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
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
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
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.