Commit graph

37 commits

Author SHA1 Message Date
bitromortac
c5d7147ab0
itest: add channel events pruning test
Add an integration test to verify the safety pruning behavior under various
conditions.
2026-06-25 13:53:26 +02:00
bitromortac
689cfdd55b
itest: bump lnd to v0.21.0-beta and fix close flakes
Bump the integration test lnd binary to v0.21.0-beta. Two test fixes are
required for the new version:

- nodereport: the anchor commitment close fee changed by 10 sat, update the
  hardcoded CHANNEL_CLOSE_FEE expectation from 4535 to 4525 sat.
- test_context: closeChannel mined a block while still waiting for the pending
  close update, which confirmed the force close tx out of the mempool before
  its fee could be read, causing a 'Transaction not in mempool' failure. Only
  start mining once the close fee has been captured from the mempool.
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
b19c698f83 itest: add forwarding ability integration test
Open a channel, seed forwarding events with payments, and assert the
ForwardingAbility RPC returns a decodable response whose window matches the
request. Note that we can only simulate forwards back to the same node
because we only have two lnd nodes available in tests.
2026-06-11 12:40:32 +02:00
bitromortac
b0e07dca5f itest: add itest for channel events store
Drives a regtest channel through open, payment, and force-close and
asserts that GetChannelEvents surfaces the expected mix of online,
offline, and balance-update events. The same window is then walked
with a small page size to verify last_id round-trip, has_more
termination, and MaxEvents clamping in one pass.
2026-05-08 20:16:32 +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
76fe1a18db
itest: update to v0.20.1 and fix
We update expected channel open fees because due to
lightningnetwork/lnd#9257 fee estimation in regtest was halved from
50 sat/vbyte to 25 sat/vbyte.
2026-03-05 15:22:37 +01:00
bitromortac
b0bbd8edfa
multi: update to golang v1.24.11 2026-03-04 09:31:58 +01:00
Elle Mouton
4cc81f77b7
multi: go and linter version bumps 2025-03-05 12:09:37 +02:00
Elle Mouton
617c793ec3
multi: update LND, lndclient and btclog deps 2025-03-05 11:51:45 +02:00
Andras Banki-Horvath
3a3c8caab0
build: fix linter issues 2024-09-26 21:05:13 +02:00
Andras Banki-Horvath
c84f709043
faraday: bump LND dependecy to v0.17.4-beta 2024-02-09 17:55:09 +01:00
Oliver Gugger
0997880947
itest: fix test setup 2023-07-10 15:34:31 +02:00
Oliver Gugger
dfa78de382
itest: update to use custom scoped macaroon 2023-04-20 10:26:28 +02:00
Oliver Gugger
220e931564
multi: bump Golang versions to v1.19.4 2023-02-27 13:34:26 +01:00
Oliver Gugger
c80a59758c
multi: bump lnd+lndclient compile time dependency 2023-02-24 19:18:54 +01:00
Oliver Gugger
71bb06f6f7
multi: fix linter issues, run imports 2022-11-21 17:12:17 +01: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
positiveblue
d24b4e2557
multi: bump btcec/v2 and btcutil to new versions 2022-03-25 16:55:04 +01:00
Oliver Gugger
9f9e8a832e
multi: bump lnd compile time dependency to v0.14.0-beta.rc1 2021-11-03 19:24:23 +01:00
carla
5180779806
multi: bump lndclient version 2021-09-14 08:49:48 +02:00
Oliver Gugger
4f63e3e1ab
multi: allow only readonly.macaroon to be used
Fixes #84.
Allows faraday to only use the readonly.macaroon (or a custom baked one)
to connect to lnd instead of needing to copy all macaroons (including
the subserver ones).
2021-05-31 13:57:08 +02:00
Oliver Gugger
824df2db31
multi: bump lnd min version to v0.11.1-beta 2021-05-17 15:34:56 +02:00
Oliver Gugger
b78db40663
multi: bump golang version to 1.16.3 2021-04-21 15:35:47 +02:00
carla
90728ec9a9
go.mod: update to latest lndclient
Contains bugfix in github.com/lightninglabs/lndclient/pull/33 which
we need for our revenue report.
2021-01-04 11:08:58 +02:00
Oliver Gugger
026399513d
mod+itest: update lnd and lndclient deps 2020-10-30 09:21:02 +01:00
Oliver Gugger
699d359c5c
itest: add macaroon auth to client conn 2020-09-11 15:10:52 +02:00
carla
400bca29d8
multi: rename nodereport to nodeaudit
Consensue on the team is that nodereport is more representative of
a report about the node's operation than an accounting report. Renaming
in anticipation of upcoming release.
2020-09-09 10:41:37 +02:00
carla
2be7115ebe
multi: standardize import order 2020-09-09 10:07:14 +02:00
Oliver Gugger
315ac4081c
itest: fix faraday flags 2020-09-08 20:09:32 +02:00
Oliver Gugger
cff366d494
itest: speed up build time by using builder image
To avoid downloading the bitcoind binary on every new build, we speed up
things by using a builder image for the golang part and then just run
everything in the bitcoind base image instead of building it ourselves.
2020-09-08 18:54:57 +02:00
carla
98dba25266
itest: add coverage for node report endpoint 2020-08-17 13:46:17 +02:00
Joost Jager
3aad15ca27
itest: add itest setup with two lnd nodes and a single faraday instance
This commit adds an itest setup which can be used to test faraday's rpc.
The setup is largely copied from our existing loop server itests.
2020-08-12 11:42:09 +02:00