lnd/rpcperms
Elle Mouton e9fc852390
lnrpc+rpcperms: add ctx metadata pairs to RPCMiddlewareRequest
The MW interceptor works via a stream & sends requests to the
interceptor via this stream. Sometimes, the interceptor might want to
work with grpc metadata pairs that were sent via the context of the
original request though and so in this commit, we ensure that for each
request sent via the stream to the interceptr, the grpc metadata is sent
along explicitly as well. This is done by adding a new `metadata_pairs`
field to the RPCMiddlewareRequest proto message.
2025-04-22 15:03:17 +02:00
..
interceptor.go multi: start updating various loggers to use the new v2 type 2024-10-22 17:03:55 +02:00
log.go multi: start updating various loggers to use the new v2 type 2024-10-22 17:03:55 +02:00
middleware_handler_test.go rpcperms: add replaceProtoMsg 2022-07-14 09:36:36 +02:00
middleware_handler.go lnrpc+rpcperms: add ctx metadata pairs to RPCMiddlewareRequest 2025-04-22 15:03:17 +02:00