Skip to content

Reject bare multi() miniscripts with more than 20 pubkeys - #1323

Merged
NicolasDorier merged 1 commit into
MetacoSA:masterfrom
Nuhiat-Arefin:fix/miniscript-multi-max-keys
Jul 2, 2026
Merged

NicolasDorier merged 1 commit into
MetacoSA:masterfrom
Nuhiat-Arefin:fix/miniscript-multi-max-keys

Conversation

@Nuhiat-Arefin

Copy link
Copy Markdown
Contributor

Closes #1322 . This rejects classic multi(...) and sortedmulti(...) Miniscript fragments when they contain more than 20 pubkeys. These fragments compile to OP_CHECKMULTISIG, which supports at most 20 public keys.

@NicolasDorier
NicolasDorier merged commit 0901e37 into MetacoSA:master Jul 2, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Bare Miniscript multi(...) accepts more than 20 pubkeys and compiles anyway

2 participants