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

Warning about "Unknown block versions" should disappear if the amount of unknown version blocks decreases #10918

Closed
ghost opened this issue Jul 24, 2017 · 1 comment
Labels

Comments

@ghost
Copy link

ghost commented Jul 24, 2017

bitcoind version

bitcoind 0.14.2

What happened

Some days/weeks ago I got an alert from bitcoind:
Warning: Unknown block versions being mined! It's possible unknown rules are in effect

This warning (yellow warning line on the dashboard screen) remained, even after the amount of unexpected version blocks decreased to 13/100 blocks, see debug.log:

2017-07-24 16:23:37 UpdateTip: new best=0000000000000000013b4a70548846b8902da69791abcc8caaf3b808eba80930 height=477379 version=0x20000002 log2_work=86.817098 tx=241550958 date='2017-07-24 16:23:45' progress=1.000000 cache=100.7MiB(50832tx) warning='13 of last 100 blocks have unexpected version'

Only after restarting bitcoind, the yellow alert line in the GUI did not appear again.

What I would suggest

I would suggest that the warning message automatically disappears if the unknown version block count gets below a threshold which is some percentage lower than the activation threshold (to prevent state flapping), so no restart of bitcoind is needed to make the warning disappear.

@laanwj laanwj added the GUI label Jul 27, 2017
@achow101
Copy link
Member

That is expected behavior and should most certainly not go away. With versionbits, the version number will reset to the default BIP 9 version number, so if new network rules had activated, you wouldn't know that there may have been new network rules in effect.

@ghost ghost closed this as completed Jul 4, 2018
@bitcoin bitcoin locked as resolved and limited conversation to collaborators Sep 8, 2021
This issue was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants