prysm-pulse/beacon-chain/p2p
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
..
encoder Various code inspection resolutions (#7438) 2020-10-12 08:11:05 +00:00
peers Refactor peer scorer into peerdata + scorers (#7452) 2020-10-07 13:08:51 +00:00
testing Various code inspection resolutions (#7438) 2020-10-12 08:11:05 +00:00
addr_factory_test.go Apply testutils assertions: final cleanup (#7003) 2020-08-25 15:23:06 +00:00
addr_factory.go QSP-47 Remove Meaningless Relay Addr Check (#6388) 2020-06-25 09:16:30 +00:00
broadcaster_test.go Refactor peer scorer into peerdata + scorers (#7452) 2020-10-07 13:08:51 +00:00
broadcaster.go Wait for subnet peers before broadcasting onto attestation subnet topic (#6893) 2020-08-10 10:27:50 -05:00
BUILD.bazel Various code inspection resolutions (#7438) 2020-10-12 08:11:05 +00:00
config.go QSP-13 Only Allow Snappy P2P Encoding (#6415) 2020-07-03 11:24:30 +08:00
connection_gater_test.go Refactor peer scorer into peerdata + scorers (#7452) 2020-10-07 13:08:51 +00:00
connection_gater.go Various code inspection resolutions (#7438) 2020-10-12 08:11:05 +00:00
dial_relay_node_test.go Applies assertion funcs to p2p tests (#6597) 2020-07-14 16:51:39 +00:00
dial_relay_node.go Refactors calls to deprecated libp2p methods (#6554) 2020-07-13 02:28:40 +00:00
discovery_test.go Core pkg: properly return errs (#7246) 2020-09-15 22:55:57 -05:00
discovery.go Listen to all Network Interfaces for discovery (#7434) 2020-10-08 15:16:18 +00:00
doc.go Fix old markdown links (#4603) 2020-01-21 03:30:35 +00:00
fork_test.go Various code inspection resolutions (#7438) 2020-10-12 08:11:05 +00:00
fork.go Fix ineffectual assignments (#7403) 2020-10-01 18:53:36 +00:00
gossip_topic_mappings_test.go Update run time to v0.9.3 (#4154) 2020-01-07 18:47:39 +00:00
gossip_topic_mappings.go Move subnet topics to global vars (#6525) 2020-07-09 17:38:15 +00:00
handshake.go Refactor peer scorer into peerdata + scorers (#7452) 2020-10-07 13:08:51 +00:00
info.go Align code base to v0.11 (#5127) 2020-04-14 20:27:03 +00:00
interfaces.go Wait for subnet peers before broadcasting onto attestation subnet topic (#6893) 2020-08-10 10:27:50 -05:00
log.go Clean Up P2P Service (#6574) 2020-07-13 04:16:24 +00:00
monitoring.go Wait for subnet peers before broadcasting onto attestation subnet topic (#6893) 2020-08-10 10:27:50 -05:00
options_test.go Fix ineffectual assignments (#7403) 2020-10-01 18:53:36 +00:00
options.go Disable Libp2p Protocols (#7345) 2020-09-25 12:33:28 +00:00
parameter_test.go Update Pubsub Parameters (#6744) 2020-07-29 11:14:15 -05:00
pubsub_test.go use full hash (#7416) 2020-10-02 23:08:51 +08:00
pubsub.go use full hash (#7416) 2020-10-02 23:08:51 +08:00
rpc_topic_mappings_test.go Remove Deprecated Request Type (#7153) 2020-09-01 13:35:30 +00:00
rpc_topic_mappings.go Remove Deprecated Request Type (#7153) 2020-09-01 13:35:30 +00:00
sender_test.go Applies assertion funcs to p2p tests (#6597) 2020-07-14 16:51:39 +00:00
sender.go QSP 32: Add Appropriate Stream Deadlines for RPC Requests (#6583) 2020-07-13 19:40:12 +00:00
service_test.go Various code inspection resolutions (#7438) 2020-10-12 08:11:05 +00:00
service.go Verify interface compliance using typed nil instead of dereferencing and conversion (#7489) 2020-10-10 00:36:48 +00:00
subnets_test.go Replace context.Background() with more appropriate context (#7136) 2020-09-09 09:48:52 +00:00
subnets.go Various code inspection resolutions (#7438) 2020-10-12 08:11:05 +00:00
topics.go Move subnet topics to global vars (#6525) 2020-07-09 17:38:15 +00:00
utils_test.go Moves AssertLogsContains to assertions package (#6985) 2020-08-13 16:22:25 +00:00
utils.go Various code inspection resolutions (#7438) 2020-10-12 08:11:05 +00:00
watch_peers.go Various code inspection resolutions (#7438) 2020-10-12 08:11:05 +00:00