prysm-pulse/beacon-chain/blockchain
Preston Van Loon 7cc32c4dda
Various code inspection resolutions (#7438)
* remove unused code

* remove defer use in loop

* Remove unused methods and constants

* gofmt and gaz

* nilness check

* remove unused args

* Add TODO for refactoring subscribeWithBase to remove unused arg. It seems too involved to include in this sweeping PR. https://github.com/prysmaticlabs/prysm/issues/7437

* replace empty slice declaration

* Remove unnecessary type conversions

* remove redundant type declaration

* rename receivers to be consistent

* Remove bootnode query tool. It is now obsolete by discv5

* Remove relay node. It is no longer used or supported

* Revert "Remove relay node. It is no longer used or supported"

This reverts commit 4bd7717334dad85ef4766ed9bc4da711fb5fa810.

* Delete unused test directory

* Delete unsupported gcp startup script

* Delete old k8s script

* build fixes

* fix build

* go mod tidy

* revert slasher/db/kv/block_header.go

* fix build

* remove redundant nil check

* combine func args

Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
Co-authored-by: Victor Farazdagi <simple.square@gmail.com>
2020-10-12 08:11:05 +00:00
..
testing Various code inspection resolutions (#7438) 2020-10-12 08:11:05 +00:00
BUILD.bazel Add, use and test VerifyWeakSubjectivityRoot (#7344) 2020-09-26 08:04:07 +00:00
chain_info_norace_test.go Applies assertion funcs to blockchain tests (#6605) 2020-07-16 12:11:39 +00:00
chain_info_test.go Verify interface compliance using typed nil instead of dereferencing and conversion (#7489) 2020-10-10 00:36:48 +00:00
chain_info.go Refactor head info for better usages for lock (#7432) 2020-10-06 10:57:18 +00:00
checkpoint_info_cache_test.go Update fastssz: Attempt 2 (#7115) 2020-08-27 18:13:32 +00:00
checkpoint_info_cache.go Implement checkpt info cache (#7070) 2020-08-21 08:50:21 -07:00
head_test.go Update fastssz: Attempt 2 (#7115) 2020-08-27 18:13:32 +00:00
head.go Remove duplicate imports (#7491) 2020-10-10 03:54:31 +00:00
info_test.go Fix ineffectual assignments (#7403) 2020-10-01 18:53:36 +00:00
info.go Refactor head info for better usages for lock (#7432) 2020-10-06 10:57:18 +00:00
init_sync_process_block.go Move skip-regen-historical-states to deprecated (#6512) 2020-07-08 00:15:45 +00:00
log.go Unnecessary Slice-to-Slice Conversion analyzer (#7321) 2020-09-23 16:14:34 +00:00
metrics.go Various code inspection resolutions (#7438) 2020-10-12 08:11:05 +00:00
process_attestation_helpers.go Various code inspection resolutions (#7438) 2020-10-12 08:11:05 +00:00
process_attestation_test.go Fixes incorrect checks for errors in several tests (#7392) 2020-10-01 14:38:53 +00:00
process_attestation.go Various code inspection resolutions (#7438) 2020-10-12 08:11:05 +00:00
process_block_helpers.go Refactor ancestor lookup (#7472) 2020-10-10 00:07:56 +00:00
process_block_test.go Various code inspection resolutions (#7438) 2020-10-12 08:11:05 +00:00
process_block.go Cache deposits only up to finalized block (#7453) 2020-10-08 10:12:21 +00:00
receive_attestation_test.go Prevent far future target epoch for attestation state (#7169) 2020-09-03 13:18:38 -05:00
receive_attestation.go Replace Roughtime With Timeutils Across Prysm (#7301) 2020-09-22 19:49:58 +08:00
receive_block_test.go Fix ineffectual assignments (#7403) 2020-10-01 18:53:36 +00:00
receive_block.go Refactor head info for better usages for lock (#7432) 2020-10-06 10:57:18 +00:00
service_norace_test.go Applies assertion funcs to blockchain tests (#6605) 2020-07-16 12:11:39 +00:00
service_test.go Verify interface compliance using typed nil instead of dereferencing and conversion (#7489) 2020-10-10 00:36:48 +00:00
service.go Remove redundant err checking (#7488) 2020-10-09 23:39:23 +00:00
weak_subjectivity_checks_test.go Add, use and test VerifyWeakSubjectivityRoot (#7344) 2020-09-26 08:04:07 +00:00
weak_subjectivity_checks.go Add, use and test VerifyWeakSubjectivityRoot (#7344) 2020-09-26 08:04:07 +00:00