From decker.christian at gmail.com Thu May 3 10:28:53 2018 From: decker.christian at gmail.com (Christian Decker) Date: Thu, 03 May 2018 12:28:53 +0200 Subject: [Lightning-dev] eltoo: A Simplified update Mechanism for Lightning and Off-Chain Contracts In-Reply-To: References: <874ljsitvx.fsf@gmail.com> <87o9hzh998.fsf@gmail.com> <3IDeWyELpEhyqG2APyykQePqp7WPx99_U0aAKe9c4JAfjaV7WSsru1lnOUodf_sd225hWNjHk5Toib59MPLdBk_zb-P0TL9ume3GL7r2eYM=@protonmail.com> Message-ID: <871setghi2.fsf@gmail.com> ZmnSCPxj writes: > Ha, no, looking at the detailed `SIGHASH_NOINPUT` spec, `hashPrevouts`, which normally commits to the other inputs, is blanked, so we do not commit to them either. This means that `SIGHASH_NOINPUT` implicitly has a `SIGHASH_ANYONECANPAY`. > > (the BIP `SIGHASH_NOINPUT` in the eltoo pdf does not mention `hashSequence`, but it seems you managed to add that to your github BIP repository) Yeah, Russell O'Connor pointed that difference out and I saw no point in committing to the hashSequence, so I amended both the paper and the BIP. The paper will get updated in a few days with the typos people have found, but I thought that the BIP discussion was more urgent to keep up to date, so I pushed that directly :-)