2 ms·
Thats a really inefficient way of encoding it. It would result in a much smaller scriptPubKey to encode something like this instead: S_pub OP_CHECKSIG OP_SWAP
by nullc 13y ago
Thats a really inefficient way of encoding it.
It would result in a much smaller scriptPubKey to encode something like this instead:
S_pub OP_CHECKSIG OP_SWAP B_pub OP_CHECKSIG OP_ADD OP_DUP OP_DUP OP_VERIFY OP_2 OP_EQUAL OP_NOTIF 0 2 A1_pub A2_pub A3_pub 3 OP_CHECKMULTISIGVERIFY OP_ENDIF
Or something like that— only the 5 pubkeys involved instead of adding extra ones.
- ryan-c 13y agoI'm aware it's inefficient, I was trying to suggest something that would currently be accepted as a standard transaction. I wasn't aware of the three key limit that's mentioned elsewhere in the thread, though, so my suggestion wouldn't be standard anyway.