-
Notifications
You must be signed in to change notification settings - Fork 23
feat(syncing): updated bdk_wallet
to version 2.1.0
#122
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
Updated - `bdk_wallet` to version 2.1.0 - `bdk_bitcoind_rpc` to version 0.20.0
Updated - `bdk_wallet` to version 2.1.0 - `bdk_electrum` to version 0.23.1
Updated: - `bdk_wallet` to version 2.1.0 - `bdk_esplora` to version 0.22.1
Updated: - `bdk_wallet` to version 2.1.0 - `bdk_tokio` to version 0.13.1
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Awesome stuff! Lots of good stuff here. I added one little comment on the use of testnet 3.
I have a few changes I'd like to see added to this PR. Can you also update the starter-example
, descriptors
, persistence-memory
, persistence-sqlite
, and recovery-phrases
examples?
@@ -16,7 +16,7 @@ const INTERNAL_DESCRIPTOR: &str = "tr(tprv8ZgxMBicQKsPdrjwWCyXqqJ4YqcyG4DmKtjjsR | |||
|
|||
fn main() -> Result<(), Error> { | |||
let mut wallet: Wallet = Wallet::create(EXTERNAL_DESCRIPTOR, INTERNAL_DESCRIPTOR) | |||
.network(Network::Signet) | |||
.network(Network::Testnet) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We will keep using Signet for the examples if possible (if we used testnet it would be testnet 4 in any case).
But for this PR let's keep using Signet. You can hit the https://blockstream.info/signet/api/
esplora endpoint for this example.
@@ -28,7 +28,7 @@ fn main() -> Result<(), Error> { | |||
//--8<-- [start:client] | |||
// Create the Esplora client | |||
let client: esplora_client::BlockingClient = | |||
Builder::new("http://signet.bitcoindevkit.net").build_blocking(); | |||
Builder::new("https://blockstream.info/testnet/api/").build_blocking(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See comment above.
Updated all syncing example to
bdk_wallet
2.1.0 and latest clients version.