Commit Graph

312 Commits

Author SHA1 Message Date
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
dependabot[bot]
cfe9fc9bf8 build(deps): bump github.com/docker/docker
Bumps [github.com/docker/docker](https://github.com/docker/docker) from 24.0.7+incompatible to 24.0.9+incompatible.
- [Release notes](https://github.com/docker/docker/releases)
- [Commits](https://github.com/docker/docker/compare/v24.0.7...v24.0.9)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-20 17:24:58 +00:00
Viktor Tigerström
fb1ee3ac89 Merge pull request #132 from lightninglabs/dependabot/go_modules/google.golang.org/protobuf-1.33.0
build(deps): bump google.golang.org/protobuf from 1.31.0 to 1.33.0
2024-03-15 19:15:14 +01:00
Oliver Gugger
19c32a9a0c mod+tools: bump deprecated protobuf to fix linter 2024-03-15 18:38:23 +01:00
Oliver Gugger
56cdfbd3d2 pricesrpc: compile protos to bump version 2024-03-15 18:30:10 +01:00
dependabot[bot]
ca89d1a637 build(deps): bump google.golang.org/protobuf from 1.31.0 to 1.33.0
Bumps google.golang.org/protobuf from 1.31.0 to 1.33.0.

---
updated-dependencies:
- dependency-name: google.golang.org/protobuf
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-13 23:14:42 +00:00
Oliver Gugger
0c2dbd665f Merge pull request #130 from lightninglabs/dependabot/go_modules/github.com/jackc/pgx/v4-4.18.2
build(deps): bump github.com/jackc/pgx/v4 from 4.18.1 to 4.18.2
2024-03-12 11:48:36 -06:00
dependabot[bot]
3cea0bdc93 build(deps): bump github.com/jackc/pgx/v4 from 4.18.1 to 4.18.2
Bumps [github.com/jackc/pgx/v4](https://github.com/jackc/pgx) from 4.18.1 to 4.18.2.
- [Changelog](https://github.com/jackc/pgx/blob/v4.18.2/CHANGELOG.md)
- [Commits](https://github.com/jackc/pgx/compare/v4.18.1...v4.18.2)

---
updated-dependencies:
- dependency-name: github.com/jackc/pgx/v4
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-12 15:32:10 +00:00
Olaoluwa Osuntokun
5aa7aa2dbb Merge pull request #128 from positiveblue/sqlc-1.25
sqlc: bump version to `v1.25.0`
2024-02-22 15:05:16 -08:00
Jordi Montes
c0353f07dd sqlc: bump version to v1.25.0
Since v0.18.0 there they multiple bug fixes, support more postgres/sqlite
features, etc...

Nothing impacting the current code.

NOTE: It also looks like sqlc is growing as a company and wants to support
more languages, add feature for cloud clients, etc... Because of the
open source nature of this project I do not think that brings any extra
benefit. The only remarkable thing is that they are working on doing the
code more modular, and extracting the code generation in multiple "plugins"
They already extracted the go one. No changes are needed by now, but maybe
at some point they delete the code gen form the main project and the config
files need to be updated to use the plugin system [sqlc-dev/plugin-sdk-go].
2024-02-13 11:28:53 -08:00
Oliver Gugger
f4f593d66b Merge pull request #108 from positiveblue/config-passphrase
config: make `sample-conf.yaml` less error prone
2024-02-12 03:35:48 -06:00
Oliver Gugger
066cd55ea9 Merge pull request #126 from lightninglabs/dependabot/go_modules/github.com/opencontainers/runc-1.1.12
build(deps): bump github.com/opencontainers/runc from 1.1.5 to 1.1.12
2024-02-12 03:26:05 -06:00
Jordi Montes
2145b4ada1 config: add note about passphrase usage 2024-02-09 18:57:43 -08:00
positiveblue
cc7d18ba39 config: group authenticator fields by category 2024-02-09 18:57:43 -08:00
positiveblue
9a44101a2e config: passphrase placeholder
Use spaces to separate the passphrase placeholder instead of confusing
users with using `-` as a separator.
2024-02-09 18:57:43 -08:00
dependabot[bot]
5dc09cb9d8 build(deps): bump github.com/opencontainers/runc from 1.1.5 to 1.1.12
Bumps [github.com/opencontainers/runc](https://github.com/opencontainers/runc) from 1.1.5 to 1.1.12.
- [Release notes](https://github.com/opencontainers/runc/releases)
- [Changelog](https://github.com/opencontainers/runc/blob/v1.1.12/CHANGELOG.md)
- [Commits](https://github.com/opencontainers/runc/compare/v1.1.5...v1.1.12)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-31 22:58:26 +00:00
Oliver Gugger
8cf43a4048 Merge pull request #125 from lightninglabs/dependabot/go_modules/golang.org/x/crypto-0.17.0
build(deps): bump golang.org/x/crypto from 0.15.0 to 0.17.0
2023-12-19 11:57:29 +01:00
dependabot[bot]
168a71a488 build(deps): bump golang.org/x/crypto from 0.15.0 to 0.17.0
Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.15.0 to 0.17.0.
- [Commits](https://github.com/golang/crypto/compare/v0.15.0...v0.17.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-12-18 23:59:37 +00:00
Oliver Gugger
df19ef5c89 Merge pull request #123 from lightninglabs/opentelemetry-fix
mod+linter: fix go.opentelemetry.io dependency bump
v0.3.1-beta
2023-11-28 14:09:50 -06:00
Oliver Gugger
7a42fe1b32 multi: bump and adjust linter, fix issues
Not strictly necessary to fix the linter issues caused by the version
bump, but nice to have.
2023-11-28 12:48:22 -06:00
Oliver Gugger
b86d458c7d mod: bump opentelemetry to even newer versions
The automatic version bump created by Dependabot caused a compile time
issue and an issue with the linter.
Bumping the other go.opentelemetry.io dependencies seems to fix that.
2023-11-28 12:46:59 -06:00
dependabot[bot]
8c5507fea6 build(deps): bump go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc
Bumps [go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc](https://github.com/open-telemetry/opentelemetry-go-contrib) from 0.25.0 to 0.46.0.
- [Release notes](https://github.com/open-telemetry/opentelemetry-go-contrib/releases)
- [Changelog](https://github.com/open-telemetry/opentelemetry-go-contrib/blob/main/CHANGELOG.md)
- [Commits](https://github.com/open-telemetry/opentelemetry-go-contrib/compare/zpages/v0.25.0...zpages/v0.46.0)

---
updated-dependencies:
- dependency-name: go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-11-20 18:30:39 +00:00
Olaoluwa Osuntokun
f49a376b53 Merge pull request #121 from Roasbeef/update-network-deps
build: update to latest versions of: net, crypto, grpc
v0.3-beta
2023-11-20 12:29:30 -06:00
Olaoluwa Osuntokun
145b2c56ff config: add new config values for read, write and idle timeout 2023-11-20 12:22:37 -06:00
Olaoluwa Osuntokun
9ea2efc3bd aperture: start setting default values for the http timeout configs
In this commit, we start to set default values for the HTTP timeout
config values. Otherwise, it's possible that TCP connections will never
be closed, causing them to stack up over time, eventually consuming a
lot of memory.
2023-11-20 12:22:35 -06:00
Olaoluwa Osuntokun
b54c1396f0 build: update to latest versions of: net, crypto, grpc 2023-11-20 12:22:33 -06:00
Olaoluwa Osuntokun
a9b80ca131 Merge pull request #120 from Roasbeef/profile-port-fix
config: fix profile port arg parsing
2023-11-20 12:09:49 -06:00
Olaoluwa Osuntokun
c715f728a9 config: fix profile port arg parsing
In this commit, we fix a subtle bug in the parsing of the yaml config.
With the way the library works, the attribute name needs to match the
config attribute name. Otherwise, parsing just doesn't work.
2023-11-15 16:25:33 -08:00
Olaoluwa Osuntokun
8088b612b5 Merge pull request #117 from lightninglabs/dependabot/go_modules/github.com/docker/docker-24.0.7incompatible
build(deps): bump github.com/docker/docker from 20.10.24+incompatible to 24.0.7+incompatible
2023-10-30 11:43:25 -07:00
dependabot[bot]
888bbe9b70 build(deps): bump github.com/docker/docker
Bumps [github.com/docker/docker](https://github.com/docker/docker) from 20.10.24+incompatible to 24.0.7+incompatible.
- [Release notes](https://github.com/docker/docker/releases)
- [Commits](https://github.com/docker/docker/compare/v20.10.24...v24.0.7)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-30 15:39:22 +00:00
Oliver Gugger
fa8272c8cb Merge pull request #116 from lightninglabs/dependabot/go_modules/google.golang.org/grpc-1.56.3
build(deps): bump google.golang.org/grpc from 1.53.0 to 1.56.3
2023-10-26 14:11:48 +02:00
Oliver Gugger
d5e6375764 pricesrpc: compile protos to bump version 2023-10-26 10:28:18 +02:00
dependabot[bot]
fc41050efc build(deps): bump google.golang.org/grpc from 1.53.0 to 1.56.3
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.53.0 to 1.56.3.
- [Release notes](https://github.com/grpc/grpc-go/releases)
- [Commits](https://github.com/grpc/grpc-go/compare/v1.53.0...v1.56.3)

---
updated-dependencies:
- dependency-name: google.golang.org/grpc
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-25 22:32:13 +00:00
Oliver Gugger
7f1411c339 Merge pull request #112 from lightninglabs/dependabot/go_modules/golang.org/x/net-0.17.0
build(deps): bump golang.org/x/net from 0.10.0 to 0.17.0
2023-10-12 11:27:54 +00:00
dependabot[bot]
4329596743 build(deps): bump golang.org/x/net from 0.10.0 to 0.17.0
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.10.0 to 0.17.0.
- [Commits](https://github.com/golang/net/compare/v0.10.0...v0.17.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-12 11:22:48 +00:00
Oliver Gugger
92b4b65211 Merge pull request #113 from lightninglabs/fix-sqlc-check
GitHub: update caching to maintained fork, continue on error
2023-10-12 11:20:26 +00:00
Oliver Gugger
17a9095612 GitHub: update caching to maintained fork, continue on error
Since the currently failing step of the sqlc check job is only a cache,
it shouldn't cause the whole job to fail.
So we continue on error but also switch to a maintained fork of the
cache action which should fix the error in the first place.
2023-10-12 12:51:24 +02:00
Oliver Gugger
99a7fad3a1 Merge pull request #106 from lightninglabs/dependabot/go_modules/google.golang.org/grpc-1.53.0
build(deps): bump google.golang.org/grpc from 1.51.0 to 1.53.0
2023-07-18 12:02:20 +02:00
dependabot[bot]
5577ec2346 build(deps): bump google.golang.org/grpc from 1.51.0 to 1.53.0
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.51.0 to 1.53.0.
- [Release notes](https://github.com/grpc/grpc-go/releases)
- [Commits](https://github.com/grpc/grpc-go/compare/v1.51.0...v1.53.0)

---
updated-dependencies:
- dependency-name: google.golang.org/grpc
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-05 21:39:44 +00:00
Olaoluwa Osuntokun
96a92f3198 Merge pull request #105 from positiveblue/default-mailbox
config: set default mailbox address
2023-07-05 13:57:01 -07:00
positiveblue
cd7ee83b57 config: set default mailbox address
Make the LNC authenticator use the default mailbox address whenever the
config does not specify a custom one.
2023-07-05 09:18:04 -07:00
Olaoluwa Osuntokun
87bb996a40 Merge pull request #103 from Roasbeef/amp-sqlite-bug-fixes
challenger+config: fix bugs related to config parsing and AMP invoice handling
v0.2-beta
2023-07-04 17:49:36 -07:00
Olaoluwa Osuntokun
c1dea365a1 config: fix config parsing for new dbbackend option
For the yaml parser, since the public attribute differs from the name of
the yaml field, we need to specify the `yaml` flag.
2023-07-04 17:32:46 -07:00
Olaoluwa Osuntokun
599eb2ee99 challenger: skip trying to load+parse AMP invoices
AMP invoiecs don't have a payment hash, as it's based on payment addr
and set id.
2023-07-04 17:32:38 -07:00
Olaoluwa Osuntokun
510d40955e Merge pull request #98 from positiveblue/lnc
[feature] Use LNC to connect to the LND node
2023-07-04 17:31:26 -07:00
positiveblue
aa9ca467da aperture: initialize server with the configured authenticator 2023-06-30 15:22:28 -07:00