diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 4653bcf..23bdce6 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -19,13 +19,24 @@ jobs: fail-fast: false matrix: os: [ubuntu-20.04] - feature: ["25_0", "24_0_1", "23_1", "22_1", "0_21_2", "0_20_2", - "0_19_1", "0_18_1", "0_17_1"] + feature: + [ + "25_1", + "25_0", + "24_0_1", + "23_1", + "22_1", + "0_21_2", + "0_20_2", + "0_19_1", + "0_18_1", + "0_17_1", + ] include: - os: "macos-11" - feature: "25_0" + feature: "25_1" - os: "windows-2019" - feature: "25_0" + feature: "25_1" steps: - run: df -h diff --git a/Cargo.toml b/Cargo.toml index 4913649..cd716fb 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -35,6 +35,7 @@ anyhow = "1.0.66" # download is not supposed to be used directly only through selecting one of the version feature "download" = ["bitcoin_hashes", "flate2", "tar", "minreq", "zip"] +"25_1" = ["download", "25_0"] "25_0" = ["download", "24_0_1"] "24_0_1" = ["download", "23_1"] "23_1" = ["download", "22_1"] diff --git a/README.md b/README.md index 2e98f80..7a7beb0 100644 --- a/README.md +++ b/README.md @@ -6,11 +6,11 @@ Utility to run a regtest bitcoind process, useful in integration testing environment. -When the auto-download feature is selected by activating one of the version feature, such as `25_0` -for bitcoin core 25.0, starting a regtest node is as simple as that: +When the auto-download feature is selected by activating one of the version feature, such as `25_1` +for bitcoin core 25.1, starting a regtest node is as simple as that: ```rust -// the download feature is enabled whenever a specific version is enabled, for example `25_0` or `24_0_1` +// the download feature is enabled whenever a specific version is enabled, for example `25_1` or `24_0_1` #[cfg(feature = "download")] { use bitcoincore_rpc::RpcApi; @@ -19,7 +19,7 @@ for bitcoin core 25.0, starting a regtest node is as simple as that: } ``` -The build script will automatically download the bitcoin core version 25.0 from [bitcoin core](https://bitcoincore.org), +The build script will automatically download the bitcoin core version 25.1 from [bitcoin core](https://bitcoincore.org), verify the hashes and place it in the build directory for this crate. If you wish to download from an alternate location, for example locally for CI, use the `BITCOIND_DOWNLOAD_ENDPOINT` env var. diff --git a/sha256/bitcoin-core-25.1-SHA256SUMS b/sha256/bitcoin-core-25.1-SHA256SUMS new file mode 100644 index 0000000..00054db --- /dev/null +++ b/sha256/bitcoin-core-25.1-SHA256SUMS @@ -0,0 +1,27 @@ +f3646fa725bf07473e5b5d95e82955ba94fd432bca392675179d9842df5ce332 bitcoin-25.1-aarch64-linux-gnu-debug.tar.gz +69b49bd4eda484a8b8e0e806649e5b7ae9b93b3dbb9889af23696437359bc52c bitcoin-25.1-aarch64-linux-gnu.tar.gz +227d0c3965e315ef222e7c5d9f9d2fd2fea47c396c4f96ac2b9d1281c6d03698 bitcoin-25.1-arm-linux-gnueabihf-debug.tar.gz +28b8811984e215d9dc42536394629029edc1d15ab896f007d54d1d42a343f9db bitcoin-25.1-arm-linux-gnueabihf.tar.gz +eb0a41f7f5be97cc9f82959125eadc874c42dbc9665223aa3e1d61b0d7299b96 bitcoin-25.1-arm64-apple-darwin.dmg +a0264360bb48dd53c5c4a62598295f1571876db246ef226b4f7f209a29c2bd34 bitcoin-25.1-arm64-apple-darwin-unsigned.dmg +1dea6c7d307c85018a471c759a4588d786d23a72e4f47bb80d4c0d5d873968eb bitcoin-25.1-arm64-apple-darwin-unsigned.tar.gz +f4c105f5f832038a829ea66177623357af8fcc119167cbce5e8dd8038d98ac77 bitcoin-25.1-arm64-apple-darwin.tar.gz +afefabd3291421c2f844b18b0f1bf118c28491a2e5ab2af9cc25d7f4e4fd6b6b bitcoin-25.1-codesignatures-25.1.tar.gz +bec2a598d8dfa8c2365b77f13012a733ec84b8c30386343b7ac1996e901198c9 bitcoin-25.1.tar.gz +57de9bad8234671f48d5cea49d3b2769cd2970b3ac9b8464868de447d742a5d8 bitcoin-25.1-powerpc64-linux-gnu-debug.tar.gz +e215c398b1dd11dfb6d7e45f51746a4e63f330615c6bc2a52c0fd44ed016630c bitcoin-25.1-powerpc64-linux-gnu.tar.gz +1e98a3f355fbaff77f02bc2d79bec560e652db0a76e63c4dfd85451f2c815fff bitcoin-25.1-powerpc64le-linux-gnu-debug.tar.gz +a723e47c917f7764555041fb656b4d6b7dc6c4b485d0e63a145004ff74a9ce64 bitcoin-25.1-powerpc64le-linux-gnu.tar.gz +f1110e36f021cb4757510c880d64ecddd9818437f2c2c3750923f655f94edd3a bitcoin-25.1-riscv64-linux-gnu-debug.tar.gz +b68a94f8228f40cebe2cea4bbf73ed896e13e02998db91bad82ece0a985df6ea bitcoin-25.1-riscv64-linux-gnu.tar.gz +056b65dff9e09fdc4cf293c9022b2956ea43b8c4213fec62e9e63fd3b4d91d00 bitcoin-25.1-x86_64-apple-darwin.dmg +bc537ea870e7c511490104ffa5c080ad83de85bb9dd1d328e7a1a53c96f0b15f bitcoin-25.1-x86_64-apple-darwin-unsigned.dmg +2aa9ea33254bd34df4b82b6bbd04c92b52d39540cc99f3d9c7faa18a0975f7f4 bitcoin-25.1-x86_64-apple-darwin-unsigned.tar.gz +1acfde0ec3128381b83e3e5f54d1c7907871d324549129592144dd12a821eff1 bitcoin-25.1-x86_64-apple-darwin.tar.gz +3d179f9531675b950082bdf13366d4d355b6df0447c28f2fc41dd3a55a4528b5 bitcoin-25.1-x86_64-linux-gnu-debug.tar.gz +a978c407b497a727f0444156e397b50491ce862d1f906fef9b521415b3611c8b bitcoin-25.1-x86_64-linux-gnu.tar.gz +964f0d567f1ad9f742b85c51caee7434e1ef123419e17fa7e1ab677e58363f3b bitcoin-25.1-win64-setup.exe +2f869be9e7083e456f368d30ff41d9966bca247e5dfdbf6bb2b95edb64e0a6e3 bitcoin-25.1-win64-debug.zip +f21c232d82d7cf432469c3067f569b3ba95e16fb088bc8d966648433873745dc bitcoin-25.1-win64-setup-unsigned.exe +446e7d5f3b307b0235c75af52238325309f5b97b1c89063bcc601fcb9183c417 bitcoin-25.1-win64-unsigned.tar.gz +da722a4573b46b9a66aa53992b1ef296ab1b2b75dbdaa3b4eff65cbed438637a bitcoin-25.1-win64.zip \ No newline at end of file diff --git a/src/versions.rs b/src/versions.rs index 7b835dd..151520f 100644 --- a/src/versions.rs +++ b/src/versions.rs @@ -1,4 +1,7 @@ -#[cfg(feature = "25_0")] +#[cfg(feature = "25_1")] +pub const VERSION: &str = "25.1"; + +#[cfg(all(feature = "25_0", not(feature = "25_1")))] pub const VERSION: &str = "25.0"; #[cfg(all(feature = "24_0_1", not(feature = "25_0")))]