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
Copy file name to clipboardExpand all lines: src/wallet/mod.rs
+24Lines changed: 24 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -1122,6 +1122,10 @@ impl Wallet {
1122
1122
/// Add an external signer
1123
1123
///
1124
1124
/// See [the `signer` module](signer) for an example.
1125
+
#[deprecated(
1126
+
since = "3.2.0",
1127
+
note = "use your KeyMap or Xpriv and sign with Wallet::sign_psbt for software signing, or use your own signer for hardware signing. Wallet::sign_with_signers lets you keep using a SignersContainer while the signer module is phased out (issue #70)."
1128
+
)]
1125
1129
pubfnadd_signer(
1126
1130
&mutself,
1127
1131
keychain:KeychainKind,
@@ -1140,6 +1144,10 @@ impl Wallet {
1140
1144
///
1141
1145
/// Note this does nothing if the given keychain has no descriptor because we won't
1142
1146
/// know the context (segwit, taproot, etc) in which to create signatures.
1147
+
#[deprecated(
1148
+
since = "3.2.0",
1149
+
note = "use your KeyMap or Xpriv and sign with Wallet::sign_psbt for software signing, or use your own signer for hardware signing. Wallet::sign_with_signers lets you keep using a SignersContainer while the signer module is phased out (issue #70)."
note = "use your KeyMap or Xpriv and sign with Wallet::sign_psbt for software signing, or use your own signer for hardware signing. Wallet::sign_with_signers lets you keep using a SignersContainer while the signer module is phased out (issue #70)."
note = "the Wallet is being phased out as a key store; keep your own KeyMap or Xpriv instead. During the transition you can still pass the returned SignersContainer to Wallet::sign_with_signers (issue #70)."
/// let finalized = wallet.sign(&mut psbt, SignOptions::default())?;
1751
1770
/// assert!(finalized, "we should have signed all the inputs");
1752
1771
/// # Ok::<(),anyhow::Error>(())
1753
1772
/// ```
1773
+
#[deprecated(
1774
+
since = "3.2.0",
1775
+
note = "use your KeyMap or Xpriv and sign with Wallet::sign_psbt for software signing, or use your own signer for hardware signing. Wallet::sign_with_signers lets you keep using a SignersContainer while the signer module is phased out (issue #70)."
Copy file name to clipboardExpand all lines: src/wallet/params.rs
+12Lines changed: 12 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -141,6 +141,10 @@ impl CreateParams {
141
141
}
142
142
143
143
/// Extend the given `keychain`'s `keymap`.
144
+
#[deprecated(
145
+
since = "3.2.0",
146
+
note = "use your KeyMap or Xpriv and sign with Wallet::sign_psbt for software signing, or use your own signer for hardware signing. Wallet::sign_with_signers lets you keep using a SignersContainer while the signer module is phased out (issue #70)."
note = "use your KeyMap or Xpriv and sign with Wallet::sign_psbt for software signing, or use your own signer for hardware signing. Wallet::sign_with_signers lets you keep using a SignersContainer while the signer module is phased out (issue #70)."
/// Whether to try extracting private keys from the *provided descriptors* upon loading.
309
317
/// See also [`LoadParams::descriptor`].
318
+
#[deprecated(
319
+
since = "3.2.0",
320
+
note = "use your KeyMap or Xpriv and sign with Wallet::sign_psbt for software signing, or use your own signer for hardware signing. Wallet::sign_with_signers lets you keep using a SignersContainer while the signer module is phased out (issue #70)."
0 commit comments