You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After #24148 i think it should be the default behaviour to show a Miniscript descriptor (for the "desc" field) if one could be parsed: InferDescriptor would try parsing a Miniscript under P2WSH context (as in your example). EDIT: InferDescriptor is using a dummy sig provider so it wouldn't work, see #27007 (comment).
However, note your Script here would not be parsed because the Miniscript parser is not passed the preimage to the key hash for OP_DUP OP_HASH160 b6e87320e876a740fc1365aeb1f4b6ab2fe4210b OP_EQUALVERIFY OP_CHECKSIGVERIFY. So i'd say it's the best we can reasonably do.
Activity
darosior commentedon Jul 13, 2022
After #24148 i think it should be the default behaviour to show a Miniscript descriptor (for the
"desc"field) if one could be parsed:InferDescriptorwould try parsing a Miniscript under P2WSH context (as in your example). EDIT:InferDescriptoris using a dummy sig provider so it wouldn't work, see #27007 (comment).However, note your Script here would not be parsed because the Miniscript parser is not passed the preimage to the key hash for
OP_DUP OP_HASH160 b6e87320e876a740fc1365aeb1f4b6ab2fe4210b OP_EQUALVERIFY OP_CHECKSIGVERIFY. So i'd say it's the best we can reasonably do.instagibbs commentedon Jan 31, 2023
hmm seems I opened up a mostly similar issue in #27007
Merge bitcoin/bitcoin#27037: rpc: decode Miniscript descriptor when p…
Merge bitcoin/bitcoin#27037: rpc: decode Miniscript descriptor when p…
Merge bitcoin/bitcoin#27037: rpc: decode Miniscript descriptor when p…
Merge bitcoin/bitcoin#27037: rpc: decode Miniscript descriptor when p…
Merge bitcoin#27037: rpc: decode Miniscript descriptor when possible …
Merge bitcoin#27037: rpc: decode Miniscript descriptor when possible …
Merge bitcoin#27037: rpc: decode Miniscript descriptor when possible …