You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
cf8c1c8 Upgrade bitcoin v0.32.0 (Tobin C. Harding)
Pull request description:
We just released a new version of `bitcoin`, lets use it.
Includes upgrading the version of:
- `bitcoind` to `v0.36.0`
- `secp256k1` to `0.29.0`
ACKs for top commit:
apoelstra:
ACK cf8c1c8
Tree-SHA512: 510ff079869b94f2a9a11d05e09a00b19cc7b606b916af559d30b25037dae1b188c0cb9263a8c8718c1f119c64dc6552cc977acde3a5fdbba53d62beda9ecc98
Copy file name to clipboardExpand all lines: src/descriptor/key.rs
+8-9
Original file line number
Diff line number
Diff line change
@@ -7,7 +7,6 @@ use core::str::FromStr;
7
7
use std::error;
8
8
9
9
use bitcoin::bip32::{self,XKeyIdentifier};
10
-
use bitcoin::hashes::hex::FromHex;
11
10
use bitcoin::hashes::{hash160, ripemd160, sha256,Hash,HashEngine};
12
11
use bitcoin::key::XOnlyPublicKey;
13
12
use bitcoin::secp256k1::{Secp256k1,Signing,Verification};
@@ -1234,17 +1233,17 @@ mod test {
1234
1233
fntest_wildcard(){
1235
1234
let public_key = DescriptorPublicKey::from_str("[abcdef00/0'/1']tpubDBrgjcxBxnXyL575sHdkpKohWu5qHKoQ7TJXKNrYznh5fVEGBv89hA8ENW7A8MFVpFUSvgLqc4Nj1WZcpePX6rrxviVtPowvMuGF5rdT2Vi/2").unwrap();
let public_key = DescriptorPublicKey::from_str("[abcdef00/0'/1']tpubDBrgjcxBxnXyL575sHdkpKohWu5qHKoQ7TJXKNrYznh5fVEGBv89hA8ENW7A8MFVpFUSvgLqc4Nj1WZcpePX6rrxviVtPowvMuGF5rdT2Vi/*").unwrap();
let public_key = DescriptorPublicKey::from_str("[abcdef00/0'/1']tpubDBrgjcxBxnXyL575sHdkpKohWu5qHKoQ7TJXKNrYznh5fVEGBv89hA8ENW7A8MFVpFUSvgLqc4Nj1WZcpePX6rrxviVtPowvMuGF5rdT2Vi/*h").unwrap();
let secret_key = DescriptorSecretKey::from_str("tprv8ZgxMBicQKsPcwcD4gSnMti126ZiETsuX7qwrtMypr6FBwAP65puFn4v6c3jrN9VwtMRMph6nyT63NrfUL4C3nBzPcduzVSuHD7zbX2JKVc/0'/1'/2'").unwrap();
1263
1262
let public_key = secret_key.to_public(&secp).unwrap();
let secret_key = DescriptorSecretKey::from_str("tprv8ZgxMBicQKsPcwcD4gSnMti126ZiETsuX7qwrtMypr6FBwAP65puFn4v6c3jrN9VwtMRMph6nyT63NrfUL4C3nBzPcduzVSuHD7zbX2JKVc/0/1/2").unwrap();
1269
1268
let public_key = secret_key.to_public(&secp).unwrap();
let secret_key = DescriptorSecretKey::from_str("[aabbccdd]tprv8ZgxMBicQKsPcwcD4gSnMti126ZiETsuX7qwrtMypr6FBwAP65puFn4v6c3jrN9VwtMRMph6nyT63NrfUL4C3nBzPcduzVSuHD7zbX2JKVc/0/1/2").unwrap();
1275
1274
let public_key = secret_key.to_public(&secp).unwrap();
let secret_key = DescriptorSecretKey::from_str("[aabbccdd/90']tprv8ZgxMBicQKsPcwcD4gSnMti126ZiETsuX7qwrtMypr6FBwAP65puFn4v6c3jrN9VwtMRMph6nyT63NrfUL4C3nBzPcduzVSuHD7zbX2JKVc/0'/1'/2").unwrap();
1281
1280
let public_key = secret_key.to_public(&secp).unwrap();
0 commit comments