-
Notifications
You must be signed in to change notification settings - Fork 103
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Settle in-flight payments in the background (#522)
In-flight payments may time out and trigger channels' closures if the app does not connect to the peer in time. Usually this is taken care of by FCM silent push notifications sent by the peer. However these notifications may fail. To fix this edge case, Phoenix now schedules background tasks connecting to the peer whenever there are pending payments. On iOS, this job may run for 30 seconds, on Android 2 minutes. On Android, we also display a badge in the Home screen that counts pending htlcs. --------- Co-authored-by: Robbie Hanson <[email protected]> Co-authored-by: dluvian <[email protected]>
- Loading branch information
1 parent
22d38a5
commit dc0b348
Showing
31 changed files
with
960 additions
and
221 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
Oops, something went wrong.