f6d6d6609f
In this commit, we update the hop hint selection to account for the fact that with MPP, a single payment may consume multiple channels. As is, if a user only has two 0.5 BTC channels, and tries to make a 1 BTC channel, then the current logic won't include any hop hints. To solve this, we first add all the channels which in isolation can carry the payment in question. We then do another pass that accumulates channels until either we reach our hop-hint limit, or the total bandwidth that we've accumulate is greater than 2x the payment amount. |
||
---|---|---|
.. | ||
addinvoice.go | ||
config_active.go | ||
config_default.go | ||
driver.go | ||
invoices_server.go | ||
invoices.pb.go | ||
invoices.pb.gw.go | ||
invoices.proto | ||
invoices.swagger.json | ||
log.go | ||
utils.go |