Commit graph

17 commits

Author SHA1 Message Date
ffranr
a0e63124c0
multi: reformat long lines for readability
- Replace occurrences of `// nolint:lll` with `// nolint:ll` across
  files for consistency.
- Reformat multiline strings, comments, and function parameters to
  improve clarity and adhere to style guidelines.
- Add `// nolint:ll` comments where necessary to prevent linter
  warnings.
2025-12-09 16:12:03 +00:00
Elle Mouton
dbec9da31b
multi: update LND and friends
This commit updates:
- LND
- pool
- loop
- taproot-assets
- faraday
- lighting-node-connect
- aperture
- lndclient
- btclog

We start using the new btclog v2 library and the associated breaking
changes in the lnd/build package.

With this commit, we deprecate the `--remote.lit-maxlogfiles` and
`--remote.lit-maxlogfilesize` options and introduce new logging options
under the `--remote.lit-logging` namespace.

Finally, the LND update introduced a new `MaxBlocksMinedPerTest`
variable in the `lntest` package that we now need to override in order
for our itests to pass.
2025-03-26 09:20:52 -05:00
Elle Mouton
a22689ce16
golangci: enable line length linter 2025-02-13 15:50:48 +02:00
Elle Mouton
0407505e6c
autopilotserver: thread context through 2025-01-13 09:29:43 +02:00
Tristav
283c86bb43 multi: fix typos 2024-12-20 19:12:40 +02:00
Viktor Tigerström
f185378c42
mod: bump lnd, Go, lndclient, loop, pool and tapd
Bump lnd to `v0.18.0-beta`. This also bumps `lndclient` to `v0.18.0-1`
and loop to `v0.28.5-beta`. Note that since loop `v0.28.5-beta` depends
on the lnd  `v0.18.0-beta.1` tag, litd will also use that tag. That tag
is still referencing the same commit as lnd `v0.18.0-beta` though, so
that's not an issue.

We also need to bump the `pool` and
`taproot-assets` daemons to branch specific versions that support
lnd `v0.18.0-beta`. Finally, the `pool` auctioneerrpc package is also
bumped to `v1.1.2`.

We also adapt it itests for the new lnd version.

Finally as lnd `v0.18.0-beta` uses go 1.22.3, we also bump the Go
version in the go.mod file.
2024-06-06 13:45:16 -04:00
bitromortac
ef55e4396d
itest: add tests for privacy flags 2024-04-25 14:49:47 +02:00
bitromortac
8248f2650b
rpcserver: accept and send privacy flags
For autopilot session registration, we accept default recommendations
from autopilot in order to weaken privacy obfuscation for the requested
features. Default privacy flags are supplied by ListFeatures and by
flags passed to the AddAutopilotSession request.

Privacy flags are ORed to combine to the weakest aggregated privacy
obfuscation in order to allow for multiple feature registration. In
order to preserve high privacy settings for a feature it should be
registered in an isolated manner.
2024-04-25 14:49:46 +02:00
bitromortac
76333beaae
rpcserver: show privacy flags in ListFeatures 2024-04-25 14:49:46 +02:00
Elle Mouton
c56b981569
autopilotserver/mock: export RateLimitRule 2023-11-22 14:02:14 +02:00
Elle Mouton
d0db03a07c
autopilotserver/mock: upgrade mock for session linking 2023-11-22 14:02:14 +02:00
Elle Mouton
5817543ad9
itest: call the rate limit and priv map itest 2023-11-22 14:02:14 +02:00
bitromortac
930bb86bea
autopilotserver/rpc: add feature config
This commit adds a field to the autopilot server rpc that transports
default configurations from autopilot to litd.
2023-09-01 08:03:15 +02:00
Elle Mouton
5882a21df8
multi: allow client to link autopilot sessions 2023-08-30 12:34:29 +02:00
Elle Mouton
c9c396d89d
autopilotserver: update to send linked session info
Update the autopilot server client to send the new session linking
fields if they are provided. Currently, they are not yet provided.
2023-08-30 11:46:33 +02:00
positiveblue
c267ef64eb
multi: update lnd dependency to v0.16.0-beta.rc3
- Bump lnd and other module dependencies.
- Bump Go build version & RPCs
- Refactor itests to use the new lnd itest framework.
2023-03-15 08:36:23 -07:00
Elle Mouton
160977d668
autopilotserver: add an autopilot server client
Add a client for the autopilot server along with a mock server that can
be used in tests.
2023-01-27 06:47:13 +02:00