Commit graph

5 commits

Author SHA1 Message Date
sputn1ck
f2fb722901
reservation: add initchan
This fixes a flake in the unit tests
2024-10-22 11:46:31 +02:00
sputn1ck
6408ec8e7e
reservation: remove notifications from reservation
This commit removes the notification stream from
the reservation manager and replaces it with a
subscriber interface.
2024-10-08 14:58:37 +02:00
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
sputn1ck
89b5c00cfa
reservation: update reservation state machine
This commit updates the reservation statemachine to
allow for locking and spending of the
initial reservation.
2024-02-06 15:07:56 +01:00
sputn1ck
d527b0b67c
reservation: add test for manager 2024-01-17 15:59:06 +01:00