Konstantin Nick
684db85a95
Merge pull request #872 from sputn1ck/asset_simple_loopout
...
Simple Asset Loop out
2025-01-21 19:42:11 +01:00
sputn1ck
51bdf040e3
loopins: add private flag when creating invoice
2025-01-21 18:26:20 +01:00
sputn1ck
3e3c863819
loopout: add asset accounting
2025-01-21 18:26:20 +01:00
sputn1ck
dfa58d4906
cmd/loopout: add asset flags
2025-01-21 18:26:20 +01:00
sputn1ck
40614a2a7a
loopdb: add asset params to store
2025-01-21 18:26:20 +01:00
sputn1ck
1440b6bb1d
loopout: add asset loop out payment flow
2025-01-21 18:26:19 +01:00
sputn1ck
0a0cda46b9
looprpc: add loop out asset params
2025-01-21 18:12:57 +01:00
sputn1ck
8451f29f8f
loopd: add asset client to swap config
2025-01-21 14:38:02 +01:00
sputn1ck
20d5081368
assets: add basic asset client
2025-01-21 14:38:02 +01:00
Boris Nagaev
8062952ab2
Merge pull request #874 from starius/improve-logs
...
loopout: improve log messages
2025-01-19 20:29:13 -03:00
Boris Nagaev
80fcf19009
loopout: improve log messages
...
Original message "Checking preimage reveal height 231435 exceeded" was not clear
and could be interpreted that the swap has expired. Now the same message looks
like this: "Checking if preimage reveal height 231435 was exceeded".
2025-01-18 11:49:50 -03:00
Boris Nagaev
188e56785e
Merge pull request #871 from starius/sweepbatcher-fixes
...
sweepbatcher: fix some minor bugs
2025-01-17 12:44:57 -03:00
Boris Nagaev
6efd010014
sweepbatcher: run batch with currentHeight set
...
Prevent a crash with "a height hint greater than 0 must be provided" error when
monitorSpend starts at the beginning of batch.Run.
The timer timerChan is now initialized at the start, because it was previously
initialized after the first block (the current tip) was read from blockChan and
now the first block is read before the main for-select loop to fill the field
currentHeight in advance.
2025-01-17 12:39:31 -03:00
Boris Nagaev
89fbf9a5cf
sweepbatcher: rm unused field batch.blockEpochChan
2025-01-17 12:39:31 -03:00
Boris Nagaev
06ed714e9a
sweepbatcher: check that spending tx has an output
...
Previously the code handling spending tx crashed if it doesn't have an output.
This is likely to occur only in tests.
2025-01-17 12:39:24 -03:00
Alex Bosworth
7cfceb7676
Merge pull request #870 from lightninglabs/alexbosworth-patch-8
...
version: bump version to v0.29.0-beta
2024-12-18 11:33:44 -08:00
Alex Bosworth
94192425fa
version: bump version to v0.29.0-beta
2024-12-18 11:21:09 -08:00
Konstantin Nick
efcfc3b765
Merge pull request #869 from lightninglabs/dependabot/go_modules/golang.org/x/crypto-0.31.0
...
build(deps): bump golang.org/x/crypto from 0.25.0 to 0.31.0
2024-12-18 15:46:59 +01:00
dependabot[bot]
0021569db1
build(deps): bump golang.org/x/crypto from 0.25.0 to 0.31.0
...
Bumps [golang.org/x/crypto](https://github.com/golang/crypto ) from 0.25.0 to 0.31.0.
- [Commits](https://github.com/golang/crypto/compare/v0.25.0...v0.31.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/crypto
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-12-18 14:30:34 +00:00
Slyghtning
a49c60a3b0
Merge pull request #853 from lightninglabs/static-addr-staging
...
StaticAddr: merge staging to master
2024-12-18 15:29:17 +01:00
Slyghtning
acea303178
staticaddr: check dust limits before withdrawing
2024-12-16 11:37:48 +01:00
Slyghtning
10b970c5cc
staticaddr: no experimental flag for static
2024-12-13 21:40:42 +01:00
Slyghtning
249a4237f8
staticaddr: fix waring message formatting
2024-12-13 21:34:31 +01:00
Slyghtning
9342b0fb94
staticaddr: remove build tag
2024-12-12 18:31:11 +01:00
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