Skip to content

Commit

Permalink
Hamdi/func docs (#110)
Browse files Browse the repository at this point in the history
* updated docs

* conf sig comment

* Update plasmaMVPFunctions.md

* Update plasmaMVPFunctions.md

* Update plasmaMVPFunctions.md

* Update plasmaMVPFunctions.md

* Update plasmaMVPFunctions.md
  • Loading branch information
hamdiallam committed Mar 2, 2019
1 parent 2a41203 commit 5f205fa
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion docs/plasmaMVPFunctions.md
@@ -1,6 +1,12 @@
# PlasmaMVP Documentation

The transaction bytes, `txBytes`, in the contract follow the convention:
The transaction bytes, `txBytes`, in the contract follows the convention:

All fields in the transaction bytes must be padded to the EVM data type byte length.
i.e addresses must be 20 bytes, and integers must be padded to 32 bytes. Both input confirm singatures must be 130 bytes in length.
One signature(65 bytes) for each possible "grandparent" input concatted together. If not applicable, 130 zero bytes.

The final RLP encoded txBytes will be **811** bytes in length.
```
RLP_ENCODE ([
[Blknum1, TxIndex1, Oindex1, DepositNonce1, Owner1, Input1ConfirmSig,
Expand Down

0 comments on commit 5f205fa

Please sign in to comment.