Re: [Lightning-dev] [bitcoin-dev] BIP sighash_noinput

2018-05-15 Thread Christian Decker
Anthony Towns writes: > On Thu, May 10, 2018 at 08:34:58AM +0930, Rusty Russell wrote: >> > The big concern I have with _NOINPUT is that it has a huge failure >> > case: if you use the same key for multiple inputs and sign one of them >> > with _NOINPUT, you've spent all of

Re: [Lightning-dev] Receiving via unpublished channels

2018-05-15 Thread ZmnSCPxj via Lightning-dev
Good morning nayuto-ueno, > `r` field doesn't contain signature like `channel_update`. > > Do c-lightning check something in the `r` field from payee's invoice? > No. Invoice has signature for whole invoice. Of course, only payee signature (fee of this channel is fee from the peer of the