]> git.bitcoin.ninja Git - rust-lightning/commit
Use a struct to track MPP parts pending claiming
authorMatt Corallo <git@bluematt.me>
Fri, 14 Jun 2024 14:10:38 +0000 (14:10 +0000)
committerMatt Corallo <git@bluematt.me>
Thu, 24 Oct 2024 17:44:33 +0000 (17:44 +0000)
commitd9175f454bfce665af32c9a3ec54482fbb6a484d
treee88ec03dfb6db34d41159aaf69d01c993437b7a2
parenta65d37b48b0452103e1714e11ebca8d875648feb
Use a struct to track MPP parts pending claiming

When we started tracking which channels had MPP parts claimed
durably on-disk in their `ChannelMonitor`, we did so with a tuple.
This was fine in that it was only ever accessed in two places, but
as we will start tracking it through to the `ChannelMonitor`s
themselves in the coming commit(s), it is useful to have it in a
struct instead.
lightning/src/ln/channelmanager.rs