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
Preston Van Loon
2ab4b86f9b
Allow setting flags via yaml config file. ( #4878 )
2020-03-19 14:46:44 -07:00
shayzluf
01cb01a8f2
On eviction test fix ( #5046 )
2020-03-09 01:35:39 -04: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
66991f0efe
Spanner db ( #4997 )
...
* rem slasher proto
* with cache
* delete old code
* moving to bytes.go fix traces
* moving to bytes.go fix traces
* raul feedback
* raul feedback
* add eviction test
* ivan feedback
* ivan feedback
* some comment improvements
* test included for bytes and bool
* import
* cleanup
* tests pass
* fill in all fields in test
* gaz
Co-authored-by: Raul Jordan <raul@prysmaticlabs.com>
2020-03-04 23:35:14 -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