You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- what is the purpose of the second timeout?
second timeout is a timeout after which the committed money can be redeemed if there anything left to redeem.
For example if one committed 100 Ada before start timeout and payed 80 Ada during the contract continuation, he/she can redeem remaining 20 Ada after `end (second) timeout`.
- what happens if it is exceeded?
same thing happens when CommitCash is evaluated either after first or after second timeout – the contract continues with the second "timeout" continuation of CommitCash.
For example, say, we have a contract: CommitCash (IdentCC 1) (1024 Ada) (startTimeout = 50) (endTimeout = 200) contract1 contract2
If the current slot is, say, 20, then the commit is successful and the evaluation is continued with `contract1`. Committer can redeem money left after `endTimeout` slot 200.
If the current slot is, say, 70, or 270 – the commit is `timed out` and the evaluation continues with `contract2`.
This is definitely not clear in the existing tutorial. It must be clarified.```
The text was updated successfully, but these errors were encountered:
See feedback:
The text was updated successfully, but these errors were encountered: