Skip to content

Commit

Permalink
Add feature for Bitcoin Core 23.0
Browse files Browse the repository at this point in the history
  • Loading branch information
afilini committed May 2, 2022
1 parent 31e88fd commit 215665c
Show file tree
Hide file tree
Showing 4 changed files with 34 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
fail-fast: false
matrix:
os: [ ubuntu-20.04 ]
feature: [ "22_0", "0_21_1", "0_21_0", "0_20_1", "0_20_0", "0_19_1", "0_19_0_1", "0_18_1", "0_18_0", "0_17_1"]
feature: [ "23_0", "22_0", "0_21_1", "0_21_0", "0_20_1", "0_20_0", "0_19_1", "0_19_0_1", "0_18_1", "0_18_0", "0_17_1"]
include:
- os: "macos-10.15"
feature: "0_21_1"
Expand Down
1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ flate2 = "1.0"
tar = "0.4"

[features]
"23_0" = []
"22_0" = []
"0_21_1" = []
"0_21_0" = []
Expand Down
27 changes: 27 additions & 0 deletions sha256/bitcoin-core-23.0-SHA256SUMS
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
868d4be1f776a4d5e3230d9d6067bc5a6cbe094e6fbc270f567786e253cdc8d1 bitcoin-23.0-aarch64-linux-gnu-debug.tar.gz
06f4c78271a77752ba5990d60d81b1751507f77efda1e5981b4e92fd4d9969fb bitcoin-23.0-aarch64-linux-gnu.tar.gz
198c575150de5501940a120ecfb49670a7ac94d95bd875a854efd54a527f83fe bitcoin-23.0-arm-linux-gnueabihf-debug.tar.gz
952c574366aff76f6d6ad1c9ee45a361d64fa04155e973e926dfe7e26f9703a3 bitcoin-23.0-arm-linux-gnueabihf.tar.gz
a3059280451d17a77d2260e4671c884be93a14dbff6b6cd19a3c9c8c54421e97 bitcoin-23.0-arm64-apple-darwin.dmg
c991de5922cb2880f0f54a7f21ba650da40872b4a6dad73fae09d7a89d8c8f28 bitcoin-23.0-arm64-apple-darwin-unsigned.dmg
cdb380556e9858b22d9e9bfe3c2200f2d7efdc12af505390ca7798d97f6cd57c bitcoin-23.0-arm64-apple-darwin-unsigned.tar.gz
7c8bc63731aa872b7b334a8a7d96e33536ad77d49029bad179b09dca32cd77ac bitcoin-23.0-arm64-apple-darwin.tar.gz
a382c13777c090fbe1353f19a579c5f79a07285c6d7b04176180c1ce829cd7f7 bitcoin-23.0-codesignatures-e36a046909ad.tar.gz
26748bf49d6d6b4014d0fedccac46bf2bcca42e9d34b3acfd9e3467c415acc05 bitcoin-23.0.tar.gz
7815a86a30bcebe10b0c27e465172b2bc79e93ea1ddda724eb33508685a02fe9 bitcoin-23.0-powerpc64-linux-gnu-debug.tar.gz
2caa5898399e415f61d9af80a366a3008e5856efa15aaff74b88acf429674c99 bitcoin-23.0-powerpc64-linux-gnu.tar.gz
dda063652da7cad4839c11dff7a815a78ed8cd0f97dfdc6b10708cecb701085e bitcoin-23.0-powerpc64le-linux-gnu-debug.tar.gz
217dd0469d0f4962d22818c368358575f6a0abcba8804807bb75325eb2f28b19 bitcoin-23.0-powerpc64le-linux-gnu.tar.gz
5faabaec6e217bdea1b1f85b116659692a2f0e437767d35d17eb4b0e5c04c09c bitcoin-23.0-riscv64-linux-gnu-debug.tar.gz
078f96b1e92895009c798ab827fb3fde5f6719eee886bd0c0e93acab18ea4865 bitcoin-23.0-riscv64-linux-gnu.tar.gz
52eefbaf8cfd292822e470a48a51e1eb51081d43a0a16db7441f34a017ff6097 bitcoin-23.0-x86_64-apple-darwin.dmg
050eb122ef226ab9cfd6fe19a71c0a49029b9eac13faf033dbb60cdfa3a55c65 bitcoin-23.0-x86_64-apple-darwin-unsigned.dmg
ac43412ba3fea4436a90ada71decb25ee122b60396ce6a67f933424dc3dceb17 bitcoin-23.0-x86_64-apple-darwin-unsigned.tar.gz
c816780583009a9dad426dc0c183c89be9da98906e1e2c7ebae91041c1aaaaf3 bitcoin-23.0-x86_64-apple-darwin.tar.gz
a5a86632775fb2c1db4235bd56396ecfeb233bfa24431baf936c41e51cc24fdf bitcoin-23.0-x86_64-linux-gnu-debug.tar.gz
2cca490c1f2842884a3c5b0606f179f9f937177da4eadd628e3f7fd7e25d26d0 bitcoin-23.0-x86_64-linux-gnu.tar.gz
4198eba8ac326d8746ab43364a44a5f20c157b6701f8c35b80d639a676df9011 bitcoin-23.0-win64-setup.exe
02f6c3bde5448527282aafafe7fdb80f35d4f984d9b012a9cb5e5efd28861614 bitcoin-23.0-win64-debug.zip
beb4e86f629048e1a6616a882a2d66407ca6f368c9bc63cf117f2fb291ce1ced bitcoin-23.0-win64-setup-unsigned.exe
39a7b022b38f301029ee9d5732ed7e77851d465d44177b4c734cdcc33e6763b6 bitcoin-23.0-win64-unsigned.tar.gz
004b2e25b21e0f14cbcce6acec37f221447abbb3ea7931c689e508054bfc6cf6 bitcoin-23.0-win64.zip
5 changes: 5 additions & 0 deletions src/versions.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
pub const HAS_FEATURE: bool = cfg!(any(
feature = "23_0",
feature = "22_0",
feature = "0_21_1",
feature = "0_21_0",
Expand All @@ -12,6 +13,7 @@ pub const HAS_FEATURE: bool = cfg!(any(
));

#[cfg(not(any(
feature = "23_0",
feature = "22_0",
feature = "0_21_1",
feature = "0_21_0",
Expand All @@ -25,6 +27,9 @@ pub const HAS_FEATURE: bool = cfg!(any(
)))]
pub const VERSION: &str = "N/A";

#[cfg(feature = "23_0")]
pub const VERSION: &str = "23.0";

#[cfg(feature = "22_0")]
pub const VERSION: &str = "22.0";

Expand Down

0 comments on commit 215665c

Please sign in to comment.