OP_IF
OP_DUP OP_HASH160 OP_EQUALVERIFY OP_CHECKSIG.
OP_ELSE
OP_DUP OP_HASH160 OP_EQUALVERIFY OP_CHECKSIG.
OP_ENDIF
1) Peter Todd. You say your version is better. But it seems to include the PubKeys. I need to include two (or at least one) Bitcoin Address (because I don't have the PubKey, they're not my addresses)
So will BIP19 help me here? and is it available now?
This about this a little harder: you can replace the CHECKSIG pattern in BIP19 with OP_DUP OP_HASH160 OP_EQUALVERIFY OP_CHECKSIG.
The point of using BIP19 is it's more flexible; edmund's construction doesn't do n-of-m easily.