prysm-pulse/beacon-chain/p2p
Victor Farazdagi 4de0b9fe69
Peer scoring: init sync (#6709)
* refactors redundant part of varname
* introduces score_block_providers
* Merge branch 'master' into init-sync-peer-scoring-slow-peers
* gazelle
* adds comment
* Merge branch 'master' into init-sync-peer-scoring-slow-peers
* removes redundant checks
* add block provider decay test
* Merge branch 'master' into init-sync-peer-scoring-slow-peers
* adds case
* penalize inactive peers
* adds scorebadresponses test
* inroduces no-activity penalty
* gazelle
* gofmt
* Merge branch 'master' into init-sync-peer-scoring-slow-peers
* expanded tests
* implement SortBlockProviders
* change -> update
* updates block fetcher peer filter
* fixes test
* allows to keep track of peer id
* updates scoring coefficients
* fixes test
* block fetcher update
* Merge branch 'master' into init-sync-peer-scoring-slow-peers
* disables empty batch penalty
* Merge branch 'master' into init-sync-peer-scoring-slow-peers
* Merge branch 'master' into init-sync-peer-scoring-slow-peers
* removes outdated code
* update filterPeers
* gazelle
* updates var
* revert changes to var name
* updates blocks_fetcher
* minor fix to import name
* Merge branch 'master' into init-sync-peer-scoring-slow-peers
* add max processed blocks cap
* impoves scoring of stale peers
* Merge branch 'master' into init-sync-peer-scoring-slow-peers
* fixes test
* adds weight sorting to scored peers
* return pid when fetching batches
* updates round robin
* gazelle
* Merge branch 'master' into init-sync-peer-scoring-slow-peers
* updates block provider decay count
* go tidy
* cherry pick
* fixes test
* go tidy
* Merge branch 'peer-scorer-weighted-sorter' into init-sync-peer-scoring-slow-peers
* Merge branch 'master' into init-sync-peer-scoring-slow-peers
* Merge branch 'master' into init-sync-peer-scoring-slow-peers
* refactors blocks fetcher: repackage methods
* Merge branch 'refactor-blocks-fetcher' into init-sync-peer-scoring-slow-peers
* minor fixes
* Merge branch 'master' into init-sync-peer-scoring-slow-peers
* Merge branch 'master' into init-sync-peer-scoring-slow-peers
* allow scores in range (0;1) in weighted filter
* filterScoredPeers improve test suite
* puts feature behind the flag
* Merge branch 'master' into init-sync-peer-scoring-slow-peers
* Merge refs/heads/master into init-sync-peer-scoring-slow-peers
* fixes tests
* Merge branch 'init-sync-peer-scoring-slow-peers' of github.com:prysmaticlabs/prysm into init-sync-peer-scoring-slow-peers
* Merge refs/heads/master into init-sync-peer-scoring-slow-peers
* Merge branch 'master' into init-sync-peer-scoring-slow-peers
* Merge refs/heads/master into init-sync-peer-scoring-slow-peers
* Update beacon-chain/sync/initial-sync/blocks_fetcher_test.go

Co-authored-by: Shay Zluf <thezluf@gmail.com>
* Nishant's suggestion on peer limit variable
* better explanation of non-blocking peer scoring
* Shay's sugession on peer naming
* Merge refs/heads/master into init-sync-peer-scoring-slow-peers
* Merge refs/heads/master into init-sync-peer-scoring-slow-peers
* Update beacon-chain/sync/initial-sync/blocks_fetcher.go

Co-authored-by: Nishant Das <nishdas93@gmail.com>
* Merge refs/heads/master into init-sync-peer-scoring-slow-peers
* gofmt
* Merge refs/heads/master into init-sync-peer-scoring-slow-peers
* Merge refs/heads/master into init-sync-peer-scoring-slow-peers
* Merge refs/heads/master into init-sync-peer-scoring-slow-peers
2020-08-13 17:33:57 +00:00
..
encoder Remove Deprecated SSZ Decode Edge Case for BeaconBlocksByRoots (#6771) 2020-07-29 23:15:14 +00:00
peers Peer scoring: init sync (#6709) 2020-08-13 17:33:57 +00:00
testing Fix multiple anti-patterns from DeepSource analysis (#6951) 2020-08-10 16:16:45 +00:00
addr_factory_test.go Applies assertion funcs to p2p tests (#6597) 2020-07-14 16:51:39 +00:00
addr_factory.go QSP-47 Remove Meaningless Relay Addr Check (#6388) 2020-06-25 09:16:30 +00:00
broadcaster_test.go Wait for subnet peers before broadcasting onto attestation subnet topic (#6893) 2020-08-10 10:27:50 -05:00
broadcaster.go Wait for subnet peers before broadcasting onto attestation subnet topic (#6893) 2020-08-10 10:27:50 -05:00
BUILD.bazel Wait for subnet peers before broadcasting onto attestation subnet topic (#6893) 2020-08-10 10:27:50 -05:00
config.go QSP-13 Only Allow Snappy P2P Encoding (#6415) 2020-07-03 11:24:30 +08:00
connection_gater_test.go Harden Against DOS Attacks (#6780) 2020-07-30 18:42:22 +00:00
connection_gater.go Harden Against DOS Attacks (#6780) 2020-07-30 18:42:22 +00:00
dial_relay_node_test.go Applies assertion funcs to p2p tests (#6597) 2020-07-14 16:51:39 +00:00
dial_relay_node.go Refactors calls to deprecated libp2p methods (#6554) 2020-07-13 02:28:40 +00:00
discovery_test.go Moves AssertLogsContains to assertions package (#6985) 2020-08-13 16:22:25 +00:00
discovery.go support domains in discoveryV5 (#6958) 2020-08-11 18:33:27 +08:00
doc.go Fix old markdown links (#4603) 2020-01-21 03:30:35 +00:00
fork_test.go Moves AssertLogsContains to assertions package (#6985) 2020-08-13 16:22:25 +00:00
fork.go Update Node RPC Endpoints (#6289) 2020-06-18 03:53:46 +00:00
gossip_topic_mappings_test.go Update run time to v0.9.3 (#4154) 2020-01-07 18:47:39 +00:00
gossip_topic_mappings.go Move subnet topics to global vars (#6525) 2020-07-09 17:38:15 +00:00
handshake.go Fix Handshake (#6776) 2020-07-30 01:04:35 +00:00
info.go Align code base to v0.11 (#5127) 2020-04-14 20:27:03 +00:00
interfaces.go Wait for subnet peers before broadcasting onto attestation subnet topic (#6893) 2020-08-10 10:27:50 -05:00
log.go Clean Up P2P Service (#6574) 2020-07-13 04:16:24 +00:00
monitoring.go Wait for subnet peers before broadcasting onto attestation subnet topic (#6893) 2020-08-10 10:27:50 -05:00
options_test.go Applies assertion funcs to p2p tests (#6597) 2020-07-14 16:51:39 +00:00
options.go Fix Local IP Address (#6781) 2020-07-30 20:23:30 +00:00
parameter_test.go Update Pubsub Parameters (#6744) 2020-07-29 11:14:15 -05:00
pubsub_test.go Fixes issue with concurrent map writes in gossipsub (#6731) 2020-07-27 00:56:55 +00:00
pubsub.go Wait for subnet peers before broadcasting onto attestation subnet topic (#6893) 2020-08-10 10:27:50 -05:00
rpc_topic_mappings_test.go Applies assertion funcs to p2p tests (#6597) 2020-07-14 16:51:39 +00:00
rpc_topic_mappings.go Validate RPC Topics Before Sending Requests (#6558) 2020-07-13 09:20:53 +08:00
sender_test.go Applies assertion funcs to p2p tests (#6597) 2020-07-14 16:51:39 +00:00
sender.go QSP 32: Add Appropriate Stream Deadlines for RPC Requests (#6583) 2020-07-13 19:40:12 +00:00
service_test.go Moves AssertLogsContains to assertions package (#6985) 2020-08-13 16:22:25 +00:00
service.go Fix antipatterns (#6961) 2020-08-11 12:14:28 +00:00
subnets_test.go Wait for subnet peers before broadcasting onto attestation subnet topic (#6893) 2020-08-10 10:27:50 -05:00
subnets.go Wait for subnet peers before broadcasting onto attestation subnet topic (#6893) 2020-08-10 10:27:50 -05:00
topics.go Move subnet topics to global vars (#6525) 2020-07-09 17:38:15 +00:00
utils_test.go Moves AssertLogsContains to assertions package (#6985) 2020-08-13 16:22:25 +00:00
utils.go QSP-14 consistent file permissions (#6378) 2020-06-25 16:12:59 +00:00
watch_peers.go Refactors calls to deprecated libp2p methods (#6554) 2020-07-13 02:28:40 +00:00