rust-lightning/lightning
Matt Corallo 5fedae85d1 Track payments after they resolve until all HTLCs are finalized
In the next commit, we will reload lost pending payments from
ChannelMonitors during restart. However, in order to avoid
re-adding pending payments which have already been fulfilled, we
must ensure that we do not fully remove pending payments until all
HTLCs for the payment have been fully removed from their
ChannelMonitors.

We do so here, introducing a new PendingOutboundPayment variant
called `Completed` which only tracks the set of pending HTLCs.
2021-10-22 18:41:42 +00:00
..
src Track payments after they resolve until all HTLCs are finalized 2021-10-22 18:41:42 +00:00
Cargo.toml Bump crate versions to 0.0.102 and lightning-invoice 0.10 2021-10-18 18:32:36 +00:00