-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Chain inconsistency from testnet Heartwood activation #4496
Comments
The comparison failure is:
|
So it looks like |
Ah, this is caused by there being testnet miners that hadn't upgraded. The chain inconsistency check is triggered by a block header's height, but
They both happen to have the same The solution will be to only enforce that Heartwood consistency check for block headers that are marked as valid in the chain DB (as we can't make any assertions about invalid block headers). |
Closed by #4499. |
#4499 was an insufficient fix, because it did not consider the case where a post-Heartwood node wrote a block index object for a header from a non-upgraded peer. In that case the version in the block index entry is |
The remaining issue was fixed by #4503. |
I ran my node that was pre-Heartwood, and it synced up through Heartwood successfully. Restarted to add
mineraddress
to my config, and hit the following error:I think this is the same issue that others are seeing. Not sure yet whether it is resolved by a reindex, or whether the issue persists.
The text was updated successfully, but these errors were encountered: