mirror of
https://github.com/lightninglabs/lightning-terminal.git
synced 2026-08-13 12:33:36 +02:00
Add grpc interceptors that inject an LNC session's ID into the context as gRPC metadata. By injecting it as such, it will be transported over the wire in any outgoing gRPC calls. This lets us be sure that any session call sent to the RPCMiddleware interceptor in LND will continue to be grouped along with the appropriate session ID. This gives LND a way to send the metadata we include back to LiT meaning that we will later on be able to extract the session ID again. |
||
|---|---|---|
| .. | ||
| migration1 | ||
| migration2 | ||
| migtest | ||
| context.go | ||
| errors.go | ||
| interface.go | ||
| kvdb_store.go | ||
| log.go | ||
| macaroon.go | ||
| metadata.go | ||
| privacy_flags.go | ||
| privacy_flags_test.go | ||
| server.go | ||
| sql_store.go | ||
| store_test.go | ||
| test_kvdb.go | ||
| test_postgres.go | ||
| test_sql.go | ||
| test_sqlite.go | ||
| tlv.go | ||
| tlv_test.go | ||