Commit Graph

309 Commits

Author SHA1 Message Date
Jacek Sieka eb369cee4e spec updates
* first attestation created!
* add hash_tree_root_final that returns an Eth2Digest
* hits the first real blocking spec bug :(
2018-12-24 10:08:11 +01:00
Jacek Sieka 04314589ff
spec updates (#45)
* spec updates

* random small updates
* ssz no longer sorts by field, fix enum serialization
* rewire block processing a little to avoid a few state copies
* add a state simulation tool that writes out jsons
2018-12-21 16:37:46 -06:00
Jacek Sieka 0b0c66ebd9 spec updates
* spec-following renames
* more documentation
* simplify casper slashing
* fix block creation flow / logic
2018-12-19 14:48:25 +02:00
Jacek Sieka 142aa8ca8e ssz: finish implementation (#42)
* ssz: finish implementation

* add object support, simplify implementation
* fix extra round of hashing in tree_hash_root

* ssz: cleanups

* work around Nim range bug for Uint24, cleanups
2018-12-17 19:03:53 +01:00
mratsim bd7f3b52da rename variable, use conversion instead of cast 2018-08-08 10:37:27 +02:00
mratsim 9e142a68d5 Make fields serialization easier to spot from hex 2018-08-07 13:12:31 +02:00
mratsim b2d2f7039a clearer size for schema 2018-08-07 11:07:40 +02:00
mratsim 56ca588764 include schema in desc of header 2018-08-07 11:05:40 +02:00
mratsim 9cd781f72d Research - add PoC simpleserialization 2018-08-07 10:59:54 +02:00