Skip to content
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

add behaviour penalty threshold #377

Merged
merged 1 commit into from
Aug 20, 2020
Merged

Conversation

vyzo
Copy link
Collaborator

@vyzo vyzo commented Aug 20, 2020

Adds a (optional) threshold for behaviour penalties, above which it activates.
This is similar to the IPColocation threshold.
Behaviour is unchanged if the threshold is unset (0).

Rationale: it has been observed that some overloaded lotus nodes fail to to follow up to IWANT requests; this threshold allows us to reduce the impact and only penalize the peer if the misbehaviour is persistent.

@vyzo vyzo merged commit b7c28b5 into master Aug 20, 2020
@vyzo vyzo deleted the feat/behaviour-penalty-threshold branch August 20, 2020 15:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants