lightning-terminal/perms
Viktor Tigerström 3e8c6d728d
multi: add CreditAccount & DebitAccount endpoints
This commit introduces the structure for new endpoints in the accounts
subsystem, enabling balance adjustments by crediting or debiting a
specified amount. This contrasts with the existing `UpdateAccount`
implementation, which directly sets the balance to a fixed value.

For more details on the drawbacks of the current implementation, see
[issue #648](https://github.com/lightninglabs/lightning-terminal/issues/648).

The actual implementation of the endpoints will be introduced in
subsequent commits.
2025-03-31 02:18:56 +02:00
..
manager.go perms: hold the mutex for any public call 2024-10-14 15:48:17 +02:00
manager_test.go subservers: move permission logic 2023-05-01 00:37:58 -07:00
mock.go make+perms: allow itest to run with dev build tag 2024-11-07 09:39:16 +01:00
mock_dev.go make+perms: allow itest to run with dev build tag 2024-11-07 09:39:16 +01:00
permissions.go multi: add CreditAccount & DebitAccount endpoints 2025-03-31 02:18:56 +02:00