Skip to content

Commit 133d5da

Browse files
committed
trampoline: Add new channel allocation logic
The way we allocated channels for a trampoline payment could lead to a case where we could get stuck selecting channels for a payment when the rest amount was lower than the lower bound of the channel. This commit introduces a new selection logic that tries to be greedy first but will split payments more carefully if it is actually needded. Signed-off-by: Peter Neuroth <[email protected]>
1 parent 1e864ab commit 133d5da

File tree

1 file changed

+550
-93
lines changed

1 file changed

+550
-93
lines changed

0 commit comments

Comments
 (0)