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

feat: Add jail sentence backoff #1045

Merged
merged 2 commits into from
Nov 28, 2023

Conversation

byte-bandit
Copy link
Contributor

@byte-bandit byte-bandit commented Nov 28, 2023

Related Github tickets

Background

This change introduces a dynamic backoff that increases the given sentence to a jailed validator should they become jailed repeatedly within short periods of time.

This is done to incentivise validators to examine their setup and ensure they remain part of the active validator set, as well as reduce the amount of valset changes resulting from frequent jailings.

Testing completed

  • test coverage exists or has been added/updated
  • tested in a private testnet

Breaking changes

  • I have checked my code for breaking changes
  • If there are breaking changes, there is a supporting migration.

This change introduces a dynamic backoff that increases the given
sentence to a jailed validator should they become jailed repeatedly
within short periods of time.

This is done to incentivise validators to examine their setup
and ensure they remain part of the active validator set, as well
as reduce the amount of valset changes resulting from frequent
jailings.
Copy link
Contributor

@taariq taariq left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We already have NO votes for this! LGTM!

@taariq taariq merged commit 7e509e8 into palomachain:master Nov 28, 2023
2 checks passed
@taariq taariq deleted the clohr/jail-duration branch November 28, 2023 13:49
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