Andras Banki-Horvath
e1ddb50dfe
loopout+sweepbatcher: calculate the per sweep onchain fees correctly
...
Previously we'd report the fees per sweep as the total sweep cost of a
batch. With this change the reported cost will be the proportional fee
which should be equal for all sweeps except if there's any rounding
difference in which case that is paid by the sweep belonging to the
first input of the batch tx.
2024-03-04 16:15:21 +01:00
Andras Banki-Horvath
b4ebb19a77
loopdb+sweepbatcher: add GetParentBatch and TotalSwept calls
2024-03-04 16:15:21 +01:00
Andras Banki-Horvath
c094ad4a85
sweepbatcher: refactor monitorSpendAndNotify to return an error
2024-03-04 16:15:20 +01:00
Alex Bosworth
ab30e0b4e8
Merge pull request #703 from lightninglabs/alexbosworth-patch-1
...
version: bump version to v0.27.1-beta
2024-02-14 10:29:37 -08:00
Alex Bosworth
fb1808d337
version: bump version to v0.27.1-beta
2024-02-14 08:44:04 -08:00
Slyghtning
1df6f4d295
Merge pull request #676 from hieblmi/sweep-timeout-on-invalid-amt
...
loopin: sweep incorrect amount on timeout
2024-02-13 16:04:15 +01:00
Slyghtning
855fa8dccf
unit: adjust for incorrect amount sweep
2024-02-13 15:03:04 +01:00
Slyghtning
3db464955d
loopin: sweep incorrect htlc amount after timeout
2024-02-13 15:03:04 +01:00
Slyghtning
755d5dc68e
loopd: new loopin state for incorrect amount sweeps
2024-02-13 15:03:03 +01:00
Slyghtning
6f3c68fb21
looprpc: new state for incorrect amount sweeps
2024-02-13 10:43:15 +01:00
Konstantin Nick
6a62cd02d7
Merge pull request #698 from sputn1ck/io_reservation_expiry
2024-02-12 12:33:05 +01:00
sputn1ck
a7ab998a3b
instantout: check reservation expiry
2024-02-12 12:28:56 +01:00
sputn1ck
1a31bbf75d
fsm: add early abort observer option
2024-02-12 12:28:55 +01:00
András Bánki-Horváth
8ed8274178
Merge pull request #701 from bhandras/rpc-fixup
...
instantout: fix swapserverrpc dependent compilation
2024-02-09 20:47:50 +01:00
Andras Banki-Horvath
7fb75c2f83
instantout: fix swapserverrpc dependent compilation
2024-02-09 20:36:12 +01:00
András Bánki-Horváth
8ca08455dd
Merge pull request #700 from bhandras/lnd-17-4
...
build: bump lnd dependency to v0.17.4-beta
2024-02-09 18:27:22 +01:00
Andras Banki-Horvath
12f7956fd8
build: bump lnd dependency to v0.17.4-beta
2024-02-09 18:20:18 +01:00
Konstantin Nick
2048b32c21
Merge pull request #699 from sputn1ck/reservation_fix_erroring_out
...
reservation: fix exiting on fetchL402
2024-02-09 15:34:35 +01:00
sputn1ck
7578349220
reservation: fix exiting on fetchL402
...
This commit changes the way the reservation
manager works, by not exiting when the fetchL402
call fails. This ensures that a client can still
run loop, even if they don't have outbound
capacity or the loop server is offline.
2024-02-09 15:23:53 +01:00
Konstantin Nick
4a8d69aba6
Merge pull request #697 from sputn1ck/instantout_quote
...
Instantout: Add fee estimation to CLI
2024-02-09 11:22:55 +01:00
sputn1ck
cf6552944f
cmd: add instantout quote
2024-02-08 17:52:09 +01:00
sputn1ck
b3fe9a9c61
loopd: add instantout quote
2024-02-08 17:52:08 +01:00
sputn1ck
ca8f91ab77
looprpc: add instantout quote
2024-02-07 16:08:14 +01:00
sputn1ck
85e74adf5a
swapserverrpc: add instantout quote req
2024-02-07 16:08:14 +01:00
Konstantin Nick
c6e8664281
Merge pull request #651 from sputn1ck/instantloopout_4
...
[4/?] Instant loop out: Add instant loop outs
2024-02-06 15:57:04 +01:00
sputn1ck
f725f07dd9
fsm: add instanout fsm parsing
2024-02-06 15:08:00 +01:00
sputn1ck
8c7c7cf8b5
loop: add instantout cmd
2024-02-06 15:07:59 +01:00
sputn1ck
7cafbe957d
loopd: add instantout handling
2024-02-06 15:07:59 +01:00
sputn1ck
6c07f88458
looprpc: add reservations to loop out
2024-02-06 15:07:59 +01:00
sputn1ck
932a55aaf6
swapserverrpc: add instantout service
2024-02-06 15:07:58 +01:00
sputn1ck
b7c1e68f46
instantout: add instantout manager
2024-02-06 15:07:58 +01:00
sputn1ck
ee0309f942
instantout: add instantout store
2024-02-06 15:07:57 +01:00
sputn1ck
56ed6f7ccb
instantout: add fsm and actions
2024-02-06 15:07:57 +01:00
sputn1ck
89b5c00cfa
reservation: update reservation state machine
...
This commit updates the reservation statemachine to
allow for locking and spending of the
initial reservation.
2024-02-06 15:07:56 +01:00
András Bánki-Horváth
d7860e709c
Merge pull request #693 from lightninglabs/dependabot/go_modules/github.com/opencontainers/runc-1.1.12
2024-02-01 07:23:16 +01:00
dependabot[bot]
49d4d3e005
build(deps): bump github.com/opencontainers/runc from 1.1.5 to 1.1.12
...
Bumps [github.com/opencontainers/runc](https://github.com/opencontainers/runc ) from 1.1.5 to 1.1.12.
- [Release notes](https://github.com/opencontainers/runc/releases )
- [Changelog](https://github.com/opencontainers/runc/blob/v1.1.12/CHANGELOG.md )
- [Commits](https://github.com/opencontainers/runc/compare/v1.1.5...v1.1.12 )
---
updated-dependencies:
- dependency-name: github.com/opencontainers/runc
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-01-31 22:57:25 +00:00
sputn1ck
112e612c7a
reservation: add musig2 spend helpers
2024-01-31 16:01:04 +01:00
Slyghtning
58e157c6ab
Merge pull request #692 from hieblmi/static-addr-dependencies
...
StaticAddr: Dependencies
2024-01-31 12:53:50 +01:00
Slyghtning
fdf77ed56d
swap: address family for static addresses
2024-01-31 11:24:22 +01:00
Slyghtning
0db65f4079
version: static address protocol versions
2024-01-31 11:24:20 +01:00
Slyghtning
59e5460c73
Merge pull request #690 from hieblmi/static-addr-script
...
script: static address taproot script
2024-01-31 10:36:41 +01:00
Slyghtning
7c2640da81
script: static address taproot script
2024-01-31 10:28:22 +01:00
Slyghtning
7fa10ee7a4
utils: add MuSig2Sign function
2024-01-31 10:28:21 +01:00
Alex Bosworth
5201b496cb
Merge pull request #691 from lightninglabs/update-to-v0.27.0-beta
...
version: bump version to v0.27.0-beta
2024-01-30 11:14:41 -08:00
Alex Bosworth
a25f070c4d
version: bump version to v0.27.0-beta
2024-01-29 20:07:33 -08:00
George Tsagkarelis
df2db8055b
Merge pull request #634 from GeorgeTsagk/sweep-batcher
...
Loop Out Sweep Batcher
2024-01-23 20:17:46 +01:00
George Tsagkarelis
6f75a11044
loopd: update release notes
2024-01-23 21:12:36 +02:00
George Tsagkarelis
33fdde949f
loop: fix loopout and client tests for sweeper integration
2024-01-23 20:38:11 +02:00
George Tsagkarelis
0914074b10
loop: integrate sweepbatcher to loopout flow
2024-01-23 20:38:10 +02:00
George Tsagkarelis
849d26bba6
sweepbatcher: add batcher tests
2024-01-23 20:38:10 +02:00