Commit Graph

30 Commits

Author SHA1 Message Date
Paul Hauner
a0148b5aae Rename SSZ traits (Encodable -> Encode) 2019-05-13 15:12:19 +10:00
Paul Hauner
5550d14d62 Upgrade BLS to new SSZ 2019-05-06 15:03:20 +10:00
Paul Hauner
84d72cfed6 Tidy and add docs for cached tree hash 2019-04-29 17:46:01 +10:00
Paul Hauner
f65e981f6f Begin implementing cached hashing in types 2019-04-26 15:24:18 +10:00
Paul Hauner
10a5d2657c Encode bitfield as list not vector 2019-04-17 11:57:57 +10:00
Paul Hauner
f69b56ad60 Add new tree_hash crate project wide. 2019-04-16 14:25:43 +10:00
Paul Hauner
b8c4c3308a Update types to new tree_hash crate 2019-04-16 14:14:38 +10:00
Kirk Baird
fd2f9d0d15 Remove ssz encoding of length from; Signature, AggregateSiganture, PublicKey, SecretKey 2019-03-26 16:45:25 +11:00
Kirk Baird
864ef137ef Merge ssz little endian branch 2019-03-26 15:44:01 +11:00
Kirk Baird
116d995960 Merge current master and fix ssz-fuzzing 2019-03-26 14:53:50 +11:00
Kirk Baird
d76baa1cc1 Allow downloading of large tests from EF github and fix issues with serde 2019-03-25 18:02:37 +11:00
Kirk Baird
5204fc81ff cargo fmt 2019-03-22 14:52:37 +11:00
Kirk Baird
4324097904 Allow for conversion to/from empty_signature 2019-03-22 14:51:49 +11:00
Kirk Baird
9cef6a5814 Finish implementing Darrens migrate-ssz-little-endian and add wrapper to check for ssz underflow 2019-03-18 18:11:46 +11:00
Paul Hauner
123650efbb Merge pull request #290 from mjkeating/tree_hash_spec_update
Updated TreeHash logic as per revised spec
2019-03-13 14:04:42 +13:00
Kirk Baird
c92f867cd8 Upgrade to signature scheme 0.6.0 2019-03-12 16:01:09 +11:00
mjkeating
d4f3bab68d Updated TreeHash logic as per revised spec 2019-03-08 15:24:07 -08:00
Paul Hauner
3b6431b4b4 Impl serde ser and deser for bls keypairs 2019-03-08 13:15:41 +11:00
Kirk Baird
673c8ea388 Merge current master 2019-02-20 13:59:11 +11:00
Kirk Baird
9c4a1f1d1f Update to signature-scheme 0.5.2 2019-02-18 10:50:40 +11:00
mjkeating
6fa141181b Updated TreeHash to spec - added padding 2019-02-17 09:30:18 -08:00
Kirk Baird
977f3edfb6 Add domain to all signature funcitons, modify validate_proof_of_possession() 2019-02-15 13:58:14 +11:00
Paul Hauner
35c914baa6 Revert "Merge pull request #200 from sigp/new-structure"
This reverts commit d7a3545be1, reversing
changes made to 1da06c156c.
2019-02-14 12:09:18 +11:00
Paul Hauner
1d5ff4359a Strip out old code
All of these files have been moved to either:

- https://github.com/sigp/lighthouse-beacon
- https://github.com/sigp/lighthouse-validator
- https://github.com/sigp/lighthouse-common

For rationale, see: https://github.com/sigp/lighthouse/issues/197
2019-02-13 14:15:53 +11:00
Paul Hauner
90ae2298ab Impl serde::Serialize for all types 2019-01-26 08:25:31 +11:00
Paul Hauner
6b4c0fe1a3 Merge branch 'master' into lmd-ghost 2019-01-25 17:23:14 +11:00
Paul Hauner
5ef02688d5 Remove pre-2018 extern crate uses 2019-01-25 16:46:16 +11:00
Paul Hauner
ea523c8658 Merge spec crate into types 2019-01-25 13:52:21 +11:00
Kirk Baird
9c9b07c182 Add TreeHash trait to all types and structs 2019-01-25 12:22:56 +11:00
Paul Hauner
e16f9e0aec Rename beacon_chain/ -> eth2/ 2019-01-22 16:16:02 +11:00