Commit Graph

29 Commits

Author SHA1 Message Date
Paul Hauner
2fc6dbb02a Fix bug with inclusion_distance 2019-01-31 08:49:50 +11:00
Paul Hauner
7d94cfb0e4 Refine state transition to allow first transition 2019-01-31 00:39:34 +11:00
Paul Hauner
6a4252b8c6 Add state helpers from #148 2019-01-28 19:12:20 +11:00
Paul Hauner
f92b9d618a Add get_shuffling to state 2019-01-28 17:45:54 +11:00
Paul Hauner
be7e326c33 Add FreeAttesation type 2019-01-28 16:21:33 +11:00
Paul Hauner
5bbffcb053 Add attester to beacon chain test harness 2019-01-28 15:50:42 +11:00
Paul Hauner
e1698102e0 Add attestation aggregation to BeaconChain 2019-01-28 13:04:50 +11:00
Paul Hauner
a037fec283 Add signable_message() to AttestationData 2019-01-28 11:22:25 +11:00
Paul Hauner
fd47f6c433 Move attestation validator to BeaconState fn 2019-01-27 17:54:26 +11:00
Paul Hauner
b487db68a1 Add signable_message() to Attestation 2019-01-27 17:28:16 +11:00
Paul Hauner
79d1b15afc Tidy epoch_processing 2019-01-27 13:59:29 +11:00
Paul Hauner
7ee836d118 Implement the majority of per-epoch processing 2019-01-26 22:07:50 +11:00
Paul Hauner
90ae2298ab Impl serde::Serialize for all types 2019-01-26 08:25:31 +11:00
Paul Hauner
f9acc42aca Rename canonical_hash to `hash 2019-01-25 17:40:22 +11:00
Paul Hauner
73d86bcc3b Fix canonical_root fns
Fixes #92
2019-01-25 17:39:46 +11:00
Paul Hauner
6b4c0fe1a3 Merge branch 'master' into lmd-ghost 2019-01-25 17:23:14 +11:00
Paul Hauner
138fcd6275 Fix issues with old state information 2019-01-25 16:47:24 +11:00
Paul Hauner
5ef02688d5 Remove pre-2018 extern crate uses 2019-01-25 16:46:16 +11:00
Kirk Baird
f67facae88 Add return type for AttesationDataAndCustodyBit hash_tree_root 2019-01-25 14:39:51 +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
298f9acd6a Merge branch 'master' into lmd-ghost 2019-01-24 12:06:23 +11:00
Paul Hauner
d009b85637 Export bls::Keypair from types crate 2019-01-24 11:52:19 +11:00
Kirk Baird
c860191f14 More updates base upon the specs, again 2019-01-24 10:17:12 +11:00
Paul Hauner
1256ba0d01 Implement very raw state transition logic 2019-01-23 19:25:05 +11:00
Kirk Baird
e047fbe914 More updates base upon the specs 2019-01-23 18:06:25 +11:00
Kirk Baird
560dbe4ae1 Update constants / types to match specs as of 23.1.19 2019-01-23 15:04:40 +11:00
Paul Hauner
b555916808 Add slow LMD ghost implementation 2019-01-23 09:33:04 +11:00
Paul Hauner
e16f9e0aec Rename beacon_chain/ -> eth2/ 2019-01-22 16:16:02 +11:00