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

Appeals: implement sequential appeals fail #604

Open
kstroobants opened this issue Nov 15, 2024 · 0 comments
Open

Appeals: implement sequential appeals fail #604

kstroobants opened this issue Nov 15, 2024 · 0 comments
Assignees

Comments

@kstroobants
Copy link
Contributor

Transaction is accepted -> appeal. Instead of adding N + 2 validators to process the appeal, use the following formula.

  • add n + 2 validators, when appealFailed=0
  • add (2 * appealFailed * N + 1) + 2 validators, when appealFailed>0
    appealFailed will be initialised at 0 and will be set to 0 when the appeal is successful.

Add appealFailed variable to the transaction model.

Example: Transaction goes to accepted. Appeal requested. Set P of N + 2 validators selected. Appeal fails. Appeal requested again. Set Q of (2 * N + 1) + 2 validators selected. Note that Q = [P + (N + 1) selected validators]. Appeal fails. Appeal requested again. Set R of (4 * N + 1) + 2 validators selected. Note that R = [Q + (2 * N) selected validators]. Appeal fails. Appeal requested again. Set S of (6 * N + 1) + 2 validators selected. Note that S = [R + (2 * N) selected validators]. etc.

@kstroobants kstroobants self-assigned this Nov 15, 2024
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

No branches or pull requests

1 participant