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

stake: Comment on max SSGen outputs with treasury. #2664

Merged
merged 1 commit into from
Jun 14, 2021

Conversation

rstaudt2
Copy link
Member

@rstaudt2 rstaudt2 commented Jun 12, 2021

This adds a comment to MaxOutputsPerSSGen indicating that if the treasury agenda is active, an OP_RETURN TV (treasury vote) output is additionally included in the last position when voting on a treasury spend.

The MaxOutputsPerSSGen value does NOT account for this output, and should technically be increased by 1, but since the treasury agenda is already active, this cannot be updated without a consensus vote.

blockchain/stake/staketx.go Outdated Show resolved Hide resolved
@rstaudt2 rstaudt2 changed the title stake: Fix max SSGen outputs when treasury active. stake: Comment on max SSGen outputs with treasury. Jun 12, 2021
This adds a comment to MaxOutputsPerSSGen indicating that if the
treasury agenda is active, an OP_RETURN TV (treasury vote) output is
additionally included in the last position when voting on a treasury
spend.

The MaxOutputsPerSSGen value does NOT account for this output, and
should technically be increased by 1, but since the treasury agenda is
already active this cannot be updated without a consensus vote.
@davecgh davecgh merged commit 79b6fbc into decred:master Jun 14, 2021
@davecgh davecgh added this to the 1.7.0 milestone Jun 14, 2021
@rstaudt2 rstaudt2 deleted the max-ssgen-outputs-fix branch July 2, 2021 16: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.

3 participants