lnd/htlcswitch
eugene b2e90480ed
htlcswitch: extend ChannelLink interface with ShutdownIfChannelClean
This allows a caller to ensure to optimistically shut down the link
if the channel is clean. If the channel is not clean, an error is
returned and the link continues functioning as normal. The caller
should also call RemoveLink to ensure that the link isn't seen as
usable within the switch.
2021-09-13 13:29:50 -04:00
..
hodl htlcswitch/hodl: switch from debug tag to dev 2018-10-05 13:04:45 +09:00
hop htlcswitch: concurrent onion decoding 2021-05-24 20:12:57 +02:00
circuit.go htlcswitch: move hop iterator into htlcswitch/hop package 2019-09-05 15:30:31 +02:00
circuit_map.go kvdb: move channeldb/kvdb to top level 2021-05-07 14:18:56 +02:00
circuit_test.go server+mod: use ECDH interface for sphinx router 2020-05-20 09:05:36 +02:00
decayedlog.go multi: make decayed log DB remote compatible 2021-08-04 14:55:53 +02:00
decayedlog_test.go multi: make decayed log DB remote compatible 2021-08-04 14:55:53 +02:00
failure.go htlcswitch: add linkError field to htlcpacket 2020-02-06 19:43:29 +02:00
failure_detail.go htlcswitch: add linkError field to htlcpacket 2020-02-06 19:43:29 +02:00
htlcnotifier.go feature: expose preimage in forward+settle event 2021-06-15 22:01:24 +03:00
interceptable_switch.go htlcswitch: set sourceRef when resolving packets through interceptor 2021-05-07 10:31:22 -03:00
interfaces.go htlcswitch: extend ChannelLink interface with ShutdownIfChannelClean 2021-09-13 13:29:50 -04:00
link.go htlcswitch: extend ChannelLink interface with ShutdownIfChannelClean 2021-09-13 13:29:50 -04:00
link_isolated_test.go htlcswitch: introduce and embed packetHandler interface in ChannelLink 2021-08-10 17:15:51 -04:00
link_test.go htlcswitch: extend ChannelLink interface with ShutdownIfChannelClean 2021-09-13 13:29:50 -04:00
linkfailure.go htlcswitch: extend ChannelLink interface with ShutdownIfChannelClean 2021-09-13 13:29:50 -04:00
log.go htlcswitch/hop: fix logging 2019-09-09 13:52:35 +02:00
mailbox.go htlcswitch: change ForwardPackets to return error 2020-06-18 12:48:21 +03:00
mailbox_test.go htlcswitch: change ForwardPackets to return error 2020-06-18 12:48:21 +03:00
mock.go htlcswitch: extend ChannelLink interface with ShutdownIfChannelClean 2021-09-13 13:29:50 -04:00
packet.go htlcswitch: expose custom records on intercepted packet 2020-06-27 11:00:46 +02:00
payment_result.go kvdb: move channeldb/kvdb to top level 2021-05-07 14:18:56 +02:00
payment_result_test.go lnwire: prep wire messages for TLV extensions 2021-02-24 17:31:55 +01:00
sequencer.go kvdb: move channeldb/kvdb to top level 2021-05-07 14:18:56 +02:00
switch.go htlcswitch+peer: CreateAndAddLink in switch, add messageSwitch to peer 2021-08-10 17:15:52 -04:00
switch_test.go feature: expose preimage in forward+settle event 2021-06-15 22:01:24 +03:00
test_utils.go htlcswitch+peer: pass BestHeight to ChannelLinkConfig 2021-08-10 17:15:49 -04:00