lightningdevkit / rust-lightning

A highly modular Bitcoin Lightning library written in Rust. It's rust-lightning, not Rusty's Lightning!
Other
1.15k stars 363 forks source link

Expose `advance_path_by_one` #3134

Closed TheBlueMatt closed 1 month ago

TheBlueMatt commented 3 months ago

In #3132 we created advance_path_by_one to handle the case where are the intro node on a payment, but I believe LNDK may need that as well. We should check with them and then maybe expose it.

orbitalturtle commented 2 months ago

@TheBlueMatt Yes confirmed this would be helpful!

TheBlueMatt commented 2 months ago

Then I'll leave the milestone on it, though its somewhat optimistic it'll make it.

valentinewallace commented 2 months ago

@orbitalturtle Do you need to be able to advance blinded message paths as well, or just payment paths?

orbitalturtle commented 2 months ago

@valentinewallace Ah yup we need it for messages as well

valentinewallace commented 2 months ago

@valentinewallace Ah yup we need it for messages as well

Cool, added this to #3182.

orbitalturtle commented 2 months ago

@valentinewallace Thank you!