Closed
Description
In 0.0.103 we landed a pretty naive scorer to avoid re-routing over the same channel over and over again on retries. #1166 adds a bit better scoring, but we've still got a ways to go. We should probably, at least
- consider payment success and give the channel a bit of a boost if it succeeds.
- consider the amount of the payment which failed and somehow only score the channel poorly if we're later trying to send a similar or smaller amount. I don't really have any suggestions for how to do this well.
- consider direction in the map key - while I think I'd suggested ignoring it initially, we have some users who want to re-use
Scorer
s across instances, which may lead to wanting to use the same channel in opposite directions. Ideally we'd consider the reason before deciding whether to punish both sides of a channel or only one, but sadly "temporary_channel_failure" can mean both "peer offline" and "amount too large" and those are the two most common reasons. Not sure how to progress here but it may require some experimentation.
Metadata
Metadata
Assignees
Labels
No labels