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

Failed block leads to hot loop #459

Closed
monstrobishi opened this issue May 30, 2021 · 1 comment · Fixed by #457
Closed

Failed block leads to hot loop #459

monstrobishi opened this issue May 30, 2021 · 1 comment · Fixed by #457
Assignees
Milestone

Comments

@monstrobishi
Copy link
Contributor

What happened:

When encountering a failed block:

2021-05-29T17:12:39Z InvalidChainFound: invalid block=4396f2c70d069604de9dfe40ca54f1c17a0a49858fe3e23077b3d0157c08f147  height=878492  log2_work=80.975446  date=2021-05-27T18:40:27Z
2021-05-29T17:12:39Z InvalidChainFound:  current best=79b68434747e632c50b17fb9617a948631edaa61d1dcab2462828c2345eed9da  height=878491  log2_work=80.975446  date=2021-05-27T18:40:00Z
2021-05-29T17:12:39Z ERROR: ConnectTip: ConnectBlock 4396f2c70d069604de9dfe40ca54f1c17a0a49858fe3e23077b3d0157c08f147 failed, high-hash, proof of stake failed (code 16)
2021-05-29T17:12:39Z ERROR: ConnectBlock: Consensus::CheckBlock: high-hash, proof of stake failed (code 16)

Node hot loops over it 2000 times a second:

cat ~/.defi/debug.log | grep -o '2021-05-29T17:12:39Z ERROR: ConnectTip' | wc -l
2037

What you expected to happen:

Should either mark it invalid and move on, then reconsider it later, or at least sleep between CheckBlock.

How to reproduce it (as minimally and precisely as possible):

What are your environment parameters:

Anything else we need to know?:

@defichain-bot
Copy link
Member

@monstrobishi: Thanks for opening an issue, it is currently awaiting triage.

The triage/accepted label can be added by foundation members by writing /triage accepted in a comment.

Details

I am a bot created to help the DeFiCh developers manage community feedback and contributions. You can check out my manifest file to understand my behavior and what I can do. If you want to use this for your project, you can check out the DeFiCh/oss-governance-bot repository.

@monstrobishi monstrobishi linked a pull request May 30, 2021 that will close this issue
@monstrobishi monstrobishi added this to the 1.7.3 milestone May 30, 2021
@uzyn uzyn removed the needs/triage label Jul 26, 2021
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 a pull request may close this issue.

3 participants