]> git.bitcoin.ninja Git - rust-lightning/commit
Track an `EventCompletionAction` for after an `Event` is processed
authorMatt Corallo <git@bluematt.me>
Fri, 28 Apr 2023 04:24:25 +0000 (04:24 +0000)
committerMatt Corallo <git@bluematt.me>
Tue, 2 May 2023 17:59:22 +0000 (17:59 +0000)
commit9ede794e8e8559f1b2b386c1c57372094fc92fd4
tree3d275ae6776befc4a49c9f863f551b306df684bf
parentac5efa275539c5b7cd89665e6b5d9f2afaf8f945
Track an `EventCompletionAction` for after an `Event` is processed

This will allow us to block `ChannelMonitorUpdate`s on `Event`
processing in the next commit.

Note that this gets dangerously close to breaking forwards
compatibility - if we have an `Event` with an
`EventCompletionAction` tied to it, we persist a new, even, TLV in
the `ChannelManager`. Hopefully this should be uncommon, as it
implies an `Event` was delayed until after a full round-trip to a
peer.
lightning/src/ln/channelmanager.rs
lightning/src/ln/outbound_payment.rs