lightning-terminal/accounts
Viktor Tigerström 92689c546c
accounts: update NewTestDB func to return Store
In preparation for upcoming migration tests from a kvdb to an SQL store,
this commit updates the NewTestDB function to return the Store interface
rather than a concrete store implementation.

This change ensures that migration tests can call NewTestDB under any
build tag while receiving a consistent return type.
2025-05-02 15:44:50 +07: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
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