pub fn descriptor_script_pubkey(descriptor: &str) -> Result<ScriptBuf>Expand description
Derive the script_pubkey for a definite (non-ranged) descriptor string.
Used to bind a supplied crate::RecoveryOutput to the descriptor
identified by a canonical hash before sweeping its coins. A recovery output
is by definition a single, non-ranged output, so a ranged descriptor is
rejected rather than silently resolved at an arbitrary index.