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: allow sp to declare delegation with validator for higher order priority #54

Merged
merged 6 commits into from
Jun 9, 2023

Conversation

LeoRSao
Copy link
Contributor

@LeoRSao LeoRSao commented May 30, 2023

  • during storage initialization, it must provide its delegated validator. if the given validator is active and its share >= 10% of validators' total shares, then this node can initialize successfully with super role
  • node role will downgrade in below conditions:
    • validator is inactive(jailed/unbond status)
    • node share < 10% of validators' total shares
  • node role will upgrade if
    • validator is active again
    • node share >= 10% of validators' total shares
  • upon each epoch, 1 node will be selected from super nodes in turn.
  • during timeout/migration, node will be selected from super nodes in turn.

@LeoRSao LeoRSao requested review from notatall0, SterlynLee and mattstweb and removed request for notatall0 May 30, 2023 09:55
@mattkb mattkb merged commit 6a6ceab into develop Jun 9, 2023
3 checks passed
@mattkb mattkb deleted the feat/validator_as_sp branch August 25, 2023 08:57
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.

None yet

4 participants