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
Somebody published exit and the bond. We check the validity of input on the contract and put it into the exit queue with finalization time ordered by SFT = max(now+REP+MFT, input.timestamp+MFT), where REP=MFT=1 week. Also withdrawal emit SFT in event.
anybody can challenge the spend of the input.
anybody can challenge the existence of input inside the blockchain.
Signer guarantees validity of the transaction (or he have a risk to burn his money). That's why it is enough to check the signature and maxBlockId to run withdrawalChallangeSpend.
2nd, 3rd, 4th merkle proof are short (linked to tx hash, not to block hash).
.
UX for simple withdraw
Somebody published exit and the bond. We check the validity of input on the contract and put it into the exit queue with finalization time ordered by SFT = max(now+REP+MFT, input.timestamp+MFT), where REP=MFT=1 week
anybody can challenge the spend of the input.
anybody can challenge the existence of input inside the blockchain.
If the input is challenged, it must be removed from the exit queue.
After finalization time the exit must be withdrawable in the queue order.
We must not store all information for the exit inside the storage. (hash, SFT) is enough to store, where hash is the hash of Input.
The text was updated successfully, but these errors were encountered:
TX signatures must be verified for special exits only. If the transaction is included inside plasma chain, it must be valid, or we have particular case of defect here.
We can verify that TX belongs to some Plasma block during a game (like truebit protocol).
Exiter publish plasma block and index.
Verifier can challenge exit request by prooving that the index is wrong.
Depends on #30
Block structure for solidity
Cut hashes up to 160 bits. It provides us 80bit reliability.
Use following structure of transactions:
Merkle proof index bit map
So, maximal outputNumber is limited by 31 (must checked on the contract for input structures).
Data types encoding
leaf = keccak256(concat(datatype_byte, abi.encode(data))
Simple exit challenges
Use following requests:
SFT = max(now+REP+MFT, input.timestamp+MFT)
, whereREP=MFT=1
week. Alsowithdrawal
emitSFT
in event.Signer guarantees validity of the transaction (or he have a risk to burn his money). That's why it is enough to check the signature and maxBlockId to run
withdrawalChallangeSpend
.2nd, 3rd, 4th merkle proof are short (linked to tx hash, not to block hash).
.
UX for simple withdraw
If the input is challenged, it must be removed from the exit queue.
After finalization time the exit must be withdrawable in the queue order.
We must not store all information for the exit inside the storage. (hash, SFT) is enough to store, where hash is the hash of Input.
The text was updated successfully, but these errors were encountered: