Commit Graph

3 Commits (3f9b61fa55d7741780784a9164b9aff6e8f5068a)

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.
4 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.
9 months ago
sputn1ck d527b0b67c
reservation: add test for manager 9 months ago