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

Refactor swap-in trigger mechanism #483

Merged
merged 2 commits into from
Jun 23, 2023
Merged

Refactor swap-in trigger mechanism #483

merged 2 commits into from
Jun 23, 2023

Commits on Jun 23, 2023

  1. Introduce a SwapInManager

    We create a new `SwapInManager` that checks the wallet state and decides
    whether to initiate a channel funding attempt, while keeping track of
    utxos that are currently being used.
    
    We allow unlocking those utxos once a channel funding attempt fails,
    which ensures that if we retry later (because another input is confirmed)
    we will reuse the previously failed inputs (instead of waiting for a
    restart to use them).
    t-bast committed Jun 23, 2023
    Configuration menu
    Copy the full SHA
    73db384 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    df94840 View commit details
    Browse the repository at this point in the history