-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Recalculate committee every 28 blocks #1907
Recalculate committee every 28 blocks #1907
Conversation
Right, It should never change, it's defined in the protocol, not in the policy. |
@Qiao-Jin can you solve the conflict? |
@erikzhang What do you think of this plan? (1) Recalculate committee every 28 blocks (2) Distribute committee members' incentive every 28 blocks upon recalculating committee members (3) Distribute voters incentive every 28 blocks upon recalculating committee members (4) Distribute neo holders incentive every block |
I think the load of distributing incentive should be apportioned to each block. |
As long as committee members don't change durign the 28 blocks I think both is OK |
Conflicts. |
Have resolved |
This PR changes committee/validator calculation from every block to every 28 blocks to realize this comment in #1848
In this PR I assume that ProtocolSettings.Default.ValidatorsCount does not change. Please correct me if I'm wrong.