Commit graph

1681 commits

Author SHA1 Message Date
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
Slyghtning
52a11a0b1b
staticaddr: interfaces 2024-12-12 18:31:03 +01:00
Slyghtning
5f4fca8219
sqlc: deposit queries, models and migrations 2024-12-12 18:31:03 +01:00
Slyghtning
b454d957ab
looprpc: include static address in swap client
We remove the static address client and add its
rpcs into the SwapClient
2024-12-12 18:31:02 +01:00
Slyghtning
edea6720cb
loop: list unspent static address outputs 2024-12-12 18:31:02 +01:00
Slyghtning
ded2526db7
perms: list unspent outputs 2024-12-12 18:31:02 +01:00
Slyghtning
eeaf291980
staticaddr: list unspent outputs in server 2024-12-12 18:31:02 +01:00
Slyghtning
a1392728ba
staticaddr: track and list spends in manager 2024-12-12 18:31:02 +01:00
Slyghtning
ff08d9a2c8
looprpc: list unspent static address 2024-12-12 18:31:02 +01:00
Slyghtning
a0d10fca93
loop: static address creation client command 2024-12-12 18:31:02 +01:00
Slyghtning
14810b7e6d
perms: static address creation permission 2024-12-12 18:31:01 +01:00
Slyghtning
40c731f654
daemon: integrate static address manager and sql store 2024-12-12 18:31:01 +01:00
Slyghtning
d351d22de7
staticaddr: static address server 2024-12-12 18:31:01 +01:00
Slyghtning
8d777c249a
staticaddr: static address manager 2024-12-12 18:31:01 +01:00
Slyghtning
ca2ecac3d1
loopdb: static address store 2024-12-12 18:31:01 +01:00
Slyghtning
8f60a49977
log: static address sub logger 2024-12-12 18:31:01 +01:00