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

Revert change to stake modifier #1566

Merged
merged 2 commits into from
Nov 14, 2022
Merged

Revert change to stake modifier #1566

merged 2 commits into from
Nov 14, 2022

Conversation

Bushstar
Copy link
Member

This PR reverts the changes to the stake modifier made as part of the updatemasternode RPC call.

The original update masternode call allowed the operator address to the changed in a single block, as this was used as part of the stake modifier calculations this meant that an address could be pre-calculated that would allow the masternode to mint the next block and with another operator change the block after and so on. To combat this we changed the stake modifier to use the owner address instead.

Since that time we added the ability to change the owner address, but added a 1,008 block wait time before the change came into effect, making the stake modifier change redundant.

@prasannavl prasannavl merged commit 6fb9a1e into master Nov 14, 2022
@prasannavl prasannavl deleted the revert-stake-modifier branch November 14, 2022 16:10
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