lightningdevkit / rust-lightning

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

Add general-purpose HTLC interception interface #2855

Open tnull opened 5 months ago

tnull commented 5 months ago

While we currently allow to intercept HTLCs based on magic-value SCIDs, LDK is currently lacking the capability to intercept HTLCs and give users control over claiming/forwarding/failing them.

As this feature has been regularly requested, we should add (optional) support for this, which would also give users the freedom to implement more advanced HTLC forwarding algorithms on top.

Related issues that might be closed/superseded by this:

2320

2425

2839

tnull commented 5 months ago

Tagging myself as I might be interested in working on this, even if not immediately.