pub trait InputSigner: SignerCommon {
// Required method
fn sign_input(
&self,
psbt: &mut Psbt,
input_index: usize,
sign_options: &SignOptions,
secp: &Secp256k1<All>,
) -> Result<(), SignerError>;
}👎Deprecated since 2.2.0: PSBT signing was moved to
bitcoin::psbt moduleExpand description
PSBT Input signer
This trait can be implemented to provide custom signers to the wallet. If the signer supports
signing individual inputs, this trait should be implemented and BDK will provide automatically
an implementation for TransactionSigner.
Required Methods§
Sourcefn sign_input(
&self,
psbt: &mut Psbt,
input_index: usize,
sign_options: &SignOptions,
secp: &Secp256k1<All>,
) -> Result<(), SignerError>
👎Deprecated since 2.2.0: PSBT signing was moved to bitcoin::psbt module
fn sign_input( &self, psbt: &mut Psbt, input_index: usize, sign_options: &SignOptions, secp: &Secp256k1<All>, ) -> Result<(), SignerError>
bitcoin::psbt moduleSign a single psbt input