Paul Hauner
|
46673238b6
|
Add eth2_bytes crate
Is passing test vectors
|
2019-02-15 11:13:56 +11:00 |
|
Paul Hauner
|
8c54e55d99
|
Updates to permutated_index
- Add comments.
- Add more `None` conditions.
- Add more tests.
|
2019-02-15 00:28:24 +11:00 |
|
Paul Hauner
|
c98a9fdf3e
|
Update test vectors, align to test vectors.
|
2019-02-14 23:55:48 +11:00 |
|
Paul Hauner
|
18e85a3cf8
|
Add swap_or_not_shuffle and tests.
The implementation is not matching the EF implementation at this point.
|
2019-02-14 18:22:55 +11:00 |
|
Paul Hauner
|
c41b743d2d
|
Rename vec_shuffle to fisher_yates_shuffle
We're adding another shuffler so it's nice to be specific
|
2019-02-14 14:57:29 +11:00 |
|
Paul Hauner
|
1f8efffd6d
|
Merge pull request #201 from sigp/undo-split
Undo the great repo-split of 2019
|
2019-02-14 12:21:24 +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
|
d7a3545be1
|
Merge pull request #200 from sigp/new-structure
[WIP] Move across to new repository structure
|
2019-02-13 20:01:35 +11:00 |
|
Paul Hauner
|
c33af02a62
|
Merge branch 'master' into new-structure
|
2019-02-13 18:59:35 +11:00 |
|
Age Manning
|
1da06c156c
|
Merge pull request #195 from sigp/fork-choices
[WIP] Generalise Fork Choice Algorithms and implement optimised version.
|
2019-02-13 18:56:44 +11:00 |
|
Age Manning
|
6cf332c679
|
Update lmd_ghost algorithms to use get_deserialized.
|
2019-02-13 18:52:37 +11:00 |
|
Paul Hauner
|
655875acf9
|
Remove cargo fmt from travis.yml
|
2019-02-13 18:44:23 +11:00 |
|
Age Manning
|
cb9f24224d
|
Use Height struct in optimised_lmd_ghost.
|
2019-02-13 18:31:20 +11:00 |
|
Age Manning
|
b2cda28835
|
Fix small bug.
|
2019-02-13 18:25:31 +11:00 |
|
Age Manning
|
ccaaaffde1
|
Merge branch 'master' into fork-choices.
This introduces the `Height` type which keeps track of block_height
types.
Further integration into beacon chain with the merge.
|
2019-02-13 18:04:29 +11:00 |
|
Paul Hauner
|
c228178aa9
|
Fix cargo fmt cmd in travis.yml
|
2019-02-13 17:20:13 +11:00 |
|
Age Manning
|
4370035448
|
Integrate ForkChoice into beacon_node.
|
2019-02-13 16:29:37 +11:00 |
|
Paul Hauner
|
433345e6e7
|
Update travis.yml to fix SSH permission denied.
For more info: https://stackoverflow.com/questions/15674064/how-to-fix-a-permission-denied-publickey-error-for-a-git-submodule-update-in-t
|
2019-02-13 16:20:24 +11:00 |
|
Paul Hauner
|
122bdb3c0b
|
Update travis to test all components
|
2019-02-13 16:16:41 +11:00 |
|
Paul Hauner
|
0e85b1a167
|
Add submodules
|
2019-02-13 16:09:42 +11:00 |
|
Paul Hauner
|
0c3b74090d
|
Fix typos
|
2019-02-13 16:08:31 +11:00 |
|
Paul Hauner
|
1b2fcde047
|
Fix typo
|
2019-02-13 16:06:41 +11:00 |
|
Paul Hauner
|
c1ec46ef85
|
First pass of docs update
|
2019-02-13 16:04:10 +11:00 |
|
Age Manning
|
c4c1e5647e
|
Update original lmd-ghost begin intergration.
|
2019-02-13 14:49:57 +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 |
|
Age Manning
|
ef1717312f
|
Remove block_graph from beacon_chain.
|
2019-02-13 11:38:22 +11:00 |
|
Age Manning
|
e4f6fe047d
|
Merge pull request #192 from sigp/v0.2.0-spec
Impl v0.2.0-spec for Codebase
|
2019-02-13 10:42:50 +11:00 |
|
Age Manning
|
03a5a892d0
|
Ensure latest attestations are considered only.
|
2019-02-13 10:34:56 +11:00 |
|
Paul Hauner
|
492d4749d7
|
Fix clippy lint
|
2019-02-13 10:32:56 +11:00 |
|
Paul Hauner
|
722a157367
|
Silence clippy lints from generated protos
|
2019-02-13 10:29:09 +11:00 |
|
Paul Hauner
|
683147035b
|
Fix clippy lints in block and epoch processing
|
2019-02-13 10:28:57 +11:00 |
|
Paul Hauner
|
d2a1000520
|
Fix clippy lints in beacon_chain
|
2019-02-13 10:28:38 +11:00 |
|
Paul Hauner
|
61bbbab33d
|
Fix clippy lints in lmd_ghost
|
2019-02-13 09:27:09 +11:00 |
|
Paul Hauner
|
4824b43808
|
Fix various clippy lints
|
2019-02-13 07:46:59 +11:00 |
|
Paul Hauner
|
05ed778ccc
|
Remove unused var from block_producer
It was made redundant when `proposer_slots` was removed.
|
2019-02-13 07:39:00 +11:00 |
|
Paul Hauner
|
5c1d0dcea5
|
Fix various clippy lints
|
2019-02-13 07:32:31 +11:00 |
|
Age Manning
|
84bf5ecd74
|
Inact clippy suggestions on beacon_chain.
|
2019-02-12 22:00:38 +11:00 |
|
Age Manning
|
eae68865d1
|
Integrate fork choice into beacon_chain.
- Adds fork_choice to beacon_chain struct.
- Adds add_attestation inside process_free_attestation.
- Adds add_block inside process_block.
- Shifts core fork-choice logic into lib.rs.
|
2019-02-12 21:49:24 +11:00 |
|
Age Manning
|
fb270a5a41
|
Implements add_block, shifts out constants.
|
2019-02-12 18:47:55 +11:00 |
|
Paul Hauner
|
5039001eba
|
Rename file to resolve clippy lint
Lint was "module inception"
|
2019-02-12 17:20:58 +11:00 |
|
Paul Hauner
|
606d927a84
|
Update validator_client for spec v0.2.0
|
2019-02-12 17:00:51 +11:00 |
|
Paul Hauner
|
fef22c31be
|
Update block_producer to spec v0.2.0
|
2019-02-12 17:00:10 +11:00 |
|
Paul Hauner
|
9b14742e36
|
Update beacon_node bin to spec v0.2.0
|
2019-02-12 16:58:31 +11:00 |
|
Paul Hauner
|
12076bce76
|
Update test_harness to spec v0.2.0
|
2019-02-12 16:57:47 +11:00 |
|
Paul Hauner
|
5fefc79521
|
Update BeaconChain for spec v0.2.0
|
2019-02-12 13:00:52 +11:00 |
|
Paul Hauner
|
36f441c968
|
Replace genesis crate with on-type defs
The methods in the `gensis` crate have been moved to `genesis` methods
on `BeaconState` and `BeaconBlock`.
|
2019-02-12 13:00:35 +11:00 |
|
Paul Hauner
|
5e37e8a33a
|
Update validator_client for spec v0.2.0
|
2019-02-12 12:57:17 +11:00 |
|
Paul Hauner
|
cb97870c15
|
Add genesis() function to BeaconBlock
|
2019-02-12 11:57:34 +11:00 |
|
Paul Hauner
|
f27308e377
|
Tidy old comments
|
2019-02-12 11:57:20 +11:00 |
|
Paul Hauner
|
3b75e93122
|
Add genesis() to BeaconState
|
2019-02-12 11:54:02 +11:00 |
|