prysm-pulse/beacon-chain/sync/initial-sync
Raul Jordan 81c8b130c6
Only Sync With the Peer With the Highest Observed Slot (#2280)
* only accept the highest finalized slot from peers

* use best peer for state requests

* peer id

* rem old tests

* req peers tests pass

* warn level support for peer not having the same protocol

* pretty

* best peer

* comments

* req peers done

* tests passing

* fully functional

* enforce receiving from the best peer

* comments

* lint fixes
2019-04-26 10:18:43 -05:00
..
BUILD.bazel Only Sync With the Peer With the Highest Observed Slot (#2280) 2019-04-26 10:18:43 -05:00
helpers.go upgrading linter from gometalinter to golangci-lint (#2100) 2019-04-26 14:24:01 +08:00
metrics.go Only Sync With the Peer With the Highest Observed Slot (#2280) 2019-04-26 10:18:43 -05:00
service_test.go Only Sync With the Peer With the Highest Observed Slot (#2280) 2019-04-26 10:18:43 -05:00
service.go Only Sync With the Peer With the Highest Observed Slot (#2280) 2019-04-26 10:18:43 -05:00
sync_blocks.go Only Sync With the Peer With the Highest Observed Slot (#2280) 2019-04-26 10:18:43 -05:00
sync_state.go Only Sync With the Peer With the Highest Observed Slot (#2280) 2019-04-26 10:18:43 -05:00