Shay Zluf
17169e5a2d
External slashing protection ( #5895 )
...
* slasher grpc client
* do not export
* slasher on a different package
* fix featureconfig
* change to rough time
* revert roughtime
* remove extra comma
* revert order change
* goimports
* fix comments and tests
* fix package name
* revert reorder
* comment for start
* service
* fix visibility
* external slasher validator protection implementation
* gaz
* fix comment
* add comments
* nishant feedback
* raul feedback
* preston feedback
* fix flags
* fix imports
* fix imports
* port 4002
* added tests
* fix log
* fix imports
* fix imports name
* raul feedback
* gaz
* terence comment
* change name
* runtime fixes
* add flag check
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2020-05-20 10:23:22 -05:00
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
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
dee3f02e2c
Change prometheus port for different parts of Prysm ( #5504 )
...
* Change prometheus flag from default 8080 and sort flags
* Merge branch 'master' of https://github.com/prysmaticlabs/prysm into change-prometheus-port
* Fix build
* Merge branch 'master' of https://github.com/prysmaticlabs/prysm into change-prometheus-port
* Merge branch 'master' into change-prometheus-port
2020-04-19 08:36:19 +00:00
Ivan Martinez
0982ff124e
Fix E2E test sharding ( #5248 )
2020-03-30 12:10:00 -04:00
Preston Van Loon
2ab4b86f9b
Allow setting flags via yaml config file. ( #4878 )
2020-03-19 14:46:44 -07:00
shayzluf
b030771174
Slasher span cache ( #4388 )
...
* first version
* cli context
* fix service
* starting change to ccache
* ristretto cache
* added test
* test on evict
* remove evict test
* test onevict
* comment for exported flag
* update all span maps on load
* fix setup db
* span cache added to help flags
* start save cache on exit
* save cache to db before close
* comment fix
* fix flags
* setup db new
* nishant feedback
* workspace cr
* lint fix
* fix calls
* start db
* fix test
* Update slasher/db/db.go
Co-Authored-By: Nishant Das <nishdas93@gmail.com>
* add flag
* nishant feedback
* export Config
* fix imports
* fix imports
* fix imports
* Update slasher/service/service.go
Co-Authored-By: terence tsao <terence@prysmaticlabs.com>
* Update slasher/service/service.go
Co-Authored-By: terence tsao <terence@prysmaticlabs.com>
* Update slasher/service/service.go
Co-Authored-By: terence tsao <terence@prysmaticlabs.com>
* Update slasher/service/service.go
Co-Authored-By: terence tsao <terence@prysmaticlabs.com>
* remove mod print
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
Co-authored-by: Raul Jordan <raul@prysmaticlabs.com>
Co-authored-by: Nishant Das <nish1993@hotmail.com>
Co-authored-by: terence tsao <terence@prysmaticlabs.com>
2020-01-21 23:39:21 -06:00
shayzluf
d93ec64b21
Slasher Grpc client ( #4230 )
...
* grpc connection
* fix order
* Merge branch 'fixInteropGenesis' of https://github.com/prysmaticlabs/prysm into grpc_client
* gaz
* grpc setup
* running version
* added comments
* Merge branch 'master' of github.com:prysmaticlabs/prysm into grpc_client
* fix test
* terence feedback
* terence feedback
* feedback changes
* feedback changes
* comment fix
* Merge branch 'master' of github.com:prysmaticlabs/prysm into grpc_client
* logging when there is no chain head
* rename function
* terence and nishant feedback
* fix imports
* nishant feedback
* fix wait for stop
* fix imports
* fix tests
2019-12-13 07:31:37 +00:00
shayzluf
82de66bb90
slasher grpc server ( #3786 )
...
* first version of the watchtower api
* service files
* Begin work on grpc server
* More changes to server
* REnames and mock setup
* working test
* merge
* double propose detection test
* nishant review
* todo change
* gaz
* fix service
* gaz
* remove unused import
* gaz
* resolve circular dependency
* resolve circular dependency 2nd try
* remove package
* fix package
* fix test
* added tests
* gaz
* remove status check
* gaz
* remove context
* remove context
* change var name
* moved to rpc dir
* gaz
* remove server code
* gaz
* slasher server
* visibility change
* pb
* service update
* gaz
* slasher grpc server
* making it work
* setup db and start
* gaz
* service flags fixes
* grpc service running
* go imports
* remove new initializer
* gaz
* remove feature flags
* change back SetupSlasherDB
* fix SetupSlasherDB calls
* define err
* fix bad merge
* fix test
* fix imports
* fix imports
* fix imports
* add cancel
* comment stop
* fix cancel issue
* remove unneeded code
* bring back bad merge that removed TODO
* fixed slasher to be runable again
* wait for channel close
* gaz
* small test
* flags fix
* fix flag order
* remove flag
2019-10-31 11:26:55 +08:00