You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Make PaymentParameters::max_total_cltv_expiry_delta a u16 #3913
No, #3890 was backported to 0.1 but left the public API alone, this issue was about cleaning up the public API since we now restrict the max CLTV delta to a u16 internally, even though the type is a u32.
Activity
TheBlueMatt commentedon Sep 18, 2025
I don't think this is worth doing. I worked it through for the non-test changes at https://git.bitcoin.ninja/?p=rust-lightning;a=commit;h=d00a94a32b80903d4d251615ac6fa48ae25362fa but its a fairly large patchset and I haven't carefully checked that it doesn't break serialization somewhere by changing types. Finishing it would require quite a lot of integer conversion in tests.
Closing this as not planned, FYI @tnull, since you're the one who requested this.
TheBlueMatt commentedon Sep 18, 2025
Oops sorry wrong commit. https://git.bitcoin.ninja/?p=rust-lightning;a=commit;h=1ab771d8867bb50890c2ec44da606478d11f1080
tnull commentedon Sep 18, 2025
Okay, no super strong opinion on it. AFAIU we already had shipped it in 0.1 though, right?
TheBlueMatt commentedon Sep 18, 2025
No, #3890 was backported to 0.1 but left the public API alone, this issue was about cleaning up the public API since we now restrict the max CLTV delta to a
u16internally, even though the type is au32.