From ZmnSCPxj at protonmail.com Thu Dec 19 03:22:18 2019 From: ZmnSCPxj at protonmail.com (ZmnSCPxj) Date: Thu, 19 Dec 2019 03:22:18 +0000 Subject: [Lightning-dev] Pay-to-Open and UX improvements In-Reply-To: References: <20191217144346.erlikoqqllxu4irx@ganymede> <3GiEjMd49K1cZukcBKrRpZE4xa0-GQ4andCz_4MIO3WHIjSdDEdPrOTwez7hJwHgHM9NUHzXaWoSGPd6m_71xoLJvZUEw1Cllcm6TfFb5Yo=@protonmail.com> Message-ID: Good morning t-bast, > * A script-path spend with the following script (and only that script): > OP_SWAP OP_DUP OP_EQUALVERIFY OP_SWAP

OP_CHECKSIG Why not this: OP_SWAP OP_CHECKSPLITSIG ? Since `R` is constrained to be fixed anyway, why repeat `R` twice, once in the script and once in the witness stack? Also, would we want to support non-`SIGHASH_ALL` sighashes? Regards, ZmnSCPxj