-
Notifications
You must be signed in to change notification settings - Fork 40
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
Feature: reputation of peer #1347
Conversation
Signed-off-by: Dmitriy Khaustov aka xDimon <[email protected]>
Codecov Report
@@ Coverage Diff @@
## master #1347 +/- ##
==========================================
- Coverage 24.40% 24.24% -0.17%
==========================================
Files 621 622 +1
Lines 23062 23235 +173
Branches 12030 12143 +113
==========================================
+ Hits 5629 5634 +5
- Misses 12226 12384 +158
- Partials 5207 5217 +10
📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just general comment that would be good to add trace logs whenever reputation of node changes
Signed-off-by: Dmitriy Khaustov aka xDimon <[email protected]>
Signed-off-by: Dmitriy Khaustov aka xDimon <[email protected]>
Signed-off-by: Dmitriy Khaustov aka xDimon <[email protected]>
Signed-off-by: Dmitriy Khaustov aka xDimon <[email protected]>
Signed-off-by: Dmitriy Khaustov aka xDimon <[email protected]>
Signed-off-by: Dmitriy Khaustov aka xDimon <[email protected]>
Signed-off-by: Dmitriy Khaustov aka xDimon [email protected]
Referenced issues
Resolves #1316
Description of the Change
ReputationRepository (ex. PeerRatingRepository) has refactored.
ReputationChange has implemented.
Added change of reputation where it is needed.
Added tiker for smooth zeroing of reputation.
Additional checks in grandpa.
Benefits
Ability to manage connected peers by rating.