lnd.xprv/htlcswitch
Conner Fromknecht f84cd14b12
htlcswitch/switch: permit link shutdown mid-forwarding
In this commit, we thread through a link's quit channel into
routeAsync, the primary helper method allowing links to send
htlcPackets through the switch. This is intended to remove
deadlocks from happening, where the link is synchronously
blocking on forwarding packets to the switch, but also
needs to shutdown.
2018-08-10 11:42:26 -07:00
..
hodl htlcswitch/hodl/config_production: hide cli hodl flags in prod 2018-07-25 03:33:36 -07:00
circuit_map.go multi: use mutex-guarded ShortChanID() on OpenChannel 2018-05-09 16:06:49 -07:00
circuit_test.go htlcswitch/circuit_test: use CircuitKey field names 2018-08-07 16:57:40 -07:00
circuit.go htlcswitch/circuit: add half adds to circuit map 2018-03-09 21:08:42 -08:00
decayedlog_test.go htlcswitch/decayedlog_test: fix bug in gc unit test 2018-06-27 14:40:28 -07:00
decayedlog.go multi: 64bit aligment of atomic vars on arm/x86-32 2018-06-04 20:02:34 -07:00
failure.go multi: sort import paths with gofmt 2018-08-02 18:20:49 -07:00
interfaces.go multi: switch over import paths from roasbeef/* to btcsuite/* 2018-07-13 17:05:39 -07:00
iterator.go multi: sort import paths with gofmt 2018-08-02 18:20:49 -07:00
link_test.go htlcswitch/link_test: adds TestChannelLinkShutdownDuringForward 2018-08-10 11:42:26 -07:00
link.go htlcswitch/link: pass link quit to ForwardPackets 2018-08-10 11:42:26 -07:00
linkfailure.go htlcswitch/linkfailure: define LinkFailureError 2018-05-25 06:58:18 +02:00
log.go htlcswitch: add additional comments and logging 2018-03-12 18:58:44 -07:00
mailbox_test.go htlcswitch/mailbox_test: add orchestrator pending/live test 2018-05-09 16:07:52 -07:00
mailbox.go multi: 64bit aligment of atomic vars on arm/x86-32 2018-06-04 20:02:34 -07:00
mock.go Merge pull request #1668 from cfromknecht/interface-tickers 2018-08-09 20:55:25 -07:00
packet.go htlcswitch: add new incoming+outgoing timeout fields to htlcPacket 2018-06-26 17:29:41 -07:00
queue_test.go htlcswitch: Remove obsolete fields from htlcPacket. 2017-12-14 17:53:58 -08:00
queue.go htlcswitch: ensure the packet queue exits on stop 2018-06-08 13:51:37 -07:00
sequencer.go build+multi: switch from bolt to bbolt 2018-03-10 19:01:13 -08:00
switch_test.go htlcswitch/switch_test: update reverted test to use... 2018-08-10 11:42:24 -07:00
switch.go htlcswitch/switch: permit link shutdown mid-forwarding 2018-08-10 11:42:26 -07:00
test_utils.go Merge pull request #1668 from cfromknecht/interface-tickers 2018-08-09 20:55:25 -07:00