forked from libp2p/rust-libp2p
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Gossipsub v1.1 various improvements (libp2p#49)
* remove dbg! calls and add debug logging for peer scoring * export MessageAcceptance and rename validate_message to report_message_validation_result to also signal that this message should get called in case of invalid messages * fix double reject_message call * gossip promises are fulfilled already on receiving the message without validation * derive debug for MessageAcceptance * add helper method to get config builder from existing config * allow adding/changing TopicScoreParams during runtime * more debug output for messages from self * fixes incompatibility with anonymous PeerId in lighthouse * cargo fmt * more debug output for broken promises
- Loading branch information
1 parent
83280db
commit 5d93c0a
Showing
6 changed files
with
84 additions
and
61 deletions.
There are no files selected for viewing
This file contains 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 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 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 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 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.