stacks-network / stacks-core

The Stacks blockchain implementation
https://docs.stacks.co
GNU General Public License v3.0
3.01k stars 671 forks source link

Check if we are the sortition winner before attempting to mock sign #5163

Closed jferrant closed 2 months ago

jferrant commented 2 months ago

We were originally spamming wth messages that we were writing mock proposals and mock blocks when we were actually failing to do so as we were not the sortition winner. This not only fixes it to CORRECTLY report accepted == false as an error to send miner messages, but it also updates the miner to not bother attempting to write a mock proposal/block when it is not the last sortition winner.

blockstack-devops commented 3 weeks ago

This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.