Boris Nagaev
dc4a5641ac
multi: initialize block height in New, not in Run
...
If Run sets the current height field, it is technically a race between Run and
other methods reading the field. Setting in New is a safer option.
Removed a check that height is not 0 from static address manager.
2025-03-19 15:00:31 +01:00
Boris Nagaev
c2dddf0dfe
loopin: use context.WithoutCancel in cleanup
...
Ensure that MuSig2 cleanup does happen even if a context expires.
2025-03-16 18:21:32 -03:00
Oliver Gugger
722ad8839d
multi: update lnd compile-time dependency to v0.19.0
2025-03-10 22:59:49 +01:00
sputn1ck
51bdf040e3
loopins: add private flag when creating invoice
2025-01-21 18:26:20 +01:00
sputn1ck
115558bed5
staticaddr/loopin: remove unused code
2024-12-12 18:31:09 +01:00
sputn1ck
3f6759c0d4
staticaddr/loopin: update fsm for server ntfn sigs
...
This commit updates the loop in FSM to handle the new server based
2024-12-12 18:31:09 +01:00
sputn1ck
099e98005c
staticaddr/loopin: add listening for sweep request
...
This commit adds the listening for sweep requests from the server.
On a sweep request the loopin manager will fetch the loop in from the
db, do sanity and safety checks and then sign the psbt for the input
and send it back to the server.
2024-12-12 18:31:09 +01:00
sputn1ck
409b2e9929
staticaddr/sql_store: Add fetching loop in by hash
2024-12-12 18:31:09 +01:00
Slyghtning
ed1585de60
staticaddr: fix fsm logging
2024-12-12 18:31:08 +01:00
Slyghtning
439d178b96
staticaddr: cmd listdeposits and listswaps
2024-12-12 18:31:08 +01:00
Slyghtning
9a2270eb18
staticaddr: swap manager and fsm
...
In this commit we add the static address
loop-in state machine and its orchestration
through the manager.
2024-12-12 18:31:07 +01:00
Slyghtning
e7c3717886
staticaddr: sql_store
2024-12-12 18:31:07 +01:00
Slyghtning
1e3f75bb4e
staticaddr: loopin
2024-12-12 18:31:07 +01:00
Slyghtning
3894370302
log: static address loop-in logging
2024-12-12 18:31:06 +01:00