Skip to content

Commit 443a165

Browse files
committed
Upgrading to BDK v1.0
1 parent ef8304c commit 443a165

12 files changed

+328
-251
lines changed

.github/workflows/cont_integration.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,10 @@ jobs:
3939
if: matrix.rust == '1.63.0'
4040
run: |
4141
cargo update -p home:0.5.11 --precise 0.5.5
42-
cargo update -p tokio:1.43.0 --precise 1.38.1
4342
cargo update -p cc --precise 1.0.105
43+
cargo update -p rustls:0.23.21 --precise 0.23.12
44+
cargo update -p time --precise 0.3.20
45+
cargo update -p zstd-sys --precise "2.0.7+zstd.1.5.4"
4446
- name: Build
4547
run: cargo build
4648
- name: Clippy

Cargo.toml

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "bdk-reserves"
3-
version = "0.30.1"
3+
version = "1.0.0"
44
authors = ["Richard Ulrich <[email protected]>"]
55
edition = "2018"
66
description = "Proof of reserves for bitcoin dev kit"
@@ -10,12 +10,15 @@ license = "MIT OR Apache-2.0"
1010
repository = "https://github.com/bitcoindevkit/bdk-reserves"
1111

1212
[dependencies]
13-
bdk = { version = "0.30.1", default-features = false, features = ["std"] }
13+
bdk_wallet = { version = "1.0.0", default-features = false, features = ["std"] }
1414
bitcoinconsensus = "0.19.0-3"
1515
log = "^0.4"
1616

17+
# same version as in rust-bitcoin - I couldn't find a re-export
18+
units = { package = "bitcoin-units", version = "0.1.0", default-features = false, features = ["alloc"] }
19+
1720
[dev-dependencies]
1821
rstest = "^0.11"
19-
bdk-testutils = "^0.4"
20-
bdk = { version = "0.30.1", default-features = true }
21-
electrsd = { version = "0.24", features = ["bitcoind_22_0", "electrs_0_9_1"] }
22+
bdk_wallet = { version = "1.0.0", default-features = true, features = ["test-utils"] }
23+
bdk_electrum = "0.20.1"
24+
electrsd = { version = "0.29", features = ["bitcoind_22_1", "electrs_0_9_1"] }

Dockerfile

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,4 @@
1-
<<<<<<< HEAD
2-
FROM rust:1.70-bookworm
3-
=======
41
FROM rust:1.81-bookworm
5-
>>>>>>> d2a9c38 (upgrading to match bdk v0.30)
62
ARG http_proxy
73
ENV http_proxy=$http_proxy
84
ENV https_proxy=$http_proxy

Makefile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,10 @@ test_63: builder_63
1818
rm -f Cargo.lock
1919
$(DOCKER_RUN) ${TAG_63} cargo test || true
2020
$(DOCKER_RUN) ${TAG_63} cargo update -p home:0.5.11 --precise 0.5.5 || true
21-
$(DOCKER_RUN) ${TAG_63} cargo update -p tokio:1.43.0 --precise 1.38.1 || true
2221
$(DOCKER_RUN) ${TAG_63} cargo update -p cc --precise 1.0.105 || true
22+
$(DOCKER_RUN) ${TAG_63} cargo update -p rustls:0.23.21 --precise 0.23.12 || true
23+
$(DOCKER_RUN) ${TAG_63} cargo update -p time --precise 0.3.20 || true
24+
$(DOCKER_RUN) ${TAG_63} cargo update -p zstd-sys --precise "2.0.7+zstd.1.5.4" || true
2325
$(DOCKER_RUN) ${TAG_63} cargo test
2426

2527
run: builder

README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,9 +55,11 @@ This library should always compile with Rust **1.63.0**.
5555
To build with the MSRV you will need to pin the below dependencies:
5656

5757
```shell
58-
cargo update -p home:0.5.9 --precise 0.5.5
59-
cargo update -p tokio:1.39.3 --precise 1.38.1
58+
cargo update -p home:0.5.11 --precise 0.5.5
6059
cargo update -p cc --precise 1.0.105
60+
cargo update -p rustls:0.23.21 --precise 0.23.12
61+
cargo update -p time --precise 0.3.20
62+
cargo update -p zstd-sys --precise "2.0.7+zstd.1.5.4"
6163
```
6264

6365
## Contribution

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,6 @@
99
// You may not use this file except in accordance with one or both of these
1010
// licenses.
1111

12-
pub extern crate bdk;
12+
pub extern crate bdk_wallet;
1313

1414
pub mod reserves;

0 commit comments

Comments
 (0)