Victor Farazdagi bf59530d93 Adds block provider scorer (#6756)
* prepares peer scorer collection

* decouples scoring service into separate object

* updates references

* renames package

* removes redundant test init

* gazelle

* gofmt

* updates comment

* fix build

* adds block provider scorer

* score rounding factor constant (per Nishant's suggestion)

* updates penalty applying

* updates score block provider tests

* updates scorer tests

* expand test suite

* get rid of penalties + counters for requested/returned blocks

* removes start score

* fixes provider test

* fixes scorer manager tests

* updates comments

* moves roundScore test function

* maxscore tests

* improves test coverage

* Update beacon-chain/p2p/peers/score_block_providers.go

Co-authored-by: Nishant Das <nishdas93@gmail.com>

* renames var to make it less ambigous - per Nishant's suggestion

Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
Co-authored-by: Nishant Das <nishdas93@gmail.com>
2020-08-01 12:20:05 +03:00
2020-06-01 22:03:33 +00:00
2020-07-23 17:19:05 -05:00
2020-07-23 17:19:05 -05:00
2020-07-31 20:34:44 -05:00
2020-05-05 07:22:26 +00:00
2020-06-25 00:47:51 +00:00
2019-07-22 14:10:17 -05:00
2020-03-06 17:43:06 +00:00
2020-07-30 16:39:57 +00:00
2020-07-30 16:39:57 +00:00
2020-07-30 16:39:57 +00:00
2020-01-25 06:25:58 -08:00
2018-07-20 10:23:48 -05:00
2020-07-30 21:56:36 +00:00
2019-10-14 15:23:20 -07:00
2019-10-23 17:53:33 +08:00
2019-07-19 19:16:10 -05:00

Prysm: An Ethereum 2.0 Client Written in Go

Build status fuzzit ETH2.0_Spec_Version 0.12.2 Discord Gitter

This is the core repository for Prysm, a Golang implementation of the Ethereum 2.0 client specifications developed by Prysmatic Labs.

Getting Started

A detailed set of installation and usage instructions as well as breakdowns of each individual component are available in the official documentation portal. If you still have questions, feel free to stop by either our Discord or Gitter and a member of the team or our community will be happy to assist you.

Come join the testnet!

Participation is now open to the public for our Ethereum 2.0 phase 0 testnet release. Visit prylabs.net for more information on the project or to sign up as a validator on the network. You can visualize the nodes in the network on eth2stats.io, explore validator rewards/penalties via Bitfly's block explorer: beaconcha.in, and follow the latest blocks added to the chain on Etherscan.

Contributing

Want to get involved? Check out our Contribution Guide to learn more!

License

GNU General Public License v3.0

Description
No description provided
Readme 886 MiB
Languages
Go 95.3%
Starlark 4.1%
Shell 0.4%
Smarty 0.1%