prysm-pulse/beacon-chain/p2p
Radosław Kapka 5569a68452
Code cleanup (#9992)
* Value assigned to a variable is never read before being overwritten

* The result of append is not used anywhere

* Suspicious assignment of range-loop vars detected

* Unused method receiver detected

* Revert "Auxiliary commit to revert individual files from 54edcb445484a2e5d79612e19af8e949b8861253"

This reverts commit bbd1e1beabf7b0c5cfc4f514dcc820062ad6c063.

* Method modifies receiver

* Fix test

* Duplicate imports detected

* Incorrectly formatted error string

* Types of function parameters can be combined

* One more "Unused method receiver detected"

* Unused parameter detected in function
2021-12-07 17:52:39 +00:00
..
encoder Code cleanup (#9992) 2021-12-07 17:52:39 +00:00
peers Code cleanup (#9992) 2021-12-07 17:52:39 +00:00
testing Code cleanup (#9992) 2021-12-07 17:52:39 +00:00
types Code cleanup (#9992) 2021-12-07 17:52:39 +00:00
addr_factory_test.go Move Shared/Testutil into Testing (#9659) 2021-09-23 18:53:46 +00:00
addr_factory.go QSP-47 Remove Meaningless Relay Addr Check (#6388) 2020-06-25 09:16:30 +00:00
broadcaster_test.go Code cleanup (#9992) 2021-12-07 17:52:39 +00:00
broadcaster.go Code cleanup (#9992) 2021-12-07 17:52:39 +00:00
BUILD.bazel Update Libp2p to v0.15.1 (#9960) 2021-12-01 18:09:34 +00:00
config.go Replace a Few IntFlags with Uint64Flags (#9959) 2021-12-01 23:34:53 +00:00
connection_gater_test.go Replace a Few IntFlags with Uint64Flags (#9959) 2021-12-01 23:34:53 +00:00
connection_gater.go Code cleanup (#9992) 2021-12-07 17:52:39 +00:00
dial_relay_node_test.go Move Shared/Testutil into Testing (#9659) 2021-09-23 18:53:46 +00:00
dial_relay_node.go Refactors calls to deprecated libp2p methods (#6554) 2020-07-13 02:28:40 +00:00
discovery_test.go Code cleanup (#9992) 2021-12-07 17:52:39 +00:00
discovery.go Update Libp2p to v0.15.1 (#9960) 2021-12-01 18:09:34 +00:00
doc.go Change Eth2 Repository Names (#9425) 2021-08-19 13:00:57 -05:00
fork_test.go core: refactor signing and domain methods from helper to core/signing pkg (#9520) 2021-09-27 16:19:20 +00:00
fork_watcher.go Refactor: move functions beacon-chain/core/time -> time/slots (#9719) 2021-10-01 15:17:57 -05:00
fork.go Refactor: move functions beacon-chain/core/time -> time/slots (#9719) 2021-10-01 15:17:57 -05:00
gossip_scoring_params_test.go Cleanup From Deepsource (#9961) 2021-12-01 18:56:07 +00:00
gossip_scoring_params.go Remove Superflous Errors From Parameter Registration (#9894) 2021-11-12 15:28:21 +00:00
gossip_topic_mappings_test.go Move Shared/Testutil into Testing (#9659) 2021-09-23 18:53:46 +00:00
gossip_topic_mappings.go Code cleanup (#9992) 2021-12-07 17:52:39 +00:00
handshake.go Create time Package for Shared/timeutil, mclock and slotutil (#9594) 2021-09-15 00:09:04 +00:00
info.go Unify the pattern of using a package-level logger (#8245) 2021-01-11 20:03:28 +00:00
interfaces.go Replace a Few IntFlags with Uint64Flags (#9959) 2021-12-01 23:34:53 +00:00
iterator.go Refactor Subnet Search (#8048) 2020-12-11 18:40:56 -08:00
log.go Clean Up P2P Service (#6574) 2020-07-13 04:16:24 +00:00
message_id_test.go core: refactor signing and domain methods from helper to core/signing pkg (#9520) 2021-09-27 16:19:20 +00:00
message_id.go Create Encoding Bytesutil (#9658) 2021-09-23 15:23:37 +00:00
monitoring.go Standardize Metrics To Match Minimal Metric Spec (#9623) 2021-09-17 13:35:12 +02:00
options_test.go Move Shared/Testutil into Testing (#9659) 2021-09-23 18:53:46 +00:00
options.go Create Runtime Package for Moving Several Packages in Shared/ (#9588) 2021-09-16 09:46:29 +00:00
parameter_test.go Move Shared/Testutil into Testing (#9659) 2021-09-23 18:53:46 +00:00
pubsub_filter_test.go Move Shared/Testutil into Testing (#9659) 2021-09-23 18:53:46 +00:00
pubsub_filter.go Move Shared/Params Into Config/Params (#9642) 2021-09-21 19:59:25 +00:00
pubsub_test.go Move Shared/Testutil into Testing (#9659) 2021-09-23 18:53:46 +00:00
pubsub.go Various clean up before v2 (#9672) 2021-09-24 17:42:16 +00:00
rpc_topic_mappings_test.go Move Shared/Testutil into Testing (#9659) 2021-09-23 18:53:46 +00:00
rpc_topic_mappings.go Move Shared/Params Into Config/Params (#9642) 2021-09-21 19:59:25 +00:00
sender_test.go Move Shared/Testutil into Testing (#9659) 2021-09-23 18:53:46 +00:00
sender.go Move Shared/ Subpackages Into Monitoring/ Folder (#9591) 2021-09-14 20:59:51 +00:00
service_test.go Move Shared/Testutil into Testing (#9659) 2021-09-23 18:53:46 +00:00
service.go Code cleanup (#9992) 2021-12-07 17:52:39 +00:00
subnets_test.go Move Shared/Testutil into Testing (#9659) 2021-09-23 18:53:46 +00:00
subnets.go Replace a Few IntFlags with Uint64Flags (#9959) 2021-12-01 23:34:53 +00:00
topics.go Add in P2P Changes (#9390) 2021-08-27 09:34:20 +08:00
utils_test.go Move Shared/Testutil into Testing (#9659) 2021-09-23 18:53:46 +00:00
utils.go Move Shared Packages into Math/ and IO/ (#9622) 2021-09-17 21:55:24 +00:00
watch_peers.go Update variable names that are same as imports (#8220) 2021-01-07 10:42:03 -06:00