We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
or(pk(k1),pk(k2))
The second policy example at https://bitcoin.sipa.be/miniscript/
"One of two keys (equally likely)" - or(pk(key_1),pk(key_2))) - compiles to or_b(pk(key_1),s:pk(key_2)).
or(pk(key_1),pk(key_2)))
or_b(pk(key_1),s:pk(key_2))
Should it not compile to multi(1,key_1,key_2) instead, which has the same witness size but a smaller script size (71 WU vs 72 WU)?
multi(1,key_1,key_2)
The text was updated successfully, but these errors were encountered:
No branches or pull requests
The second policy example at https://bitcoin.sipa.be/miniscript/
"One of two keys (equally likely)" -
or(pk(key_1),pk(key_2)))
- compiles toor_b(pk(key_1),s:pk(key_2))
.Should it not compile to
multi(1,key_1,key_2)
instead, which has the same witness size but a smaller script size (71 WU vs 72 WU)?The text was updated successfully, but these errors were encountered: