- 
                Notifications
    You must be signed in to change notification settings 
- Fork 421
Expose the channel via which we received a payment #1856
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Expose the channel via which we received a payment #1856
Conversation
| Currently in draft. Will also expose the current number of confirmations in  | 
| Nice! Thanks. Let us know when you're ready for more review but the draft code basically LGTM. | 
0fb6e3e    to
    132d5da      
    Compare
  
    | 
 I now exposed the number of confirmations via  I also explored exposing the channel ids in  | 
3b6d2df    to
    86e2039      
    Compare
  
    | Codecov ReportBase: 90.72% // Head: 90.70% // Decreases project coverage by  
 
 Additional details and impacted files@@            Coverage Diff             @@
##             main    #1856      +/-   ##
==========================================
- Coverage   90.72%   90.70%   -0.02%     
==========================================
  Files          91       91              
  Lines       47999    48042      +43     
  Branches    47999    48042      +43     
==========================================
+ Hits        43546    43578      +32     
- Misses       4453     4464      +11     
 Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. | 
86e2039    to
    c8a9140      
    Compare
  
    There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Basically LGTM
c8a9140    to
    e809b92      
    Compare
  
    There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM after squash
e809b92    to
    fde6014      
    Compare
  
    | 
 Squashed commits without further changes. Happy to rebase again though, if we want to land #1766 before this. | 
| Needs rebase now. | 
fde6014    to
    a6fe64a      
    Compare
  
    | Rebased on main. | 
b28bdae    to
    3625608      
    Compare
  
    There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM after squash :)
| Yes, please squash :) | 
We expose the `channel_id` and `user_channel_id` via which we received a payment in the `PaymentReceived` event.
We expose the current number of confirmations in `ChannelDetails`.
3625608    to
    b1b3666      
    Compare
  
    | Squashed without further changes. | 
Fixes #1800.
Based on #1855.Previously the user had a hard time understanding via which channel we received some funds. In this PR, we therefore expose the
channel_idanduser_channel_idof the last hop in thePaymentReceivedevent.