Shay Zluf
|
37b68ba983
|
Slasher min span remove lookback (#5591)
* batch db write and read
* fix nil handling
* Merge branch 'master' into batch_min_max_span
* remove commented code
* Merge branch 'master' into batch_min_max_span
* raul feedback
* Merge branch 'batch_min_max_span' of github.com:prysmaticlabs/prysm into batch_min_max_span
* Merge branch 'master' into batch_min_max_span
|
2020-04-23 19:27:06 +00:00 |
|
Shay Zluf
|
9c012cc0c8
|
Deprecate span map cache flag (#5551)
* deprecate span map cache flag
* fix tests
* nishant feedback
* fix startup
* gaz
* nishant feedback
* gaz
* Merge branch 'master' into deprecate_span_cache
* fix img
* Update slasher/usage_test.go
* Merge refs/heads/master into deprecate_span_cache
* Merge refs/heads/master into deprecate_span_cache
* Merge refs/heads/master into deprecate_span_cache
* Merge refs/heads/master into deprecate_span_cache
* Merge refs/heads/master into deprecate_span_cache
* Merge refs/heads/master into deprecate_span_cache
* Merge refs/heads/master into deprecate_span_cache
* Merge refs/heads/master into deprecate_span_cache
* Merge refs/heads/master into deprecate_span_cache
* Merge refs/heads/master into deprecate_span_cache
* Merge refs/heads/master into deprecate_span_cache
* fix up tests
|
2020-04-22 15:53:09 +00:00 |
|
Ivan Martinez
|
d4cd51f23e
|
Change slasher cache to LRU cache (#5037)
* Change cache to LRU cache
* fixes
* REduce db usage
* Fix function name
* Merge issues
* Save on eviction
* Fixes
* Fix
Co-authored-by: terence tsao <terence@prysmaticlabs.com>
|
2020-03-08 17:11:59 -04:00 |
|
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
|
2473680759
|
Add spans to Slasher DB functions (#4855)
* Add interface and move slashing types to /types package
* Add spans for all DB functions
* Fix packages
* Fix func call
|
2020-02-13 13:51:30 -06:00 |
|
Ivan Martinez
|
c44a30672e
|
Change slasher DB structure to mirror beacon-chains (#4848)
* Add interface and move slashing types to /types package
* WIP restructure to match beacon chain DB
* Fix build
* Fix comment
* Fix comments
* fix comments for sure
* Use wrapper function for evict
* Remove unused
* Update slasher/db/kv/kv.go
* Update slasher/db/testing/BUILD.bazel
* Update slasher/db/types/BUILD.bazel
* Update slasher/db/types/types.go
Co-authored-by: Raul Jordan <raul@prysmaticlabs.com>
|
2020-02-13 10:19:46 -06:00 |
|