Paul Hauner
b365bb8773
Re-add ValidatorRecord::status_is() fn
...
It was accidentally removed.
2018-12-29 14:34:22 +11:00
Paul Hauner
b978db23fc
Merge new beacon block, Rust 2018
2018-12-25 19:00:41 +11:00
Stan Drozd
e502872083
cargo-fix the whole workspace into Rust 2018
2018-12-19 16:07:01 +01:00
Alex Stokes
ca3aa82f4e
rustfmt changes
2018-12-12 19:22:52 -08:00
Alex Stokes
5eabdad0dc
remove active_validators crate
2018-12-12 19:22:44 -08:00
Paul Hauner
4f0a223579
Change some ShardAndCommittee
-> ShardCommittee
2018-12-13 12:28:37 +11:00
Paul Hauner
92786520e4
Update (hacky) validator induction and shuffling.
...
This allows the `BeaconChain` struct to be updated but it doesn't bring
these functions in line with the spec.
2018-12-12 18:32:19 +11:00
Paul Hauner
900ffac5e0
Run rustfmt globally.
...
Using `$ cargo fmt` in the root. Closes #68 .
2018-11-04 15:35:55 +01:00
Paul Hauner
da25a66196
Move active_validators into own crate
2018-10-23 23:43:35 +02:00
Paul Hauner
0536fb4a91
Update ShardAndCommittee per new spec
...
- `shard_id` -> `shard`
2018-10-23 12:28:07 +02:00
Paul Hauner
7508bfca6a
Change error handining in validator_shuffling
2018-10-20 18:10:41 +11:00
Paul Hauner
606c32950d
Move shuffling functions around
...
- Move `delegation` from the `transition` dir into its own dir:
`beacon_chain/validator_shuffling`
- Rename `beacon_chain/utils/shuffling` -> `vec_shuffle`
2018-10-20 16:30:32 +11:00