This repository was archived by the owner on Nov 25, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +15
-2
lines changed
Expand file tree Collapse file tree 4 files changed +15
-2
lines changed Original file line number Diff line number Diff line change 9595 " 0.20.0" ,
9696 " 0.20.1" ,
9797 " 0.21.0" ,
98+ " 22.0" ,
99+ " 23.0" ,
98100 ]
99101 steps :
100102 - name : " Checkout repo"
Original file line number Diff line number Diff line change @@ -45,6 +45,8 @@ The following versions are officially supported and automatically tested:
4545* 0.20.0
4646* 0.20.1
4747* 0.21.0
48+ * 22.0
49+ * 23.0
4850
4951# Minimum Supported Rust Version (MSRV)
5052This library should always compile with any combination of features on ** Rust 1.56.1** .
Original file line number Diff line number Diff line change @@ -28,7 +28,12 @@ if bitcoind -version | grep -q "v0\.2"; then
2828 FALLBACKFEEARG=" -fallbackfee=0.00001000"
2929fi
3030
31- bitcoind -regtest $BLOCKFILTERARG $FALLBACKFEEARG \
31+ COINSTATSINDEXARG=" "
32+ if bitcoind -version | grep -q " v[2-9]" ; then
33+ COINSTATSINDEXARG=" -coinstatsindex=1"
34+ fi
35+
36+ bitcoind -regtest $BLOCKFILTERARG $FALLBACKFEEARG $COINSTATSINDEXARG \
3237 -datadir=${TESTDIR} /2 \
3338 -connect=127.0.0.1:12348 \
3439 -rpcport=12349 \
Original file line number Diff line number Diff line change @@ -1177,7 +1177,11 @@ fn test_create_wallet(cl: &Client) {
11771177}
11781178
11791179fn test_get_tx_out_set_info ( cl : & Client ) {
1180- cl. get_tx_out_set_info ( None , None , None ) . unwrap ( ) ;
1180+ if version ( ) >= 220000 {
1181+ cl. get_tx_out_set_info ( Some ( json:: TxOutSetHashType :: Muhash ) , None , Some ( true ) ) . unwrap ( ) ;
1182+ } else {
1183+ cl. get_tx_out_set_info ( None , None , None ) . unwrap ( ) ;
1184+ }
11811185}
11821186
11831187fn test_get_chain_tips ( cl : & Client ) {
You can’t perform that action at this time.
0 commit comments