From decker.christian at gmail.com Tue May 1 11:38:12 2018 From: decker.christian at gmail.com (Christian Decker) Date: Tue, 01 May 2018 13:38:12 +0200 Subject: [Lightning-dev] eltoo: A Simplified update Mechanism for Lightning and Off-Chain Contracts In-Reply-To: <9OOOx7l1TdSQBlgt0MuRvtKzuxa_Z3g0kF315Legl5L-UOvvNZFL_tgAuWhe015Q-ZtOdYfI9iGJkAqhfb42RqazYq0JvTCzXaEr1XkD_iY=@protonmail.com> References: <874ljsitvx.fsf@gmail.com> <9OOOx7l1TdSQBlgt0MuRvtKzuxa_Z3g0kF315Legl5L-UOvvNZFL_tgAuWhe015Q-ZtOdYfI9iGJkAqhfb42RqazYq0JvTCzXaEr1XkD_iY=@protonmail.com> Message-ID: <87sh7bhahn.fsf@gmail.com> ZmnSCPxj writes: > Good morning Christian, > > This is very interesting indeed! > > I have started skimming through the paper. > > I am uncertain if the below text is correct? > >> Throughout this paper we will use the terms *input script* to refer to `witnessProgram` and `scriptPubKey`, and *output script* to refer to the `witness` or `scriptSig`. > > Figure 2 contains to what looks to me like a `witnessProgram`, `scriptPubKey`, or `redeemScript` but refers to it as an "output script": > >> OP_IF >> 10 OP_CSV >> 2 As Bs 2 OP_CHECKMULTISIGVERIFY >> OP_ELSE >> 2 Au Bu 2 OP_CHECKMULTISIGVERIFY >> OP_ENDIF >> >> Figure 2: The output script used by the on-chain update transactions. > > Regards, > ZmnSCPxj Darn last minute changes! Yes, you are right, I seem to have flipped the two definitions. I'll fix that up and push a new version.