-
Notifications
You must be signed in to change notification settings - Fork 265
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Various improvements and fixes (#1817)
* Reduce log level for explorer API errors * Reduce log level for remote peer invalid open_channel * Don't send duplicate commands in PostRestartHtlcCleaner: if there is already a pending HTLC settlement command in the DB, the post restart handler should let the channel replay it instead of sending a conflicting command. * Workaround for lnd bug in reestablish: sometimes lnd sends announcement_signatures before sending their channel reestablish. This is a minor spec violation, we can simply delay the message and handle it later (hopefully once we've received their reestablish). * Log shared secrets in Sphinx error: Breez sometimes returns errors that we fail to parse. Unfortunately we didn't correctly log the shared secrets because the variable was shadowed, so we can't investigate further for now. * Fix utxo metric checks: if we're unable to fetch the number of unconfirmed parents for a utxo, this shouldn't cause the global utxo check to fail. We log a warning and let operations continue to ensure the metric is updated. * Handle ChannelIdAssigned when disconnected: there may be a race condition where a peer disconnect in the middle of a channel id assignment. In that case, we still want to record the up-to-date mapping.
- Loading branch information
Showing
10 changed files
with
114 additions
and
47 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.