I haven't looked into your site much, but would you mind explaining why you decided embedded IF/ELSEs with an OP_0 and/or OP_1 combination before the redeemscript was necessary?
As far as I can see this is non-standard multisig output 2-of-4 ( or something similar )
it can be spent by
Alice + Bob
Bob + Charley
Charley + David
Alice + David
[Alice + Charley] or [Bob + David] can not spend this output
Actually. The ScriptSig was this:
00 #OP_0
493046022100f3e419061d5ad9acfc5f17e113dad8683690378b20530b853f2e0f238925d08d022100aa3981e95bb612023be4a1425286b81ff78c0a597537361e047f0f87bfbf1ee601 #SIG
483045022100d428174f7629ae25ae1bff217ea4f66a84dec87d1b165b3bdcce563dcb9304d8022007d3b49b5fa09ced820cc06c93358ae654df8db76c4336bfb6c91c0e96569b2301 #SIG
00 #OP_0
51 #OP_1
4cdb #PUSHDATA (This is pushing the rest of the ScriptSig on the stack (aka it's the redeemscript)
63 #OP_IF
63 #OP_IF
522103b1e8aba06d96273de138cb8f672ef93b3bdefd9dc18d6c038e4eb8a766778ad32103d93547f38370b35471a8ee463b4245d6b1282a0feccce8e149c4ada76d32df1a52ae #MULTISIG 2 of 2
67 #OP_ELSE
52210247e6c3a88d76ab7505c147e5a9bcf0011226f7690081dd728042831f90a391ed210389688a084ff6f83c9ed3c91236e0f46d060cef32da23dfc6fc147fde6af9ca1052ae #MULTISIG 2 of 2
68 #OP_ENDIF
67 #OP_ELSE
522103b1e8aba06d96273de138cb8f672ef93b3bdefd9dc18d6c038e4eb8a766778ad3210247e6c3a88d76ab7505c147e5a9bcf0011226f7690081dd728042831f90a391ed52ae #MULTISIG 2 of 2
68 #OP_ENDIF
So BEFORE the redeemscript, he places any combination of 0 and 1. in the tx he used 0 then 1, meaning the first IF would trigger and the second IF would not (and the proceeding ELSE would)...
OP_0 would give the 3rd multisig, OP_1 OP_0 gives the 2nd multisig and OP_1 OP_1 would give the 1st multisig.
Rather than using IF/ELSE embedding (which is hard to negative test effectively) there seems like there would be a better way of doing what he's trying to accomplish... maybe this is the best way... but I won't know unless he tells me what he's trying to accomplish.
OP>
A PM would be fine if you don't want it public. I won't tell anyone.