Commit graph

12 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
George Tsagkarelis
3ccfc5231b
multi: prepare for new non-constant string rule
In preparation for the next commit which bumps golang to a newer
version, we want to make some code changes that would otherwise render
some log-related calls problematic. With go1.24 a new govet rule was
added that disallows non-constant strings (i.e including a tag like
"%s") in calls to printf. See more in the related issue
https://github.com/golang/go/issues/60529.
2025-09-18 12:05:28 +02: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
83a3209a32
rpcmiddleware: thread context through to Start 2025-01-13 09:29:22 +02:00
Elle Mouton
fde86d3136
accounts+mid: support for error handlers in accounts
We also want to be able to see via the trace logs if a request has
errored. So first we need to update the framework to be ready for this.
2024-06-06 12:43:56 -04:00
Oliver Gugger
4fd0ed525e
rpcmiddleware+accounts: add checkers
This commit adds the checkers component that is responsible for making
sure all incoming RPC requests and outgoing responses are tracked and
their effects on an account are updated accordingly.
2022-12-02 10:06:50 +01:00
Oliver Gugger
f8f60c2bed
terminal+rpcmiddleware: add main err queue 2022-10-19 10:57:17 +02:00
Oliver Gugger
e27572683b
rpcmiddleware: return on error 2022-10-15 09:05:04 +02:00
Oliver Gugger
fb875356c7
rpcmiddleware: add context to request and response handlers
With this commit we add a context to the handlers so we can use that to
transport values as well as cancel a request/response if necessary.
2022-10-15 09:04:59 +02:00
Elle Mouton
3f291a8a8d
multi: use the ability to intercept requests and errors 2022-09-22 15:59:05 +02:00
Oliver Gugger
0d416a5168
config+log+rpcmiddleware: add RPC middleware package 2022-09-22 15:59:05 +02:00