]> git.bitcoin.ninja Git - rust-lightning/commit
Change `payment_cache` to accept `PaymentInfo`
authorjurvis <hello@jurvis.co>
Tue, 30 Aug 2022 05:49:24 +0000 (22:49 -0700)
committerjurvis <hello@jurvis.co>
Tue, 30 Aug 2022 05:51:43 +0000 (22:51 -0700)
commit706b638196aa4c379fb6ca177494148b4c991bf3
treefada1a20deef26a53e4dbf415c1a4c9c4ea76531
parent17ae116be0c50d88dc2a74d8b4459c70943e2d9e
Change `payment_cache` to accept `PaymentInfo`

Introduces a new `PaymentInfo` struct that contains both the previous
`attempts` count that was tracked as well as the paths that are also
currently inflight.
lightning-invoice/src/payment.rs