Files
lightning/lightningd
Rusty Russell 773d2c09e1 lightningd: push incoming HTLCs into SENT_REMOVE_HTLC upon outgoing resolution.
When we get a fail/fulfill on an outgoing HTLC, we tell the correspoding
incoming HTLC about it.  But if that peer is disconnected, we don't.

The better solution is to copy the preimage/malformed/failmessage and mark
the incoming HTLC as resolved.  This is done most simply by marking it
SENT_REMOVE_HTLC, which will work in the database case as well.

channeld now re-transmits appropriately when it gets started with an HTLC
in that state.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2017-06-23 09:29:42 +09:30
..
2017-05-12 12:59:09 +02:00
2017-06-06 09:16:10 +09:30
2017-05-09 11:43:35 +09:30
2017-05-25 14:24:47 +09:30
2017-02-24 16:22:56 +10:30
2017-05-09 11:43:35 +09:30
2017-04-25 22:00:28 +02:00
2017-06-07 09:19:04 +09:30
2017-05-25 14:24:47 +09:30
2017-06-06 09:16:10 +09:30