lnd.xprv/htlcswitch
Olaoluwa Osuntokun dbe76a1507
htlcswitch: upon restart, examine all active HTLC's, settle those that we can
In this commit, we address a lingering TODO: before this if we had a
set of HTLC’s that we knew the pre-image to on our commitment
transaction after a restart, then we wouldn’t attempt to settle them.
With this new change, we’ll check that we didn’t already retransmit the
settles for them, and check the preimage cache to see if we already
know the preimage. If we do, then we’ll immediately settle them.
2018-01-22 19:19:40 -08:00
..
circuit_test.go htlcswitch: Rename htlcPacket fields for clarity. 2017-12-14 17:53:58 -08:00
circuit.go htlcswitch: Change circuit map keys to (channel ID, HTLC ID). 2017-12-14 17:53:58 -08:00
failure.go htlcswitch: add new ExtraMsg field to ForwardingError 2017-10-16 18:15:51 -07:00
interfaces.go htlcswitch: add new method to the ChannelLink interface, EligibleToForward 2017-12-06 16:42:57 -08:00
iterator.go htlcswitch: ensure onion related errors always have the BadOnion bit set 2018-01-08 19:50:21 -08:00
link_test.go htlcswitch: reject duplicate payments to same invoice 2018-01-04 14:23:37 -06:00
link.go htlcswitch: upon restart, examine all active HTLC's, settle those that we can 2018-01-22 19:19:40 -08:00
log.go lnd: remove seelog logger 2017-06-25 14:19:56 +01:00
mailbox_test.go multi: fix several typos in godoc comments 2017-12-17 18:40:05 -08:00
mailbox.go htlcswitch: add new ProcessContractResolution method 2018-01-22 19:19:38 -08:00
mock.go htlcswitch: print rhash in error messages of mockInvoiceRegistry 2018-01-08 19:50:23 -08:00
packet.go htlcswitch: add new ProcessContractResolution method 2018-01-22 19:19:38 -08:00
queue_test.go htlcswitch: Remove obsolete fields from htlcPacket. 2017-12-14 17:53:58 -08:00
queue.go htlcswitch: fix alignment of the packetQueue's fields for 32-bit systems (#507) 2017-12-22 16:32:11 +01:00
switch_test.go htlcswitch: Fix failure error handling on outgoing adds. 2017-12-14 17:53:58 -08:00
switch.go htlcswitch: add new ProcessContractResolution method 2018-01-22 19:19:38 -08:00
test_utils.go lnwallet: don't use persistent pointer to funding tx within channel state machine 2017-12-22 19:26:35 +01:00