Commit Graph

167 Commits

Author SHA1 Message Date
Kirk Baird
0513559252 Fix syncing bugs by recursively attempting to process parents in the … (#429)
* Fix syncing bugs by recursively attempting to process parents in the import queue, change BlockRootsIterator

* Swap from crossbeam channel to tokio mpsc

* Recursion fix

* Remove exess block processing

* Fix network lag, correct attestation topic

* Correct network poll logic

* Overhaul of SimpleSync and modify BlockRootsIterator to return start_slot

* Fix bug in tests relating to StateRootsIterator

* Remove old, commented-out heartbeat code.

* Tidy docs on import queue enum

* Change source logging msg in simple sync

* Rename function parameter in simple sync

* Use `BestBlockRootsIterator` in `reduced_tree`

* Update comments for `BestBlockRootsIterator`

* Fix duplicate dep in cargo.toml
2019-07-16 17:28:15 +10:00
Michael Sproul
73c4171b52 op_pool: finish persistence support 2019-07-01 10:55:55 +10:00
Paul Hauner
f8fb011d6c Finish fork test for beacon chain 2019-06-24 09:34:55 +10:00
Paul Hauner
8ed03e391d Allow harness to produce fork blocks 2019-06-24 09:34:55 +10:00
Paul Hauner
fbb40485c1 Add additional chain tests 2019-06-24 09:34:55 +10:00
Paul Hauner
299b4cb207 Document beacon chain harness 2019-06-24 09:34:55 +10:00
Paul Hauner
723283bd01 Add attestation strategy to chain harness 2019-06-24 09:34:55 +10:00
Paul Hauner
46c0e17682 Add arbitrary attestation for beacon chain harness 2019-06-24 09:34:55 +10:00
Paul Hauner
7a4c3e26ac Fix bug in reduced tree fork choice 2019-06-24 09:34:54 +10:00
Paul Hauner
d0037f49d8 Add progress on debugging fork choice 2019-06-24 09:34:54 +10:00
Paul Hauner
85b23f9f1b Add incomplete progress on fork choice 2019-06-24 09:34:54 +10:00
Paul Hauner
41a36da765 Update BeaconChain tests 2019-06-24 09:34:54 +10:00
Paul Hauner
55818e285a Refactor block prod. to produce for forks 2019-06-24 09:34:53 +10:00
Paul Hauner
c6e24572c7 Improve chain harness tests 2019-06-24 09:34:53 +10:00
Paul Hauner
f6c86d0f7f Add attestations to beacon chain harness 2019-06-24 09:34:52 +10:00
Paul Hauner
1638a7aa62 Alias zero hash to genesis in find head 2019-06-24 09:34:52 +10:00
Paul Hauner
8fb6ffffe2 Add new beacon chain test harness 2019-06-24 09:34:52 +10:00