Commit graph

57 commits

Author SHA1 Message Date
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]
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
Elle Mouton
d3133ff109
perms: hold the mutex for any public call 2024-10-14 15:48:17 +02:00
Elle Mouton
6310eedbfc
multi: init status manager
Initialise an instance of the status manager in LightningTerminal.
Register its gRPC and REST endpoints and also add its method to the set
of LiT whitelisted permissions.
2023-09-22 11:59:24 +02:00
Elle Mouton
15a69e0a11
perms+subservers: register subserver whitelisted urls with perms manager 2023-09-07 11:00:02 +02:00
Elle Mouton
705bf124cc
perms: add IsWhiteListURL method to the Manager
This commit adds a new `IsWhiteListURL` to the permissions manager. This
can then be used by LiT to check if it should perform macaroon
validation on a query or not.
2023-09-07 11:00:02 +02:00
Oliver Gugger
27b04eb374
multi: add AccountInfo RPC 2023-07-26 16:41:20 +02:00
Elle Mouton
29b11261b9
multi: implement BakeSuperMacaroon method 2023-06-20 08:10:54 +02:00
Elle Mouton
06bb73f62d
perms+subservers: let subserver register perms 2023-05-03 08:51:45 +02:00
Elle Mouton
c4562cba6b
perms: remove dead code 2023-05-02 08:33:46 +02:00
positiveblue
c3bc9917fd
subservers: add uri handler helper funcs 2023-05-01 00:48:24 -07:00
positiveblue
f2fe3cc736
subservers: move permission logic 2023-05-01 00:37:58 -07:00
Elle Mouton
dbe62e074a
multi: add StopDaemon method to Lit
In this commit, a new Proxy service is added with a StopDaemon method.
This method can be used to stop the Litd service. This will be useful in
remote-mode itests where we want to restart Litd without also restarting
LND. It also provides a nice way of shutting down Litd in remote-mode.
A GetInfo method is also added to the service which for now just returns
the Litd version. The reason for adding this method now is so that
access to the new Proxy service can be tested in the itests withouth
actually shutting down Litd.
2023-03-17 11:14:24 +02:00
positiveblue
c267ef64eb
multi: update lnd dependency to v0.16.0-beta.rc3
- Bump lnd and other module dependencies.
- Bump Go build version & RPCs
- Refactor itests to use the new lnd itest framework.
2023-03-15 08:36:23 -07:00
Elle Mouton
ab347dd6f1
multi: add privacy mapper conversion helper 2023-01-27 06:47:13 +02:00