rgb-cln/lightningd/channel
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
..
Makefile channel: unwrap and send incoming HTLCs to master. 2017-04-01 23:59:46 +10:30
channel.c lightningd: push incoming HTLCs into SENT_REMOVE_HTLC upon outgoing resolution. 2017-06-23 09:29:42 +09:30
channel_wire.csv subd: hand through fatal messages as well to callback. 2017-06-23 09:29:42 +09:30