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
ae8df9c32b
Slasher optimization ( #4172 )
...
* size
* batching and concurrency improvements
* gaz
* merge fixes
* fix comment
* fix test
* fix test
* fix build
* ethpb
* ethpb
* fix test
* fix comment
* add benchmark
* fix benchmark
2019-12-04 12:09:38 +05:30
Raul Jordan
0326be86b5
Apply Patch Rules to Use EthereumAPIs Generated Protos in Prysm ( #4112 )
...
* starting on patch
* finish determining all required patches
* properly redefine the patch rules
* new patch
* rem double semicolon
* fix patch file
* Merge branch 'master' of github.com:prysmaticlabs/prysm into deprecate-eth-protos
* building the deps
* test target passes using ethereumapis
* compile gateway
* attempting to build everything
* e2e use ethereumapis
* more fixes for slasher
* other item
* getting closer to compiling slasher
* build slasher package
* Merge branch 'master' into deprecate-eth-protos
* Merge branch 'master' into deprecate-eth-protos
* fix benches
* lint gazelle
* Merge branch 'deprecate-eth-protos' of github.com:prysmaticlabs/prysm into deprecate-eth-protos
* proper gateway
* lint
* Merge branch 'master' into deprecate-eth-protos
* fix build
* Merge branch 'deprecate-eth-protos' of github.com:prysmaticlabs/prysm into deprecate-eth-protos
* use swag
* resolve
* ignore change
* include new patch changes
* fix test
* builds
* fix e2e
* gaz
2019-11-27 05:08:18 +00:00
shayzluf
4330839bc1
Add surround check to endpoint ( #4065 )
...
* 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
* remove use of epoch as am input
* fixed slasher to be runable again
* wait for channel close
* gaz
* small test
* flags fix
* fix flag order
* double vote detection
* remove source epoch from indexed attestation indices
* change server method to receive indexed attestation
* start implementation
* double vote detection
* proto
* pb
* fir comment
* add surround detection and retrieval to endpoint
* nishant review
* import fix
* fix miss order
* fix detection 0 case
added tests
* terence review
2019-11-21 12:41:23 +05:30
shayzluf
607f086de9
Surround detection ( #3967 )
...
* min max span update logic
* add comment to exported method
* Update slasher/rpc/update_min_max_span.go
Co-Authored-By: Raul Jordan <raul@prysmaticlabs.com>
* Update slasher/rpc/update_min_max_span.go
Co-Authored-By: Raul Jordan <raul@prysmaticlabs.com>
* Update slasher/rpc/update_min_max_span.go
Co-Authored-By: Raul Jordan <raul@prysmaticlabs.com>
* Update slasher/rpc/update_min_max_span_test.go
Co-Authored-By: Raul Jordan <raul@prysmaticlabs.com>
* Update slasher/rpc/update_min_max_span.go
Co-Authored-By: terence tsao <terence@prysmaticlabs.com>
* Update slasher/rpc/update_min_max_span.go
Co-Authored-By: Raul Jordan <raul@prysmaticlabs.com>
* weak subjectivity error
* add context
* SlasherDb change to SlasherDB
* gaz
* raul feedback
* fix old problem
* gofmt goimports
* gaz
* import fix
* change order
* min max span detection
* added benchmark
* max diff without error
* Update slasher/rpc/detect_update_min_max_span_bench_test.go
Co-Authored-By: Raul Jordan <raul@prysmaticlabs.com>
* Update slasher/db/indexed_attestations.go
Co-Authored-By: Raul Jordan <raul@prysmaticlabs.com>
* Update slasher/rpc/detect_update_min_max_span_bench_test.go
Co-Authored-By: Raul Jordan <raul@prysmaticlabs.com>
* Update slasher/rpc/detect_update_min_max_span_test.go
Co-Authored-By: Raul Jordan <raul@prysmaticlabs.com>
* Update slasher/rpc/detect_update_min_max_span.go
Co-Authored-By: Raul Jordan <raul@prysmaticlabs.com>
* Update slasher/rpc/detect_update_min_max_span_test.go
Co-Authored-By: Raul Jordan <raul@prysmaticlabs.com>
* Update slasher/rpc/detect_update_min_max_span_bench_test.go
Co-Authored-By: Raul Jordan <raul@prysmaticlabs.com>
* raul feedback, benchmark fix
* raul feedback
* gaz
* fix merge
* bench fix
* another bench fix
* comments
* changed names of functions and proto
* name change fix
* name change fix
* fix test
* clarification comment
* change to interface
* Update proto/eth/v1alpha1/slasher.proto
Co-Authored-By: Ivan Martinez <ivanthegreatdev@gmail.com>
* Update slasher/rpc/detect_update_min_max_span.go
Co-Authored-By: Raul Jordan <raul@prysmaticlabs.com>
* Update slasher/rpc/detect_update_min_max_span.go
Co-Authored-By: Raul Jordan <raul@prysmaticlabs.com>
* change order to reduce confusion
* Update proto/eth/v1alpha1/slasher.proto
Co-Authored-By: terence tsao <terence@prysmaticlabs.com>
* Update slasher/rpc/detect_update_min_max_span.go
Co-Authored-By: terence tsao <terence@prysmaticlabs.com>
* Update slasher/rpc/detect_update_min_max_span.go
Co-Authored-By: terence tsao <terence@prysmaticlabs.com>
* Update slasher/rpc/detect_update_min_max_span.go
Co-Authored-By: terence tsao <terence@prysmaticlabs.com>
* Apply suggestions from code review
Co-Authored-By: terence tsao <terence@prysmaticlabs.com>
* Update slasher/rpc/detect_update_min_max_span.go
* Fix some comments
* terence feedback
* preston feedback
* fix test
* fix comments
2019-11-18 13:49:39 -06:00