Raul Jordan
14b3181e67
Plug-In Attester Slashing Detection Into Slasher Runtime ( #4937 )
...
* more spanner additions
* implement iface
* begin implement
* wrapped up spanner functions
* rem interface
* added in necessary comments
* comments on enums
* begin adding tests
* plug in surround vote detection
* saved indexed db implementation
* finally plugin slashing for historical data
* Small fixes
* add in all gazelle
* save incoming new functions
* resolve todo
* fix broken test channel item
* tests passing when fixing certain arguments and setups
* Add comment and change unimplemented
* find surround
* added in gazelle
* gazz
* feedback from shay
* fixed up naming
* Update
* Add tests for detectSurroundVotes
* Remove logs
* Fix slasher test
* formatting
* Remove unneeded condition
* Test indices better
* fixing broken build
* pass tests
* skip tests
* imports
* Update slasher/detection/attestations/attestations_test.go
* Update slasher/beaconclient/historical_data_retrieval_test.go
* Address comments
* Rename function
* Add comment for future optimization
* Fix comment
Co-authored-by: Ivan Martinez <ivanthegreatdev@gmail.com>
2020-02-27 12:22:39 -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
Raul Jordan
6fe86a3b30
Define an Efficient Spanner Struct Implementation for Slasher ( #4920 )
...
* more spanner additions
* implement iface
* begin implement
* wrapped up spanner functions
* rem interface
* added in necessary comments
* comments on enums
* begin adding tests
* test for detection
* add all detection tests
* moar tests
* tests for deleting pass
* dd test for update spans
* tests for updating
* include tracing utils
* gaz
* add mutexes
* ivan feedback
2020-02-22 08:57:24 -06:00
Ivan Martinez
90ed37a655
Cleanup detection code ( #4915 )
2020-02-20 08:56:37 -06:00
Raul Jordan
868c8f5dd4
Detection Service Creation ( #4867 )
...
* visibility added
* register in node
* fixed up imports
* include detection listeners for feed
* subscribe to blocks and todos
* tests passing
* todos
* pkg comment
2020-02-14 13:03:25 -06:00