Skip to content

Commit face259

Browse files
nepetcdecker
authored andcommitted
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 1fb9132 commit face259

File tree

1 file changed

+550
-93
lines changed

1 file changed

+550
-93
lines changed

0 commit comments

Comments
 (0)