-
Notifications
You must be signed in to change notification settings - Fork 179
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Networking] Handling iHave overpromising part-1 (#4556)
* adds scoring parameters for mesh message delivery * refactors config-based approach to override-based approach * generates mocks * adds a documentation * extends godoc * adds test skeleton * fixes test * implements under-performing test * adds test for under-delivery in two topics * refactors test fixture * wip * err fix * applies refactoring * fixes test * parallelize the fixture * adds logs for overriding parameters * adds logging for network type to builder * fmt * renames a fixture function * adds warn logging for overriding score parameters * revises godocs * adds readme * fixes scoring test * fixing lint * lint fix * improves test quality * Update network/p2p/builder.go Co-authored-by: Tarak Ben Youssef <50252200+tarakby@users.noreply.github.com> --------- Co-authored-by: Tarak Ben Youssef <50252200+tarakby@users.noreply.github.com>
- Loading branch information
1 parent
e3411ef
commit e7dc893
Showing
21 changed files
with
857 additions
and
186 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
375 changes: 370 additions & 5 deletions
375
insecure/integration/functional/test/gossipsub/scoring/scoring_test.go
Large diffs are not rendered by default.
Oops, something went wrong.
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.