lnd.xprv/htlcswitch
Roei Erez 0f50d8b2ed htlcswitch: introducing interceptable switch.
In this commit we implement a wrapper arround the switch, called
InterceptableSwitch. This kind of wrapper behaves like a proxy which
intercepts forwarded packets and allows an external interceptor to
signal if it is interested to hold this forward and resolve it
manually later or let the switch execute its default behavior.
This infrastructure allows the RPC layer to expose interceptor
registration API to the user and by that enable the implementation
of custom routing behavior.
2020-06-18 15:12:50 +03: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: introducing interceptable switch. 2020-06-18 15:12:50 +03:00
interfaces.go htlcswitch: introducing interceptable switch. 2020-06-18 15:12:50 +03: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: change ForwardPackets to return error 2020-06-18 12:48:21 +03: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: 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 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: introducing interceptable switch. 2020-06-18 15:12:50 +03:00
switch.go htlcswitch: change ForwardPackets to return error 2020-06-18 12:48:21 +03:00
test_utils.go multi: add explicit hodl invoice flag to invoice 2020-06-02 07:34:23 +02:00