lnd/htlcswitch
Olaoluwa Osuntokun 7038842f03
htlcswitch: in local outgoing payment attempt print a nicer error if no bandwidth
This commit modifies the error we return to the end user in the case of
an insufficient link capacity error when handling a local payment
dispatch. Previously we would return a
lnwire.CodeTemporaryChannelFailure, however, this isn’t necessary as
this is a local payment attempt and we don’t give up any sensitive
information by returning the best available bandwidth, and what we need
to complete the payment.
2017-10-02 22:14:14 -07:00
..
circuit.go lnwire+htlcswitch: minor grammatical, formatting fixes after error PR 2017-07-14 20:08:37 -07:00
failure.go lnwire+htlcswitch: minor grammatical, formatting fixes after error PR 2017-07-14 20:08:37 -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_test.go htlcswitch: add new TestChannelLinkBandwidthConsistencyOverflow test 2017-09-25 13:01:34 -07:00
link.go htlcswith/link: resend fundingLocked from channelLink when numUpdates == 0. 2017-10-02 13:29:50 +02: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_test.go htlcswitch: expand TestWaitingQueueThreadSafety to assert proper queue length 2017-09-25 16:55:18 -07:00
queue.go htlcswitch: expand TestWaitingQueueThreadSafety to assert proper queue length 2017-09-25 16:55:18 -07:00
switch_test.go htlcswitch+server: pass onion error to ChannelRouter 2017-10-02 22:12:50 -07:00
switch.go htlcswitch: in local outgoing payment attempt print a nicer error if no bandwidth 2017-10-02 22:14:14 -07:00
test_utils.go htlcswitch: properly populate CommitFee for channels created in tests 2017-09-25 11:07:33 -07:00