Commit Graph

417 Commits

Author SHA1 Message Date
Slyghtning
2779c9ef6c Merge pull request #194 from lightninglabs/dependabot/go_modules/github.com/go-viper/mapstructure/v2-2.4.0
build(deps): bump github.com/go-viper/mapstructure/v2 from 2.3.0 to 2.4.0
2025-08-26 16:07:55 +02:00
Slyghtning
4093998f85 Merge pull request #170 from shaojunda/challenger/start-call
challenger: remove redundant Start() call in NewLNCChallenger
2025-08-26 16:01:18 +02:00
dependabot[bot]
e31a59b148 build(deps): bump github.com/go-viper/mapstructure/v2
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-08-21 15:32:28 +00:00
Oliver Gugger
7e5d505edd Merge pull request #190 from hieblmi/bump-linter
linter: upgrade `golangci-lint` to v2
2025-08-20 06:48:48 -06:00
Slyghtning
536bc0d241 linter: fix lint issues after linter v2 update 2025-08-20 14:42:42 +02:00
Slyghtning
d4884d5aee linter: migrate .golangci.yml to v2
The migration was done via:
golangci-lint migrate --skip-validation
2025-08-20 14:42:41 +02:00
Slyghtning
049be3eb04 linter: update dolangci-lint to v2 2025-08-20 07:03:35 +02:00
Olaoluwa Osuntokun
666de67808 Merge pull request #189 from hieblmi/bump-go
gomod: bump go to v1.24.6
2025-08-19 18:02:46 -07:00
Slyghtning
200a203d22 gomod: bump go to v1.24.6 2025-08-19 15:44:19 +02:00
Oliver Gugger
5b83c503e9 Merge pull request #187 from lightninglabs/fix-rpc-check
proxy+pricesrpc: fix RPC check by bumping Golang version
2025-08-07 03:22:33 -06:00
Oliver Gugger
d365f0cd79 proxy+pricesrpc: fix RPC check by bumping Golang version 2025-08-07 11:11:29 +02:00
Oliver Gugger
57dee6953d Merge pull request #186 from bhandras/go-bump-v1.23.12
build: bump go to v1.23.12
2025-08-07 03:09:17 -06:00
Andras Banki-Horvath
84452ffdf4 build: bump go to v1.23.12 2025-08-07 10:31:32 +02:00
Oliver Gugger
72d880d04b Merge pull request #185 from lightninglabs/dependabot/go_modules/tools/github.com/go-viper/mapstructure/v2-2.3.0
build(deps): bump github.com/go-viper/mapstructure/v2 from 2.2.1 to 2.3.0 in /tools
2025-06-30 10:13:04 +02:00
dependabot[bot]
132d0143e5 build(deps): bump github.com/go-viper/mapstructure/v2 in /tools
---
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 07:56:49 +00:00
Oliver Gugger
e483545f04 Merge pull request #184 from lightninglabs/dependabot/go_modules/github.com/go-viper/mapstructure/v2-2.3.0
build(deps): bump github.com/go-viper/mapstructure/v2 from 2.2.1 to 2.3.0
2025-06-30 08:15:31 +02:00
dependabot[bot]
1100d173c1 build(deps): bump github.com/go-viper/mapstructure/v2
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-27 16:50:19 +00:00
Olaoluwa Osuntokun
3d991cec59 Merge pull request #181 from starius/bump-lightning-node-connect
update lightning-node-connect
2025-06-18 17:56:58 -07:00
Boris Nagaev
c99b44efd1 update lightning-node-connect
Include https://github.com/lightninglabs/lightning-node-connect/pull/116
It replaced a deprecated and removed dependency (nhooyr.io/websocket) with
an updated version.

Fix building with GOPROXY=direct.
2025-06-10 15:29:02 -03:00
Oliver Gugger
a990f62319 Merge pull request #180 from hieblmi/fix-shutdown-panic
challanger: fix shutdown panic
v0.3.14-beta
2025-05-27 20:38:41 +02:00
Slyghtning
6ee08290c5 challanger: cancel inv context when strictly verifying inv states 2025-05-27 20:30:18 +02:00
Oliver Gugger
c44ae45a07 Merge pull request #179 from lightninglabs/bump-lnd-version
GitHub+Docker: bump Golang version used
v0.3.13-beta
2025-05-26 13:52:00 +02:00
Oliver Gugger
b35b2b2742 GitHub+Docker: bump Golang version used 2025-05-26 13:42:43 +02:00
Oliver Gugger
8e175f9150 Merge pull request #178 from lightninglabs/lnd-19
mod: bump lnd, use latest modularized LNC
v0.3.12-beta
2025-05-26 13:19:17 +02:00
Oliver Gugger
491c0be94e multi: bump lnd, use latest modularized LNC 2025-05-26 12:49:05 +02:00
András Bánki-Horváth
20564d4a1d Merge pull request #172 from djkazic/aggregated-session-stats
aperture: internally aggregate session statistics to reduce cardinality
v0.3.11-beta
2025-05-22 16:54:45 +02:00
djkazic
eab9d755b6 fix: comment punctuation and shutdown of ticker 2025-05-21 11:28:34 -04:00
djkazic
7233c25bce aperture: internally aggregate session statistics to reduce cardinality 2025-05-19 12:40:24 -04:00
Oliver Gugger
47d72bdde3 Merge pull request #175 from Roasbeef/skip-invoice-load
multi: add new strict-verify CLI option to control invoice usage
2025-05-16 08:31:50 +02:00
Olaoluwa Osuntokun
ea6378110f sample-conf: add newer config options to sample conf 2025-05-15 14:59:58 -07:00
Olaoluwa Osuntokun
459a5728db multi: add new strict-verify CLI option to control invoice usage
In this commit, we add a new CLI argument that allows a user to control
if we use strict verification or not. Strict verification relies on
checking the actual invoice state against lnd, and requires more state
for the Aperture server.

When strict verification isn't on, we rely only on the preimage payment
hash relationship. Namely that the only way a user can obtain the
preimage is to pay the invoice, and as we check the HMAC on the
macaroon, we know that we created it with an invoice obtained from lnd.
2025-05-15 14:59:57 -07:00
András Bánki-Horváth
ab83de2961 Merge pull request #176 from sputn1ck/invoice_skip_list
Add Invoice skip list
v0.3.10-beta
2025-05-15 08:48:07 +02:00
sputn1ck
b1b0dc5570 proxy: add skipping invoice creation on request 2025-05-15 08:41:03 +02:00
sputn1ck
2c4de2acec proxy: add skip invoice creation param 2025-05-15 08:41:03 +02:00
sputn1ck
324c27dd55 proxy: set Content-Type for gRPC requests
Prior we would not set the Content-Type header for
grpc request, which on failure events would cause
the response to be invalid gRPC responses, as the
grpc code path in sendDirectResponse expects the
Content-Type header to be set.

This change fixes the problem by setting the
Content-Type header to application/grpc for gRPC
requests.
2025-05-14 22:23:32 +02:00
Oliver Gugger
a4d7a023c9 Merge pull request #177 from sputn1ck/precompile_regexes
proxy: precompile regexp
2025-05-14 22:17:46 +02:00
sputn1ck
1557c4aef9 proxy: precompile regexp 2025-05-14 22:12:25 +02:00
Oliver Gugger
4e5a50a0b8 Merge pull request #173 from djkazic/blocklist
proxy: implement blocklist
v0.3.9-beta
2025-05-14 16:30:09 +02:00
djkazic
d8e17e2da3 proxy: implement blocklist 2025-05-14 09:54:34 -04:00
Oliver Gugger
62c9cc747b Merge pull request #174 from starius/l402-stringer
l402: make TokenID.String() a value method
2025-05-12 08:13:20 +02:00
Boris Nagaev
87a9670bd3 l402: make TokenID.String() a value method
If a TokenID is passed by value to logging functions (such as the Printf family)
the pointer-based String() method is not used. As a result, the token is logged
as an array when using %v and as binary when using %s, which is inconvenient.
2025-05-10 23:22:03 -03:00
Oliver Gugger
b05d801d8c Merge pull request #171 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-17 08:03:19 +02:00
dependabot[bot]
b9514fc47d 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-16 23:20:29 +00:00
shaojunda
97c4c4b67d challenger: remove redundant Start() call in NewLNCChallenger 2025-04-16 11:17:21 +08:00
Oliver Gugger
9fd44c9e8f Merge pull request #166 from lightninglabs/dependabot/go_modules/github.com/golang-jwt/jwt/v4-4.5.2
build(deps): bump github.com/golang-jwt/jwt/v4 from 4.5.1 to 4.5.2
2025-03-23 08:03:59 -06:00
dependabot[bot]
28b872e462 build(deps): bump github.com/golang-jwt/jwt/v4 from 4.5.1 to 4.5.2
Bumps [github.com/golang-jwt/jwt/v4](https://github.com/golang-jwt/jwt) from 4.5.1 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.5.1...v4.5.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-03-21 22:36:03 +00:00
Elle
0b4f0ef8cc Merge pull request #165 from lightninglabs/dependabot/go_modules/golang.org/x/net-0.36.0
build(deps): bump golang.org/x/net from 0.33.0 to 0.36.0
2025-03-15 11:48:56 -05:00
dependabot[bot]
2457b9f785 build(deps): bump golang.org/x/net from 0.33.0 to 0.36.0
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.33.0 to 0.36.0.
- [Commits](https://github.com/golang/net/compare/v0.33.0...v0.36.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-03-13 01:48:11 +00:00
Elle
2eead01806 Merge pull request #164 from lightninglabs/dependabot/go_modules/golang.org/x/net-0.33.0
build(deps): bump golang.org/x/net from 0.25.0 to 0.33.0
2025-03-05 12:10:39 +02:00
dependabot[bot]
a953f6495b build(deps): bump golang.org/x/net from 0.25.0 to 0.33.0
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.25.0 to 0.33.0.
- [Commits](https://github.com/golang/net/compare/v0.25.0...v0.33.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-03-05 09:41:59 +00:00