pub fn make_script_config_policy(
policy: &str,
keys: &[KeyOriginInfo],
) -> BtcScriptConfig
Expand description
Create a wallet policy script config according to the wallet policies BIP: https://github.com/bitcoin/bips/pull/1389
At least one of the keys must be ours, i.e. contain our root fingerprint and a keypath to one of our xpubs.