1 2016-10-08 04:11:19 <arubi> if you find the answer, please share.  I can't see how it can be forced..
 2 2016-10-08 04:13:52 <arubi> well, I know that it's possible outside bitcoin, but not sure how you can get that in p2sh
 3 2016-10-08 04:15:59 <arubi> sec1-v2.pdf - 3.2.4 and 4.1.7
 4 2016-10-08 08:05:27 <jl2012> achow101, arubi: it's possible with OP_CAT
 5 2016-10-08 08:10:10 <arubi> jl2012, oh okay.  I think I have an idea how if CAT is enabled
 6 2016-10-08 08:10:33 <arubi> but would love to see a script if there is one already
 7 2016-10-08 08:10:42 <jl2012> i written it few months ago
 8 2016-10-08 08:11:33 <jl2012> arubi: https://github.com/jl2012/bips/blob/mastopcodes/bip-mastopcodes.mediawiki
 9 2016-10-08 08:12:23 <arubi> oh very cool, I'll go over it. thanks
10 2016-10-08 08:13:54 <jl2012> i already have an implementation. It works but there are many versions and is WIP
11 2016-10-08 08:15:06 <arubi> jl2012,  mast_v3_161006 ?
12 2016-10-08 08:17:49 <jl2012> i think the v2 one is more stable, but v2 and v3 are not compatible
13 2016-10-08 08:18:59 <arubi> neat.  will definitely have a look.
14 2016-10-08 08:19:18 <jl2012> v2 is described in the current version of BIP114
15 2016-10-08 08:22:39 <arubi> mhm, that one I saw (although not read carefully yet) but the scripting bip is new to me
16 2016-10-08 08:30:24 <jl2012> there is no written spec for v3 yet. It allows inclusion of scripts in the signature (similar to Satoshi's scriptSig design)
17 2016-10-08 08:32:51 <jl2012> in P2SH, P2WSH, and MAST v2, the script is set in stone as committed in the scriptPubKey. But sometimes you may want to add some more codes
18 2016-10-08 08:35:30 <arubi> hmm I guess you can set it up so only the "proper" spender is allowed to add codes?
19 2016-10-08 08:38:27 <jl2012> yes, just make the signature to cover the codes
20 2016-10-08 08:39:02 <jl2012> Satoshi's design is broken because the scriptSig is not signed
21 2016-10-08 08:39:11 <arubi> right, that's why I was asking
22 2016-10-08 08:41:39 <arubi> that's really cool.  bluematt is talking about mast now :)