diff --git a/content/_img-sources/escrow-states.uxf b/content/_img-sources/escrow-states.uxf index c6ab23d7a4..11f370fa32 100644 --- a/content/_img-sources/escrow-states.uxf +++ b/content/_img-sources/escrow-states.uxf @@ -357,12 +357,12 @@ style=wordwrap Relation 110 - 40 + 50 30 - 560 + 550 lt=<- - 10.0;540.0;10.0;10.0 + 10.0;530.0;10.0;10.0 UMLClass @@ -382,22 +382,22 @@ style=wordwrap 90 380 - 1230 + 860 30 - lt=. - 10.0;10.0;1210.0;10.0 + lt=.. + 10.0;10.0;840.0;10.0 Relation 90 230 - 840 + 860 30 lt=. - 10.0;10.0;820.0;10.0 + 10.0;10.0;840.0;10.0 Text @@ -420,7 +420,6 @@ style=wordwrap 70 CancelAfter time -(if specified) style=wordwrap @@ -484,4 +483,40 @@ transaction style=wordwrap + + Relation + + 920 + 380 + 380 + 30 + + lt=. + 10.0;10.0;360.0;10.0 + + + Text + + 380 + 370 + 170 + 30 + + (if CancelAfter specified) +fontsize=12 + + + + Text + + 1020 + 370 + 160 + 30 + + (CancelAfter required) +fontsize=12 + + + diff --git a/content/concepts/complex-payment-types/escrow.md b/content/concepts/complex-payment-types/escrow.md index fd527504a0..90604db62f 100644 --- a/content/concepts/complex-payment-types/escrow.md +++ b/content/concepts/complex-payment-types/escrow.md @@ -51,9 +51,9 @@ The following diagram shows the states an Escrow can progress through: The diagram shows three different cases for three possible combinations of the escrow's "finish-after" time (`FinishAfter` field), crypto-condition (`Condition` field), and expiration time (`CancelAfter` field): -- **Time-based Escrow (left):** With only a finish-after time, the escrow is created in the **Held** state. After the specified time has passed, it becomes **Ready** and anyone can finish it. If the escrow has an expiration time and no one finishes it before that time passes, then the escrow becomes **Expired**. In the expired state, an escrow cannot be finished, and anyone can cancel it. +- **Time-based Escrow (left):** With only a finish-after time, the escrow is created in the **Held** state. After the specified time has passed, it becomes **Ready** and anyone can finish it. If the escrow has an expiration time and no one finishes it before that time passes, then the escrow becomes **Expired**. In the expired state, an escrow cannot be finished, and anyone can cancel it. If the escrow does not have a `CancelAfter` field, it never expires and cannot be canceled. -- **Combination Escrow (center):** If the escrow specifies both a crypto-condition (`Condition` field) _and_ a "finish-after" time (`FinishAfter` field), the escrow is **Held** until its finish-after time has passed. Then it becomes **Conditionally Ready**, and can finish it if they supply the correct fulfillment to the crypto-condition. If the escrow has an expiration time (`CancelAfter` field), and no one finishes it before that time passes, then the escrow becomes **Expired**. In the expired state, an escrow cannot be finished, and anyone can cancel it. +- **Combination Escrow (center):** If the escrow specifies both a crypto-condition (`Condition` field) _and_ a "finish-after" time (`FinishAfter` field), the escrow is **Held** until its finish-after time has passed. Then it becomes **Conditionally Ready**, and can finish it if they supply the correct fulfillment to the crypto-condition. If the escrow has an expiration time (`CancelAfter` field), and no one finishes it before that time passes, then the escrow becomes **Expired**. In the expired state, an escrow cannot be finished, and anyone can cancel it. If the escrow does not have a `CancelAfter` field, it never expires and cannot be canceled. - **Conditional Escrow (right):** If the escrow specifies a crypto-condition (`Condition` field) and not a finish-after time, the escrow becomes **Conditionally Ready** immediately when it is created. During this time, anyone can finish the escrow, but only if they supply the correct fulfillment to the crypto-condition. If no one finishes the escrow before its expiration time (`CancelAfter` field), the escrow becomes **Expired**. (An escrow without a finish-after time _must_ have an expiration time.) In the expired state, the escrow can no longer be finished, and anyone can cancel it. diff --git a/img/escrow-states.png b/img/escrow-states.png index a127a3a0ec..e5793ffc47 100644 Binary files a/img/escrow-states.png and b/img/escrow-states.png differ