lnd.xprv/htlcswitch
Johan T. Halseth 6e361d04cf
lnwallet+link: move marking channel states to link
Instead of marking the database state when processing the channel
reestablishment message, we wait for the result of this processing to
arrive in the link, and mark it accordingly in the database here.

We do this move the logic determining whether we should force close the
channel or not, and what state to mark it in the DB, to the same place,
as these need to be consistent.
2019-09-25 14:04:43 +02:00
..
hodl htlcswitch/hodl: switch from debug tag to dev 2018-10-05 13:04:45 +09:00
hop Merge pull request #3465 from cfromknecht/tlv-parsed-types 2019-09-09 05:42:03 -07:00
circuit_map.go htlcswitch: move hop iterator into htlcswitch/hop package 2019-09-05 15:30:31 +02:00
circuit_test.go multi: remove dead code 2019-09-10 17:21:59 +02:00
circuit.go htlcswitch: move hop iterator into htlcswitch/hop package 2019-09-05 15:30:31 +02:00
decayedlog_test.go htlcswitch/decayedlog_test: fix bug in gc unit test 2018-06-27 14:40:28 -07:00
decayedlog.go multi: fix dropped errors 2019-09-13 09:50:38 +02:00
failure.go htlcswitch: move hop iterator into htlcswitch/hop package 2019-09-05 15:30:31 +02:00
interfaces.go multi: use separate cltv expiry field from invoice 2019-09-04 19:20:19 +02:00
link_test.go multi: update internals to support updating max htlc 2019-09-23 13:07:10 +02:00
link.go lnwallet+link: move marking channel states to link 2019-09-25 14:04:43 +02:00
linkfailure.go htlcswitch/linkfailure: define LinkFailureError 2018-05-25 06:58:18 +02:00
log.go htlcswitch/hop: fix logging 2019-09-09 13:52:35 +02:00
mailbox_test.go htlcswitch/mailbox_test: add orchestrator pending/live test 2018-05-09 16:07:52 -07:00
mailbox.go multi: remove dead code 2019-09-10 17:21:59 +02:00
mock.go multi: move active/inactive ntfns from switch to link 2019-09-19 12:46:44 -07:00
packet.go multi: remove dead code 2019-09-10 17:21:59 +02:00
payment_result_test.go routing: Fix dropped errors in tests. 2019-09-13 06:28:05 +00:00
payment_result.go htlcswitch/payment_result: add paymentResultStore 2019-06-07 16:53:32 +02:00
queue_test.go htlcswitch: Remove obsolete fields from htlcPacket. 2017-12-14 17:53:58 -08:00
queue.go htlcswitch: ensure the packet queue exits on stop 2018-06-08 13:51:37 -07:00
sequencer.go multi: switch from bolt packge to bbolt package for all imports 2018-11-29 20:33:49 -08:00
switch_test.go lnwire+htlcswitch: report height for invalid payment details failure 2019-09-16 10:10:20 +02:00
switch.go routing+discovery: extract local channel manager 2019-09-23 13:07:08 +02:00
test_utils.go htlcswitch/link: restrict EligibleToForward to wait for reestablish 2019-09-19 12:46:56 -07:00