lightningdevkit / rust-lightning

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

Clean up handling of HTLC failures #1117

Open TheBlueMatt opened 2 years ago

TheBlueMatt commented 2 years ago

A bunch of ideas came up in review of #1077 showing our current onion failure processing isn't really expressive enough. Post-1077 we should really do some cleanup.

valentinewallace commented 2 years ago

Per this convo, NetworkUpdate::ChannelClosed also needs a rename https://github.com/rust-bitcoin/rust-lightning/pull/1077#discussion_r727443473