65c03c98d0
This commit modifies the errors that we return within the handleLocalDispatch method. Rather than returning a regular error, or simply the matching error code in some instances, we now _always_ return an instance of ForwardingError. This will allow the router to make more intelligent decisions w.r.t routing HTLC’s as with this information it will now be able to differentiate errors that occur within the switch (before sending out the HTLC), from errors that occur within the HTLC route itself. |
||
---|---|---|
.. | ||
circuit.go | ||
failure.go | ||
interfaces.go | ||
iterator.go | ||
link_test.go | ||
link.go | ||
log.go | ||
mock.go | ||
packet.go | ||
queue_test.go | ||
queue.go | ||
switch_test.go | ||
switch.go | ||
test_utils.go |