Paul Hauner
|
b05f12cf6f
|
Merge branch 'tidy-beacon-state' into test-harness-fix
|
2019-02-15 17:10:11 +11:00 |
|
Paul Hauner
|
1c57eb47f9
|
Move BeaconStateTestBuilder into test mod
|
2019-02-15 17:07:52 +11:00 |
|
Paul Hauner
|
054c1f9047
|
Swap over to v0.2.0 shuffling algo
|
2019-02-15 16:55:52 +11:00 |
|
Paul Hauner
|
2f8c4536a0
|
Merge branch 'int_to_bytes' into implement-shuffle
|
2019-02-15 16:40:32 +11:00 |
|
Paul Hauner
|
4ddbb3197c
|
Merge branch 'master' into tidy-beacon-state
|
2019-02-15 16:30:51 +11:00 |
|
Paul Hauner
|
ae5072d0f5
|
Merge branch 'master' into int_to_bytes
|
2019-02-15 16:13:40 +11:00 |
|
Paul Hauner
|
ec4a658fe7
|
Add beacon state test builder, tidy errors
|
2019-02-15 16:12:24 +11:00 |
|
Paul Hauner
|
b15ee17fed
|
Merge pull request #225 from sigp/permutated-index
Add get_permutated_index
|
2019-02-15 15:32:28 +11:00 |
|
Paul Hauner
|
c632edcf17
|
Merge pull request #228 from sigp/fork-choice
Fork choice longest chain update.
|
2019-02-15 15:04:43 +11:00 |
|
Age Manning
|
e06c4796e4
|
Import Slot directly from types in fork-choice.
|
2019-02-15 14:21:33 +11:00 |
|
Age Manning
|
94c8784523
|
Remove Slow LMD Ghost from test harness.
|
2019-02-15 14:17:22 +11:00 |
|
Age Manning
|
b16ac40fd5
|
Add tests to SlotHeight.
|
2019-02-15 14:16:45 +11:00 |
|
Age Manning
|
5031ee5505
|
Remove comments from fork choice.
|
2019-02-15 13:32:37 +11:00 |
|
Age Manning
|
2cab2952a8
|
Removes duplication of macros in types.
|
2019-02-15 13:29:09 +11:00 |
|
Paul Hauner
|
af1d44e8b0
|
Add shuffling to fuzzer, fixing a bug
We were being to strict on list length, it can be 2**24 as all index's
will need to be less than that.
|
2019-02-15 12:58:14 +11:00 |
|
Paul Hauner
|
210ec89b0b
|
Replace ssz_encode with int_to_bytes32
Only in the relevant places I can think of.. I might have missed some.
|
2019-02-15 12:21:19 +11:00 |
|
Paul Hauner
|
fc04286ae6
|
Use int_to_bytes in swap or not.
I also fixed an error I found through strict typing.
|
2019-02-15 12:13:57 +11:00 |
|
Paul Hauner
|
73484f04a1
|
Rename eth2_bytes to int_to_bytes
|
2019-02-15 11:19:25 +11:00 |
|
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 |
|
Age Manning
|
88c42bf3fb
|
Merge pull request #227 from sigp/slot_height
Add `SlotHeight` type.
|
2019-02-15 00:27:15 +11:00 |
|
Age Manning
|
91ba26a351
|
Add test dependencies for fork-choice.
|
2019-02-15 00:21:26 +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 |
|
Age Manning
|
fe13d98469
|
Updates longest chain to match new fork-choice structure.
|
2019-02-14 18:09:09 +11:00 |
|
Age Manning
|
7b39dad232
|
Removes protolambda as an option of fork-choice.
|
2019-02-14 16:56:12 +11:00 |
|
Age Manning
|
7a03ee79aa
|
Update SlowLMDGhost to use SlotHeight.
|
2019-02-14 16:53:53 +11:00 |
|
Age Manning
|
066f0090dd
|
Add slot_height type.
|
2019-02-14 16:46:33 +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 |
|