Commit graph

90 commits

Author SHA1 Message Date
bitromortac
0402279352
multi: bump lnd and lndclient to v0.21.0
Bump the compile-time lnd dependency to v0.21.0-beta and lndclient to
v0.21.0-1 to not rely on commit hash versions.
2026-06-12 11:13:15 +02:00
bitromortac
90fd2477c1
build: bump Go version to 1.25.10
Update the Go toolchain version across CI, the Dockerfiles and the go.mod
go directives from 1.25.5 to 1.25.10.
2026-06-12 11:13:04 +02:00
bitromortac
c9fc67a0b5 chanevents: compute forwarding ability over a liquidity floor
Extend the forwarding analyzer to produce a ForwardingAbility per peer pair:
the effective uptime (time the pair held at least the liquidity floor of
directional forwardable liquidity) and the total forwarded amount, both as
raw facts with no derived rates or categories. A single uniform floor is
applied to every pair so effective uptime is comparable across pairs, and
forwarded volume is reported even when uptime is zero so consumers keep the
demand signal.

The percentile threshold model and its quantile helper are removed in favour
of the single floor.
2026-06-09 13:34:34 +02:00
bitromortac
41ce984244 chanevents: add quantile function
Add Quantile, a generic linear-interpolation q-quantile over a slice of
sortable numeric values. The forwarding-ability analyzer needs to
characterise the distribution of historical forwarded amounts and uses a
configurable percentile as the headline statistic; lifting the
computation into its own helper keeps the analyzer focused on forwarding
logic and gives the quantile contract its own table-driven test that
covers the interpolation rule and the empty/out-of-bounds error paths.
2026-05-13 14:44:50 +02:00
bitromortac
9e10faa805 frdrpc: add GetChannelEvents
Adds the GetChannelEvents RPC to the proto and regenerates the gRPC,
gateway, swagger, and JSON stubs. The request carries a chan_point,
inclusive start_time and exclusive end_time bounds, a max_events cap,
and a last_id keyset cursor; the response echoes last_id and a has_more
flag so callers can drive pagination without server-side state.
2026-05-08 20:13:58 +02:00
bitromortac
d2df787da6
chanevents: implement store 2026-04-01 15:06:37 +02:00
bitromortac
768f2d3019
mod: add sqldbv2 and boilerplate 2026-03-30 11:50:52 +02:00
bitromortac
724b729969
mod+itest: bump lnd and lndclient versions
This bump adds functionality for being able to subscribe to channel
update events.
2026-03-09 12:40:45 +01:00
bitromortac
5dbfda82e2
build: bump go version to v1.25.5 2026-03-09 12:40:06 +01:00
bitromortac
cdc8c39719
mod: update to lnd v0.20.1 and lndclient v0.20.0-7 2026-03-05 15:17:17 +01:00
bitromortac
b0bbd8edfa
multi: update to golang v1.24.11 2026-03-04 09:31:58 +01:00
dependabot[bot]
71bc027db4
build(deps): bump github.com/opencontainers/runc from 1.2.0 to 1.2.8
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-05 16:49:34 +00:00
dependabot[bot]
7f0c3890d4
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-30 07:58:05 +00:00
Oliver Gugger
fb069c0135
mod: bump lnd to final version 2025-05-26 10:40:02 +02:00
Andras Banki-Horvath
2435374a11
fiat: add support for using coinbase to fetch hourly/daily prices 2025-05-02 13:03:03 +02:00
dependabot[bot]
7ce20cf615
build(deps): bump golang.org/x/net from 0.33.0 to 0.38.0
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.33.0 to 0.38.0.
- [Commits](https://github.com/golang/net/compare/v0.33.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-04-16 23:01:12 +00:00
dependabot[bot]
8d8c640d77
build(deps): bump golang.org/x/crypto from 0.31.0 to 0.35.0
Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.31.0 to 0.35.0.
- [Commits](https://github.com/golang/crypto/compare/v0.31.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-04-14 19:04:08 +00:00
dependabot[bot]
44867303c6
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:34:54 +00:00
Oliver Gugger
f668619b35
Merge pull request #210 from lightninglabs/dependabot/go_modules/github.com/opencontainers/runc-1.2.0
build(deps): bump github.com/opencontainers/runc from 1.1.12 to 1.2.0
2025-03-05 04:28:03 -06:00
Oliver Gugger
9dc80615f3
Merge pull request #209 from lightninglabs/dependabot/go_modules/golang.org/x/net-0.33.0
build(deps): bump golang.org/x/net from 0.26.0 to 0.33.0
2025-03-05 04:27:00 -06:00
dependabot[bot]
047297c555
build(deps): bump github.com/opencontainers/runc from 1.1.12 to 1.2.0
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-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-03-05 10:19:32 +00:00
dependabot[bot]
f22e35fe41
build(deps): bump golang.org/x/net from 0.26.0 to 0.33.0
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.26.0 to 0.33.0.
- [Commits](https://github.com/golang/net/compare/v0.26.0...v0.33.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-03-05 10:19:31 +00:00
dependabot[bot]
001fd90083
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>
2025-03-05 10:19:28 +00:00
Elle Mouton
617c793ec3
multi: update LND, lndclient and btclog deps 2025-03-05 11:51:45 +02:00
dependabot[bot]
3cf6763156
build(deps): bump golang.org/x/crypto from 0.24.0 to 0.31.0
Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.24.0 to 0.31.0.
- [Commits](https://github.com/golang/crypto/compare/v0.24.0...v0.31.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-01-21 17:36:42 +00:00
dependabot[bot]
6fb438901e
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-12 21:38:32 +00:00
Oliver Gugger
cc2fec500b
mod: pin frdrpc, remove replace 2024-10-14 12:47:16 +02:00
Oliver Gugger
e1145fda19
Merge pull request #194 from bhandras/frdrpc-module
frdrpc: convert frdrpc into a go module
2024-10-14 12:45:16 +02:00
dependabot[bot]
bff53ef4a4
build(deps): bump github.com/btcsuite/btcd
Bumps [github.com/btcsuite/btcd](https://github.com/btcsuite/btcd) from 0.24.1-0.20240123000108-62e6af035ec5 to 0.24.2-beta.rc1.
- [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.2-beta.rc1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-10-10 16:47:52 +00:00
Andras Banki-Horvath
40f2b67cc1
frdrpc: convert frdrpc into a go module 2024-09-26 21:05:12 +02:00
Ron Ballesteros
7b83dc70e1
Update lndclient dependency to v0.17.4-6 2024-08-25 22:55:34 -10:00
dependabot[bot]
0f8a2ca12a
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: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-04-19 13:15:01 +00:00
dependabot[bot]
d7b57d2f6b
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:34:26 +00:00
Andras Banki-Horvath
c84f709043
faraday: bump LND dependecy to v0.17.4-beta 2024-02-09 17:55:09 +01:00
Oliver Gugger
00e6f47e2b
mod: bump to latest lndclient 2024-01-29 10:15:27 +02:00
dependabot[bot]
23293f559f
build(deps): bump golang.org/x/crypto from 0.14.0 to 0.17.0
Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.14.0 to 0.17.0.
- [Commits](https://github.com/golang/crypto/compare/v0.14.0...v0.17.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-12-18 23:32:46 +00:00
dependabot[bot]
263bf9a166
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-12 16:06:27 +00:00
dependabot[bot]
bfdfcb81ab
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:30:55 +00:00
dependabot[bot]
18ae5905b2
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: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-11 22:49:31 +00:00
Oliver Gugger
1f027602a3
mod+cmd/frcli: bump lnd version to v0.17.0-beta 2023-10-03 19:35:08 +02:00
dependabot[bot]
c1500beafc
build(deps): bump google.golang.org/grpc from 1.41.0 to 1.53.0
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.41.0 to 1.53.0.
- [Release notes](https://github.com/grpc/grpc-go/releases)
- [Commits](https://github.com/grpc/grpc-go/compare/v1.41.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:10:25 +00:00
Oliver Gugger
dd6261e907
mod: bump lnd to v0.16.0-beta 2023-03-29 15:33:20 +02:00
dependabot[bot]
8dc3160b94
build(deps): bump golang.org/x/net from 0.4.0 to 0.7.0
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.4.0 to 0.7.0.
- [Release notes](https://github.com/golang/net/releases)
- [Commits](https://github.com/golang/net/compare/v0.4.0...v0.7.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-07 02:00:48 +00:00
Oliver Gugger
c80a59758c
multi: bump lnd+lndclient compile time dependency 2023-02-24 19:18:54 +01:00
dependabot[bot]
1113986d32
build(deps): bump golang.org/x/text from 0.3.7 to 0.3.8
Bumps [golang.org/x/text](https://github.com/golang/text) from 0.3.7 to 0.3.8.
- [Release notes](https://github.com/golang/text/releases)
- [Commits](https://github.com/golang/text/compare/v0.3.7...v0.3.8)

---
updated-dependencies:
- dependency-name: golang.org/x/text
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-23 09:05:05 +00:00
dependabot[bot]
82495fc7a1
build(deps): bump github.com/prometheus/client_golang
Bumps [github.com/prometheus/client_golang](https://github.com/prometheus/client_golang) from 1.11.0 to 1.11.1.
- [Release notes](https://github.com/prometheus/client_golang/releases)
- [Changelog](https://github.com/prometheus/client_golang/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prometheus/client_golang/compare/v1.11.0...v1.11.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-15 11:04:41 +00:00
Oliver Gugger
f2fbbb34a1
multi: bump lnd version to v0.15.4-beta 2022-11-21 16:27:26 +01:00
Oliver Gugger
a0f4e129dd
multi: bump golang version to v1.18.8 2022-11-21 14:06:32 +01:00
Oliver Gugger
04021ca1db
mod: bump lnd and lndclient to v0.15.0-beta 2022-06-24 14:11:59 +02:00
Elle Mouton
8a59081473
multi: use lndclient MacaroonService
Since the code for creating and using a macaroon service is the same for
multiple projects (pool, loop, faraday & litd), the code has been
unified in lndclient. So this commit removes the macaroon service code
and instead uses the lndclient code.

Since the default key for the macaroon db is now a shared secret with
LND, faraday requires LND's admin macaroon so that this secret can be
derived. So this commit also updates all references of LND's `readme`
macaroon to the `admin` macaroon.
2022-06-23 17:26:41 +02:00