lnd/htlcswitch
eugene ea467783e9 htlcswitch+peer: remove fwd pkgs once before tick, bump timer to 1hr
This commit changes the logic when garbage collecting forwarding
packages such that they are removed once when the function is called,
and then again upon subsequent ticks. This allows us to bump the
peer timer to 1 hour to limit the number of db transactions happening
in lnd. The forwarding packages need to be removed initially as
otherwise a flappy node will never have them garbage collected.
2020-08-31 20:52:51 -04: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 server+mod: use ECDH interface for sphinx router 2020-05-20 09:05:36 +02:00
circuit.go htlcswitch: move hop iterator into htlcswitch/hop package 2019-09-05 15:30:31 +02:00
decayedlog_test.go switch: remove unused code 2020-04-24 19:15:08 +02:00
decayedlog.go multi: rename ReadTx to RTx 2020-05-26 18:20:37 -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
interceptable_switch.go htlcswitch: expose custom records on intercepted packet 2020-06-27 11:00:46 +02:00
interfaces.go htlcswitch: expose custom records on intercepted packet 2020-06-27 11:00:46 +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 multi: add explicit hodl invoice flag to invoice 2020-06-02 07:34:23 +02:00
link.go htlcswitch+peer: remove fwd pkgs once before tick, bump timer to 1hr 2020-08-31 20:52:51 -04:00
linkfailure.go htlcswitch/link: add pending commit ticker for stall detection 2020-04-14 10:51:30 -07:00
log.go htlcswitch/hop: fix logging 2019-09-09 13:52:35 +02:00
mailbox_test.go htlcswitch: change ForwardPackets to return error 2020-06-18 12:48:21 +03:00
mailbox.go htlcswitch: change ForwardPackets to return error 2020-06-18 12:48:21 +03:00
mock.go Merge pull request #4183 from joostjager/sync-local-payment 2020-05-20 11:23:15 +02:00
packet.go htlcswitch: expose custom records on intercepted packet 2020-06-27 11:00:46 +02:00
payment_result_test.go routing: Fix dropped errors in tests. 2019-09-13 06:28:05 +00:00
payment_result.go multi: rename ReadTx to RTx 2020-05-26 18:20:37 -07:00
sequencer.go htlcswitch: convert to use new kvdb abstraction 2020-03-18 19:34:55 -07:00
switch_test.go htlcswitch: remove fastsha256 in test 2020-06-24 18:08:38 +08:00
switch.go htlcswitch: use kvdb.View for loading fwdpkgs 2020-08-13 14:36:48 +02:00
test_utils.go multi: add explicit hodl invoice flag to invoice 2020-06-02 07:34:23 +02:00