Commit Graph

10 Commits (master)

Author SHA1 Message Date
George Tsagkarelis e0d85958f7
multi: move StoreMock to loopdb 3 months ago
Slyghtning ce6f82626b
unit: abandon swap 5 months ago
Andras Banki-Horvath a7451622e5
mod: bump LND and lndclient to include musig2 1.0rc2 changes
This commit bumps LND and lndclient to make it possible to upgrade
taproot HTLC construction with a MuSig2 version. This is required to
support both old (MuSig2 0.4) and new (MuSig2 1.0) clients.
1 year ago
Andras Banki-Horvath 049b17ff96
misc: refactor loop tests to use require where possible 1 year ago
Harsha Goli 7a16e3b25d
multi: bump btcec/v2 and btcutil to new versions 2 years ago
carla 0e72c2bf92
loopin: handle EOF case for SubscribeSingleInvoice
From lnd 0.13.0, the SubscribeSingleInvoice rpc will return an EOF
once it has served a final state to the stream. This is handled in
our lndclient wrapper by closing the channels that we send updates/
errors on. When we are exclusively consuming updates from these
streams, we don't need to handle this case because we will receive
our final update and exit. However, in the case where we continue
to listen on the update channels after consuming the final update,
we need to handle this EOF/closed channels case. This is done by
setting the channels to nil after they're closed so that we no
longer select on them but can continue waiting for our other cases
to complete.

We have similar handling in loopout's waitForHtlcSpendConfirmed.
3 years ago
carla cae72b5848
loopin/test: move invoice updates to loopin test context 3 years ago
carla 16111352a8
multi: add cancel swap function to execute config 3 years ago
Joost Jager c8666caf20
loopin: mpp pre-swap probe 4 years ago
Joost Jager 3e960b8b54
multi: loop in swap 5 years ago