From: ZmnSCPxj via Guix-patches via <guix-patches@gnu.org>
To: Christopher Baines <mail@cbaines.net>
Cc: "46266@debbugs.gnu.org" <46266@debbugs.gnu.org>
Subject: [bug#46266] [PATCH] gnu: Update bitcoin-core to 0.21.0
Date: Tue, 16 Mar 2021 02:53:08 +0000 [thread overview]
Message-ID: <Wp0iSTusuvKBcIyyyJLUMuGZwJdZ1S5A5lWLq0noIE0_HUd_6TQRiICDbkZwFnq-0H3Xc1DUKdWKuv0L6KHI5R5B86H_pHSNuRG1wNM7fww=@protonmail.com> (raw)
In-Reply-To: <877dmxltia.fsf@cbaines.net>
Good morning Christopher,
> Hi ZmnSCPxj,
>
> Sorry for the delay in getting back to you.
>
> guix-patches--- via guix-patches@gnu.org writes:
>
> > In addition to updating, I made as well, separate `bitcoin-core-0.20`
> > and `bitcoin-core-0.21` packages. Due to RPC changes, it is possible
> > that other programs compatible with older `bitcoin-core` version is
> > not compatible with newer version. Thus, an `operating-system`
> > declaration, may need to pin a specific major version.
>
> I think it's OK to keep older versions if that's important, but it would
> be good to specifically note why specific older versions are useful to
> keep. I'm saying that because it's useful to know when an older version
> can be removed. So, for 0.20 are there incompatibilities that you're
> aware of?
Previously between 0.18.x to 0.19.0.1, the RPC command `sendrawtransaction` changed its second parameter from a boolean `allowhighfees` to a numeric `maxfeerate`.
Thus, an automated update from 0.18.x to 0.19.0.1 would have lead to problems in dependent software that used the older `allowhighfees` parameter.
So I think it is a good policy in general to provide major versions for Bitcoin Core at least, to avoid such issues in the future.
Another is that Bitcoin Core itself has a policy of not pushing updates; the idea is that the user should consciously elect to update to a newer version, because there may be consensus changes that the user does not agree with.
Using an unanchored `bitcoin-core` would break this policy and make Guix provide always the latest available.
Of course, it is possible to use inferiors and so on.
Finally, 0.21.1 is intended to include consensus policy changes on the activation of the new Taproot feature.
Whatever is deployed in 0.21.1 may or may not be agreed to by the specific user, thus `bitcoin-core` should ideally not be updated automatically to 0.21.1.
Bitcoin Core makes an effort to maintain older major versions in order to allow users to avoid particular changes in later major versions they do not agree with.
> The second thing is, I wouldn't immediately jump to the
> (make-... pattern, and I would instead use package inheritance. See the
> ruby packages for example [1].
>
> 1: https://git.savannah.gnu.org/cgit/guix.git/tree/gnu/packages/ruby.scm#n95
>
> Package inheritance makes it simpler to make changes to individual
> versions, and avoids the complexity of introducing a procedure.
>
> Does that all make sense?
Okay, thank you.
Regards,
ZmnSCPxj
next prev parent reply other threads:[~2021-03-16 2:54 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-02-03 2:54 [bug#46266] [PATCH] gnu: Update bitcoin-core to 0.21.0 guix-patches--- via
2021-02-24 9:11 ` Christopher Baines
2021-03-16 2:53 ` ZmnSCPxj via Guix-patches via [this message]
2021-03-16 23:42 ` Christopher Baines
2021-03-17 3:18 ` ZmnSCPxj via Guix-patches via
2021-03-17 11:48 ` [bug#46266] [PATCH v2] " ZmnSCPxj via Guix-patches via
2021-03-23 21:59 ` bug#46266: " Christopher Baines
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='Wp0iSTusuvKBcIyyyJLUMuGZwJdZ1S5A5lWLq0noIE0_HUd_6TQRiICDbkZwFnq-0H3Xc1DUKdWKuv0L6KHI5R5B86H_pHSNuRG1wNM7fww=@protonmail.com' \
--to=guix-patches@gnu.org \
--cc=46266@debbugs.gnu.org \
--cc=ZmnSCPxj@protonmail.com \
--cc=mail@cbaines.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.