prysm-pulse/shared
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
..
aggregation Code quality issues - Remove unused code (#6864) 2020-08-05 13:59:46 +02:00
attestationutil Applies assertion funcs to shared tests (part 1) (#6626) 2020-07-18 16:31:42 +00:00
benchutil Applies assertion funcs to shared tests (part 1) (#6626) 2020-07-18 16:31:42 +00:00
blockutil Applies assertion funcs to shared tests (part 1) (#6626) 2020-07-18 16:31:42 +00:00
bls Fix multiple anti-patterns from DeepSource analysis (#6951) 2020-08-10 16:16:45 +00:00
bytesutil Fix multiple anti-patterns from DeepSource analysis (#6951) 2020-08-10 16:16:45 +00:00
cmd Refactor Wallet Password Handling, Preventing Wallet Corruption (#6933) 2020-08-10 18:54:40 +00:00
debug Only build with cgosymbolizer when explicitly requested (#6151) 2020-06-05 22:21:43 +00:00
depositutil Fix deposit data copy (#6847) 2020-08-03 16:25:19 +03:00
event Move hard-coded constants to global consts (#6467) 2020-07-03 15:25:32 +00:00
featureconfig Peer scoring: init sync (#6709) 2020-08-13 17:33:57 +00:00
fileutil Refactor Wallet Password Handling, Preventing Wallet Corruption (#6933) 2020-08-10 18:54:40 +00:00
grpcutils Fix multiple anti-patterns from DeepSource analysis (#6951) 2020-08-10 16:16:45 +00:00
hashutil Applies assertion funcs to shared tests (#6643) 2020-07-19 21:08:29 +00:00
htrutils Simplify make call by omitting redundant arguments (#6949) 2020-08-10 11:06:53 +00:00
interop Applies assertion funcs to shared tests (#6643) 2020-07-19 21:08:29 +00:00
iputils Applies assertion funcs to shared tests (#6643) 2020-07-19 21:08:29 +00:00
keystore Add separate permission for directories. (#6532) 2020-07-09 22:05:43 +08:00
logutil QSP-14 consistent file permissions (#6378) 2020-06-25 16:12:59 +00:00
mathutil libfuzz based tests (#5095) 2020-05-05 07:22:26 +00:00
maxprocs automaxprocs: Log error to DEBUG instead of panic (#6592) 2020-07-14 01:51:07 +00:00
mclockutil libfuzz based tests (#5095) 2020-05-05 07:22:26 +00:00
messagehandler Moves AssertLogsContains to assertions package (#6985) 2020-08-13 16:22:25 +00:00
mock Remote Keymanager: Proto Definitions and Basic Client Implementation (#6526) 2020-07-10 05:49:56 +00:00
mputil libfuzz based tests (#5095) 2020-05-05 07:22:26 +00:00
p2putils Fix Fork Data in Local Node (#5997) 2020-05-27 08:07:40 -07:00
pagination Fix Pagination Bug When Total Size % Page Size == 0 (#6266) 2020-06-19 09:39:12 -05:00
params Add and use genesis time in config (#6966) 2020-08-11 14:36:32 -05:00
petnames Accounts V2: Derived Keymanager Sign (#6667) 2020-07-21 21:15:47 +00:00
prometheus Manual code cleanup (#6906) 2020-08-06 11:29:00 -05:00
promptutil Implement Accounts-V2 Backup for Direct Keymanager (#6936) 2020-08-11 23:15:06 +00:00
rand QSP-6: Enforces crypto-secure PRNGs (#6401) 2020-06-26 09:58:47 -05:00
roughtime Check roughtime more frequently when there is a large clock offset (#6879) 2020-08-05 12:31:13 +00:00
runutil libfuzz based tests (#5095) 2020-05-05 07:22:26 +00:00
sliceutil Improve make() capacity allocations (#6517) 2020-07-09 15:50:58 +00:00
slotutil Moves AssertLogsContains to assertions package (#6985) 2020-08-13 16:22:25 +00:00
testutil Moves AssertLogsContains to assertions package (#6985) 2020-08-13 16:22:25 +00:00
traceutil libfuzz based tests (#5095) 2020-05-05 07:22:26 +00:00
tracing libfuzz based tests (#5095) 2020-05-05 07:22:26 +00:00
trieutil Simplify make call by omitting redundant arguments (#6949) 2020-08-10 11:06:53 +00:00
version Use STABLE_ prefix for git tag to force a relink of version (#6307) 2020-06-18 19:59:47 +00:00
BUILD.bazel libfuzz based tests (#5095) 2020-05-05 07:22:26 +00:00
service_registry_test.go Makes test naming consistent across codebase (#1636) 2019-02-22 07:11:26 -08:00
service_registry.go Improve make() capacity allocations (#6517) 2020-07-09 15:50:58 +00:00