2
0
mirror of https://github.com/lightninglabs/loop synced 2024-11-09 19:10:47 +00:00
loop/instantout/reservation
Boris Nagaev 1947b90842
multi: typed callback in ExecTx
Provide a wrapped store type, exposing ExecTx method with a subset
interface in the callback argument. BaseDB interfaces in instantout,
reservation and sweepbatcher use ExecTx with their subset Querier
instead of whole sqlc.Querier (*sqlc.Queries).

This is needed to make the packages more reusable, so they don't
depend on methods of *sqlc.Queries they don't use.
2024-06-19 10:38:55 -03:00
..
script reservation: add reservation script 2023-11-30 22:45:01 +01:00
actions_test.go reservation: update reservation state machine 2024-02-06 15:07:56 +01:00
actions.go instantout: add fsm and actions 2024-02-06 15:07:57 +01:00
fsm.go reservation: update reservation state machine 2024-02-06 15:07:56 +01:00
interfaces.go reservation: add reservation fsm and actions 2024-01-17 15:01:26 +01:00
log.go reservation: add reservation fsm and actions 2024-01-17 15:01:26 +01:00
manager_test.go multi: typed callback in ExecTx 2024-06-19 10:38:55 -03:00
manager.go multi: replace LSAT with L402 2024-04-24 13:28:28 -03:00
reservation_fsm.md fsm: add instanout fsm parsing 2024-02-06 15:08:00 +01:00
reservation.go reservation: add musig2 spend helpers 2024-01-31 16:01:04 +01:00
store_test.go multi: typed callback in ExecTx 2024-06-19 10:38:55 -03:00
store.go multi: typed callback in ExecTx 2024-06-19 10:38:55 -03:00