Commit graph

70 commits

Author SHA1 Message Date
dependabot[bot]
475c8609a0
build(deps): bump golang.org/x/crypto from 0.50.0 to 0.52.0 in /perms
Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.50.0 to 0.52.0.
- [Commits](https://github.com/golang/crypto/compare/v0.50.0...v0.52.0)

---
updated-dependencies:
- dependency-name: golang.org/x/crypto
  dependency-version: 0.52.0
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-07-28 10:09:28 +00:00
Viktor Torstensson
810cbf78c8
Merge pull request #1364 from lightninglabs/dependabot/go_modules/perms/google.golang.org/grpc-1.82.1
Some checks failed
CI / frontend tests on macOS-latest (push) Has been cancelled
CI / frontend tests on ubuntu-latest (push) Has been cancelled
CI / frontend tests on windows-latest (push) Has been cancelled
CI / backend build on macOS-latest (push) Has been cancelled
CI / backend build on ubuntu-latest (push) Has been cancelled
CI / backend build on windows-latest (push) Has been cancelled
CI / cross compilation (push) Has been cancelled
CI / cross compilation-1 (push) Has been cancelled
CI / cross compilation-2 (push) Has been cancelled
CI / RPC proto compilation check (push) Has been cancelled
CI / check commits (push) Has been cancelled
CI / Sqlc check (push) Has been cancelled
CI / lint (push) Has been cancelled
CI / run unit tests (push) Has been cancelled
CI / run unit tests-1 (push) Has been cancelled
CI / run unit tests-2 (push) Has been cancelled
CI / run unit tests-3 (push) Has been cancelled
CI / build itest binaries (push) Has been cancelled
CI / check release notes updated (push) Has been cancelled
CI / integration test (push) Has been cancelled
CI / integration test-1 (push) Has been cancelled
CI / integration test-2 (push) Has been cancelled
build(deps): bump google.golang.org/grpc from 1.79.3 to 1.82.1 in /perms
2026-07-28 12:08:05 +02:00
dependabot[bot]
3a2acb6c31
build(deps): bump google.golang.org/grpc from 1.79.3 to 1.82.1 in /perms
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.79.3 to 1.82.1.
- [Release notes](https://github.com/grpc/grpc-go/releases)
- [Commits](https://github.com/grpc/grpc-go/compare/v1.79.3...v1.82.1)

---
updated-dependencies:
- dependency-name: google.golang.org/grpc
  dependency-version: 1.82.1
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-07-27 08:46:46 +00:00
cyberguru1
1abbbe649c
perms: add permissions for AccountPayments
Register the /litrpc.Accounts/AccountPayments RPC endpoint in the
RequiredPermissions map, requiring read access on the account entity.
2026-07-22 14:06:26 -05:00
ziggie
41a6c8b3f7
build: bump go to v1.25.11 2026-07-10 19:24:26 -03:00
dependabot[bot]
4614ade31c
build(deps): bump github.com/opencontainers/runc in /perms
Bumps [github.com/opencontainers/runc](https://github.com/opencontainers/runc) from 1.2.8 to 1.3.6.
- [Release notes](https://github.com/opencontainers/runc/releases)
- [Changelog](https://github.com/opencontainers/runc/blob/main/CHANGELOG.md)
- [Commits](https://github.com/opencontainers/runc/compare/v1.2.8...v1.3.6)

---
updated-dependencies:
- dependency-name: github.com/opencontainers/runc
  dependency-version: 1.3.6
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-07-04 05:23:17 +00:00
Viktor Torstensson
503201ffa7
perms: bump lnd to v0.21.1-beta 2026-06-26 22:39:55 +02:00
Calvin Zachman
862c1dba9d
multi: bump lnd, lndclient, and taproot-assets dependencies
Bumps lnd to v0.21.0-beta, lndclient to v0.21.0-1, and
taproot-assets to v0.8.0 across the root, litrpc, and perms
modules. taprpc uses the proper v1.1.0 tag.

lnd removed the deprecated SendPaymentSync, SendToRouteSync,
SendPayment (streaming), and SendToRoute (streaming) RPCs. The
account interceptor checkers and their tests for these RPCs are
removed since no client can call them anymore. The V2 checkers
already handle account tracking for payments.

The itest harness is updated for lnd v0.21's miner API changes
(SendOutputs -> SendOutput, Miner.Client.Generate -> GenerateBlocks,
waitForNTxsInMempool replaced by Miner.AssertNumTxsInMempool) and
TimeLockDelta bumped from 20 to 40 since lnd v0.21 raised
MinCLTVDelta from 18 to 24.
2026-06-08 13:18:37 -04:00
dependabot[bot]
49a6ccbee0
build(deps): bump google.golang.org/grpc from 1.67.0 to 1.79.3 in /perms
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.67.0 to 1.79.3.
- [Release notes](https://github.com/grpc/grpc-go/releases)
- [Commits](https://github.com/grpc/grpc-go/compare/v1.67.0...v1.79.3)

---
updated-dependencies:
- dependency-name: google.golang.org/grpc
  dependency-version: 1.79.3
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-05-16 00:29:03 +00:00
Elle
4ed4b03324
Merge pull request #1246 from lightninglabs/dependabot/go_modules/perms/github.com/docker/cli-29.2.0incompatible
build(deps): bump github.com/docker/cli from 28.1.1+incompatible to 29.2.0+incompatible in /perms
2026-05-15 17:26:53 -07:00
Elle
4541fe88e0
Merge pull request #1280 from lightninglabs/dependabot/go_modules/perms/go.opentelemetry.io/otel/sdk-1.43.0
build(deps): bump go.opentelemetry.io/otel/sdk from 1.40.0 to 1.43.0 in /perms
2026-05-15 17:25:21 -07:00
dependabot[bot]
3d97597119
build(deps): bump github.com/docker/cli in /perms
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-05-08 10:27:34 +00:00
dependabot[bot]
39ea98ef37
build(deps): bump github.com/jackc/pgx/v5 from 5.7.4 to 5.9.2 in /perms
Bumps [github.com/jackc/pgx/v5](https://github.com/jackc/pgx) from 5.7.4 to 5.9.2.
- [Changelog](https://github.com/jackc/pgx/blob/master/CHANGELOG.md)
- [Commits](https://github.com/jackc/pgx/compare/v5.7.4...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-05-07 23:56:41 +00:00
dependabot[bot]
3f99c728f4
build(deps): bump go.opentelemetry.io/otel/sdk in /perms
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-05-07 23:56:26 +00:00
dependabot[bot]
ae98f9b9fb
build(deps): bump go.opentelemetry.io/otel in /perms
Bumps [go.opentelemetry.io/otel](https://github.com/open-telemetry/opentelemetry-go) from 1.40.0 to 1.41.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.41.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2026-05-05 20:04:38 +00:00
dependabot[bot]
5749802b65
build(deps): bump go.opentelemetry.io/otel/sdk in /perms
Bumps [go.opentelemetry.io/otel/sdk](https://github.com/open-telemetry/opentelemetry-go) from 1.36.0 to 1.40.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.36.0...v1.40.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2026-03-10 09:55:58 +00:00
ZZiigguurraatt
91b43118c7 build: bump go to v1.25.5 2026-03-03 14:25:35 -05:00
Viktor Torstensson
e27caad404
perms: bump lnd & sqldb
Bump `lnd` to the same version as the `terminal` package, to keep them
in sync.
2026-02-12 19:18:19 +01:00
ZZiigguurraatt
432a228bd6 build: bump go to v1.24.11 2026-02-05 02:57:05 -05:00
Viktor Torstensson
af9f1d69c2
Merge pull request #1169 from lightninglabs/dependabot/go_modules/perms/github.com/opencontainers/runc-1.2.8
build(deps): bump github.com/opencontainers/runc from 1.2.0 to 1.2.8 in /perms
2025-12-05 10:52:31 +01:00
dependabot[bot]
e00e8e7f34
build(deps): bump golang.org/x/crypto from 0.37.0 to 0.45.0 in /perms
Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.37.0 to 0.45.0.
- [Commits](https://github.com/golang/crypto/compare/v0.37.0...v0.45.0)

---
updated-dependencies:
- dependency-name: golang.org/x/crypto
  dependency-version: 0.45.0
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-12-02 23:35:28 +00:00
ffranr
011d5fdf1a
Merge pull request #1173 from lightninglabs/wip/bump-tapd-v0.7.0
go.mod: bump lnd, loop, taproot-assets
2025-11-26 11:26:33 +00:00
ffranr
42af6e1689
go.mod: bump lnd, loop, taproot-assets
Target versions:
* lnd@v0.20.0
* taproot-assets@v0.7.0
* taproot-assets/taprpc@v1.0.12
* loop@v0.31.6-beta
* loop/looprpc@v1.0.12
* loop/swapserverrpc@v1.0.19
2025-11-26 10:55:48 +00:00
Viktor Torstensson
4a9ac9ed3c
multi: remove legacy // +build tag Lines
With a upgrade to a never version of newer golang.org/x/tools/govet,
a lint check to check for legacy buildtag lines starting with
`// +build` has been added, as they're no longer needed.

In order for the `make lint` check to pass with the newer version, we
remove such buildtag lines.
2025-11-25 01:38:22 +01:00
dependabot[bot]
cc19be54ff
build(deps): bump github.com/opencontainers/runc in /perms
Bumps [github.com/opencontainers/runc](https://github.com/opencontainers/runc) from 1.2.0 to 1.2.8.
- [Release notes](https://github.com/opencontainers/runc/releases)
- [Changelog](https://github.com/opencontainers/runc/blob/v1.2.8/CHANGELOG.md)
- [Commits](https://github.com/opencontainers/runc/compare/v1.2.0...v1.2.8)

---
updated-dependencies:
- dependency-name: github.com/opencontainers/runc
  dependency-version: 1.2.8
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-11-24 06:18:35 +00:00
Viktor Torstensson
42ca699baf
perms: bump lnd
Bump `lnd` to the same version as the `terminal` package, to keep them
in sync.
2025-11-10 18:58:22 +01:00
ZZiigguurraatt
ba840892bb build: bump go to v1.24.9 2025-10-24 16:48:53 -04:00
dependabot[bot]
5cd43f1e03
build(deps): bump github.com/go-viper/mapstructure/v2 in /perms
Bumps [github.com/go-viper/mapstructure/v2](https://github.com/go-viper/mapstructure) from 2.3.0 to 2.4.0.
- [Release notes](https://github.com/go-viper/mapstructure/releases)
- [Changelog](https://github.com/go-viper/mapstructure/blob/main/CHANGELOG.md)
- [Commits](https://github.com/go-viper/mapstructure/compare/v2.3.0...v2.4.0)

---
updated-dependencies:
- dependency-name: github.com/go-viper/mapstructure/v2
  dependency-version: 2.4.0
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-09-23 10:52:05 +00:00
George Tsagkarelis
69ca6587b7
build: bump go to v1.24.6 2025-09-18 12:05:28 +02:00
Viktor Tigerström
4c0d71705d
perms: bump lnd to v0.19.3-beta 2025-08-21 17:33:53 +02:00
Oliver Gugger
07f6f2a034
mod: bump lnd to v0.19.3-beta.rc1 2025-08-08 15:32:43 +02:00
Elle Mouton
eb1d081314
build: bump go version to 1.23.12 2025-08-07 11:10:39 +02:00
dependabot[bot]
7d867ae44f
build(deps): bump github.com/go-viper/mapstructure/v2 in mod+perms
Bumps [github.com/go-viper/mapstructure/v2](https://github.com/go-viper/mapstructure) from 2.2.1 to 2.3.0.
- [Release notes](https://github.com/go-viper/mapstructure/releases)
- [Changelog](https://github.com/go-viper/mapstructure/blob/main/CHANGELOG.md)
- [Commits](https://github.com/go-viper/mapstructure/compare/v2.2.1...v2.3.0)

---
updated-dependencies:
- dependency-name: github.com/go-viper/mapstructure/v2
  dependency-version: 2.3.0
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-06-30 11:50:30 +02:00
Viktor Tigerström
e2e9552246
perms: bump lnd to v0.19.1-beta 2025-06-18 13:09:21 +02:00
Oliver Gugger
2b74cb4dd4
perms: bump lnd version 2025-06-05 16:33:44 +02:00
Oliver Gugger
503a295252
multi: bump Golang to 1.23.9
Fixes several CVEs by using the latest Golang version to build.
2025-05-21 19:25:30 +02:00
Oliver Gugger
615aeea5c6
Merge pull request #1062 from lightninglabs/dependabot/go_modules/perms/golang.org/x/net-0.38.0
build(deps): bump golang.org/x/net from 0.24.0 to 0.38.0 in /perms
2025-05-06 15:22:47 +02:00
Oliver Gugger
3e1262fcc7
Merge pull request #1061 from lightninglabs/dependabot/go_modules/perms/github.com/opencontainers/runc-1.2.0
build(deps): bump github.com/opencontainers/runc from 1.1.12 to 1.2.0 in /perms
2025-05-06 15:22:38 +02:00
Oliver Gugger
fa6699fadc
Merge pull request #1063 from lightninglabs/dependabot/go_modules/perms/github.com/golang-jwt/jwt/v4-4.5.2
build(deps): bump github.com/golang-jwt/jwt/v4 from 4.4.2 to 4.5.2 in /perms
2025-05-06 15:19:51 +02:00
dependabot[bot]
2660a40d15
build(deps): bump golang.org/x/net from 0.24.0 to 0.38.0 in /perms
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.24.0 to 0.38.0.
- [Commits](https://github.com/golang/net/compare/v0.24.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-05-06 13:16:56 +00:00
dependabot[bot]
d538e52631
build(deps): bump github.com/opencontainers/runc in /perms
Bumps [github.com/opencontainers/runc](https://github.com/opencontainers/runc) from 1.1.12 to 1.2.0.
- [Release notes](https://github.com/opencontainers/runc/releases)
- [Changelog](https://github.com/opencontainers/runc/blob/main/CHANGELOG.md)
- [Commits](https://github.com/opencontainers/runc/compare/v1.1.12...v1.2.0)

---
updated-dependencies:
- dependency-name: github.com/opencontainers/runc
  dependency-version: 1.2.0
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-05-06 13:16:47 +00:00
Oliver Gugger
9b7ced49a2
Merge pull request #1059 from lightninglabs/dependabot/go_modules/perms/golang.org/x/crypto-0.35.0
build(deps): bump golang.org/x/crypto from 0.22.0 to 0.35.0 in /perms
2025-05-06 15:15:28 +02:00
dependabot[bot]
d2a862e995
build(deps): bump github.com/golang-jwt/jwt/v4 in /perms
Bumps [github.com/golang-jwt/jwt/v4](https://github.com/golang-jwt/jwt) from 4.4.2 to 4.5.2.
- [Release notes](https://github.com/golang-jwt/jwt/releases)
- [Changelog](https://github.com/golang-jwt/jwt/blob/main/VERSION_HISTORY.md)
- [Commits](https://github.com/golang-jwt/jwt/compare/v4.4.2...v4.5.2)

---
updated-dependencies:
- dependency-name: github.com/golang-jwt/jwt/v4
  dependency-version: 4.5.2
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-05-06 11:28:12 +00:00
dependabot[bot]
d87d78975c
build(deps): bump github.com/jackc/pgx/v5 from 5.3.1 to 5.5.4 in /perms
Bumps [github.com/jackc/pgx/v5](https://github.com/jackc/pgx) from 5.3.1 to 5.5.4.
- [Changelog](https://github.com/jackc/pgx/blob/master/CHANGELOG.md)
- [Commits](https://github.com/jackc/pgx/compare/v5.3.1...v5.5.4)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-05-06 11:28:04 +00:00
dependabot[bot]
d67e6d6b0f
build(deps): bump golang.org/x/crypto from 0.22.0 to 0.35.0 in /perms
Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.22.0 to 0.35.0.
- [Commits](https://github.com/golang/crypto/compare/v0.22.0...v0.35.0)

---
updated-dependencies:
- dependency-name: golang.org/x/crypto
  dependency-version: 0.35.0
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-05-06 11:28:02 +00:00
ffranr
b32417eb8f
perms: extract into standalone module to limit LNC dependencies
Converted the perms package into its own module to prevent Lightning
Node Connect from importing the entire lit repo, which includes
taproot-assets. This change avoids exhausting symbol limits in the LNC
WASM client due to unnecessary transitive dependencies.
2025-05-06 12:01:58 +01:00
Elle
9e5578cf2d
Merge pull request #974 from ViktorTigerstrom/2025-02-credit-debit-accounts-impl
accounts: Add credit and debit account functionality
2025-04-01 13:13:43 +02:00
Viktor Tigerström
3e8c6d728d
multi: add CreditAccount & DebitAccount endpoints
This commit introduces the structure for new endpoints in the accounts
subsystem, enabling balance adjustments by crediting or debiting a
specified amount. This contrasts with the existing `UpdateAccount`
implementation, which directly sets the balance to a fixed value.

For more details on the drawbacks of the current implementation, see
[issue #648](https://github.com/lightninglabs/lightning-terminal/issues/648).

The actual implementation of the endpoints will be introduced in
subsequent commits.
2025-03-31 02:18:56 +02:00
Elle Mouton
dbec9da31b
multi: update LND and friends
This commit updates:
- LND
- pool
- loop
- taproot-assets
- faraday
- lighting-node-connect
- aperture
- lndclient
- btclog

We start using the new btclog v2 library and the associated breaking
changes in the lnd/build package.

With this commit, we deprecate the `--remote.lit-maxlogfiles` and
`--remote.lit-maxlogfilesize` options and introduce new logging options
under the `--remote.lit-logging` namespace.

Finally, the LND update introduced a new `MaxBlocksMinedPerTest`
variable in the `lntest` package that we now need to override in order
for our itests to pass.
2025-03-26 09:20:52 -05:00
Oliver Gugger
7cead0194a
make+perms: allow itest to run with dev build tag
The dev flag allows us to enable some of lnd's configuration flags that
are only available for testing. To speed up any wallet interaction, we
also add the lowscrypt build tag that chooses weak encryption for the
wallet that is much faster (a couple of milliseconds vs. multiple
seconds per wallet creation).
2024-11-07 09:39:16 +01:00