-
Notifications
You must be signed in to change notification settings - Fork 38.7k
Fix 0.12 release notes on block relaying #8320
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
Fix 0.12 release notes on block relaying #8320
Conversation
The previous information about block relaying in pruned mode suggested that blocks are relayed only to nodes that support BIP 130, which is not true.
6b0b57f to
d6dc1bc
Compare
|
Hm, thanks for trying to help, but isn't it a bit too late to change 0.12.0 release notes? The release notes in |
|
Well, I’ve been reading the 0.12.0 release notes to learn whether the newest Bitcoin release (0.12.1) supports block relaying in pruned mode. If someone wants to upgrade from, let’s say, 0.10.0 to 0.12.1, then he needs to check all intermediate release notes to know what features have been added. 0.12.0 release notes even explicitly reference earlier notes (on block relaying). Release notes are therefore a technical documentation, not only a historical document. My peer which connects to Bitcoin Core doesn’t currently support Besides that, even if we assume that release notes are only documenting past changes (not “being a historical document in itself”), then reflecting those changes accurately has some historical value. |
|
Yes, ok, note that I'm not against this change, just afraid it's a bit of a waste of effort.
That's a common misconception - the release notes are not meant as technical documentation, just a summary of changes. Documentation where you have to browse back release notes to find why something is the case is the worst kind of documentation, apart from having to check git history (though arguably better than no documentatoin at all). I do think we need proper, up to date documentation about how block relaying works. E.g. having it documented in the developer documentation: https://bitcoin.org/en/developer-documentation would be nice. |
|
I’ve assumed implicitly that merging that change should also somehow mean changing the document on bitcoin.org. Another version being already sent by email would indeed constitute some discrepancy… Well-written release notes may be very useful when upgrading and reference documentation may be useful in other cases — they are complementary. To summon a reference, Django’s patch review checklist states that both new features and backwards incompatible changes must have a note in release notes; the former must also have ordinary documentation and tests. Bitcoin apparently has no such policy, as pull request #6148 has neither documentation nor tests, but it may be a pattern worth heading to. On the other hand, if release notes are generally not amendable and tied to a particular tag, then there is a question why after making a release they are still keeped under version control and moved to the |
Instead of duplicating the data, what about having a "single truth" somewhere lying around? E.g. the master branch of the repo? |
But release notes aren't supposed to change post-facto. No project does that AFAIK. |
Django has been doing that. Some examples:
(Not judging here whether it is good or not). |
d6dc1bc Fix 0.12 release notes on block relaying (Krzysztof Jurewicz)
d6dc1bc Fix 0.12 release notes on block relaying (Krzysztof Jurewicz)
d6dc1bc Fix 0.12 release notes on block relaying (Krzysztof Jurewicz)
The previous information about block relaying in pruned mode suggested that blocks in pruned mode are relayed only to nodes that support BIP 130, which is not true. Block relaying should have little to do with the
sendheaderscommand and apparently it is indeed that way, at least when looking at pull requests #6148 and #7129.