lightning-terminal/session
Viktor Torstensson 3d10572280
session: fix empty config for features in sql mig
In the bbolt store, an empty config for a feature is represented as an
empty array, while in for the SQL store, the same config is represented
as nil. Therefore, in the scenario where a specific feature has an empty
config, we override the SQL FeatureConfig for that feature to also be
set to an empty array. This is needed to ensure that the deep equals
check in the migration validation does not fail in this scenario.
2025-11-10 13:40:51 +01: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_migration.go session: fix empty config for features in sql mig 2025-11-10 13:40:51 +01:00
sql_migration_test.go session: fix empty config for features in sql mig 2025-11-10 13:40:51 +01: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: update NewTestDB funcs to return Store 2025-06-12 11:52:38 +02:00
test_postgres.go session: ensure that test SQL store is closed 2025-06-12 11:52:39 +02:00
test_sql.go session: ensure that test SQL store is closed 2025-06-12 11:52:39 +02:00
test_sqlite.go session: ensure that test SQL store is closed 2025-06-12 11:52:39 +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