Trait bitcoin_signingprovider::MakeScripts
source · pub trait MakeScripts {
// Required method
fn make_scripts(
&self,
pubkeys: &Vec<PubKey>,
scripts: &[Script],
out: &mut FlatSigningProvider
) -> Vec<Script>;
}
Required Methods§
sourcefn make_scripts(
&self,
pubkeys: &Vec<PubKey>,
scripts: &[Script],
out: &mut FlatSigningProvider
) -> Vec<Script>
fn make_scripts( &self, pubkeys: &Vec<PubKey>, scripts: &[Script], out: &mut FlatSigningProvider ) -> Vec<Script>
| A helper function to construct the scripts | for this descriptor. | | This function is invoked once by ExpandHelper. | | ———– | @param pubkeys | | The evaluations of the m_pubkey_args | field. | ––––– | @param scripts | | The evaluations of m_subdescriptor_args | (one for each m_subdescriptor_args | element). | ––––– | @param out | | A FlatSigningProvider to put scripts | or public keys in that are necessary | to the solver. | | The origin info of the provided pubkeys | is automatically added. | | ———– | @return | | A vector with scriptPubKeys for this | descriptor. |