Inside casper
- 21. Implementations
1. Casper Contract ethereum/casper.git 6a171e1
2. Pythapp karlfloersch/pyethapp#dev_envd1a5d1f
3. Pyethereum ethereum/pythereum.git 3d5ec14
4. Parity paritytech/parity.git#casper 9c51885
- 23. Implementations
1. Casper Contract ethereum/casper.git 6a171e1
2. Pythapp karlfloersch/pyethapp#dev_envd1a5d1f
3. Pyethereum ethereum/pythereum.git 3d5ec14
4. Parity paritytech/parity.git#casper 9c51885
- 24. Step
1. Initial: Deploy simple_casper.v.py
2. Miner: Initialize casper metadata of node
3. Validator: Deposit
4. Validator: Vote/Slash
5. Miner: Accept Block
- 29. Vyper (the former Viper) ethereum/vyper.git
● New Experimental Language
● Simple, Secure, Readable
● Alternative to Solidity
● *.v.py
- 47. deposit validation_addrのチェック
● 'xa1x90x3exab' はPURITY_CHECKERのmethod
● keccak256(“submit(address)”) => a1903eab65b303e5
https://ethresear.ch/t/verifying-the-purity-of-the-function-stored-at-the-validation-code-address/430
- 51. Casper Vote Format
● Validator_index
● Target_hash
● Target_epoch
● Source_epoch
● signature
https://github.com/ethereum/casper/blob/master/VALIDATOR_GUIDE.md#casper-vote-format
b0
b1 b2 b3
r
Epoch: n
Epoch: n+1
Validators
Address
index
- 52. Casper Vote Format
● Validator_index
● Target_hash
● Target_epoch
● Source_epoch
● signature
https://github.com/ethereum/casper/blob/master/VALIDATOR_GUIDE.md#casper-vote-format
b0
b1 b2 b3
r
source
Target epoch, blockhash
Validators
Address
index