Commit Graph

8 Commits

Author SHA1 Message Date
Age Manning
6cf332c679 Update lmd_ghost algorithms to use get_deserialized. 2019-02-13 18:52:37 +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
Age Manning
4370035448 Integrate ForkChoice into beacon_node. 2019-02-13 16:29:37 +11:00
Age Manning
c4c1e5647e Update original lmd-ghost begin intergration. 2019-02-13 14:49:57 +11:00
Age Manning
ef1717312f Remove block_graph from beacon_chain. 2019-02-13 11:38:22 +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
0972c67d19 Pull basic LMD Ghost into fork choice crate.
- Moves the basic implementation into the fork choice crate.
- Builds the option of fork choices into beacon_struct.
2019-02-05 17:15:15 +11:00
Age Manning
8109fad7bf Create the fork-choice crate.
- Adds the naive fork choice (longest chain) rule.
- Adds basic documentation for the crate.
2019-02-05 15:55:29 +11:00