The bitcoin-core package
Find a file
2023-10-20 09:21:15 +02:00
.gitignore Update to 25.1 2023-10-20 08:56:58 +02:00
bitcoin-0.18.0-unicode.patch First import 2022-04-05 13:29:07 +02:00
bitcoin-core.spec Update to 25.1 2023-10-20 08:56:58 +02:00
bitcoin-gpg.sh Update sources and delete old keyrings 2023-05-30 15:10:49 +02:00
bitcoin-offline-pubring.gpg Update to 25.1 2023-10-20 08:56:58 +02:00
bitcoin-qt.desktop First import 2022-04-05 13:29:07 +02:00
bitcoin-qt.metainfo.xml Add AppData file 2022-04-07 16:45:01 +02:00
bitcoin-qt.protocol First import 2022-04-05 13:29:07 +02:00
bitcoin-tmpfiles.conf First import 2022-04-05 13:29:07 +02:00
bitcoin-verify-offline.patch Update sources and delete old keyrings 2023-05-30 15:10:49 +02:00
bitcoin.conf.example First import 2022-04-05 13:29:07 +02:00
bitcoin.service.system First import 2022-04-05 13:29:07 +02:00
bitcoin.service.user First import 2022-04-05 13:29:07 +02:00
bitcoin.sysconfig First import 2022-04-05 13:29:07 +02:00
db-4.8.30.NC-configure-c99.patch Port bundled Berkeley DB 4.8 configure script to C99 (#2179373) 2023-03-17 15:37:43 +01:00
db-4.8.30.NC-format-security.patch First import 2022-04-05 13:29:07 +02:00
README.gui.redhat First import 2022-04-05 13:29:07 +02:00
README.md Update README.md 2023-10-20 09:21:15 +02:00
README.server.redhat First import 2022-04-05 13:29:07 +02:00
README.utils.redhat First import 2022-04-05 13:29:07 +02:00
sources Update to 25.1 2023-10-20 08:56:58 +02:00

bitcoin-core

The bitcoin-core package.

Preparing a new update

Perform the following steps to prepare the update to a new version. The sample commands below are performed with version 25.0.

Generic package update steps:

$ rm -f bitcoin-core-*.tar.gz SHA256SUMS*

$ rpmdev-bumpspec -D -c "Update to 25.0." -n 25.0 bitcoin-core.spec

$ spectool -g bitcoin-core.spec
Downloading: https://bitcoincore.org/bin/bitcoin-core-25.0/bitcoin-25.0.tar.gz
100% of  10.9 MiB |#######################################################| Elapsed Time: 0:00:01 Time:  0:00:01
Downloaded: bitcoin-25.0.tar.gz
Downloading: https://bitcoincore.org/bin/bitcoin-core-25.0/SHA256SUMS.asc
100% of  10.3 KiB |#######################################################| Elapsed Time: 0:00:00 Time:  0:00:00
Downloaded: SHA256SUMS.asc
Downloading: https://bitcoincore.org/bin/bitcoin-core-25.0/SHA256SUMS
100% of   2.8 KiB |#######################################################| Elapsed Time: 0:00:00 Time:  0:00:00
Downloaded: SHA256SUMS
Downloading: https://download.oracle.com/berkeley-db/db-4.8.30.NC.tar.gz
File '/home/slaanesh/workspace/fedora/bitcoin-core/db-4.8.30.NC.tar.gz' already present.

When uploading sources, make sure the DB tarball is included even if it has not changed as otherwise will not be available in the Koji build root:

$ fedpkg new-sources bitcoin-25.0.tar.gz SHA256SUMS SHA256SUMS.asc db-4.8.30.NC.tar.gz
File already uploaded: db-4.8.30.NC.tar.gz
Uploading: bitcoin-25.0.tar.gz
######################################################################## 100.0%
Uploading: SHA256SUMS
######################################################################## 100.0%
Uploading: SHA256SUMS.asc
######################################################################## 100.0%
Source upload succeeded. Don't forget to commit the sources file

After this, based on the list of keys that have signed the release and that are listed in SHA25SUM.asc, download the available ones and assemble an offline GPG keyring:

$ ./bitcoin-gpg.sh
Prepare official script to verify releases to work offline... done.
Creating GPG keyring with public keys that have signed release 25.0... done.

After this, it's time to commit and build:

$ git add bitcoin-core-offline-pubring.gpg
$ git commit -a -m "Update to 25.0"

$ fedpkg build --nowait