Commit Graph

15 Commits

Author SHA1 Message Date
Paul Hauner
c5a0170a0a Tidy out some verbose debugs 2019-01-31 16:40:44 +11:00
Paul Hauner
8073296f5d Ensure per_epoch processing always runs.
Previously, it was running _after_ a state transition, not before it
with the slot processing.
2019-01-31 16:39:44 +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
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
22a08e5160 Fix failing tests 2019-01-26 22:22:52 +11:00
Paul Hauner
7ee836d118 Implement the majority of per-epoch processing 2019-01-26 22:07:50 +11:00
Paul Hauner
4d3889d838 Remove old hash_tree_root stub from state trans 2019-01-25 17:47:33 +11:00
Paul Hauner
f9acc42aca Rename canonical_hash to `hash 2019-01-25 17:40:22 +11:00
Paul Hauner
78c00d3361 Move back to using proposer_slots 2019-01-25 16:54:19 +11:00
Paul Hauner
138fcd6275 Fix issues with old state information 2019-01-25 16:47:24 +11:00
Paul Hauner
ea523c8658 Merge spec crate into types 2019-01-25 13:52:21 +11:00
Paul Hauner
b29934aed4 Update state transition as per spec 2019-01-24 12:10:03 +11:00
Paul Hauner
1256ba0d01 Implement very raw state transition logic 2019-01-23 19:25:05 +11:00