lnd.xprv/htlcswitch
Conner Fromknecht 164250d1cd
htlcswitch/switch: check EligibleToForward in HasActiveLink
This commit modifies the behavior of the
HasActiveLink method within the switch to
only return true if the link is in the
link index and is eligible to forward
HTLCs.

The prior version returns true whenever
the link is found in the link index,
which may return true for pending
channels that are not actually active.
2019-01-10 16:34:02 -08:00
..
hodl htlcswitch/hodl: switch from debug tag to dev 2018-10-05 13:04:45 +09:00
circuit_map.go multi: switch from bolt packge to bbolt package for all imports 2018-11-29 20:33:49 -08:00
circuit_test.go multi: update to go 1.11 gofmt 2018-10-07 14:37:38 +09:00
circuit.go multi: fix various typos in comments 2018-09-07 06:51:49 +02:00
control_tower_test.go htlcswitch/control_tower_test: test strict and non-strict ctrltwrs 2018-08-21 19:23:25 -07:00
control_tower.go multi: switch from bolt packge to bbolt package for all imports 2018-11-29 20:33:49 -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: switch from bolt packge to bbolt package for all imports 2018-11-29 20:33:49 -08: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 channeldb: convert settled boolean to state 2019-01-04 07:53:55 +01:00
link.go channeldb: convert settled boolean to state 2019-01-04 07:53:55 +01:00
linkfailure.go htlcswitch/linkfailure: define LinkFailureError 2018-05-25 06:58:18 +02:00
log.go multi: init subsystem loggers via build pkg 2018-10-05 13:04:45 +09: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 channeldb: convert settled boolean to state 2019-01-04 07:53:55 +01:00
packet.go htlcswitch: remove no longer needed destNode field in htlcPacket 2018-08-20 21:04:52 -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 multi: switch from bolt packge to bbolt package for all imports 2018-11-29 20:33:49 -08:00
switch_test.go htlcswitch test: add fwdinglog inspection on triggered FwdEventTicker 2018-12-20 08:57:22 +01:00
switch.go htlcswitch/switch: check EligibleToForward in HasActiveLink 2019-01-10 16:34:02 -08:00
test_utils.go lnwallet: prevent static fee estimator fees from being modified 2018-12-18 10:50:05 +01:00