Skip to content

jarolrod/bitcoin-core-rc-testing

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Bitcoin Core Release Candidate Testing

Current Release Candidate: Bitcoin Core 0.21rc2 (changelog)

Changes tested: Tor, Signet, Anchors, Wallet Changes, Wtxid, Tx Fetching Logic

It’s up to all of us to make sure that Bitcoin is the best it can be. It takes a lot of work to ensure that every release safely bridges us to the future. We need your eyes (and your computer) to make sure that the upcoming Bitcoin Core Release Candidate is as good as it can be. Come lend a hand!

Running Automated Test Suite

The script will fetch a copy of the current Bitcoin Core Release Candidate, verify the files integrity against cryptographic checksums, and run tests that will help ensure the soundness of the release candidate. At runtime, a configuration menu allows you to customize how the script will run.

1. Clone script repository

$ git clone https://github.com/jarolrod/bitcoin-core-rc-testing.git
$ cd bitcoin-core-rc-testing

2. Give script execution permission

$ chmod +x ./bitcoin-core-rc-testing.sh

3. Execute script

$ ./bitcoin-core-rc-testing.sh

Running Manual Tests

NOTE: Not currently supported

For those who want to get more involved with the testing, you can run the script in manual mode. This allows you to supply an already downloaded release candidate and run tests manually. Grab a copy of the release current release candidate from github or bitcoincore.org. You can choose to download the source code or binaries.

Manual Testing with Binaries

There are individual binaries for MacOS, Linux, Arm (64 bit), Arm (32 bit), and RISC-V. Make sure to grab the correct binary for your specific machine.

After cloning the repo, downloading the appropriate binary, and giving the script execution permission: supply the release candidate binary directory to the script.

$ ./bitcoin-core-rc-testing.sh --binary={binary-directory}

Manual Testing with Source Code

Compiling Bitcoin Core is an involved process. It will also take some time, depending on your hardware. For beginners, it is advised to stick with the binary releases.

Before compiling, make sure that your system has all the right dependencies installed. Here are some guides to compile Bitcoin Core from source for OSX, windows, FreeBSD, NetBSD, OpenBSD, and UNIX.

Sample compile process:

$ curl https://bitcoincore.org/bin/bitcoin-core-0.21.0/test.rc2/bitcoin-0.21.0rc2.tar.gz -O
$ tar -xf bitcoin-0.21.0rc2.tar.gz
$ cd bitcoin-0.21.0rc2
$ ./autogen.sh
$ ./configure
$ make -j{n}

After compiling, supply script the source code directory:

$ ./bitcoin-core-rc-testing.sh --source={source-directory}

For those upgrading from a previous release, a draft of the 0.21 release notes have instructions.