lightning-terminal/session
Elle Mouton 87bef069e3
session: add session ID to grpc metadata via context
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.
2025-05-15 06:15:10 +02:00
..
migration1 session: fix linter issues 2024-04-25 14:49:45 +02:00
migration2 session: migration to populate group ID to session ID indexes 2023-08-30 12:34:28 +02:00
migtest session: add new ID-to-key index 2023-08-30 11:46:33 +02:00
context.go session: add session ID to grpc metadata via context 2025-05-15 06:15:10 +02:00
errors.go session: use error variables 2025-02-27 08:07:51 +02:00
interface.go firewalldb+rpcserver: refactor ListActions 2025-05-09 13:57:10 +02:00
kvdb_store.go session: fix and test some return values 2025-04-07 13:41:27 +02:00
log.go multi: update LND and friends 2025-03-26 09:20:52 -05:00
macaroon.go multi: move macaroon helpers to macaroons dir 2025-02-09 10:37:40 +02:00
metadata.go session: migration to populate group ID to session ID indexes 2023-08-30 12:34:28 +02:00
privacy_flags.go refactor: using slices.Contains to simplify the code 2025-01-09 15:38:45 +08:00
privacy_flags_test.go firewall: obfuscate ConnectPeer 2024-07-02 18:21:42 +02:00
server.go session: add session ID to grpc metadata via context 2025-05-15 06:15:10 +02:00
sql_store.go session: embed db.BaseDB in SQLStore 2025-04-15 11:24:49 +02:00
store_test.go session: fix and test some return values 2025-04-07 13:41:27 +02:00
test_kvdb.go session: add SQL CRUD 2025-03-25 16:58:01 +02:00
test_postgres.go session: add SQL CRUD 2025-03-25 16:58:01 +02:00
test_sql.go session: add SQL CRUD 2025-03-25 16:58:01 +02:00
test_sqlite.go session: add SQL CRUD 2025-03-25 16:58:01 +02:00
tlv.go session: assert account exists before linking a session to it 2025-03-04 13:43:42 +02:00
tlv_test.go session: functional options for NewSession 2025-02-27 15:00:02 +02:00