mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2024-12-25 04:47:18 +00:00
095c4d5dd5
* define and enforce minimum scorer interface * better decoupling of multiple scorers in service * removes redundant weight * adds peer_status scorer * minir re-arrangement * rely on scorer in peer status service * gazelle * updates rpc_status * fix build * better interface verifying * remove unnecessary locks * mark todo * simplify service * remove redundant references * avoid passing contexts * remove unused context * refactor errors to p2p package * refactor goodbye codes into p2p * simplify status api * remove isbad method from peers * update scoring service * introduce validation error * gazelle * add score * restore isbad method * resolve dep cycle * gazelle * peer status scorer: test score calculation * bad responses scorer: bad peer score * remove redundant type checks * pass nil config * add rounding * test IsBadPeer * test bad peers list * more tests * check validation error on non-existent peer * max peer slot -> highest peer slot * remove redundant comment * combine * combine * introduce var * fix tests * remove redundant update * minor fix * Nishant's suggestion Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com> |
||
---|---|---|
.. | ||
encoder | ||
peers | ||
testing | ||
types | ||
addr_factory_test.go | ||
addr_factory.go | ||
broadcaster_test.go | ||
broadcaster.go | ||
BUILD.bazel | ||
config.go | ||
connection_gater_test.go | ||
connection_gater.go | ||
dial_relay_node_test.go | ||
dial_relay_node.go | ||
discovery_test.go | ||
discovery.go | ||
doc.go | ||
fork_test.go | ||
fork.go | ||
gossip_scoring_params.go | ||
gossip_topic_mappings_test.go | ||
gossip_topic_mappings.go | ||
handshake.go | ||
info.go | ||
interfaces.go | ||
log.go | ||
monitoring.go | ||
options_test.go | ||
options.go | ||
parameter_test.go | ||
pubsub_filter_test.go | ||
pubsub_filter.go | ||
pubsub_test.go | ||
pubsub.go | ||
rpc_topic_mappings_test.go | ||
rpc_topic_mappings.go | ||
sender_test.go | ||
sender.go | ||
service_test.go | ||
service.go | ||
subnets_test.go | ||
subnets.go | ||
topics.go | ||
utils_test.go | ||
utils.go | ||
watch_peers.go |