Commit Graph

3 Commits (4c490398e41afceb9bf8eda514e72361438a24fb)

Author SHA1 Message Date
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.
3 months ago
sputn1ck 89b5c00cfa
reservation: update reservation state machine
This commit updates the reservation statemachine to
allow for locking and spending of the
initial reservation.
8 months ago
sputn1ck d527b0b67c
reservation: add test for manager 8 months ago