This breaks the interface but it was tagged with 'Needs backport' and I think it is useful. Other opinions?
[0.12.2] backport: getblockchaininfo: make bip9_softforks an object, not an array. #8186
pull MarcoFalke wants to merge 2 commits into bitcoin:0.12 from MarcoFalke:Mf1606-rpcBip9Backport changing 5 files +17 −20-
MarcoFalke commented at 10:50 PM on June 9, 2016: member
- MarcoFalke added the label RPC/REST/ZMQ on Jun 9, 2016
- MarcoFalke added the label Backport on Jun 9, 2016
-
laanwj commented at 6:44 AM on June 22, 2016: member
Nah I think it makes sense to backport this in preparation for 0.13. Maybe mention in the release notes? Not sure how many people rely on this programmatically.
- MarcoFalke force-pushed on Jun 22, 2016
-
feaa4ded1c
getblockchaininfo: make bip9_softforks an object, not an array.
Github-Pull: #7863 Rebased-From: 85c807c9ead3215021503348e75851900dfa08db d12760b16ac30734b5e3b047df8aaf6564e927db
- MarcoFalke force-pushed on Jun 22, 2016
- MarcoFalke force-pushed on Jun 22, 2016
-
MarcoFalke commented at 12:31 PM on June 23, 2016: member
Updated the release notes just to be safe.
- MarcoFalke added this to the milestone 0.12.0 on Jul 7, 2016
-
MarcoFalke commented at 11:20 AM on July 11, 2016: member
Anything holding this back?
-
laanwj commented at 11:26 AM on July 11, 2016: member
Nothing specific, just lack of review and testing as usual with backports. I'll take a look at it.
-
in doc/release-notes.md:None in fa038c41c5 outdated
35 | @@ -36,10 +36,13 @@ earlier. 36 | Notable changes 37 | =============== 38 | 39 | -Example item 40 | ---------------------------------------- 41 | +Miscellaneous
laanwj commented at 11:29 AM on July 11, 2016:Nit: usually we call this category "RPC low-level API changes" https://github.com/bitcoin/bitcoin/blob/v0.12.0/doc/release-notes.md#rpc-low-level-api-changes
MarcoFalke force-pushed on Jul 11, 2016laanwj commented at 11:47 AM on July 11, 2016: member0.12 without this patch:
"bip9_softforks": [ { "id": "csv", "status": "locked_in" } ]0.12 with this patch (yea, different chain):
"bip9_softforks": { "csv": { "status": "started" } }Master:
"bip9_softforks": { "csv": { "status": "active", "startTime": 1462060800, "timeout": 1493596800 } }ACK fa4327c
luke-jr commented at 11:47 AM on July 11, 2016: memberEh, breaking API compatibility in a bugfix release? I don't see any real benefit to this. If people want the new API, they can just use 0.13. We've never broken API compatibility before in even a major release... now isn't the time to do it in a bugfix release. :/
laanwj commented at 11:50 AM on July 11, 2016: memberThe idea would be to have the same API on 0.12 and 0.13, which makes e.g. testing easier (also for e.g. segwit). But I don't care deeply whether this makes it into 0.12...
You do have a point that this would be an API-breaking change in a minor releaese.
laanwj added this to the milestone 0.12.2 on Aug 16, 2016laanwj removed this from the milestone 0.12.0 on Aug 16, 2016[doc] Update release notes for change in getblockchaininfo fab67c115aMarcoFalke force-pushed on Sep 9, 2016laanwj commented at 5:48 AM on September 22, 2016: memberClosing this, apparently it is controversial
laanwj closed this on Sep 22, 2016MarcoFalke deleted the branch on Sep 22, 2016DrahtBot locked this on Sep 8, 2021
This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-04-13 15:15 UTC
More mirrored repositories can be found on mirror.b10c.me