Commit graph

2330 commits

Author SHA1 Message Date
Boris Nagaev
02dc98232c
looprpc: fix build
It depends on our protobuf-go fork. It failed with compilation errors when
building the module itself.
2026-05-07 02:37:00 -05:00
Boris Nagaev
e340797225
looprpc: fix permissions of two RPCs
Both SweepHtlc and StaticAddressLoopIn are active, so the "swap" entity
must have action=execute, not read.
2026-05-07 02:24:17 -05:00
Slyghtning
6ea1c79834
Merge pull request #1135 from hieblmi/risk-notif
swapserverrpc: risk acceptance/rejection notifications
2026-05-05 13:18:59 +02:00
Slyghtning
38654b91af
swapserverrpc: risk rejection notification 2026-05-05 11:37:06 +02:00
Slyghtning
1ec0f77a24
swapserverrpc: risk acceptance notification 2026-05-05 11:37:02 +02:00
Boris Nagaev
62177f9d62
Merge pull request #1122 from starius/addinvoice-coverage
loop-ins: fix route hints passing, add test coverage
2026-05-01 00:17:01 -05:00
Slyghtning
807aa61ae6
Merge pull request #1090 from Olexandr88/master
fix: guard against short reservation id when printing shortid
2026-04-29 16:33:28 +02:00
Olexandr88
6fd752f7e7
cmd/loop: fix panic on zero index in instantout reservation selection 2026-04-29 16:18:36 +02:00
Olexandr88
7b1c60dba2
fix: guard against short reservation id when printing shortid 2026-04-29 16:18:36 +02:00
Slyghtning
5b68d40920 Revert "Merge pull request #1095 from hieblmi/claude-review-approve"
This reverts commit 864029135a, reversing
changes made to ff800df41d.
2026-04-29 12:16:04 +02:00
Slyghtning
787519ea7c
Merge pull request #1125 from hieblmi/correct-static-text
cmd/loop: drop misleading static loop-in fee warning
2026-04-23 19:46:12 +02:00
Slyghtning
b5d26775a5
cmd/loop: drop misleading static loop-in fee warning 2026-04-23 19:21:49 +02:00
Slyghtning
c8ccc1eba9
Merge pull request #1127 from lightninglabs/dependabot/go_modules/looprpc/github.com/jackc/pgx/v5-5.9.2
build: bump github.com/jackc/pgx/v5 from 5.9.0 to 5.9.2 in /looprpc
2026-04-23 18:37:38 +02:00
Slyghtning
93669c2b84
build: sync root pgx dependency for looprpc bump 2026-04-23 08:07:45 +02:00
Slyghtning
d295fbc459
Merge pull request #1126 from lightninglabs/dependabot/go_modules/github.com/jackc/pgx/v5-5.9.2
build: bump github.com/jackc/pgx/v5 from 5.9.0 to 5.9.2
2026-04-23 07:59:14 +02:00
dependabot[bot]
fc47f8ee3a
build: bump github.com/jackc/pgx/v5 from 5.9.0 to 5.9.2 in /looprpc
Bumps [github.com/jackc/pgx/v5](https://github.com/jackc/pgx) from 5.9.0 to 5.9.2.
- [Changelog](https://github.com/jackc/pgx/blob/master/CHANGELOG.md)
- [Commits](https://github.com/jackc/pgx/compare/v5.9.0...v5.9.2)

---
updated-dependencies:
- dependency-name: github.com/jackc/pgx/v5
  dependency-version: 5.9.2
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-04-23 00:34:27 +00:00
dependabot[bot]
0031ed5eba
build: bump github.com/jackc/pgx/v5 from 5.9.0 to 5.9.2
Bumps [github.com/jackc/pgx/v5](https://github.com/jackc/pgx) from 5.9.0 to 5.9.2.
- [Changelog](https://github.com/jackc/pgx/blob/master/CHANGELOG.md)
- [Commits](https://github.com/jackc/pgx/compare/v5.9.0...v5.9.2)

---
updated-dependencies:
- dependency-name: github.com/jackc/pgx/v5
  dependency-version: 5.9.2
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-04-23 00:32:10 +00:00
Slyghtning
13ded17d9e
Merge pull request #1123 from lightninglabs/dependabot/go_modules/looprpc/github.com/jackc/pgx/v5-5.9.0
build: bump github.com/jackc/pgx/v5 from 5.7.4 to 5.9.0 in /looprpc
2026-04-21 09:40:03 +02:00
Slyghtning
7396653e55
build: update root pgx/v5 to 5.9.0 2026-04-21 09:22:56 +02:00
Boris Nagaev
51bb2b6ac5
staticaddr/loopin: add route hint regression test 2026-04-17 21:38:36 -05:00
Boris Nagaev
e1f1077f44
loop+test: add loop-in route hint regression 2026-04-17 21:38:36 -05:00
Boris Nagaev
bfbc180e4b
test: add route hint assertion helper 2026-04-17 21:38:36 -05:00
Boris Nagaev
118c73a0bd
go.mod: pin fixed lndclient addinvoice hints
Include https://github.com/lightninglabs/lndclient/pull/268
Preserve AddInvoiceData fields across invoice wrappers
2026-04-17 21:37:47 -05:00
dependabot[bot]
e8bae4380c
build: bump github.com/jackc/pgx/v5 from 5.7.4 to 5.9.0 in /looprpc
Bumps [github.com/jackc/pgx/v5](https://github.com/jackc/pgx) from 5.7.4 to 5.9.0.
- [Changelog](https://github.com/jackc/pgx/blob/master/CHANGELOG.md)
- [Commits](https://github.com/jackc/pgx/compare/v5.7.4...v5.9.0)

---
updated-dependencies:
- dependency-name: github.com/jackc/pgx/v5
  dependency-version: 5.9.0
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-04-16 23:06:13 +00:00
Boris Nagaev
2f5e821049
Merge pull request #1111 from starius/fix-deposit-test
staticaddr: deflake deposit manager test
2026-04-14 10:06:52 -05:00
Boris Nagaev
aa699b16e6
staticaddr: deflake deposit manager test
The sqlite and postgres race jobs were both hanging in
deposit.TestManager. The test was observing the manager through
implementation details that were not safe to share with the manager
itself:

- it replaced the manager's internal finalizedDepositChan and then
  waited on the same channel the manager consumes
- it reused package-level block and confirmation channels across runs
- it treated confirmationHeight+expiry as the last pre-expiry block
  even though the production IsExpired check uses >=
- it relied on scheduler timing when asserting that no sign request
  had happened yet

Make the test assert on stable effects instead of internal channel
ownership:

- create per-test notifier channels in the test context
- run the manager from a cancellable t.Context-derived context and
  assert clean shutdown
- send the actual last pre-expiry height, then the expiry height
- wait for the expiry sign and publish steps with bounded timeouts
- verify finalization by waiting for the manager to remove the
  deposit from activeDeposits instead of racing its private
  finalization channel

This keeps the test aligned with the production expiry semantics
and removes the race that only showed up reliably under -race.
2026-04-14 04:10:33 -05:00
Boris Nagaev
bf47c92477
Merge pull request #1112 from starius/security-md
add SECURITY policy file
2026-04-14 04:05:46 -05:00
Slyghtning
d95da382d9
Merge pull request #1118 from lightninglabs/dependabot/go_modules/looprpc/go.opentelemetry.io/otel/sdk-1.43.0
build: bump go.opentelemetry.io/otel/sdk from 1.40.0 to 1.43.0 in /looprpc
2026-04-13 07:41:12 +02:00
dependabot[bot]
f128203ef3
build: bump go.opentelemetry.io/otel/sdk in /looprpc
Bumps [go.opentelemetry.io/otel/sdk](https://github.com/open-telemetry/opentelemetry-go) from 1.40.0 to 1.43.0.
- [Release notes](https://github.com/open-telemetry/opentelemetry-go/releases)
- [Changelog](https://github.com/open-telemetry/opentelemetry-go/blob/main/CHANGELOG.md)
- [Commits](https://github.com/open-telemetry/opentelemetry-go/compare/v1.40.0...v1.43.0)

---
updated-dependencies:
- dependency-name: go.opentelemetry.io/otel/sdk
  dependency-version: 1.43.0
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-04-11 05:31:54 +00:00
Slyghtning
b5eeeecd6a
Merge pull request #1117 from lightninglabs/dependabot/go_modules/go.opentelemetry.io/otel/sdk-1.43.0
build: bump go.opentelemetry.io/otel/sdk from 1.40.0 to 1.43.0
2026-04-11 07:30:35 +02:00
dependabot[bot]
af79d5480c
build: bump go.opentelemetry.io/otel/sdk from 1.40.0 to 1.43.0
Bumps [go.opentelemetry.io/otel/sdk](https://github.com/open-telemetry/opentelemetry-go) from 1.40.0 to 1.43.0.
- [Release notes](https://github.com/open-telemetry/opentelemetry-go/releases)
- [Changelog](https://github.com/open-telemetry/opentelemetry-go/blob/main/CHANGELOG.md)
- [Commits](https://github.com/open-telemetry/opentelemetry-go/compare/v1.40.0...v1.43.0)

---
updated-dependencies:
- dependency-name: go.opentelemetry.io/otel/sdk
  dependency-version: 1.43.0
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-04-08 21:53:40 +00:00
Alex Bosworth
21acb23486
Merge pull request #1116 from lightninglabs/alexbosworth-patch-14
version: bump version to v0.33.0-beta
2026-04-08 08:26:18 -07:00
Alex Bosworth
7943875d3f
version: bump version to v0.33.0-beta
bump version to v0.33.0-beta
2026-04-07 09:58:12 -07:00
Boris Nagaev
0aab352991
Merge pull request #1114 from starius/max-fee-rate
cmd/loop: add max swap fee flags for static in
2026-04-07 10:57:42 -05:00
Boris Nagaev
ad7b92e839
docs: regenerate loop CLI reference 2026-04-06 23:06:55 -05:00
Boris Nagaev
659d812634
cmd/loop: add max swap fee flags for static in
Add --max_swap_fee_sat and --max_swap_fee_ppm flags to `loop static in`.
When set, the resolved cap is checked against the current quote before
confirmation and sent in MaxSwapFeeSatoshis instead of the quoted fee,
giving scripts a budget ceiling without the quote-then-retry workaround.
2026-04-06 23:06:55 -05:00
Boris Nagaev
6d18faafa9
cmd/loop: add static loop-in fee cap helper
Add resolveMaxSwapFee helper that computes an effective maximum swap fee
from --max_swap_fee_sat and --max_swap_fee_ppm CLI flags. When both are
set the tighter (lower) cap wins. The helper also rejects early if the
server-quoted fee already exceeds the resolved cap.
2026-04-06 23:06:55 -05:00
Boris Nagaev
1614375fd9
add SECURITY policy file
It refers to LND Security policy and asks not to open Github issues
for security and privacy issues.
2026-04-06 00:07:25 -05:00
Boris Nagaev
30472d0f28
Merge pull request #1103 from starius/reapply-bumps
Reapply bumps
2026-03-25 01:37:03 -05:00
Boris Nagaev
5a482249f8
Reapply "build: bump google.golang.org/grpc to v1.79.3"
This reverts commit 98ca6a0986.
2026-03-20 17:06:14 -05:00
Boris Nagaev
358e5ceac9
Reapply "looprpc: bump github.com/docker/cli to 29.2.0"
This reverts commit 240a748049.
2026-03-20 17:06:09 -05:00
Boris Nagaev
dcd8084603
Reapply "build: bump github.com/docker/cli"
This reverts commit 6bb39c7441.
2026-03-20 17:06:02 -05:00
Boris Nagaev
d141818ae5
Merge pull request #1102 from starius/revert-grpc
Revert grpc-go update
2026-03-19 10:24:42 -05:00
Boris Nagaev
6bb39c7441
Revert "build: bump github.com/docker/cli"
This reverts commit 5c86ad6ed2.
2026-03-19 10:00:34 -05:00
Boris Nagaev
240a748049
Revert "looprpc: bump github.com/docker/cli to 29.2.0"
This reverts commit 9d9b7b99ae.
2026-03-19 10:00:30 -05:00
Boris Nagaev
98ca6a0986
Revert "build: bump google.golang.org/grpc to v1.79.3"
This reverts commit 629bf3721b.
2026-03-19 10:00:22 -05:00
Boris Nagaev
428b0bac77
Merge pull request #1086 from lightninglabs/dependabot/go_modules/github.com/docker/cli-29.2.0incompatible
build: bump github.com/docker/cli from 28.1.1+incompatible to 29.2.0+incompatible
2026-03-19 09:20:03 -05:00
Boris Nagaev
629bf3721b
build: bump google.golang.org/grpc to v1.79.3 2026-03-19 01:20:06 -05:00
Boris Nagaev
9d9b7b99ae
looprpc: bump github.com/docker/cli to 29.2.0
Folloup for 37c14c98107ec85aa0577acada3ac2c533afb0b1
2026-03-18 18:11:55 -05:00
dependabot[bot]
5c86ad6ed2
build: bump github.com/docker/cli
Bumps [github.com/docker/cli](https://github.com/docker/cli) from 28.1.1+incompatible to 29.2.0+incompatible.
- [Commits](https://github.com/docker/cli/compare/v28.1.1...v29.2.0)

---
updated-dependencies:
- dependency-name: github.com/docker/cli
  dependency-version: 29.2.0+incompatible
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-03-18 18:11:55 -05:00