lnd/htlcswitch
eugene 028dec80cb
htlcswitch: only pipeline settle if add is locked-in
The counter-party shouldn't be doing this anyways as they would be
giving away a preimage for free. Them doing this would bork their
own channel due to open circuits not getting trimmed on startup.
Removing this faulty behavior also makes it easier to reason about
the circuit logic.
2022-02-25 12:07:17 -05:00
..
hodl multi: add golang 1.17 compatible build tags 2021-09-29 17:31:37 -07:00
hop multi: add shutdown logs in subservers 2021-09-15 19:52:03 +08:00
circuit.go htlcswitch: move hop iterator into htlcswitch/hop package 2019-09-05 15:30:31 +02:00
circuit_map.go multi: formatting and comment fixes 2022-02-10 11:02:02 +01:00
circuit_map_test.go multi: formatting and comment fixes 2022-02-10 11:02:02 +01:00
circuit_test.go multi: move all channelstate operations to ChannelStateDB 2021-09-29 17:00:03 +02:00
decayedlog.go htlcswitch: fix duplicate close 2022-01-10 08:42:32 +01:00
decayedlog_test.go htlcswitch: fix duplicate close 2022-01-10 08:42:32 +01: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 multi: add shutdown logs in subservers 2021-09-15 19:52:03 +08:00
interceptable_switch.go htlcswitch: accept failure reason for intercepted htlcs 2022-02-01 17:18:59 +01:00
interfaces.go htlcswitch: accept failure reason for intercepted htlcs 2022-02-01 17:18:59 +01:00
link.go htlcswitch: only pipeline settle if add is locked-in 2022-02-25 12:07:17 -05: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: only pipeline settle if add is locked-in 2022-02-25 12:07:17 -05: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 multi: formatting and comment fixes 2022-02-10 11:02:02 +01:00
mailbox_test.go multi: fix issues reported by whitespace linter 2022-02-15 16:26:08 +01:00
mock.go multi: formatting and comment fixes 2022-02-10 11:02:02 +01:00
packet.go multi: Fix typos [skip ci] 2022-01-24 12:19:02 +02:00
payment_result.go multi: move all channelstate operations to ChannelStateDB 2021-09-29 17:00:03 +02:00
payment_result_test.go multi: formatting and comment fixes 2022-02-10 11:02:02 +01:00
sequencer.go kvdb: move channeldb/kvdb to top level 2021-05-07 14:18:56 +02:00
switch.go multi: formatting and comment fixes 2022-02-10 11:02:02 +01:00
switch_test.go multi: formatting and comment fixes 2022-02-10 11:02:02 +01:00
test_utils.go lnwallet: support transactions and scripts for new commitment type 2021-10-19 18:30:32 -07:00