-
Notifications
You must be signed in to change notification settings - Fork 87
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Incremental commit specification & scenarios #1484
Comments
Definitionsincrement (i)
for all:
decrement (d)
for all:
equality condition on h (==)The equality ( h_1 == h_2 ) means that ( h_1 ) and ( h_2 ) have the same UTxO set or the same locked amount of value. Propositions1. Commutativity of Increments
for all:
2. Commutativity of Decrements
for all:
3. Idempotency of Increments
for all:
4. Idempotency of Decrements
for all:
5. No Change on Redundant Decrement
for all:
6. Inverse Operations of Increment and Decrement
for all:
for all:
LemmaInverse Operations of Idempotent Increment and Decrement
for all:
for all:
|
Definitionreject(operation)
pending(operation)
implies condition on h (=>)
Propositon7. Reject when Pending Increment
for all:
for all:
or
8. Reject when Pending Decrement
for all:
or for all:
9. Handling Race Condition in Increments for all:
or
indicating that the head rejects the increment of UTxO ( u ) because it is already committed in another head. |
@v0d1ch Reviewed scenarios in #199:
List looks good, but could be merged with the "Properties" above: |
Updated #199 to reflect the comments above. |
Did a review of the #1511 changes and @v0d1ch @ffakenz and me discussed that:
|
What
The text was updated successfully, but these errors were encountered: