lightning-terminal/accounts
Elle Mouton 03712e6067
accounts: add an IDFromCaveates helper
And use that from the existing accountFromMacaroon helper (which will
then test the new helper by proxy).

We add this helper so that we can use it later on from the sessions
package where we want to extract an account ID from a caveat (we wont
have a full macaroon available).
2025-03-04 13:43:13 +02:00
..
checkers.go accounts: let interface methods take a context 2025-01-16 09:19:04 +02:00
checkers_test.go accounts: use clock.Clock 2025-01-23 08:24:21 +02:00
context.go accounts: start logging useful info from payment request handlers 2024-06-06 12:43:56 -04: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: add SQL store implementation 2025-02-21 10:35:06 -03:00
log.go accounts: start logging useful info from payment request handlers 2024-06-06 12:43:56 -04:00
rpcserver.go session: move MacaroonBaker to macaroons package 2025-02-09 10:56:23 +02:00
service.go accounts: rename store IncreaseAccountBalance 2025-02-18 11:15:12 +01: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: add SQL store implementation 2025-02-21 10:35:06 -03:00
test_postgres.go accounts: add SQL store implementation 2025-02-21 10:35:06 -03:00
test_sqlite.go accounts: add SQL store implementation 2025-02-21 10:35:06 -03:00
tlv.go accounts+itest: fix linter and code style issues 2023-07-26 18:37:49 +02:00