Raul Jordan
546196a6fa
Other Package Godocs for Prysm ( #5681 )
...
* e2e docs
* slasher docs
* Merge branch 'other-package-godocs' of github.com:prysmaticlabs/prysm into other-package-godocs
* all validator package comments
* Merge branch 'master' into other-package-godocs
* completed all other packages
* Merge branch 'master' into other-package-godocs
* Merge refs/heads/master into other-package-godocs
2020-04-29 21:32:39 +00:00
Ivan Martinez
b633dfe880
Change detection and updating in Slasher to per attestation ( #5043 )
...
* Change span updates to update multiple validators at once
* Change detection to perform on multiple validators at once
* Fix minspan issue
* Fix indices
* Fix test
* Remove logs
* Remove more logs
* Update slasher/detection/attestations/spanner_test.go
* Update slasher/detection/attestations/spanner_test.go
* Update slasher/detection/attestations/spanner_test.go
* Update slasher/detection/detect.go
* nil check
* fix ununsed import
Co-authored-by: Raul Jordan <raul@prysmaticlabs.com>
2020-03-09 13:14:19 -05:00
Raul Jordan
6158a648cd
Plugging in spanner db ( #5009 )
...
* rem slasher proto
* with cache
* delete old code
* moving to bytes.go fix traces
* moving to bytes.go fix traces
* raul feedback
* raul feedback
* begin
* add eviction test
* ivan feedback
* ivan feedback
* test is running
* some comment improvements
* test included for bytes and bool
* import
* cleanup
* tests pass
* fill in all fields in test
* gaz
* fix integration
* gaz + goimports
* fix service.go
* remove sleep
* cleanup
Co-authored-by: Raul Jordan <raul@prysmaticlabs.com>
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2020-03-05 12:11:54 -06:00
Ivan Martinez
703ce63c12
Change span representation to a struct in Slasher ( #4981 )
...
* Remove filter, replace with slot + committee index
* Change bloom filter to 2 sig bytes
* Fix comment
* Fix line
2020-03-03 15:28:23 +05:30
Ivan Martinez
31b1e6a7a8
Add double vote detection to spanner ( #4954 )
...
* Add double vote detection to spanner
* Add documentation
* Update slasher/detection/attestations/spanner.go
* Gazelle
* Fix filter output
2020-02-27 17:21:05 -05:00
Ivan Martinez
e7b94123ce
Add interface for spanner and MockSpanner ( #4956 )
...
* Add interface for spanner
* Add MockSpanner for future testing
* Add comment
* gazelle
2020-02-26 22:48:02 -06:00