lnd.xprv/htlcswitch
Conner Fromknecht f50649d21b
htlcswitch/link: remove overflow queue
This commit removes the overflowQueue from the link. We do so in order
to promote better UX for senders, so that HTLCs are failed faster when
the commitment is full. This gives the sender the opportunity to try
another, more open path, rather than perceive the HTLC as being stuck.

At the same time, we remove the total number of active goroutines in lnd
by a factor of N where N is the number of active channels.
2020-04-07 13:20:36 -07:00
..
hodl htlcswitch/hodl: switch from debug tag to dev 2018-10-05 13:04:45 +09:00
hop record: move CustomRecordSet 2019-12-12 00:12:19 +01:00
circuit_map.go htlcswitch: convert to use new kvdb abstraction 2020-03-18 19:34:55 -07: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 peer+lnpeer: add new methods to expose local+global features for lnpeer interface 2019-09-25 18:26:01 -07:00
decayedlog.go htlcswitch: convert to use new kvdb abstraction 2020-03-18 19:34:55 -07:00
failure_detail.go htlcswitch: add linkError field to htlcpacket 2020-02-06 19:43:29 +02:00
failure.go htlcswitch: add linkError field to htlcpacket 2020-02-06 19:43:29 +02:00
htlcnotifier.go htlcswitch: add notifications for forwards 2020-02-19 18:03:22 +02:00
interfaces.go multi: add htlcNotifier interface to switch and link 2020-02-19 17:50:28 +02:00
link_isolated_test.go htlcswitch/test: add test cases that triggers empty commit sig 2019-11-06 09:21:21 +01:00
link_test.go htlcswitch/link: remove overflow queue 2020-04-07 13:20:36 -07:00
link.go htlcswitch/link: remove overflow queue 2020-04-07 13:20:36 -07:00
linkfailure.go watchtower+htlcswitch: update client tower logic to recognize safu commitments 2019-09-25 18:25:55 -07: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 htlcswitch/mailbox: remove errors from AckPacket, Start, Stop 2020-04-07 11:55:54 -07:00
mock.go multi: remove returned error from WipeChannel 2020-04-02 17:39:29 -07:00
packet.go htlcswitch: add linkError field to htlcpacket 2020-02-06 19:43:29 +02:00
payment_result_test.go routing: Fix dropped errors in tests. 2019-09-13 06:28:05 +00:00
payment_result.go htlcswitch: convert to use new kvdb abstraction 2020-03-18 19:34:55 -07:00
sequencer.go htlcswitch: convert to use new kvdb abstraction 2020-03-18 19:34:55 -07:00
switch_test.go htlcswitch/switch_test: add t.Helper() to assertion 2020-04-07 11:54:02 -07:00
switch.go htlcswitch: only error in closeCircuit if the htlc was failed 2020-03-25 11:53:46 -04:00
test_utils.go htlcswitch/test_utils: send htlcs before waiting for result 2020-04-07 11:56:22 -07:00