Skip to content

Fix: signers derive proposal reward cycle - #7836

Open
brice-stacks wants to merge 3 commits into
stacks-network:mainfrom
brice-stacks:fix/signer-derive-proposal-reward-cycle
Open

brice-stacks wants to merge 3 commits into
stacks-network:mainfrom
brice-stacks:fix/signer-derive-proposal-reward-cycle

Conversation

@brice-stacks

Copy link
Copy Markdown
Contributor

Signers now take a block proposal's burn height and reward cycle from the sortition that elected the block's tenure, and ignore proposals that misstate them, rather than trusting the values the miner sends alongside the block.

A block proposal for a tenure that the signer's node has not yet processed is rejected with the transient NoSortitionView reason, so the miner re-proposes it once the signer has caught up.

Signers now take a block proposal's burn height and reward cycle from
the sortition that elected the block's tenure, and ignore proposals that
misstate them, rather than trusting the values the miner sends alongside
the block.

A block proposal for a tenure that the signer's node has not yet
processed is rejected with the transient `NoSortitionView` reason, so
the miner re-proposes it once the signer has caught up.

This branch has not been deployed

No deployments
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