Trait bitcoin_signingprovider::Expand
source · pub trait Expand {
// Required method
fn expand(
&self,
pos: i32,
provider: &SigningProvider,
output_scripts: &mut Vec<Script>,
out: &mut FlatSigningProvider,
write_cache: Option<*mut DescriptorCache>
) -> bool;
}
Required Methods§
sourcefn expand(
&self,
pos: i32,
provider: &SigningProvider,
output_scripts: &mut Vec<Script>,
out: &mut FlatSigningProvider,
write_cache: Option<*mut DescriptorCache>
) -> bool
fn expand( &self, pos: i32, provider: &SigningProvider, output_scripts: &mut Vec<Script>, out: &mut FlatSigningProvider, write_cache: Option<*mut DescriptorCache> ) -> bool
| Expand a descriptor at a specified position.
|
| ———–
| @param[in] pos
|
| The position at which to expand the descriptor.
| If IsRange() is false, this is ignored.
| –––––
| @param[in] provider
|
| The provider to query for private keys
| in case of hardened derivation.
| –––––
| @param[out] output_scripts
|
| The expanded scriptPubKeys.
| –––––
| @param[out] out
|
| Scripts and public keys necessary for
| solving the expanded scriptPubKeys
| (may be equal to provider
).
| –––––
| @param[out] write_cache
|
| Cache data necessary to evaluate the
| descriptor at this point without access
| to private keys.
|