Slyghtning
b25b451c42
cmd: add static address warning
2024-12-12 18:31:11 +01:00
Slyghtning
c9068ac1ca
gomod: bump looprpc and swapserverrpc version
2024-12-12 18:31:10 +01:00
Slyghtning
fc6c9f224c
staticaddr: add initiation height of address
2024-12-12 18:31:10 +01:00
Slyghtning
bfe09c50b8
staticaddr: add build tag
2024-12-12 18:31:10 +01:00
Slyghtning
042b513d50
staticaddr: dest addr and fee rate for withdrawals
2024-12-12 18:31:10 +01:00
Slyghtning
e32f7e3f78
looprpc: addr and fee rate for withdrawals
2024-12-12 18:31:10 +01:00
sputn1ck
1c3921bea6
cmd/staticaddr: hide behind build flag
2024-12-12 18:31:10 +01:00
sputn1ck
3deeb3a2fd
loopcli/staticaddr: explicit loop in command
2024-12-12 18:31:09 +01:00
sputn1ck
115558bed5
staticaddr/loopin: remove unused code
2024-12-12 18:31:09 +01:00
sputn1ck
a98e16184e
loopd/staticaddr: add ntfn manager
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
sputn1ck
216aebbbbf
notifications: add support for new ntfn
...
This commit adds support for the new notification of type
NotificationTypeStaticLoopInSweepRequest. This notification is sent when
a sweep request is received from the server.
2024-12-12 18:31:09 +01:00
Slyghtning
ed1585de60
staticaddr: fix fsm logging
2024-12-12 18:31:08 +01:00
Slyghtning
e3e56ecc70
staticaddr: change min deposit confs from 3 to 6
2024-12-12 18:31:08 +01:00
Slyghtning
781d3a0cb4
staticaddr: separate file for rpc service
2024-12-12 18:31:08 +01:00
Slyghtning
439d178b96
staticaddr: cmd listdeposits and listswaps
2024-12-12 18:31:08 +01:00
Slyghtning
a3f7fe44af
cmd: static address loop-in
2024-12-12 18:31:08 +01:00
Slyghtning
21c37a910a
loopd: static address loop-in support
2024-12-12 18:31:08 +01:00
Slyghtning
f8535a0aea
unit: manager mocks for static address loop-in
2024-12-12 18:31:07 +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
f3ec81fb68
staticaddr: configurable max htlc tx fee
...
In this commit we introduce maximum fee percentages
for the static loop-in htlc transactions. Since
the server has the ability to publish htlc transactions
without settling the swap payment we have to restrict
the amount the server allocates for fees of these
transactions.
2024-12-12 18:31:07 +01:00
Slyghtning
4d8c258671
interface: add StaticAddressLoopInRequest interface
2024-12-12 18:31:07 +01:00
Slyghtning
2b31a48323
loopin: public scope for ValidateLoopInContract
2024-12-12 18:31:07 +01:00
Slyghtning
c11e90138b
staticaddr: enable deposits for swaps
...
The static address state machine adds states
to reflect the state of a deposit during a
loop-in swap.
2024-12-12 18:31:06 +01:00
Slyghtning
3894370302
log: static address loop-in logging
2024-12-12 18:31:06 +01:00
Slyghtning
494d0915b0
sqlc: loop-in tables and queries
...
We add CRU procedures for static address swaps.
2024-12-12 18:31:06 +01:00
Slyghtning
b9e5875f4e
looprpc: static address loop-ins
2024-12-12 18:31:06 +01:00
Slyghtning
55ff8aa4a7
cmd: quote for static address loop-ins
2024-12-12 18:31:06 +01:00
Slyghtning
82b95798ab
loopd: quoting for static address loop-ins
2024-12-12 18:31:06 +01:00
Slyghtning
549c33e08e
looprpc: deposit outpoints for QuoteRequest
...
This commit adds static address deposit outpoints to the
QuoteRequest message. It allows to quote for loop in swaps
with the total value of specified deposits.
2024-12-12 18:31:05 +01:00
Slyghtning
8595c4ac6e
loopd: static address summary
2024-12-12 18:31:05 +01:00
Slyghtning
ea2b3c84f0
staticaddr: expose static address to client summary
2024-12-12 18:31:05 +01:00
Slyghtning
aa7afa7f73
looprpc: static address summary
2024-12-12 18:31:05 +01:00
Slyghtning
ab10ee972a
loop: static address withdrawals support
2024-12-12 18:31:05 +01:00
Slyghtning
a7f2f2d8c8
loopd: static address withdrawals support
2024-12-12 18:31:05 +01:00
Slyghtning
3dca1537c3
staticaddr: withdrawal manager and interface
2024-12-12 18:31:05 +01:00
Slyghtning
1f2ec79fed
staticaddr: address and deposit adjustments for withdrawals
2024-12-12 18:31:04 +01:00
Slyghtning
9e56be74c5
log: unified static address logger
2024-12-12 18:31:04 +01:00
Slyghtning
b5b857a198
looprpc: deposit withdrawal endpoint
...
A new rpc for deposit withdrawals is added.
A withdrawal cooperatively spends the 2/2
musig deposit outpoint to a client-specified
address.
2024-12-12 18:31:04 +01:00
Slyghtning
55f7625bc5
sqlc: withdrawal address for deposits
...
Deposit schema extension with a withdrawal
sweep address. If the user selects a deposit
for withdrawal the destination address of the
sweep is stored here.
2024-12-12 18:31:04 +01:00
Slyghtning
70b21893e0
staticaddr: public deposit method scope
2024-12-12 18:31:04 +01:00
Slyghtning
b7b553cf1e
unit: manager tests
2024-12-12 18:31:04 +01:00
Slyghtning
063e4a24a7
staticaddr: add swap client to cmd
2024-12-12 18:31:03 +01:00
Slyghtning
3914ab840f
staticaddr: deposits for server and daemon
2024-12-12 18:31:03 +01:00
Slyghtning
042fe9f325
staticaddr: deposit manager and fsm
2024-12-12 18:31:03 +01:00
Slyghtning
d76c99ca9f
staticaddr: deposit logger
2024-12-12 18:31:03 +01:00