pub trait TransactionSigner: SignerCommon {
// Required method
fn sign_transaction(
&self,
psbt: &mut Psbt,
sign_options: &SignOptions,
secp: &Secp256k1<All>,
) -> Result<(), SignerError>;
}👎Deprecated since 2.2.0: PSBT signing was moved to
bitcoin::psbt moduleExpand description
PSBT signer
This trait can be implemented when the signer can’t sign inputs individually, but signs the whole transaction at once.
Required Methods§
Sourcefn sign_transaction(
&self,
psbt: &mut Psbt,
sign_options: &SignOptions,
secp: &Secp256k1<All>,
) -> Result<(), SignerError>
👎Deprecated since 2.2.0: PSBT signing was moved to bitcoin::psbt module
fn sign_transaction( &self, psbt: &mut Psbt, sign_options: &SignOptions, secp: &Secp256k1<All>, ) -> Result<(), SignerError>
bitcoin::psbt moduleSign all the inputs of the psbt