lnd.xprv/lntest
Joost Jager 67e40d4433
htlcswitch: always assume an onion error for malformed htlc failures
Previously a temporary channel failure was returning for unexpected
malformed htlc failures. This is not what we want to communicate to the
sender, because the sender may apply a penalty to us only.

Returning the temporary channel failure is especially problematic if we
ourselves are the sender and the malformed htlc failure comes from our
direct peer. When interpretating the failure, we aren't able to
distinguish anymore between our channel not having enough balance and
our peer sending an unexpected failure back.
2019-08-17 10:24:05 +02:00
..
itest htlcswitch: always assume an onion error for malformed htlc failures 2019-08-17 10:24:05 +02:00
btcd.go lntest: add Name() to BackendCfg 2019-05-27 09:29:03 +02:00
doc.go lntest: Add doc.go with package documentation. 2017-12-14 20:06:23 -08:00
harness.go lntest: add flag -goroutinedump 2019-07-11 14:44:44 +02:00
neutrino.go lntest: add Name() to BackendCfg 2019-05-27 09:29:03 +02:00
node.go multi: add watchtower client RPC subserver 2019-07-30 15:18:15 -07:00
timeouts_darwin.go lntest/timeouts: split into darwin and non-darwin timeouts 2019-03-27 19:00:39 -07:00
timeouts.go lntest/timeouts: split into darwin and non-darwin timeouts 2019-03-27 19:00:39 -07:00