lightning-terminal/session
Viktor Torstensson 9016bbb3d2
multi: confirm kvdb migration at startup
Prompt before automatically migrating legacy kvdb state to SQL when
litd starts with a SQL backend and active bbolt data is still present.

Detect prior migrations by checking for the SQL tombstone marker so
already-migrated stores can start without prompting. Add unit coverage
for the prompt flow and wire stdin through the itest harness so the
migration restart path can acknowledge the prompt automatically.
2026-06-08 21:11:51 +02:00
..
migration1 multi: reformat long lines for readability 2025-12-09 16:12:03 +00:00
migration2 multi: reformat long lines for readability 2025-12-09 16:12:03 +00:00
migtest multi: reformat long lines for readability 2025-12-09 16:12:03 +00:00
benchmark_test.go multi: rename MigrationStream names to MigrationSet 2026-05-14 11:39:09 +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 session: implement DeleteReservedSession 2025-11-25 19:35:42 +01:00
kvdb_store.go multi: confirm kvdb migration at startup 2026-06-08 21:11:51 +02:00
kvdb_store_deprecation_test.go multi: deprecate kvdb stores after SQL migration 2026-05-14 11:39:14 +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: fix mailbox TLS ALPN regression 2026-04-05 17:21:21 -05:00
sql_migration.go session: guard nil migrated macaroon recipe 2026-06-08 17:21:03 +02:00
sql_migration_test.go session: cover empty caveat verification ids 2026-05-19 11:27:12 +02:00
sql_store.go multi: preserve macaroon recipe order in SQL 2026-06-08 17:21:03 +02:00
store_test.go session: implement DeleteReservedSession 2025-11-25 19:35:42 +01:00
test_kvdb.go session: update NewTestDB funcs to return Store 2025-06-12 11:52:38 +02:00
test_postgres.go mutli: rename db.NewTestPostgresV2DB function 2026-05-14 11:37:54 +02:00
test_sql.go multi: use sqldb/v2 in session package 2026-05-14 11:37:43 +02:00
test_sqlite.go multi: rename MigrationStream names to MigrationSet 2026-05-14 11:39:09 +02:00
tls_credentials.go session: fix mailbox TLS ALPN regression 2026-04-05 17:21:21 -05:00
tlv.go multi: reformat long lines for readability 2025-12-09 16:12:03 +00:00
tlv_test.go session: functional options for NewSession 2025-02-27 15:00:02 +02:00