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

Check blocks for nBudgetPaymentsStartBlock #715

Closed
wants to merge 1 commit into from
Closed

Check blocks for nBudgetPaymentsStartBlock #715

wants to merge 1 commit into from

Conversation

UdjinM6
Copy link

@UdjinM6 UdjinM6 commented Mar 6, 2016

We should only allow block to pass as a budget superblock if it came at or after Params().GetConsensus().nBudgetPaymentsStartBlock. There is already a check for this later but we can (should) fail earlier too. Especially for !masternodeSync.IsSynced() which otherwise would return true in some undesirable cases (e.g. regtest).

…r Params().GetConsensus().nBudgetPaymentsStartBlock
@UdjinM6 UdjinM6 mentioned this pull request Mar 6, 2016
@schinzelh schinzelh closed this in c40fccc Mar 6, 2016
schinzelh pushed a commit that referenced this pull request Mar 6, 2016
@UdjinM6 UdjinM6 deleted the budgetblocksValidation branch March 7, 2016 03:03
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.

1 participant