prysm-pulse/slasher
Ivan Martinez de2ec8e575
Update README for Slasher (#5106)
* Add readme
2020-03-15 18:46:21 +00:00
..
beaconclient fix slasher rpc disconnect on error (#5092) 2020-03-13 10:59:14 -05:00
cache Add in Slasher Metrics (#5060) 2020-03-10 19:41:55 +00:00
db Add in Slasher Metrics (#5060) 2020-03-10 19:41:55 +00:00
detection Add Slasher to E2E (#5061) 2020-03-15 01:09:23 -04:00
flags Slasher span cache (#4388) 2020-01-21 23:39:21 -06:00
node On eviction test fix (#5046) 2020-03-09 01:35:39 -04:00
rpc Stub Slasher RPC Methods (#4995) 2020-03-03 22:09:35 +00:00
BUILD.bazel Add Slasher to E2E (#5061) 2020-03-15 01:09:23 -04:00
main.go Implementing Slasher Node Runtime (#4856) 2020-02-14 07:09:54 +00:00
README.md Update README for Slasher (#5106) 2020-03-15 18:46:21 +00:00
usage_test.go slasher grpc server (#3786) 2019-10-31 11:26:55 +08:00
usage.go Implementing Slasher Node Runtime (#4856) 2020-02-14 07:09:54 +00:00

Hash Slinging Slasher Server Implementation

This is the main project folder for a slasher server implementation for Ethereum Serenity in Golang by Prysmatic Labs. A slasher listens for all broadcasted messages using a running beacon node in order to detect slashable attestations and block proposals. It uses the min-max-surround method by Protolambda.

The slasher requires a connection to a synced beacon node in order to listen for attestations and block proposals. To run the slasher, type:

bazel run //slasher -- \
    --datadir PATH/FOR/DB \
    --span-map-cache \
    --beacon-rpc-provider localhost:4000

The beacon node entered in beacon-rpc-provider will then receive slashings from the slasher client and send them to any requesting proposer to be put into a block.