lightning-terminal/accounts
Viktor Tigerström dbb5d73079
accounts: add migration code from kvdb to SQL
This commit introduces the migration logic for transitioning the
accounts store from kvdb to SQL.

Note that as of this commit, the migration is not yet triggered by any
production code, i.e. only tests execute the migration logic.
2025-05-19 14:29:15 +02:00
..
checkers.go accounts: let interface methods take a context 2025-01-16 09:19:04 +02:00
checkers_test.go accounts: implement CreditAccount & DebitAccount 2025-03-31 02:18:56 +02:00
context.go multi: update LND and friends 2025-03-26 09:20:52 -05:00
errors.go accounts: use UpsertAccountPayment in removePayment 2025-01-21 12:20:33 +02:00
interceptor.go accounts: add an IDFromCaveates helper 2025-03-04 13:43:13 +02:00
interceptor_test.go accounts: add an IDFromCaveates helper 2025-03-04 13:43:13 +02:00
interface.go accounts: implement CreditAccount & DebitAccount 2025-03-31 02:18:56 +02:00
log.go multi: update LND and friends 2025-03-26 09:20:52 -05:00
rpcserver.go accounts: implement CreditAccount & DebitAccount 2025-03-31 02:18:56 +02:00
service.go accounts: implement CreditAccount & DebitAccount 2025-03-31 02:18:56 +02:00
service_test.go accounts: assert no startup error in tests 2025-01-23 09:20:09 +02:00
sql_migration.go accounts: add migration code from kvdb to SQL 2025-05-19 14:29:15 +02:00
sql_migration_test.go accounts: add migration code from kvdb to SQL 2025-05-19 14:29:15 +02:00
store_kvdb.go accounts: implement kvdb DebitAccount 2025-02-18 12:19:49 +01:00
store_sql.go accounts: keep the full *db.BaseDB pointer 2025-03-02 13:36:57 +02:00
store_test.go accounts: add SQL store implementation 2025-02-21 10:35:06 -03:00
test_kvdb.go accounts: update NewTestDB func to return Store 2025-05-02 15:44:50 +07:00
test_postgres.go accounts: update NewTestDB func to return Store 2025-05-02 15:44:50 +07:00
test_sqlite.go accounts: update NewTestDB func to return Store 2025-05-02 15:44:50 +07:00
tlv.go accounts+itest: fix linter and code style issues 2023-07-26 18:37:49 +02:00