lightning-terminal/accounts
Viktor Torstensson 4ccb56a771
multi: add UpdateAccountAliasForTests query
In the upcoming kvdb to SQL migration of the actions store, we need to
simulate in tests that two or more accounts have colliding account
aliases for the first 4 bytes of the alias. In order to allow creation
of such accounts, we need to be able to update the alias of an account
in tests, and this commit adds the a SQL query enabling this
functionality.

Note that the `UpdateAccountAliasForTests` query is only intended for
use in tests and should not be used in production code.
2025-10-07 02:13:41 +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: remove accountFromMacaroon helper 2025-05-21 14:14:12 +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 multi: separate account RPC server init & start 2025-09-01 10:30:19 +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: iterate over bbolt buckets in migration 2025-06-09 13:01:28 +02:00
sql_migration_test.go mod+accounts+session: update to latest lnd RC 2025-07-11 18:41:16 +02:00
store_kvdb.go accounts: implement kvdb DebitAccount 2025-02-18 12:19:49 +01:00
store_sql.go multi: add UpdateAccountAliasForTests query 2025-10-07 02:13:41 +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: ensure that test SQL store is closed 2025-06-09 13:01:28 +02:00
test_sql.go accounts: ensure that test SQL store is closed 2025-06-09 13:01:28 +02:00
test_sqlite.go accounts: ensure that test SQL store is closed 2025-06-09 13:01:28 +02:00
tlv.go accounts+itest: fix linter and code style issues 2023-07-26 18:37:49 +02:00