Skip to content

Commit

Permalink
adapt to changes in bitcoindevkit/bdk-reserves#34
Browse files Browse the repository at this point in the history
  • Loading branch information
ulrichard committed Jan 8, 2024
1 parent 6f61d2e commit 95f976f
Show file tree
Hide file tree
Showing 4 changed files with 51 additions and 60 deletions.
64 changes: 31 additions & 33 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 4 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "bdk-cli"
version = "0.27.1"
version = "0.28.2"
edition = "2018"
authors = ["Alekos Filini <[email protected]>", "Riccardo Casatta <[email protected]>", "Steve Myers <[email protected]>"]
homepage = "https://bitcoindevkit.org"
Expand All @@ -12,7 +12,7 @@ readme = "README.md"
license = "MIT"

[dependencies]
bdk = { version = "0.27.1", default-features = false, features = ["all-keys"] }
bdk = { version = "0.28.2", default-features = false, features = ["all-keys", "std"] }
bdk-macros = "0.6"
clap = { version = "3.2.22", features = ["derive"] }
serde_json = "1.0"
Expand All @@ -26,7 +26,8 @@ base64 = "^0.13"
rustyline = { version = "~9.0", optional = true }
fd-lock = { version = "=3.0.2", optional = true }
regex = { version = "1", optional = true }
bdk-reserves = { version = "0.27.1", optional = true }
#bdk-reserves = { version = "0.27.1", optional = true }
bdk-reserves = { git = "https://github.com/Ademan/bdk-reserves", branch="wip-bip-0127", optional = true }
electrsd = { version= "0.22", features = ["bitcoind_22_0"], optional = true}

# Platform-specific dependencies
Expand Down
16 changes: 5 additions & 11 deletions src/commands.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1554,7 +1554,7 @@ mod test {
.unwrap();
let psbt = encode_psbt(psbt);
let psbt = str::from_utf8(&psbt).unwrap();
assert_eq!(format!("{}", psbt), "cHNidP8BAP0YAgEAAAAM0DsC5Uy7AiuQC5e0oOrDcGu6i8rY8fsT3QzMJvJoAyUAAAAAAP////8IgYfaHR37CUDGQCaLj/QMLxAFteVTnYAskOVx6wHQLgEAAAAA/////wx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wEHAAEIawJHMEQCIFiWtd0dFl9o6csbmrgRM1EOt+Xo3fg+8WFNd2iBV0gvAiAjGq//1QVZK3bcYx8A3zJs43Qjf/6rj0KwBHAPwNmb9QEhAysFWAeL7DhpSoSTPWWTA+JXXa5+kWhZEUVBFb/WRIfjAAA=");
assert_eq!(format!("{}", psbt), "cHNidP8BAP0YAgEAAAAMANi4ZQAjnXFUkVk4q9Y39Q7i/mlrk1/nG2IzOyjF0CsAAAAAAP////8IgYfaHR37CUDGQCaLj/QMLxAFteVTnYAskOVx6wHQLgEAAAAA/////wxNB645qLQXuZJoemip3ne14b5R5GWHEDL8o20m0oiHAAAAAAD/////UII10YAYjpnNzaXu1mPht5rsUF74nrz4anfwWykHepUAAAAAAP////+yr7v1/En7kXz3nVdxunw3lVhUmh6wbXN3cDFK1wbA9gAAAAAA/////7cV00FjL7mwDKa6bLd6TEoI1EI8OszcFUnlqT8j8a2HAQAAAAD/////u193IvDJvWzXUG6xaO8zqLBJK0wKKcVdgG74x+OYVOkAAAAAAP////+80K0TirJXCaMzD5VTAsfU35C3Xkawe26Ha2/vynAarQEAAAAA/////8BRLif9KQ71JK8i/wwjZd2bfF2fvtK53q5fk/KoKBqcAQAAAAD/////0BqoaKC7isw56cqwgPLMffSpGoSsuaycXuHMBc6W5/8AAAAAAP/////vDoSJCOCXfj+sO/p8S7w6AaPg2dbBaP0bAliB7X+3+wEAAAAA//////nwXYCb9rUnXsOz23U8xLrx6fhHcWbV2U2ItyzyqK4SAQAAAAD/////AWcFIAAAAAAAGXapFJ9/0JbTftLA4/fwz8kkvu9P/OtoiKwAAAAAAAEBCgAAAAAAAAAAAVEBBwABCSZUaG9zZSBjb2lucyBiZWxvbmcgdG8gU2F0b3NoaSBOYWthbW90bwABAR+KjgEAAAAAABYAFOzlJlcQU9qGRUyeBmd56vnRUC5qIgYDKwVYB4vsOGlKhJM9ZZMD4lddrn6RaFkRRUEVv9ZEh+ME7OUmVwEHAAEIawJHMEQCIApodknei9IlfXEmB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RFFQRW/1kSH4wABAR8QJwAAAAAAABYAFOzlJlcQU9qGRUyeBmd56vnRUC5qIgYDKwVYB4vsOGlKhJM9ZZMD4lddrn6RaFkRRUEVv9ZEh+ME7OUmVwEHAAEIawJHMEQCIBU0eMiQ/FfU4OVH19nETqnNuTggoINuzCYO1op789BaAiASnlZtIIA/FB5MsdrqwJrmSmpDwp4LkRUnO/9W9AhdrAEhAysFWAeL7DhpSoSTPWWTA+JXXa5+kWhZEUVBFb/WRIfjAAEBHxAnAAAAAAAAFgAU7OUmVxBT2oZFTJ4GZ3nq+dFQLmoiBgMrBVgHi+w4aUqEkz1lkwPiV12ufpFoWRFFQRW/1kSH4wTs5SZXAQcAAQhrAkcwRAIgQDXc7dRHfxx4f7ZOHFhYIK1tikFek6Z4DE7srzh73iMCIDywccNDMl83yESpXY4S7Jrhm9TiHBMZgAN+ambO3v5VASEDKwVYB4vsOGlKhJM9ZZMD4lddrn6RaFkRRUEVv9ZEh+MAAA==");

let psbt_b64 = &result
.as_object()
Expand Down Expand Up @@ -1602,7 +1602,7 @@ mod test {
fn test_proof_of_reserves_veryfy() {
let message = "Those coins belong to Satoshi Nakamoto";
let address = "tb1qanjjv4cs20dgv32vncrxw702l8g4qtn2m9wn7d";
let psbt = "cHNidP8BAKcBAAAAA9A7AuVMuwIrkAuXtKDqw3BruovK2PH7E90MzCbyaAMlAAAAAAD/////sq+79fxJ+5F8951Xcbp8N5VYVJoesG1zd3AxStcGwPYAAAAAAP/////AUS4n/SkO9SSvIv8MI2Xdm3xdn77Sud6uX5PyqCganAEAAAAA/////wGwrQEAAAAAABl2qRSff9CW037SwOP38M/JJL7vT/zraIisAAAAAAABAQoAAAAAAAAAAAFRAQcAAAEBHxAnAAAAAAAAFgAU7OUmVxBT2oZFTJ4GZ3nq+dFQLmoiAgMrBVgHi+w4aUqEkz1lkwPiV12ufpFoWRFFQRW/1kSH40gwRQIhAPgByvkajQrNeQDSGik2gnxpo/P/owiEHR+0nWefkXurAiBgrAlDv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fk7THAvQuXaD3RX9St/RDBJC1gfwA2ePYXZfWyzZvUCIAtXUmo2km5U+UACzXuhvmfDbMGR/+YRLuUlh1be4KilASEDKwVYB4vsOGlKhJM9ZZMD4lddrn6RaFkRRUEVv9ZEh+MAAQEfnfgYAAAAAAAWABTs5SZXEFPahkVMngZneer50VAuaiIGAysFWAeL7DhpSoSTPWWTA+JXXa5+kWhZEUVBFb/WRIfjBOzlJlcBBwABCGsCRzBEAiBvqAGpqOEGTWWF7N2JEKFWuI+JsQ0jVMNTVw7C8N9zuQIgCV5kPRkGXHsRI5oabseMFfLkzB/ffgn8nt54X8P1eb8BIQMrBVgHi+w4aUqEkz1lkwPiV12ufpFoWRFFQRW/1kSH4wABAR8QJwAAAAAAABYAFOzlJlcQU9qGRUyeBmd56vnRUC5qIgYDKwVYB4vsOGlKhJM9ZZMD4lddrn6RaFkRRUEVv9ZEh+ME7OUmVwEHAAEIawJHMEQCIBU0eMiQ/FfU4OVH19nETqnNuTggoINuzCYO1op789BaAiASnlZtIIA/FB5MsdrqwJrmSmpDwp4LkRUnO/9W9AhdrAEhAysFWAeL7DhpSoSTPWWTA+JXXa5+kWhZEUVBFb/WRIfjAAEBHxAnAAAAAAAAFgAU7OUmVxBT2oZFTJ4GZ3nq+dFQLmoiBgMrBVgHi+w4aUqEkz1lkwPiV12ufpFoWRFFQRW/1kSH4wTs5SZXAQcAAQhrAkcwRAIgQDXc7dRHfxx4f7ZOHFhYIK1tikFek6Z4DE7srzh73iMCIDywccNDMl83yESpXY4S7Jrhm9TiHBMZgAN+ambO3v5VASEDKwVYB4vsOGlKhJM9ZZMD4lddrn6RaFkRRUEVv9ZEh+MAAA==";

let cli_args = vec![
"bdk-cli",
Expand All @@ -1629,15 +1629,9 @@ mod test {
} => (message, psbt, confirmations, addresses, electrum_opts),
_ => panic!("unexpected subcommand"),
};
let result = handle_ext_reserves_subcommand(
Network::Bitcoin,
message,
psbt,
confirmations,
addresses,
electrum_opts,
)
.unwrap();
let result =
handle_ext_reserves_subcommand(message, psbt, confirmations, addresses, electrum_opts)
.unwrap();
let spendable = result
.as_object()
.unwrap()
Expand Down
Loading

0 comments on commit 95f976f

Please sign in to comment.