prysm-pulse/validator/client
rkapka 1f21e196b6
Fix multiple anti-patterns from DeepSource analysis (#6951)
* Merge variable declaration and assignment
* Use result of type assertion to simplify cases
* Replace call to bytes.Compare with bytes.Equal
* Drop unnecessary use of the blank identifier
* Replace x.Sub(time.Now()) with time.Until(x)
* Function literal can be simplified
* Use a single append to concatenate two slices
* Replace time.Now().Sub(x) with time.Since(x)
* Omit comparison with boolean constant
* Omit redundant nil check on slices
* Nested if can be replaced with else-if
* Function call can be replaced with helper function
* Omit redundant control flow
* Use plain channel send or receive
* Simplify returning boolean expression
* Merge branch 'origin-master' into fix-antipatterns
* Merge branch 'master' into fix-antipatterns
2020-08-10 16:16:45 +00:00
..
aggregate_test.go Applies assertion funcs to validator/client tests (#6654) 2020-07-21 13:02:21 +00:00
aggregate.go Update SignRequest for key manager (#6917) 2020-08-06 18:18:38 -05:00
attest_protect_test.go Handle empty local slashing protection data (#6877) 2020-08-05 01:03:40 +00:00
attest_protect.go Handle empty local slashing protection data (#6877) 2020-08-05 01:03:40 +00:00
attest_test.go Applies assertion funcs to validator/client tests (#6654) 2020-07-21 13:02:21 +00:00
attest.go Update SignRequest for key manager (#6917) 2020-08-06 18:18:38 -05:00
BUILD.bazel Applies assertion funcs to validator/client tests (#6654) 2020-07-21 13:02:21 +00:00
fake_validator_test.go Make external slasher protection fail on load if slasher is not reachable (#6704) 2020-07-27 20:06:49 +00:00
log.go Revert Stream Duties (#6473) 2020-07-02 17:50:05 +00:00
metrics_test.go Show overall validator results in addition to epoch specific results (#6492) 2020-07-07 19:23:56 +00:00
metrics.go Fix multiple anti-patterns from DeepSource analysis (#6951) 2020-08-10 16:16:45 +00:00
propose_protect_test.go Applies assertion funcs to validator/client tests (#6654) 2020-07-21 13:02:21 +00:00
propose_protect.go Merge separated local slashing protection flags (#6487) 2020-07-03 21:01:54 -05:00
propose_test.go Applies assertion funcs to validator/client tests (#6654) 2020-07-21 13:02:21 +00:00
propose.go Update SignRequest for key manager (#6917) 2020-08-06 18:18:38 -05:00
runner_test.go Make external slasher protection fail on load if slasher is not reachable (#6704) 2020-07-27 20:06:49 +00:00
runner.go Make external slasher protection fail on load if slasher is not reachable (#6704) 2020-07-27 20:06:49 +00:00
service_test.go Applies assertion funcs to validator/client tests (#6654) 2020-07-21 13:02:21 +00:00
service.go Fix multiple anti-patterns from DeepSource analysis (#6951) 2020-08-10 16:16:45 +00:00
validator_test.go Applies assertion funcs to validator/client tests (#6654) 2020-07-21 13:02:21 +00:00
validator.go Manual code cleanup (#6906) 2020-08-06 11:29:00 -05:00