Use CLTV_FAR_FAR_AWAY in PaymentConstraints
authorJeffrey Czyz <jkczyz@gmail.com>
Fri, 15 Dec 2023 21:37:18 +0000 (15:37 -0600)
committerJeffrey Czyz <jkczyz@gmail.com>
Fri, 15 Dec 2023 21:37:18 +0000 (15:37 -0600)
commitdcd8d583465c2fbc9d651050c093a82b2141b12d
tree372340614bc71f6923bb532dcd005b1b67221593
parentc558ccd6a92fa9034929769f55e65bf9c1336abd
Use CLTV_FAR_FAR_AWAY in PaymentConstraints

When finding a route through a blinded path, a random CLTV offset may be
added to the path in order to preserve privacy. This needs to be
accounted for in the blinded path's PaymentConstraints. Add
CLTV_FAR_FAR_AWAY to the max_cltv_expiry constraint to allow for such
offsets.
lightning/src/ln/channelmanager.rs