-
Notifications
You must be signed in to change notification settings - Fork 409
Error message deserialization/handling #104
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
Comments
For b) you think about all the HandleError with action: None ? |
Hmm? for (a) indeed we just need #91 and to log, for (b) we need to pass the message into the ChannelManager and force_close the channel. |
You speak about all the HandleError { msg: "Error", action : None } in channel functions post FundingSent ? If so you need a concept of internal error if it's up to ChannelManager to force_close the channel and I'm afraid that block a general scheme for errors we are talking about in #99 . (but maybe i anticipate too much here) |
I think we're talking about different things here - I'm referring to receiving an Error message on the wire (message type 17) and noting that we need to do two things with it - log it (blocked on #91) and pass the message into the ChannelManager so that it can close the channel. This is wholly separate (I'd think?) from the HandleError/ErrorAction/Event API mess. |
persist payments info to disk
We currently drop all error messages, which we (a) shouldn't do (we need to log them) and (b) shouldn't do (need to close the channel referenced in the error message).
The text was updated successfully, but these errors were encountered: