Track the amount spent on fees as payments are retried 2021-10-on-sent-fees
authorMatt Corallo <git@bluematt.me>
Wed, 27 Oct 2021 19:04:22 +0000 (19:04 +0000)
committerMatt Corallo <git@bluematt.me>
Wed, 27 Oct 2021 20:43:18 +0000 (20:43 +0000)
commit04d4a8f835a25f599572ac72eee8709e0582797c
tree762a7aeba0a115ff4443f45e32328a4b4ef5e7f2
parentaf94db8111843ae20e4932502aa10e4a4feb1cc1
Track the amount spent on fees as payments are retried

Especially once we merge the `InvoicePayer` logic soon, we'll want
to expose the total fee paid in the `PaymentSent` event.
lightning-invoice/src/payment.rs
lightning/src/ln/chanmon_update_fail_tests.rs
lightning/src/ln/channelmanager.rs
lightning/src/ln/functional_test_utils.rs
lightning/src/ln/functional_tests.rs
lightning/src/ln/payment_tests.rs
lightning/src/ln/shutdown_tests.rs
lightning/src/util/events.rs