prysm-pulse/shared/p2p
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
..
adapter Cross p2p spans, more spans, synchronous attestations, minor fixes (#2009) 2019-03-17 10:56:05 +08:00
mock Fix travis (#1493) 2019-02-05 10:46:32 -05:00
addr_factory_test.go Cross p2p spans, more spans, synchronous attestations, minor fixes (#2009) 2019-03-17 10:56:05 +08:00
addr_factory.go Cross p2p spans, more spans, synchronous attestations, minor fixes (#2009) 2019-03-17 10:56:05 +08:00
BUILD.bazel Add feature flag to toggle gossip sub in p2p (#2322) 2019-04-21 13:31:23 -04:00
dial_relay_node_test.go Makes test naming consistent across codebase (#1636) 2019-02-22 07:11:26 -08:00
dial_relay_node.go Validator Attester Rewrite (#1487) 2019-02-06 10:20:38 -06:00
discovery_norace_test.go Makes test naming consistent across codebase (#1636) 2019-02-22 07:11:26 -08:00
discovery.go Validator Attester Rewrite (#1487) 2019-02-06 10:20:38 -06:00
feed_example_test.go Add support for connecting via relay nodes (#827) 2018-11-25 11:55:02 -05:00
feed_test.go Makes test naming consistent across codebase (#1636) 2019-02-22 07:11:26 -08:00
feed.go Use gogo protobuf as the protoc compiler (#1165) 2018-12-23 15:34:59 -05:00
interfaces.go Use imported interfaces in sync package (#2032) 2019-03-19 17:07:49 -06:00
message_test.go Use gogo protobuf as the protoc compiler (#1165) 2018-12-23 15:34:59 -05:00
message.go p2p fixes / improvements (#1931) 2019-03-07 21:37:15 -05:00
monitoring_test.go Reconnect to VIP peers (#2070) 2019-03-25 10:36:44 -05:00
monitoring.go Add nogo to introduce built time linting (#2317) 2019-04-21 22:14:34 +08:00
options_test.go Clear Up Code Inconsistencies (#1836) 2019-03-03 09:31:29 -08:00
options.go Added flag for p2p port (#968) 2018-11-26 10:54:02 +08:00
p2p.go Fix Travis Failures on Master (#1938) 2019-03-07 23:54:41 -05:00
register_topic_example_test.go Use gogo protobuf as the protoc compiler (#1165) 2018-12-23 15:34:59 -05:00
service_norace_test.go upgrading linter from gometalinter to golangci-lint (#2100) 2019-04-26 14:24:01 +08:00
service_test.go upgrading linter from gometalinter to golangci-lint (#2100) 2019-04-26 14:24:01 +08:00
service.go Only Sync With the Peer With the Highest Observed Slot (#2280) 2019-04-26 10:18:43 -05:00