lnd/htlcswitch
Olaoluwa Osuntokun 30a46291f8
htlcswitch: introduce new ForwardingError type
This commit introduces a new type to the package: ForwardingError. It
wraps an existing lnwire.FailureMessage interface, and also includes
the _source_ of the error message. By including the source of the
message, the router can now prune the set of available routes down in
order to reduce the number of subsequent failures based on the source
of the error and the type of the error itself.
2017-10-10 22:19:18 -07:00
..
circuit.go lnwire+htlcswitch: minor grammatical, formatting fixes after error PR 2017-07-14 20:08:37 -07:00
failure.go htlcswitch: introduce new ForwardingError type 2017-10-10 22:19:18 -07:00
interfaces.go Htlcswitch: switch all accounting and forwarding decisions to use mSAT's 2017-08-22 00:53:04 -07:00
iterator.go htlcswitch: if we fail to parse and onion error, return the proper lnwire.FailCode 2017-09-12 18:10:40 +02:00
link.go htlcswitch: use Tracef rather than Debugf for log examining HTLC's 2017-10-04 20:46:04 -07:00
link_test.go htlcswitch: expect proper error within TestChannelLinkMultiHopInsufficientPayment 2017-10-02 22:24:57 -07:00
log.go lnd: remove seelog logger 2017-06-25 14:19:56 +01:00
mock.go htlcswitch+server: pass onion error to ChannelRouter 2017-10-02 22:12:50 -07:00
packet.go Htlcswitch: switch all accounting and forwarding decisions to use mSAT's 2017-08-22 00:53:04 -07:00
queue.go htlcswitch: expand TestWaitingQueueThreadSafety to assert proper queue length 2017-09-25 16:55:18 -07:00
queue_test.go htlcswitch: expand TestWaitingQueueThreadSafety to assert proper queue length 2017-09-25 16:55:18 -07:00
switch.go htlcswitch: within handleLocalDispatch bubble up the decode error 2017-10-02 22:14:15 -07:00
switch_test.go htlcswitch+server: pass onion error to ChannelRouter 2017-10-02 22:12:50 -07:00
test_utils.go htlcswitch: properly populate CommitFee for channels created in tests 2017-09-25 11:07:33 -07:00