Skip to content
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

chore: Sync position with dlc channel state #1298

Merged
merged 5 commits into from
Sep 19, 2023

Commits on Sep 19, 2023

  1. chore: Ignore unrelated background notification tasks

    Before we got confusing log messages with "received unexpected event".
    holzeis committed Sep 19, 2023
    Configuration menu
    Copy the full SHA
    e9af101 View commit details
    Browse the repository at this point in the history
  2. feat: Sync dlc channel state with position

    This change will do the following things depending on the dlc channel state and position.
    
    - DLC Channel in state `Signed` but no position: Create position from `filling` order.
    - DLC Channel in state `OffChainClosed` and a position exists. Delete the position.
    - DLC Channel in state `CloseOffered` or `CloseAccepted`: Inform the UI that the dlc channel is recovering.
    - DLC Channel in state `Offered`, `Accepted` or `Finalized`: Inform the UI that the dlc channel is recovering.
    - DLC Channel in any other state but with position: Delete position the channel might have been force closed.
    holzeis committed Sep 19, 2023
    Configuration menu
    Copy the full SHA
    5d7222d View commit details
    Browse the repository at this point in the history
  3. refactor: OrderSubmissionStatusDialog to TaskStatusDialog

    The `OrderSubmissionStatusDialog` is actually useful for any kind of task showing a pending, failed or success state.
    holzeis committed Sep 19, 2023
    Configuration menu
    Copy the full SHA
    ec39bcf View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    270f6c0 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    f33faa5 View commit details
    Browse the repository at this point in the history