From ZmnSCPxj at protonmail.com Thu Dec 19 06:24:15 2019 From: ZmnSCPxj at protonmail.com (ZmnSCPxj) Date: Thu, 19 Dec 2019 06:24:15 +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: <6dOF2eZd0A4ICUmgFP4owHBJBWdoPOA9yp1Wvj7gn6xgIhK-YrtZ_tsoEmeJ-cu7kMaKSpNR52_qoJVppp_VDxxO1OEbr7EB-5h3DYIvXck=@protonmail.com> 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? For that matter, since we are far more likely to have a constant `R` than a constant `s` maybe you should instead propose that `OP_CHECKSPLITSIG` be given `

OP_CHECKSPLITSIG`, so that a fixed-`R` single-show signature is just `

OP_CHECKSPLITSIG`. Regards, ZmnSCPxj