Deals watcher #88
Labels
A-tests
Area: tests
C-api
Components: REST API
C-blockchain
Components: blockchain
C-database
Components: database
D-average
Difficulty: average
P-high
Priority: high
T-feature
Type: feature
When the
Deal
event is emitted in theStays
contractlpms-server
must catch this event and check the availability of the associatedspace
.This issue is blocked by windingtree/stays-contracts#10
space
is less than booked in thedeal
thisdeal
must bedeclined
immediately. Timeout between theDeal
event anddecline
transaction must be no longer than the timeout configured in theStays
smart contract (confirmation timeout
of the state machine). This issue is blocked by State machine stays-contracts#10space
is enough the watcher must decrease the availability value in the database by the value of thedeal
The text was updated successfully, but these errors were encountered: