unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
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 v2] gnu: Update bitcoin-core to 0.21.0
Date: Wed, 17 Mar 2021 11:48:52 +0000	[thread overview]
Message-ID: <YgI999Dns_YKUV8sieZqOc57cnOtldN195PUbPNd8M8fBZJKBlGff-yTWJiolm7nnnFJqqgTyaSx4Yv17YwNYr7fxRpgXb3c_ySSgMvxBpc=@protonmail.com> (raw)
In-Reply-To: <kIOle-DVD92QUejpS8kaieqldVYP0h7LdOG6a5E5PjbyNkgA9ktKR3Ryz71GXxcfdPVMLya3CtveEKDFx5_NQ5hKZ1m1a5GsE6P8pjTOpSw=@protonmail.com>


From 4397bd3d76fb72a97dcd37c78c23b7e174fd7bc5 Mon Sep 17 00:00:00 2001
From: raid5atemyhomework <raid5atemyhomework@protonmail.com>
Date: Wed, 17 Mar 2021 19:46:22 +0800
Subject: [PATCH] gnu: Update bitcoin-core to 0.21.0

* gnu/packages/finance.scm (bitcoin-core): Update to 0.21.0.
(bitcoin-core-0.20): New variable.
(bitcoin-core-0.21): New variable.
---
 gnu/packages/finance.scm | 31 ++++++++++++++++++++++++++++---
 1 file changed, 28 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/finance.scm b/gnu/packages/finance.scm
index e6df40c168..b1c1da9095 100644
--- a/gnu/packages/finance.scm
+++ b/gnu/packages/finance.scm
@@ -22,6 +22,7 @@
 ;;; Copyright © 2020 Vinicius Monego <monego@posteo.net>
 ;;; Copyright © 2020 Carlo Holl <carloholl@gmail.com>
 ;;; Copyright © 2020 Giacomo Leidi <goodoldpaul@autistici.org>
+;;; Copyright © 2021 ZmnSCPxj jxPCSnmZ <ZmnSCPxj@protonmail.com>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -52,6 +53,7 @@
   #:use-module (guix build-system glib-or-gtk)
   #:use-module (guix build-system go)
   #:use-module (guix build-system qt)
+  #:use-module (guix deprecation)
   #:use-module (guix utils)
   #:use-module (gnu packages)
   #:use-module (gnu packages aidc)
@@ -108,10 +110,18 @@
   #:use-module (gnu packages xml)
   #:use-module (gnu packages gnuzilla))

-(define-public bitcoin-core
+;; Specific versions of bitcoin-core are provided, because RPC changes may
+;; occur between major releases, which can cause problems with dependent
+;; software.
+;; In addition, consensus-critical changes may also be scheduled for
+;; particular major releases, and the user may prefer to hold back until
+;; consensus on a newer version forms.
+;; The support lifetimes for major versions can be found in
+;; <https://bitcoincore.org/en/lifecycle/#schedule>.
+(define-public bitcoin-core-0.21
   (package
     (name "bitcoin-core")
-    (version "0.20.1")
+    (version "0.21.0")
     (source (origin
               (method url-fetch)
               (uri
@@ -119,7 +129,7 @@
                               version "/bitcoin-" version ".tar.gz"))
               (sha256
                (base32
-                "0y5rad68b398arh0abr2wgiwybdw0i5a4dxz9s3fk9fgdbyn5gab"))))
+                "0dszcn4r43w0ffsmgwmyzkzr5lqws3bbhlkssmjgnjgfc8n2148s"))))
     (build-system gnu-build-system)
     (native-inputs
      `(("autoconf" ,autoconf)
@@ -186,6 +196,21 @@ of the bitcoin protocol.  This package provides the Bitcoin Core command
 line client and a client based on Qt.")
     (license license:expat)))

+(define-public bitcoin-core-0.20
+  (package
+    (inherit bitcoin-core-0.21)
+    (version "0.20.1")
+    (source (origin
+              (method url-fetch)
+              (uri
+               (string-append "https://bitcoincore.org/bin/bitcoin-core-"
+                              version "/bitcoin-" version ".tar.gz"))
+              (sha256
+               (base32
+                "0y5rad68b398arh0abr2wgiwybdw0i5a4dxz9s3fk9fgdbyn5gab"))))))
+
+(define-public bitcoin-core bitcoin-core-0.21)
+
 (define-public hledger
   (package
     (name "hledger")
--
2.31.0





  parent reply	other threads:[~2021-03-17 11:51 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
2021-03-16 23:42     ` Christopher Baines
2021-03-17  3:18       ` ZmnSCPxj via Guix-patches via
2021-03-17 11:48 ` ZmnSCPxj via Guix-patches via [this message]
2021-03-23 21:59   ` bug#46266: [PATCH v2] " 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

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='YgI999Dns_YKUV8sieZqOc57cnOtldN195PUbPNd8M8fBZJKBlGff-yTWJiolm7nnnFJqqgTyaSx4Yv17YwNYr7fxRpgXb3c_ySSgMvxBpc=@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 public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).