Skip to main content

CpfpSigner

Trait CpfpSigner 

Source
pub trait CpfpSigner: Send + Sync {
    // Required method
    fn sign_psbt<'life0, 'async_trait>(
        &'life0 self,
        psbt_bytes: Vec<u8>,
    ) -> Pin<Box<dyn Future<Output = Result<Vec<u8>, SignerError>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
}
Expand description

Signer for external UTXO inputs in CPFP fee-bumping transactions.

Signs the non-finalized inputs of a PSBT (serialized as bytes) and returns the signed PSBT (also serialized as bytes).

Required Methods§

Source

fn sign_psbt<'life0, 'async_trait>( &'life0 self, psbt_bytes: Vec<u8>, ) -> Pin<Box<dyn Future<Output = Result<Vec<u8>, SignerError>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Implementors§