Skip to content

Commit 9abce7b

Browse files
authored
Update bitcoind async client 0.14 (#1646)
2 parents 9bef983 + 9c35598 commit 9abce7b

7 files changed

Lines changed: 48 additions & 58 deletions

File tree

Cargo-minimal.lock

Lines changed: 38 additions & 48 deletions
Original file line numberDiff line numberDiff line change
@@ -421,10 +421,10 @@ dependencies = [
421421
"hyper",
422422
"hyper-util",
423423
"pin-project-lite",
424-
"rustls 0.23.31",
424+
"rustls 0.23.38",
425425
"rustls-pki-types",
426426
"tokio",
427-
"tokio-rustls 0.26.2",
427+
"tokio-rustls",
428428
"tower-service",
429429
]
430430

@@ -700,9 +700,9 @@ dependencies = [
700700

701701
[[package]]
702702
name = "bitcoind-async-client"
703-
version = "0.10.8"
703+
version = "0.14.0"
704704
source = "registry+https://github.com/rust-lang/crates.io-index"
705-
checksum = "6dee0966d78f8b91e2801e3e870535410b2057ed54e5c140c705c3218151f6ac"
705+
checksum = "fbfef338cdb79b56b6ef8133a8b18058d8b64e057164674a0ff41199b5cd44de"
706706
dependencies = [
707707
"base64 0.22.1",
708708
"bitcoin 0.32.9",
@@ -734,15 +734,15 @@ dependencies = [
734734

735735
[[package]]
736736
name = "bitreq"
737-
version = "0.3.4"
737+
version = "0.3.5"
738738
source = "registry+https://github.com/rust-lang/crates.io-index"
739-
checksum = "08221cf31c5f00fb6fc8fa697cea54176b06801a518bd9d3482aa27099827a3a"
739+
checksum = "6df90cd78f0510165fd370574676aeb57dbec0ee3bfff68645bb7b0e9a65dbd5"
740740
dependencies = [
741-
"rustls 0.21.8",
742-
"rustls-webpki 0.101.7",
741+
"rustls 0.23.38",
742+
"rustls-webpki 0.103.13",
743743
"tokio",
744-
"tokio-rustls 0.24.0",
745-
"webpki-roots 0.25.2",
744+
"tokio-rustls",
745+
"webpki-roots 1.0.7",
746746
]
747747

748748
[[package]]
@@ -2029,13 +2029,13 @@ dependencies = [
20292029
"http",
20302030
"hyper",
20312031
"hyper-util",
2032-
"rustls 0.23.31",
2032+
"rustls 0.23.38",
20332033
"rustls-native-certs",
20342034
"rustls-pki-types",
20352035
"tokio",
2036-
"tokio-rustls 0.26.2",
2036+
"tokio-rustls",
20372037
"tower-service",
2038-
"webpki-roots 1.0.0",
2038+
"webpki-roots 1.0.7",
20392039
]
20402040

20412041
[[package]]
@@ -2778,7 +2778,7 @@ dependencies = [
27782778
"payjoin-test-utils",
27792779
"percent-encoding-rfc3986",
27802780
"reqwest",
2781-
"rustls 0.23.31",
2781+
"rustls 0.23.38",
27822782
"serde",
27832783
"serde_json",
27842784
"tokio",
@@ -2812,7 +2812,7 @@ dependencies = [
28122812
"serde_json",
28132813
"tempfile",
28142814
"tokio",
2815-
"tokio-rustls 0.26.2",
2815+
"tokio-rustls",
28162816
"tracing",
28172817
"tracing-subscriber",
28182818
]
@@ -2885,12 +2885,12 @@ dependencies = [
28852885
"rand 0.8.0",
28862886
"rcgen 0.12.0",
28872887
"reqwest",
2888-
"rustls 0.23.31",
2888+
"rustls 0.23.38",
28892889
"serde",
28902890
"tempfile",
28912891
"tokio",
28922892
"tokio-listener",
2893-
"tokio-rustls 0.26.2",
2893+
"tokio-rustls",
28942894
"tokio-rustls-acme",
28952895
"tokio-stream",
28962896
"tokio-tungstenite",
@@ -2916,7 +2916,7 @@ dependencies = [
29162916
"payjoin-mailroom",
29172917
"rcgen 0.14.7",
29182918
"reqwest",
2919-
"rustls 0.23.31",
2919+
"rustls 0.23.38",
29202920
"tar",
29212921
"tempfile",
29222922
"time",
@@ -3155,7 +3155,7 @@ dependencies = [
31553155
"quinn-proto",
31563156
"quinn-udp",
31573157
"rustc-hash 1.1.0",
3158-
"rustls 0.23.31",
3158+
"rustls 0.23.38",
31593159
"thiserror 1.0.37",
31603160
"tokio",
31613161
"tracing",
@@ -3171,7 +3171,7 @@ dependencies = [
31713171
"rand 0.8.0",
31723172
"ring 0.17.12",
31733173
"rustc-hash 1.1.0",
3174-
"rustls 0.23.31",
3174+
"rustls 0.23.38",
31753175
"slab",
31763176
"thiserror 1.0.37",
31773177
"tinyvec",
@@ -3410,23 +3410,23 @@ dependencies = [
34103410
"percent-encoding",
34113411
"pin-project-lite",
34123412
"quinn",
3413-
"rustls 0.23.31",
3413+
"rustls 0.23.38",
34143414
"rustls-native-certs",
34153415
"rustls-pki-types",
34163416
"serde",
34173417
"serde_json",
34183418
"serde_urlencoded",
34193419
"sync_wrapper",
34203420
"tokio",
3421-
"tokio-rustls 0.26.2",
3421+
"tokio-rustls",
34223422
"tower",
34233423
"tower-http",
34243424
"tower-service",
34253425
"url",
34263426
"wasm-bindgen",
34273427
"wasm-bindgen-futures",
34283428
"web-sys",
3429-
"webpki-roots 1.0.0",
3429+
"webpki-roots 1.0.7",
34303430
]
34313431

34323432
[[package]]
@@ -3551,14 +3551,14 @@ dependencies = [
35513551

35523552
[[package]]
35533553
name = "rustls"
3554-
version = "0.23.31"
3554+
version = "0.23.38"
35553555
source = "registry+https://github.com/rust-lang/crates.io-index"
3556-
checksum = "c0ebcbd2f03de0fc1122ad9bb24b127a5a6cd51d72604a3f3c50ac459762b6cc"
3556+
checksum = "69f9466fb2c14ea04357e91413efb882e2a6d4a406e625449bc0a5d360d53a21"
35573557
dependencies = [
35583558
"once_cell",
35593559
"ring 0.17.12",
35603560
"rustls-pki-types",
3561-
"rustls-webpki 0.103.4",
3561+
"rustls-webpki 0.103.13",
35623562
"subtle",
35633563
"zeroize",
35643564
]
@@ -3617,9 +3617,9 @@ dependencies = [
36173617

36183618
[[package]]
36193619
name = "rustls-webpki"
3620-
version = "0.103.4"
3620+
version = "0.103.13"
36213621
source = "registry+https://github.com/rust-lang/crates.io-index"
3622-
checksum = "0a17884ae0c1b773f1ccd2bd4a8c72f16da897310a98b0e84bf349ad5ead92fc"
3622+
checksum = "61c429a8649f110dddef65e2a5ad240f747e85f7758a6bccc7e5777bd33f756e"
36233623
dependencies = [
36243624
"ring 0.17.12",
36253625
"rustls-pki-types",
@@ -4374,21 +4374,11 @@ dependencies = [
43744374

43754375
[[package]]
43764376
name = "tokio-rustls"
4377-
version = "0.24.0"
4378-
source = "registry+https://github.com/rust-lang/crates.io-index"
4379-
checksum = "e0d409377ff5b1e3ca6437aa86c1eb7d40c134bfec254e44c830defa92669db5"
4380-
dependencies = [
4381-
"rustls 0.21.8",
4382-
"tokio",
4383-
]
4384-
4385-
[[package]]
4386-
name = "tokio-rustls"
4387-
version = "0.26.2"
4377+
version = "0.26.4"
43884378
source = "registry+https://github.com/rust-lang/crates.io-index"
4389-
checksum = "8e727b36a1a0e8b74c376ac2211e40c2c8af09fb4013c60d910495810f008e9b"
4379+
checksum = "1729aa945f29d91ba541258c8df89027d5792d85a8841fb65e8bf0f4ede4ef61"
43904380
dependencies = [
4391-
"rustls 0.23.31",
4381+
"rustls 0.23.38",
43924382
"tokio",
43934383
]
43944384

@@ -4410,14 +4400,14 @@ dependencies = [
44104400
"rcgen 0.14.7",
44114401
"reqwest",
44124402
"ring 0.17.12",
4413-
"rustls 0.23.31",
4403+
"rustls 0.23.38",
44144404
"serde",
44154405
"serde_json",
44164406
"thiserror 2.0.18",
44174407
"time",
44184408
"tokio",
4419-
"tokio-rustls 0.26.2",
4420-
"webpki-roots 1.0.0",
4409+
"tokio-rustls",
4410+
"webpki-roots 1.0.7",
44214411
"x509-parser",
44224412
]
44234413

@@ -5353,9 +5343,9 @@ checksum = "14247bb57be4f377dfb94c72830b8ce8fc6beac03cf4bf7b9732eadd414123fc"
53535343

53545344
[[package]]
53555345
name = "webpki-roots"
5356-
version = "1.0.0"
5346+
version = "1.0.7"
53575347
source = "registry+https://github.com/rust-lang/crates.io-index"
5358-
checksum = "2853738d1cc4f2da3a225c18ec6c3721abb31961096e9dbf5ab35fa88b19cfdb"
5348+
checksum = "52f5ee44c96cf55f1b349600768e3ece3a8f26010c05265ab73f945bb1a2eb9d"
53595349
dependencies = [
53605350
"rustls-pki-types",
53615351
]
@@ -5844,9 +5834,9 @@ dependencies = [
58445834

58455835
[[package]]
58465836
name = "zeroize"
5847-
version = "1.7.0"
5837+
version = "1.8.1"
58485838
source = "registry+https://github.com/rust-lang/crates.io-index"
5849-
checksum = "525b4ec142c6b68a2d10f01f7bbf6755599ca3f81ea53b8431b7dd348f5fdb2d"
5839+
checksum = "ced3678a2879b30306d323f4542626697a464a97c0a07c9aebf7ebca65cd4dde"
58505840
dependencies = [
58515841
"zeroize_derive",
58525842
]

Cargo-recent.lock

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -677,9 +677,9 @@ dependencies = [
677677

678678
[[package]]
679679
name = "bitcoind-async-client"
680-
version = "0.10.9"
680+
version = "0.14.0"
681681
source = "registry+https://github.com/rust-lang/crates.io-index"
682-
checksum = "810a38a65b5484410841b073581672570c55781eaf3f850dac4c4b4246fb3149"
682+
checksum = "fbfef338cdb79b56b6ef8133a8b18058d8b64e057164674a0ff41199b5cd44de"
683683
dependencies = [
684684
"base64 0.22.1",
685685
"bitcoin 0.32.100",

payjoin-cli/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ v2 = ["payjoin/v2", "payjoin/io"]
2828
ahash = "0.7.8"
2929
anyhow = "1.0.99"
3030
async-trait = "0.1.89"
31-
bitcoind-async-client = ">=0.10.8, <0.10.10"
31+
bitcoind-async-client = "0.14.0"
3232
clap = { version = "4.5.45", features = ["derive"] }
3333
config = "0.15.17"
3434
dirs = "6.0.0"
@@ -47,7 +47,7 @@ rusqlite = { version = "0.29.0", features = ["bundled"] }
4747
serde = { version = "1.0.228", features = ["derive"] }
4848
serde_json = "1.0.149"
4949
tokio = { version = "1.52.3", features = ["full"] }
50-
tokio-rustls = { version = "0.26.2", features = [
50+
tokio-rustls = { version = "0.26.4", features = [
5151
"ring",
5252
], default-features = false, optional = true }
5353
tracing = "0.1.41"

payjoin-cli/src/app/wallet.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ impl BitcoindWallet {
119119
pub fn broadcast_tx(&self, tx: &Transaction) -> Result<Txid> {
120120
tokio::task::block_in_place(|| {
121121
tokio::runtime::Handle::current()
122-
.block_on(async { self.rpc.send_raw_transaction(tx).await })
122+
.block_on(async { self.rpc.send_raw_transaction(tx, None).await })
123123
})
124124
.context("Failed to broadcast transaction")
125125
}

payjoin-mailroom/Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ rand = "0.8"
6363
reqwest = { version = "0.12.23", default-features = false, features = [
6464
"rustls-tls",
6565
], optional = true }
66-
rustls = { version = "0.23.31", default-features = false, features = [
66+
rustls = { version = "0.23.38", default-features = false, features = [
6767
"ring",
6868
], optional = true }
6969
serde = { version = "1.0.228", features = ["derive"] }
@@ -77,7 +77,7 @@ tracing = "0.1.41"
7777
tracing-subscriber = { version = "0.3.19", features = ["env-filter", "json"] }
7878
unicode-segmentation = "=1.12.0"
7979

80-
# unicode segmentation is ignored because it needs to be pinned due to the use of an unstable
80+
# unicode segmentation is ignored because it needs to be pinned due to the use of an unstable
8181
# feature from within the config crate
8282
[package.metadata.cargo-machete]
8383
ignored = ["unicode-segmentation"]
@@ -92,7 +92,7 @@ reqwest = { version = "0.12.23", default-features = false, features = [
9292
] }
9393
tempfile = "3.20.0"
9494
tokio = { version = "1.52.3", features = ["test-util"] }
95-
tokio-rustls = { version = "0.26.2", default-features = false, features = [
95+
tokio-rustls = { version = "0.26.4", default-features = false, features = [
9696
"ring",
9797
] }
9898
uuid = { version = "1.18.0", features = ["v4"] }

payjoin-test-utils/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ rcgen = { version = "=0.14.7", optional = true }
4040
reqwest = { version = "0.12.23", default-features = false, features = [
4141
"rustls-tls",
4242
], optional = true }
43-
rustls = { version = "0.23.31", default-features = false, features = [
43+
rustls = { version = "0.23.38", default-features = false, features = [
4444
"ring",
4545
], optional = true }
4646
tempfile = { version = "3.20.0", optional = true }

payjoin/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ http = { version = "1.3.1", optional = true }
4848
ohttp = { package = "bitcoin-ohttp", version = "0.6.0", optional = true }
4949
percent-encoding-rfc3986 = { version = "0.1.3", optional = true }
5050
reqwest = { version = "0.12.23", default-features = false, optional = true }
51-
rustls = { version = "0.23.31", optional = true, default-features = false, features = [
51+
rustls = { version = "0.23.38", optional = true, default-features = false, features = [
5252
"ring",
5353
] }
5454
serde = { version = "1.0.228", default-features = false, optional = true }

0 commit comments

Comments
 (0)