-
Notifications
You must be signed in to change notification settings - Fork 385
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
Provide local balance msat value in ChannelForceClosed
#1898
Comments
if i could get some guidance i'd like to do this issue |
Basically add a new field |
@TheBlueMatt ok will have a shot but will ask a lot since i'm still new to rust |
first question is what file handles the channel close event @TheBlueMatt |
You can find this event type in the documentation: https://docs.rs/lightning/latest/lightning/util/events/enum.Event.html#variant.ChannelClosed |
Hii, |
Sorry I think this file handles channel close event: |
You should start by updating the event itself in |
ok thanks |
what should the type be for last_local_balance_msat field @TheBlueMatt |
@Cxxshyy should be |
ok thanks
|
Hey everyone, I'm new opensource, but there are some issues I don't understand and the ones I do are already assigned to someone. |
@Lalitmohansharma1 hey man sorry i dont think this issue is big enough for 2 people to work on. |
Ok :) |
Does this comment answer that: #1898 (comment) so just use |
on it thanks |
Use the relevant (local balance) field from it :) |
ok i think i might have completed it now |
nvm but close |
Hey @TheBlueMatt I would like to work on this issue, is this up for grabs ? |
Looks like it, its been a few months since the last comment. |
Is this good to close, given that #3235 was merged? |
For accounting purposes, its nice to know what your local balance was when a channel was force-closed. This would allow you to see how many msat you lost to rounding.
The text was updated successfully, but these errors were encountered: