]> git.bitcoin.ninja Git - rust-lightning/commit
Expose pending payments through ChannelManager
authorjurvis <hello@jurvis.co>
Mon, 5 Dec 2022 01:24:08 +0000 (17:24 -0800)
committerJurvis Tan <hello@jurvis.co>
Fri, 3 Feb 2023 18:16:10 +0000 (10:16 -0800)
commitc98f80dfaef155cab35989af85678505e756ac4f
treefdaab5856004660d6764a87b95fa37c846aec5b9
parent2a72f4f98caddd38058e520dd522685a19bd4053
Expose pending payments through ChannelManager

Adds a new method, `list_recent_payments ` to `ChannelManager` that
returns an array of `RecentPaymentDetails` containing the payment
status (Fulfilled/Retryable/Abandoned) and its total amount across all
paths.
lightning/src/ln/channelmanager.rs
lightning/src/ln/payment_tests.rs