|
1 |
| - |
2 |
| - |
3 | 1 | <pre>
|
4 | 2 | BIP: ????
|
5 | 3 | Layer: Consensus (soft fork)
|
@@ -144,7 +142,7 @@ D1 is updated via M1 and M2.
|
144 | 142 | ==== New Block Validation Rules ====
|
145 | 143 |
|
146 | 144 |
|
147 |
| -# Escrows are added in a procedure that resembles BIP 9 soft fork activation: the network must see a properly-formatted M1, followed by "acknowledgement" of the sidechain in 95% of the following 2016 blocks. |
| 145 | +# Escrows are added in a procedure that resembles BIP 9 soft fork activation: the network must see a properly-formatted M1, followed by "acknowledgment" of the sidechain in 95% of the following 2016 blocks. |
148 | 146 | # It is possible to "overwrite" an escrow. This requires 6 months (26298 blocks) of M2s, instead of 2 weeks (XXXX). This possibility does not change the security assumptions (because we already assume that users perform extra-protocolic validation at a rate of 1 bit per 26298 blocks).
|
149 | 147 |
|
150 | 148 |
|
@@ -214,9 +212,9 @@ From one block to the next, "ACKs" can only change as follows:
|
214 | 212 |
|
215 | 213 | * The ACK-counter of any withdrawal can only change by (-1,0,+1).
|
216 | 214 | * Within a sidechain-group, upvoting one withdrawal ("+1") requires you to downvote all other withdrawals in that group. However, the minimum ACK-value is zero (and, therefore, downvotes cannot reduce it below zero).
|
217 |
| -* While only one withdrawal can be upvoted at once, they can all be unchangd at once ("abstain") and they can all be downvoted at once ("alarm"). |
| 215 | +* While only one withdrawal can be upvoted at once, they can all be unchanged at once ("abstain") and they can all be downvoted at once ("alarm"). |
218 | 216 |
|
219 |
| -One option for explict transmission of M4 is: |
| 217 | +One option for explicit transmission of M4 is: |
220 | 218 |
|
221 | 219 | 4-byte - Message identifier (0x????????)
|
222 | 220 | 1-byte - Version of this message
|
@@ -253,7 +251,7 @@ We come, finally, to the critical matter: where users can take their money *out*
|
253 | 251 |
|
254 | 252 | In each block, a withdrawal in D2 is considered "approved" if its "ACKs" value meets the threshold (13,150).
|
255 | 253 |
|
256 |
| -Approved withdrawals give the green light to their respective "WT^". A "WT^" is 32-bytes which aspire to represent the withdrawing transtion (the txn that actually withdraws funds from the escrow). The two cannot match exactly, beacuse "WT^" is defined at onset, and the withdrawing TxID depends on the its CTIP input (which is constantly changing). |
| 254 | +Approved withdrawals give the green light to their respective "WT^". A "WT^" is 32-bytes which aspire to represent the withdrawing transaction (the txn that actually withdraws funds from the escrow). The two cannot match exactly, because "WT^" is defined at onset, and the withdrawing TxID depends on the its CTIP input (which is constantly changing). |
257 | 255 |
|
258 | 256 | To solve this, we define a "blinded TxID" as a way of hashing a txn, in which some bytes are first overwritten with zeros. Specifically, these bytes are the first input and the first output.
|
259 | 257 |
|
|
0 commit comments