core-lightning/channeld
Rusty Russell c84cade270 channeld: give some tolerance for empty commitments.
The spec says not to send a commitment_signed without any changes, but LND
does this.  To understand why, you have to understand how LND works.  I
haven't read the code, but I'm pretty sure it works like this:

1. lnd slows down to do garbage collection, because it's in Go.
2. When an alert timer goes off, noticing it's not making process, it
   sends a twitter message to @roasbeef.
3. @roasbeef sshs into the user's machine and binary patches lnd to send
   a commitment_signed message.
4. Unfortunately he works so fast that various laws of causality are broken,
   meaning sometimes the commitment_signed is sent before any of thes
   other things happen.

I'm fairly sure that this will stop as @roasbeef ages, or lnd introduces
some kind of causality enforcement fix.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2019-04-16 15:01:03 -07:00
..
test libwally: update to 0.6.8. 2019-04-13 18:55:15 +02:00
channel_wire.csv Use node_id everywhere for nodes. 2019-04-09 12:37:16 -07:00
channeld_htlc.h channeld: use amount_msat for struct htlc amount. 2019-02-21 08:01:37 +00:00
channeld.c channeld: give some tolerance for empty commitments. 2019-04-16 15:01:03 -07:00
commit_tx.c wally: Remove tx->input and tx->output, wally all the way! 2019-04-08 00:00:00 +00:00
commit_tx.h commit_tx & htlc_tx: use amount_sat/amount_msat. 2019-02-21 08:01:37 +00:00
full_channel_error.h channeld: map htlc add/remove errors to names. 2018-02-19 02:56:51 +00:00
full_channel.c fix:Add infor about how many blocks needed until funding is confirmed 2019-04-07 23:45:35 +00:00
full_channel.h fix:Add infor about how many blocks needed until funding is confirmed 2019-04-07 23:45:35 +00:00
Makefile Use node_id everywhere for nodes. 2019-04-09 12:37:16 -07:00