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

Mining: "No UTXOs" bug causes missed block commits #2379

Closed
jcnelson opened this issue Jan 24, 2021 · 2 comments
Closed

Mining: "No UTXOs" bug causes missed block commits #2379

jcnelson opened this issue Jan 24, 2021 · 2 comments

Comments

@jcnelson
Copy link
Member

jcnelson commented Jan 24, 2021

When mining blocks, I have noticed that the error message No UTXOs for $PUBLIC_KEY is correlated strongly with Invalid block commit: missed target block errors. Moreover, all of the Invalid block commit: missed target block errors indicate that the block-commit was off by one block -- if the intended_modulus was n, then actual_modulus is invariably (n + 1) mod WINDOW_SIZE. This suggests to me that there may be a causal relationship between these two problems -- if the node can't find any UTXOs, it uses the block-commit intended for the last burn block.

I've attached the output of egrep 'No UTXOs|16sAXi1jxhxKCfY84hubDdnFNaAhqd5t49' -i /data/stacks/mainnet/logs/logs.out > /tmp/errors.txt to this issue to show you what I mean.
errors.txt

@project-bot project-bot bot added this to New Issues in Stacks Blockchain Board Jan 24, 2021
@diwakergupta diwakergupta moved this from New Issues to In progress in Stacks Blockchain Board Jan 27, 2021
@lgalabru
Copy link
Member

lgalabru commented Jan 28, 2021

Should be addressed with #2383

@lgalabru
Copy link
Member

lgalabru commented Feb 5, 2021

@lgalabru lgalabru closed this as completed Feb 5, 2021
Stacks Blockchain Board automation moved this from In progress to Done Feb 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Development

No branches or pull requests

2 participants