Commit Graph

357 Commits

Author SHA1 Message Date
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
Slyghtning
36d5649fec conf: add signet support 2024-11-22 12:07:37 +01:00
Slyghtning
9187152d34 gitignore: .idea folder 2024-11-22 12:07:37 +01:00
Oliver Gugger
b93f5051d5 Merge pull request #154 from lightninglabs/dependabot/go_modules/github.com/golang-jwt/jwt/v4-4.5.1
build(deps): bump github.com/golang-jwt/jwt/v4 from 4.4.2 to 4.5.1
2024-11-05 09:03:20 +01:00
dependabot[bot]
e62a8ff05d build(deps): bump github.com/golang-jwt/jwt/v4 from 4.4.2 to 4.5.1
Bumps [github.com/golang-jwt/jwt/v4](https://github.com/golang-jwt/jwt) from 4.4.2 to 4.5.1.
- [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.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-11-04 23:39:25 +00:00
Oliver Gugger
0a290027fa Merge pull request #153 from lightninglabs/update-lnd-18-4
multi: update to lnd v0.18.4-beta release branch
2024-10-15 18:31:38 +02:00
Oliver Gugger
795949f4a1 multi: update to lnd v0.18.4-beta release branch 2024-10-15 14:10:48 +02:00
Elle
e5cae837a4 Merge pull request #150 from lightninglabs/dependabot/go_modules/github.com/jackc/pgx/v5-5.5.4
build(deps): bump github.com/jackc/pgx/v5 from 5.3.1 to 5.5.4
2024-09-23 11:21:59 +09:00
dependabot[bot]
38a27d8854 build(deps): bump github.com/jackc/pgx/v5 from 5.3.1 to 5.5.4
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-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-19 07:12:33 +00:00
Oliver Gugger
db27bb9a78 Merge pull request #149 from lightninglabs/update-lnd-master
mod+aperture: bump lnd compile time dependency to latest master
2024-09-19 01:11:36 -06:00
Oliver Gugger
a17ecf6520 mod+aperture: bump lnd compile time dependency to latest master
Due to a change in the logging library of lnd, we need to pass in a new
parameter to be compatible with the latest lnd master version.
2024-09-18 17:03:36 +02:00
Oliver Gugger
6ec9117788 Merge pull request #147 from lightninglabs/dependabot/go_modules/github.com/opencontainers/runc-1.1.14
build(deps): bump github.com/opencontainers/runc from 1.1.12 to 1.1.14
2024-09-04 09:19:34 -06:00
dependabot[bot]
b5247965d4 build(deps): bump github.com/opencontainers/runc from 1.1.12 to 1.1.14
Bumps [github.com/opencontainers/runc](https://github.com/opencontainers/runc) from 1.1.12 to 1.1.14.
- [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.1.14)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-03 19:53:20 +00:00
Oliver Gugger
a30875823f Merge pull request #142 from bhandras/go-bump
build: bump to go 1.22.3
2024-07-12 02:12:26 -06:00
Andras Banki-Horvath
5d22ef168d tools: bump go to 1.22.3 2024-07-12 09:20:46 +02:00
Andras Banki-Horvath
baaf099b6d build: bump to go 1.22.3 2024-07-12 09:13:56 +02:00
Oliver Gugger
f2f4ed2ab0 Merge pull request #140 from guggero/falafel-format
pricesrpc: fix build tag formatting
2024-07-08 09:45:34 -06:00
Oliver Gugger
d5c99b761e pricesrpc: fix build tag formatting 2024-07-08 09:12:18 +02:00
Olaoluwa Osuntokun
4c45bdd0e8 Merge pull request #139 from guggero/lnd-17
Bump lnd compile time dependency to v0.17.0, update RPC compilation of test proto
2024-07-02 18:01:51 -07:00
Oliver Gugger
3627582871 mod+test: bump lnd dependency to v0.17.0-beta 2024-06-21 11:10:09 +02:00
Oliver Gugger
17180f2a8b multi: format test proto with generic script 2024-06-21 11:09:43 +02:00
Oliver Gugger
996f100368 Merge pull request #115 from lightninglabs/fix-post-response
proxy+auth: fix post request
2024-05-24 08:36:21 +02:00
Oliver Gugger
9ad67ea672 proxy+auth: fix post request 2024-05-24 08:36:06 +02:00
Elle
3a8936c448 Merge pull request #137 from lightninglabs/dependabot/go_modules/github.com/btcsuite/btcd-0.24.0
build(deps): bump github.com/btcsuite/btcd from 0.23.5-0.20230125025938-be056b0a0b2f to 0.24.0
2024-05-06 19:24:58 +02:00
dependabot[bot]
cbdf15db28 build(deps): bump github.com/btcsuite/btcd
Bumps [github.com/btcsuite/btcd](https://github.com/btcsuite/btcd) from 0.23.5-0.20230125025938-be056b0a0b2f to 0.24.0.
- [Release notes](https://github.com/btcsuite/btcd/releases)
- [Changelog](https://github.com/btcsuite/btcd/blob/master/CHANGES)
- [Commits](https://github.com/btcsuite/btcd/commits/v0.24.0)

---
updated-dependencies:
- dependency-name: github.com/btcsuite/btcd
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-05-06 14:36:34 +00:00
Oliver Gugger
e3920a1349 Merge pull request #136 from lightninglabs/dependabot/go_modules/golang.org/x/net-0.23.0
build(deps): bump golang.org/x/net from 0.21.0 to 0.23.0
2024-04-24 03:04:06 -06:00
Oliver Gugger
94632667fc Merge pull request #135 from starius/s-lsat-l402
multi: change LSAT name to L402
v0.3.2-beta
2024-04-23 08:40:03 -06:00
Boris Nagaev
683093cf9e l402: migration of lsat.token* files
This is needed to preserve old identifiers of nodes that have ever paid
for a Loop or Pool token.
2024-04-23 09:27:49 -03:00
Boris Nagaev
b44e066424 static/index.html: adjust for LSAT -> L402 2024-04-23 09:27:49 -03:00
Boris Nagaev
e65669471f static/index.html: remove trailing spaces 2024-04-23 09:27:49 -03:00
Boris Nagaev
94bd1924c0 l402: remove unnecessary regexp MatchString call
The same regexp is then used in a call of FindStringSubmatch method
and the outcome is the same, if nothing is found there.
2024-04-23 09:27:49 -03:00
Boris Nagaev
7579f92a08 auth: don't send client's headers back
Create fresh http.Header object filled with the only header:
"Content-Type: application/grpc".
2024-04-23 09:27:49 -03:00
Boris Nagaev
fb02e3f030 auth: send LSAT and L402 Authorization headers
Again, as with WWW-Authenticate header, existing aperture instances
expect LSAT, and the protocol defines it is L402, so send both, LSAT
first, to maintain backward compatibility.

The header "Authorization: LSAT..." can be removed in the future,
when all aperture instances are upgraded.
2024-04-23 09:27:49 -03:00
Boris Nagaev
709463fe5b proxy: LSAT and L402 WWW-Authenticate headers
Old clients expect "L402 macaroon=..." in the first WWW-Authenticate, while
the protocol [1] says it should be "WWW-Authenticate: L402 macaroon=...",
so send both LSAT and L402. LSAT must be sent first, to maintain backward
compatibility with older clients.

[1] https://github.com/lightninglabs/L402/blob/master/protocol-specification.md
2024-04-23 09:27:49 -03:00
dependabot[bot]
7b0a6e60fd build(deps): bump golang.org/x/net from 0.21.0 to 0.23.0
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.21.0 to 0.23.0.
- [Commits](https://github.com/golang/net/compare/v0.21.0...v0.23.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-04-19 13:15:18 +00:00
Boris Nagaev
728707ba5c l402: use L402 sub system name in logs 2024-04-16 19:34:12 -03:00
Boris Nagaev
866322689e aperture: change invoice memo from LSAT to L402 2024-04-16 19:34:12 -03:00
Boris Nagaev
a4431801ef multi: replace LSAT with L402
auth: LsatAuthenticator -> L402Authenticator
sed -i 's/LsatAuthenticator/L402Authenticator/g' aperture.go auth/authenticator.go auth/authenticator_test.go

rename package lsat to l402
git mv lsat/ l402
sed 's@aperture/lsat@aperture/l402@g' -i `git grep -l aperture/lsat`
sed -i 's@package lsat@package l402@' `git grep -l 'package lsat'`
sed -i 's@lsat\.@l402.@g' -i `git grep -l 'lsat\.'`
sed 's@l402.Id@lsat.Id@' -i mint/mint_test.go

replace lsat with l402 in the code
sed 's@lsat@l402@' -i mint/mint_test.go
sed 's@Lsat@L402@' -i l402/client_interceptor.go
sed 's@lsatstore@l402store@' -i l402/store_test.go

replace LSAT to L402 in comments
sed '/\/\//s@LSAT@L402@g' -i `git grep -l '//.*LSAT'`

replace LSAT -> L402 in the code, skip when a string starts with it
sed 's@\([^"/]\)LSAT@\1L402@g' -i `git grep -l LSAT`
2024-04-16 19:33:03 -03:00
Boris Nagaev
208798569b README: fix broken link to L402 Protocol Standard 2024-04-15 12:53:27 -03:00
Oliver Gugger
b1bad8a08c Merge pull request #133 from lightninglabs/dependabot/go_modules/github.com/docker/docker-24.0.9incompatible
build(deps): bump github.com/docker/docker from 24.0.7+incompatible to 24.0.9+incompatible
2024-03-21 02:49:06 -06:00