eclair icon indicating copy to clipboard operation
eclair copied to clipboard

Missing paramter in findroutebetweennodes

Open DerEwige opened this issue 2 years ago • 1 comments

https://github.com/ACINQ/eclair/blob/master/docs/CircularRebalancing.md

When following this guid to build rebalancing routes one can end up with invalid routes. The reason for this is max-cltv. findroutebetweennodes can use all of the global max-cltv. When you add the extra hop your route may exceed global max-cltv and sending a payment to this roue will lead to an error:

FailureSummary(Local,expiry too big: maximum=CltvExpiry(783293) actual=CltvExpiry(783334) blockHeight=782285,List(.....

eclair version=0.8.0 commit=0077471

This could be fixed adding a new max-cltv parameter to findroutebetweennodes.

DerEwige avatar Mar 24 '23 10:03 DerEwige

Hello @DerEwige, I would like to work on this issue. Thank you!!

flow6979 avatar Aug 27 '24 05:08 flow6979