Commit graph

1872 commits

Author SHA1 Message Date
Alex Bosworth
f5b34ca316
Merge pull request #935 from lightninglabs/update-to-v0.31.1-beta
version: bump version to v0.31.1-beta
2025-05-05 07:29:30 -07:00
Alex Bosworth
62ab50adb7
version: bump version to v0.31.1-beta 2025-05-05 06:57:06 -07:00
Oliver Gugger
8ef7584f9f
Merge pull request #929 from lightninglabs/tapd-migrate-library
mod: add replace directive to compile tapd
2025-05-02 10:02:42 +02:00
Oliver Gugger
059186568f
mod: bump tapd, add replace directive to compile tapd
Because tapd now uses a fork of the SQL migration library, which can
only be used through a replace directive which isn't populated
transitively to other dependent projects, we now need to copy that
directive to every project.
2025-05-02 09:49:07 +02:00
Konstantin Nick
2bc5df281a
Merge pull request #918 from sputn1ck/reservations_quote
Use reservation ids in instant out quote
2025-04-30 17:51:36 +02:00
sputn1ck
1ce9bdd0d3
multi: use reservation ids in instant out quote 2025-04-30 15:35:25 +02:00
sputn1ck
e76321b425
looprpc: add reservation ids to quote 2025-04-30 15:35:25 +02:00
sputn1ck
d3e9b5c893
swapserverrpc: add reservationids to instantout quote 2025-04-30 15:35:21 +02:00
Konstantin Nick
cb1824034a
Merge pull request #920 from sputn1ck/reservation_protocol_version
Reservations add protocol version
2025-04-30 14:46:34 +02:00
sputn1ck
56848d0cfa
reservation: add protocol version 2025-04-30 14:23:47 +02:00
András Bánki-Horváth
a889d6226b
Merge pull request #933 from lightninglabs/autoloop-slow-by-default
liquidity: default to slow swaps for autloop
2025-04-30 09:05:09 +02:00
András Bánki-Horváth
927cb3f0de
Merge pull request #934 from lightninglabs/dependabot/go_modules/swapserverrpc/golang.org/x/net-0.38.0
build(deps): bump golang.org/x/net from 0.9.0 to 0.38.0 in /swapserverrpc
2025-04-29 19:03:52 +02:00
Andras Banki-Horvath
026dff2cad
docs: update release notes 2025-04-29 19:01:03 +02:00
Andras Banki-Horvath
693d3a4ca0
liquidity: default to slow swaps for autloop 2025-04-29 18:56:49 +02:00
Andras Banki-Horvath
565acbb83f
looprpc: extend liquidity params with fast publication 2025-04-29 18:56:48 +02:00
dependabot[bot]
41a8b803e4
build(deps): bump golang.org/x/net in /swapserverrpc
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.9.0 to 0.38.0.
- [Commits](https://github.com/golang/net/compare/v0.9.0...v0.38.0)

---
updated-dependencies:
- dependency-name: golang.org/x/net
  dependency-version: 0.38.0
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-29 13:45:32 -03:00
Boris Nagaev
7fb745954b
Merge pull request #932 from starius/fix-ci
Fix CI
2025-04-29 12:32:10 -03:00
Boris Nagaev
809586c86f
run make rpc 2025-04-29 11:21:54 -03:00
Boris Nagaev
4ab8a80db5
swapserverrpc: bump Go to 1.18
Protobuf v1.34.2 generates Go files that fail to compile with Go 1.16:
predeclared any requires go1.18 or later (-lang was set to go1.16; check go.mod)

Also ran "go mod tidy".
2025-04-29 11:21:53 -03:00
Boris Nagaev
56c960444e
Revert "Revert "make mod-check: run in sub-modules, GOPROXY=direct""
This reverts commit 7b0c383f8c.

Access to git.sr.ht/~sbinet/gg was restored, so the check now passes.
2025-04-29 10:29:34 -03:00
András Bánki-Horváth
49aef8ab8c
Merge pull request #931 from lightninglabs/dependabot/go_modules/looprpc/golang.org/x/net-0.38.0
build(deps): bump golang.org/x/net from 0.36.0 to 0.38.0 in /looprpc
2025-04-29 13:13:40 +02:00
Boris Nagaev
664cde23ce
swapserverrpc: update protobuf to v1.34.2 2025-04-28 21:17:37 -03:00
dependabot[bot]
9553bec620
build(deps): bump golang.org/x/net from 0.36.0 to 0.38.0 in /looprpc
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.36.0 to 0.38.0.
- [Commits](https://github.com/golang/net/compare/v0.36.0...v0.38.0)

---
updated-dependencies:
- dependency-name: golang.org/x/net
  dependency-version: 0.38.0
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-28 19:00:51 +00:00
Slyghtning
903266ab6e
Merge pull request #892 from hieblmi/resign-withdrawal
staticaddr: allow rbf'ing withdrawal transactions
2025-04-28 20:13:09 +02:00
Slyghtning
b5af507c6b
staticaddr: don't ignore output-already-spent publish error 2025-04-28 19:43:29 +02:00
Slyghtning
ff44b3b640
staticaddr: log deposit state transition only if executed 2025-04-28 19:43:29 +02:00
Slyghtning
82e34a6d5e
staticaddr: allow rbf'ing withdrawal transactions 2025-04-28 19:43:28 +02:00
Slyghtning
3d1ba4e24b
Merge pull request #930 from ffranr/mv-perms-into-looprpc
perms: move perms.go into looprpc
2025-04-28 19:43:04 +02:00
Boris Nagaev
7b0c383f8c
Revert "make mod-check: run in sub-modules, GOPROXY=direct"
This reverts commit d7d9e2d249.
2025-04-28 12:56:21 -03:00
ffranr
64e6bbd451
perms: move perms.go into looprpc
The Lightning Node Connect (LNC) WASM client currently imports both
`looprpc` and the entire `loop` module to access `perms.go`. This
creates problems because `loop` imports `taproot-assets`, resulting in
too many symbols for the WASM build.

To fix this, we will move `perms.go`—which defines RPC endpoint
permissions—into `looprpc`. After this change, the LNC WASM client will
import only `looprpc`, while the rest of `loop` can continue importing
`taproot-assets` without affecting the LNC WASM build.
2025-04-28 12:56:21 -03:00
Oliver Gugger
7e81916829
Merge pull request #924 from lightninglabs/lndclient-listchannels
mod+liquidity+test: update to latest lndclient+tapd
2025-04-25 08:52:36 +02:00
Oliver Gugger
c70dcc5449
mod+liquidity+test: update to latest lndclient+tapd
Required to build litd with the latest lnd+tapd.
2025-04-25 08:38:03 +02:00
Boris Nagaev
872137e3c7
Merge pull request #928 from lightninglabs/dependabot/go_modules/golang.org/x/net-0.38.0
build(deps): bump golang.org/x/net from 0.36.0 to 0.38.0
2025-04-24 13:08:24 -03:00
dependabot[bot]
1a4ca9e372
build(deps): bump golang.org/x/net from 0.36.0 to 0.38.0
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.36.0 to 0.38.0.
- [Commits](https://github.com/golang/net/compare/v0.36.0...v0.38.0)

---
updated-dependencies:
- dependency-name: golang.org/x/net
  dependency-version: 0.38.0
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-24 14:36:11 +00:00
Boris Nagaev
d55b4ab1aa
Merge pull request #926 from starius/fix-protos
looprpc: fix several minor bugs
2025-04-24 11:34:57 -03:00
Boris Nagaev
1af9cb793b
staticaddr: don't rename swapserverrpc to looprpc 2025-04-24 11:19:59 -03:00
Boris Nagaev
6d3f65a0f2
looprpc: rename field in WithdrawDepositsResponse
It returns an address, but the field was called pk_script, which was confusing.
Also renamed it in the code.
2025-04-24 11:19:59 -03:00
Boris Nagaev
d7d9e2d249
make mod-check: run in sub-modules, GOPROXY=direct
GOPROXY=direct is needed to capture the issue with tags force-pushes.
2025-04-24 11:19:59 -03:00
Boris Nagaev
1480536132
looprpc: update swapserverrpc to v1.0.13
swapserverrpc/v1.0.11 was force-pushed causing build errors with GOPROXY=direct.

Also updated in main go.mod, however it didn't fail, because replace to local
dir is used.
2025-04-24 11:19:59 -03:00
Boris Nagaev
a852596582
go.mod: re-pin taproot-assets to a commit in main 2025-04-24 11:19:59 -03:00
Boris Nagaev
f2715e39eb
ci: fix 'make rpc' check
'git describe' may not work in CI because of Git shallow clones.
We got false negative of this check:
https://github.com/lightninglabs/loop/actions/runs/14556035205/job/40959214856
"fatal: No names found, cannot describe anything."
2025-04-24 11:19:59 -03:00
Boris Nagaev
301c4756b4
looprpc: run 'make rpc' 2025-04-24 11:19:59 -03:00
András Bánki-Horváth
802e3f67f7
Merge pull request #925 from lightninglabs/update-to-v0.31.0-beta
version: bump version to v0.31.0-beta
2025-04-24 15:07:30 +02:00
Alex Bosworth
1b214ca175
version: bump version to v0.31.0-beta 2025-04-23 07:42:34 -07:00
András Bánki-Horváth
7a620ea4ae
Merge pull request #912 from kornpow/listswaps_paginate
add simple pagination to the ListSwaps command
2025-04-22 19:59:54 +02:00
Sam Korn
6b3f270417
ListSwap Update: Update release note 2025-04-19 22:31:45 -06:00
Sam Korn
5cc119b610
looprpc: add test for ListSwaps pagination and filtering 2025-04-19 22:31:45 -06:00
Sam Korn
b55521cb41
looprpc: add simple pagination to the ListSwaps command
This commit adds the ability to set a max_swaps and an index_offset
flag to the ListSwaps command. These new fields are applied AFTER
the initial filtering step. The response also now passes additional
information about the index count and total swaps filtered.
2025-04-19 22:31:45 -06:00
Boris Nagaev
84820f2d4f
Merge pull request #917 from starius/register-conf-initiation-height
sweepbatcher: fix height hint for confirmations
2025-04-06 15:56:26 -03:00
Boris Nagaev
4c26aefe80
sweepbatcher: fix height hint for confirmations
Previously, we passed the current best block height as the height hint to
RegisterConfirmationsNtfn. If Loop was shut down when a sweep was confirmed
and restarted later, it would use the current best height as the hint. This
caused the confirmation to be missed, since it had already occurred before
that height.

This commit fixes the issue by passing the initiation height of the swap as the
height hint instead. This is consistent with what we do in other places where
we use RegisterConfirmationsNtfn.

Since LND caches previously passed height hints for RegisterConfirmationsNtfn
and uses maximum passed value, to actually recover in such a condition, one has
to restart LND passing the option --height-hint-cache-query-disable and then
restart Loop applying this fix. If a pruned bitcoind backend is used, this might
not work.
2025-04-05 18:01:16 -03:00