Commit Graph

33 Commits

Author SHA1 Message Date
Michael Sproul
fd56c8fa04 state_processing: winning_root v0.6.1 2019-05-13 17:18:21 +10:00
Michael Sproul
ca73fb72da state_processing: get_attesting_indices 2019-05-13 17:15:30 +10:00
Michael Sproul
eda8ec8c55 spec: registry updates v0.6.1 2019-05-07 18:27:58 +10:00
Michael Sproul
839ef0119b spec: justification and finalization v0.6.1 2019-05-07 18:27:36 +10:00
Michael Sproul
ed00ad9d00 spec: get_crosslink_deltas to v0.6.1 2019-05-07 18:27:36 +10:00
Michael Sproul
caff553af9 spec: update reward processing to v0.6.1 + bugfix
Two bugs fixed by this commit:

* Reward proposers rather than attesters in `get_proposer_deltas`
* Prevent double-counting of validator balances towards the total when
  computing validator statuses
2019-05-07 18:27:25 +10:00
Michael Sproul
d95ae95ce8 spec: update tags to v0.5.1 2019-04-17 12:00:23 +10:00
Paul Hauner
bd860eb3e1 Fixes bug in epoch processing.
- Was using the wrong slot to determine relative epoch.
- Added a non-related test I build during the search
2019-03-31 15:30:09 +11:00
Paul Hauner
84f373fcc2 Fix clippy lints 2019-03-20 10:51:53 +11:00
Paul Hauner
baca2c90ab Add last of 0.5.0 upgrades. Woo! 2019-03-19 19:43:31 +11:00
Paul Hauner
35b90728c7 Push more epoch processing fns to 0.5.0 2019-03-19 19:27:10 +11:00
Paul Hauner
61f6fe25e7 Tidy reward processing 2019-03-19 17:26:20 +11:00
Paul Hauner
d20fb93f0c Update rewards processing to v0.5.0 2019-03-19 17:16:51 +11:00
Paul Hauner
37b8e9f39a Move get_active_validator_indices to state 2019-03-19 09:09:57 +11:00
Paul Hauner
1028acf3f1 Move state trans fns into state_processing 2019-03-18 21:34:42 +11:00
Paul Hauner
191761f356 Allow epoch cache with zero validators. 2019-03-17 23:32:27 +11:00
Paul Hauner
3a384d93f8 Allow state processing to compile under v0.5.0 2019-03-17 17:47:12 +11:00
Paul Hauner
1c1c15a122 Tidy per epoch processing
- Add comments to ValidatorStatuses
- Add some checks to guard against a bad statuses list
- Remove unused attester_sets.rs file.
2019-03-14 16:00:22 +11:00
Paul Hauner
10aee6214c Tidy per_epoch_processing
Mainly renaming variables and files for readability.
2019-03-14 14:59:30 +11:00
Paul Hauner
95599ddc66 Update Attesters struct
- Renames variables
- Moves total balance calculation into struct
2019-03-14 12:49:48 +11:00
Paul Hauner
a319144835 Improve crosslink reward processing 2019-03-14 12:17:43 +11:00
Paul Hauner
6f919e6f7d Add first iteration on faster rewards processing. 2019-03-14 11:53:50 +11:00
Paul Hauner
f949919b9b Add comments to epoch_processing 2019-03-12 18:02:53 +11:00
Paul Hauner
cce88c9923 Improve DX for loading validator keys from file 2019-03-12 14:39:16 +11:00
Paul Hauner
f34ae86cde Add support for loading keypairs from file 2019-03-12 12:46:44 +11:00
Paul Hauner
0b7082e2b9 Move benching_utils structs into types 2019-03-11 11:17:27 +11:00
Paul Hauner
f27b62d410 Add optimisation for epoch processing 2019-03-10 17:49:06 +11:00
Paul Hauner
89fc386264 Add extra checks for epoch benches finalization 2019-03-10 13:38:57 +11:00
Paul Hauner
73ebb4bc2e Add incomplete per-block processing benchmarks
Still needs to fill block with operations
2019-03-09 14:11:49 +11:00
Paul Hauner
63743a962c Add per-epoch benchmarks, optimise function. 2019-03-09 10:38:53 +11:00
Paul Hauner
e6526c9895 Refactor winning root logic 2019-03-07 11:32:53 +11:00
Paul Hauner
8a25fd48cf Fix per_epoch_processing so it compiles again 2019-03-06 18:57:41 +11:00
Paul Hauner
17210faf3a Start reorg of per_epoch_processing 2019-03-06 17:14:54 +11:00