Track pending update_add_htlcs in ChannelManager for later processing
authorWilmer Paulino <wilmer@wilmerpaulino.com>
Fri, 8 Mar 2024 07:03:25 +0000 (23:03 -0800)
committerWilmer Paulino <wilmer@wilmerpaulino.com>
Wed, 27 Mar 2024 21:28:01 +0000 (14:28 -0700)
commit0b38b3981d4f89fe3dc302c3156e79897da50081
treeb0e8a17181c6e19b23d15f3311d469e560d3c762
parent60ddd5d036f84f8df1be9aa27998873c40a341d2
Track pending update_add_htlcs in ChannelManager for later processing

We plan to decode the onions of these `update_add_htlc`s as part of the
HTLC forwarding flow (i.e., `process_pending_htlc_forwards`), so we'll
need to track them per-channel at the `ChannelManager` level.
lightning/src/ln/channel.rs
lightning/src/ln/channelmanager.rs