Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Merged by Bors] - Implement slasher #1567

Closed
wants to merge 40 commits into from
Closed
Show file tree
Hide file tree
Changes from 34 commits
Commits
Show all changes
40 commits
Select commit Hold shift + click to select a range
f0991ee
Experimental slasher implementation
michaelsproul Aug 26, 2020
ca78ffc
Some new tests
michaelsproul Aug 27, 2020
08b5bb9
Fix concurrency bug in attestation queue
michaelsproul Aug 27, 2020
88cd3ae
Silence, clippy
michaelsproul Aug 27, 2020
0ab57fc
Ensure attestation signatures are verified
michaelsproul Sep 8, 2020
934b376
Clean up collected slashing verification
michaelsproul Sep 8, 2020
6beda70
Clean up sig verification
michaelsproul Sep 8, 2020
a972fa6
Enable chunk compression!
michaelsproul Sep 8, 2020
1ca2b26
Ingest from blocks, persist more often
michaelsproul Sep 9, 2020
3bdde34
Queue slasher updates to avoid contention
michaelsproul Sep 9, 2020
2299e85
Store attestation data hash to avoid pubkey deser
michaelsproul Sep 9, 2020
865dad5
Reduce the amount of attestation hashing
michaelsproul Sep 11, 2020
463d4c8
Make slasher update period configurable
michaelsproul Sep 11, 2020
1542737
Fix merge conflicts
michaelsproul Oct 5, 2020
49d6b81
Merge remote-tracking branch 'origin/master' into slasher
michaelsproul Oct 25, 2020
d92c7fb
Add proposer slashing detection
michaelsproul Oct 26, 2020
661ec83
Integrate proposer slashing into BN
michaelsproul Oct 27, 2020
b2693a5
Remove dodgy shim
michaelsproul Oct 27, 2020
de41d8c
Add pruning and epoch tracking
michaelsproul Oct 28, 2020
363a718
Add time validation
michaelsproul Oct 30, 2020
19f073d
Initial fuzzing tests
michaelsproul Oct 30, 2020
f74346f
No moar crashes
michaelsproul Nov 2, 2020
7c55bf7
Seemingly stable
michaelsproul Nov 4, 2020
b697dac
Resolve more fixmes
michaelsproul Nov 4, 2020
2eac954
Address almost all remaining FIXMEs
michaelsproul Nov 5, 2020
4bbaf7e
Remove printlns
michaelsproul Nov 5, 2020
78a7eca
Merge remote-tracking branch 'origin/master' into slasher
michaelsproul Nov 5, 2020
188900e
Tidy up some more, add CLI config
michaelsproul Nov 5, 2020
cffd2d6
More configuration, docs
michaelsproul Nov 6, 2020
244954d
Fix Clippy lints
michaelsproul Nov 6, 2020
e075963
Remove unused benchmark
michaelsproul Nov 6, 2020
4790aff
Self-review: docs, etc
michaelsproul Nov 6, 2020
6d4b4e4
Merge remote-tracking branch 'origin/master' into slasher
michaelsproul Nov 10, 2020
2c7e444
Prune even if batch processing fails
michaelsproul Nov 10, 2020
776fd4c
Merge remote-tracking branch 'origin/master' into slasher
michaelsproul Nov 13, 2020
fdbfebd
Address Paul's review comments
michaelsproul Nov 18, 2020
44126f2
Merge remote-tracking branch 'origin/master' into slasher
michaelsproul Nov 18, 2020
756b9ae
Fix bug in block pruning, add metrics
michaelsproul Nov 18, 2020
32f7390
Add more metrics
michaelsproul Nov 19, 2020
97228b5
Merge remote-tracking branch 'origin/master' into slasher
michaelsproul Nov 23, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
54 changes: 54 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,8 @@ members = [
"remote_signer/backend",
"remote_signer/client",

"slasher",

"testing/ef_tests",
"testing/eth1_test_rig",
"testing/node_test_rig",
Expand Down
1 change: 1 addition & 0 deletions beacon_node/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -43,3 +43,4 @@ clap_utils = { path = "../common/clap_utils" }
hyper = "0.13.8"
lighthouse_version = { path = "../common/lighthouse_version" }
hex = "0.4.2"
slasher = { path = "../slasher" }
1 change: 1 addition & 0 deletions beacon_node/beacon_chain/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -61,4 +61,5 @@ derivative = "2.1.1"
itertools = "0.9.0"
regex = "1.3.9"
exit-future = "0.2.0"
slasher = { path = "../../slasher" }
eth2 = { path = "../../common/eth2" }
Loading