revault / practical-revault

Version 0 specifications for a Revault deployment
Creative Commons Attribution 4.0 International
33 stars 9 forks source link

transactions: Correct the CHECKMULTISIG treshold in Scripts #9

Closed darosior closed 4 years ago

darosior commented 4 years ago

While looking at miniscript I did some more tests and realised made a mistake wrt standardness.

As we are using P2WSH and not P2SH, we are not hitting the MAX_SIGOPS standardness limit but the actual PUBKEY_COUNT (# of pubkeys in a multisig) consensus limit! So this is 20, not 15.