Commit Graph

396 Commits

Author SHA1 Message Date
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
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
Elle
18293d3070 Merge pull request #148 from ellemouton/slog
slog: update to use structured logs for hashmail server
v0.3.8-beta
2025-03-05 11:40:43 +02:00
Elle Mouton
71570a01f2 .github: update actions/cache to v4 2025-03-05 11:12:29 +02:00
Elle Mouton
5ab69aec7e hashmail: update to user structured logs
This will make querying by stream IDs more uniform (and hence, way
easier).
2025-03-05 11:12:29 +02:00
Elle Mouton
c469c79559 makefile: apply tags to install command 2025-03-05 11:12:29 +02:00
Elle Mouton
90941dc033 multi: update btclog, lnd and lndclient deps
Update the deps so that structured logging is available in aperture.
2025-03-05 11:12:29 +02:00
Elle Mouton
ff32ffb090 multi: update go version 2025-03-04 13:20:37 +02:00
Elle Mouton
0892b86489 go.mod: upgrade to maintained yaml parser lib
https://github.com/goccy/go-yaml is maintained.
2025-03-04 13:20:33 +02:00
Elle Mouton
c4aa21f487 tools+golangci: update linter 2025-02-27 15:19:27 +02:00
András Bánki-Horváth
3a2595245f Merge pull request #163 from bhandras/challenger-batchsize-config
challenger: configurable invoice query batch size with sane default
v0.3.7-beta
2025-01-16 09:46:42 +01:00
Andras Banki-Horvath
94e80ab128 challenger: configurable invoice query batch size with sane default 2025-01-16 09:41:15 +01:00
Oliver Gugger
4d2bc1d316 Merge pull request #162 from bhandras/challenger-logger
log: hook challenger to the main logger
v0.3.6-beta
2025-01-15 03:00:19 -06:00
Andras Banki-Horvath
097297ec51 log: hook challenger to the main logger 2025-01-15 09:54:03 +01:00
Oliver Gugger
3d3e042972 Merge pull request #160 from bhandras/paginate-listinvoices
challenger: paginage ListInvoices to avoid resource exhaustion
v0.3.5-beta
2025-01-13 09:23:25 -06:00
Andras Banki-Horvath
8ec6c284ba challenger: paginage ListInvoices to avoid resource exhaustion 2025-01-13 15:58:25 +01:00
Elle
25ef16bea6 Merge pull request #159 from kindknow/master
chore: fix some function names in comment
2025-01-06 10:12:33 +02:00
kindknow
29ed0445e8 chore: fix some function names in comment
Signed-off-by: kindknow <iturf@sina.com>
2024-12-29 17:43:04 +08:00
Elle
66e25bf732 Merge pull request #158 from lightninglabs/dependabot/go_modules/golang.org/x/crypto-0.31.0
build(deps): bump golang.org/x/crypto from 0.22.0 to 0.31.0
2024-12-12 10:14:35 +02:00
dependabot[bot]
758d0c4bef build(deps): bump golang.org/x/crypto from 0.22.0 to 0.31.0
Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.22.0 to 0.31.0.
- [Commits](https://github.com/golang/crypto/compare/v0.22.0...v0.31.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-12-12 00:01:49 +00:00
Oliver Gugger
b35fc35901 Merge pull request #156 from lightninglabs/golang-version
multi: bump Golang version to fix Docker build
v0.3.4-beta
2024-11-27 10:36:37 +01:00
Oliver Gugger
622a37d16c multi: bump Golang version to fix Docker build 2024-11-22 17:39:28 +01:00
Oliver Gugger
d5070c6742 Merge pull request #155 from hieblmi/signet-support
Signet support
v0.3.3-beta
2024-11-22 14:05:18 +01:00