2
0
mirror of https://github.com/lightninglabs/loop synced 2024-11-09 19:10:47 +00:00
Commit Graph

1570 Commits

Author SHA1 Message Date
András Bánki-Horváth
6ac6ee0549
Merge pull request #725 from bhandras/swap-info-fixup
loop: fill the correct HTLC in loopout update
2024-03-21 15:53:43 +01:00
Andras Banki-Horvath
06fd21fd05
loop: fill the correct HTLC in loopout update 2024-03-21 14:59:24 +01:00
Konstantin Nick
c3371fead1
Merge pull request #724 from lightninglabs/dependabot/go_modules/github.com/docker/docker-24.0.9incompatible
build(deps): bump github.com/docker/docker from 24.0.7+incompatible to 24.0.9+incompatible
2024-03-20 18:42:22 +01:00
dependabot[bot]
e7d0b3a472
build(deps): bump github.com/docker/docker
Bumps [github.com/docker/docker](https://github.com/docker/docker) from 24.0.7+incompatible to 24.0.9+incompatible.
- [Release notes](https://github.com/docker/docker/releases)
- [Commits](https://github.com/docker/docker/compare/v24.0.7...v24.0.9)

---
updated-dependencies:
- dependency-name: github.com/docker/docker
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-20 17:27:42 +00:00
dependabot[bot]
2326c15e45
build(deps): bump github.com/jackc/pgx/v4 from 4.18.1 to 4.18.2
Bumps [github.com/jackc/pgx/v4](https://github.com/jackc/pgx) from 4.18.1 to 4.18.2.
- [Changelog](https://github.com/jackc/pgx/blob/v4.18.2/CHANGELOG.md)
- [Commits](https://github.com/jackc/pgx/compare/v4.18.1...v4.18.2)

---
updated-dependencies:
- dependency-name: github.com/jackc/pgx/v4
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-20 13:34:58 +00:00
András Bánki-Horváth
664ab04b57
Merge pull request #723 from bhandras/sqlite-sqlc-bump
mod+loopdb: bump sqlite and sqlc dependencies
2024-03-20 14:23:57 +01:00
Andras Banki-Horvath
fb0c7f504e
loopdb: bump sqlc to 1.25.0 2024-03-20 13:57:11 +01:00
Andras Banki-Horvath
d0847cf2d5
mod: bump modernc.org/sqlite to 1.29.5 2024-03-20 13:55:52 +01:00
Slyghtning
bc09440c61
Merge pull request #714 from hieblmi/speed-up-docker
Speed up docker runs
2024-03-08 09:00:11 +01:00
Slyghtning
0babeee084
make: cache docker builds 2024-03-07 17:05:22 +01:00
Alex Bosworth
0d268750ac
Merge pull request #713 from lightninglabs/alexbosworth-patch-1
version: bump version to v0.28.0-beta
2024-03-05 12:33:29 -08:00
Alex Bosworth
67c59fe043
version: bump version to v0.28.0-beta 2024-03-05 11:23:15 -08:00
Konstantin Nick
5d75e99d6d
Merge pull request #708 from sputn1ck/listinstantouts
Add `listinstantouts` command
2024-03-05 17:38:49 +01:00
András Bánki-Horváth
65b8cb6036
Merge pull request #694 from bhandras/cost-cleanup
loop: fix the loopout per sweep onchain cost and cleanup server cost calculation (both loopin and loopout)
2024-03-05 15:04:27 +01:00
András Bánki-Horváth
1cd42078af
Merge pull request #712 from bhandras/db-durability
loopdb: make sqlite sync for extra durability
2024-03-04 19:47:32 +01:00
Andras Banki-Horvath
7fe4ee2f3b
loopdb: make sqlite sync for extra durability 2024-03-04 16:23:50 +01:00
Andras Banki-Horvath
5294b4ff07
loop: clean up server cost calculation for slightly better UX
Previously we'd calculate the server costs (swap fees) by accounting for
both the on-chain HTLC and the off-chain payment which was confusing as
server cost fluctuated by the amount of the swap itself. Now we'll only
add the actual cost when the swap happened, so the server cost will go
form zero to the actual fee value paid.
2024-03-04 16:15:21 +01:00
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
sputn1ck
034bc246ca
cmd: add listinstantouts cmd 2024-03-04 12:26:17 +01:00
sputn1ck
1f211e5647
swapclientserver: add listinstantouts 2024-03-04 12:26:17 +01:00
sputn1ck
1f96a61d21
looprpc: add listinstantouts 2024-03-04 12:26:15 +01:00
sputn1ck
b3805b7cad
instantout: add listinstantout func 2024-03-04 12:25:55 +01:00
sputn1ck
f3919d976c
instantout: export value and expiry 2024-03-04 12:25:52 +01:00
Konstantin Nick
010b63d75e
Merge pull request #709 from sputn1ck/instantout_custom_addr
instantout: add custom address to send funds to
2024-03-04 12:25:15 +01:00
sputn1ck
6a62be0d09
instantout: add addr to send funds to 2024-03-04 09:43:52 +01:00
Konstantin Nick
c19781bd13
Merge pull request #710 from sputn1ck/instantout_ux
instantout: improve ux
2024-03-03 11:54:38 +01:00
sputn1ck
194d021824
cmd: improve instantout ux 2024-03-03 11:49:53 +01:00
sputn1ck
1be6d39677
instantout: log correct expiry 2024-03-03 11:49:31 +01:00
Slyghtning
ddb52b6be4
Merge pull request #707 from hieblmi/minor-fixes
Minor clean up in utils
2024-03-01 10:37:38 +01:00
Slyghtning
5214da8822
loopd: cleanup db utils func 2024-03-01 10:02:29 +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