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

use <= current epoch + eMax for latest pool retirement #1511

Merged
merged 1 commit into from
Jun 2, 2020

Conversation

JaredCorduan
Copy link
Contributor

The protocol parameter eMax determines how far out in advance a stake pool can stage a retirement.

Previously current epoch + eMax was the first unallowed epoch. And since a stake pool must in a future epoch, this means that if eMax = 1 then retirement is not possible. The parameter eMax should really be set to something much higher than 1, but making current epoch + eMax the last allowed epoch is perhaps more intuitive.

closes IntersectMBO/cardano-node#1121

Copy link
Contributor

@uroboros uroboros left a comment

Choose a reason for hiding this comment

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

👍

@JaredCorduan JaredCorduan merged commit 91fdaf3 into master Jun 2, 2020
@iohk-bors iohk-bors bot deleted the jc/use-lte-for-eMax branch June 2, 2020 16:20
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.

[BUG] - Stake pool deregistration not allowed when intended and max epoch are equal
3 participants