Expose probe status in recent payments#4603
Expose probe status in recent payments#4603tnull wants to merge 1 commit intolightningdevkit:mainfrom
Conversation
Previously, `ChannelManager::list_recent_payments` didn't give us the means to discern 'real' payments from inflight probes. In lightningdevkit/ldk-node#815 we found that we need a way to re-derive which probes are still pending so our accounting of inflight probing amounts is still correct after restart. To this end, we here let callers distinguish liquidity probes while they are pending or abandoned. Co-Authored-By: HAL 9000 Co-Authored-By: HAL 9000 Signed-off-by: Elias Rohrer <dev@tnull.de>
|
I've assigned @tankyleo as a reviewer! |
|
I've reviewed every file and hunk in this diff thoroughly. Here's my assessment: The import change (removing The The Existing consumers of Test coverage checks both Serialization: No issues found. |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #4603 +/- ##
==========================================
- Coverage 86.16% 86.12% -0.05%
==========================================
Files 156 157 +1
Lines 108669 108812 +143
Branches 108669 108812 +143
==========================================
+ Hits 93638 93715 +77
- Misses 12420 12484 +64
- Partials 2611 2613 +2
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Previously,
ChannelManager::list_recent_paymentsdidn't give us the means to discern 'real' payments from inflight probes. In lightningdevkit/ldk-node#815 we found that we need a way to re-derive which probes are still pending so our accounting of inflight probing amounts is still correct after restart.To this end, we here let callers distinguish liquidity probes while they are pending or abandoned.
Co-Authored-By: HAL 9000