fn unsigned_script_sig(&self) -> Script
    where
        Pk: ToPublicKey,
    {
        match *self {
            PreTaprootDescriptor::Bare(ref bare) => bare.unsigned_script_sig(),
            PreTaprootDescriptor::Pkh(ref pkh) => pkh.unsigned_script_sig(),
            PreTaprootDescriptor::Wpkh(ref wpkh) => wpkh.unsigned_script_sig(),
            PreTaprootDescriptor::Wsh(ref wsh) => wsh.unsigned_script_sig(),
            PreTaprootDescriptor::Sh(ref sh) => sh.unsigned_script_sig(),
        }
    }
/// Computes the scriptSig that will be in place for an unsigned
/// input spending an output with this descriptor. For pre-segwit
/// descriptors, which use the scriptSig for signatures, this
/// returns the empty script.
///
/// This is used in Segwit transactions to produce an unsigned
/// transaction whose txid will not change during signing (since
/// only the witness data will change).
Computes the scriptSig that will be in place for an unsigned
input spending an output with this descriptor. For pre-segwit
descriptors, which use the scriptSig for signatures, this
returns the empty script.

This is used in Segwit transactions to produce an unsigned
transaction whose txid will not change during signing (since
only the witness data will change).
Computes the scriptSig that will be in place for an unsigned input spending an output with this descriptor . For pre - segwit descriptors which use the scriptSig for signatures this returns the empty script . This is used in Segwit transactions to produce an unsigned transaction whose txid will not change during signing ( since only the witness data will change ) .
fn unsigned_script_sig(&self) -> Script
    where
        Pk: ToPublicKey,
    {
        match *self {
            PreTaprootDescriptor::Bare(ref bare) => bare.unsigned_script_sig(),
            PreTaprootDescriptor::Pkh(ref pkh) => pkh.unsigned_script_sig(),
            PreTaprootDescriptor::Wpkh(ref wpkh) => wpkh.unsigned_script_sig(),
            PreTaprootDescriptor::Wsh(ref wsh) => wsh.unsigned_script_sig(),
            PreTaprootDescriptor::Sh(ref sh) => sh.unsigned_script_sig(),
        }
    }
fn unsigned_script_sig ( & self ) -> Script where Pk : ToPublicKey , { match * self { PreTaprootDescriptor :: Bare ( ref bare ) => bare . unsigned_script_sig ( ) , PreTaprootDescriptor :: Pkh ( ref pkh ) => pkh . unsigned_script_sig ( ) , PreTaprootDescriptor :: Wpkh ( ref wpkh ) => wpkh . unsigned_script_sig ( ) , PreTaprootDescriptor :: Wsh ( ref wsh ) => wsh . unsigned_script_sig ( ) , PreTaprootDescriptor :: Sh ( ref sh ) => sh . unsigned_script_sig ( ) , } }
Computes the scriptSig that will be in place for an unsigned
input spending an output with this descriptor.
Computes the scriptSig that will be in place for an unsigned input spending an output with this descriptor .
&self
&self