2021-06-30 19:22:09 +00:00
|
|
|
load("@prysm//tools/go:def.bzl", "go_library", "go_test")
|
2019-11-30 05:36:02 +00:00
|
|
|
|
|
|
|
go_library(
|
|
|
|
name = "go_default_library",
|
2020-10-07 13:08:51 +00:00
|
|
|
srcs = ["status.go"],
|
2019-11-30 05:36:02 +00:00
|
|
|
importpath = "github.com/prysmaticlabs/prysm/beacon-chain/p2p/peers",
|
|
|
|
visibility = ["//beacon-chain:__subpackages__"],
|
|
|
|
deps = [
|
2020-10-07 13:08:51 +00:00
|
|
|
"//beacon-chain/p2p/peers/peerdata:go_default_library",
|
|
|
|
"//beacon-chain/p2p/peers/scorers:go_default_library",
|
2021-09-30 03:39:53 +00:00
|
|
|
"//config/features:go_default_library",
|
2021-09-21 19:59:25 +00:00
|
|
|
"//config/params:go_default_library",
|
2021-09-15 22:55:11 +00:00
|
|
|
"//crypto/rand:go_default_library",
|
2021-07-28 21:23:44 +00:00
|
|
|
"//proto/prysm/v1alpha1:go_default_library",
|
|
|
|
"//proto/prysm/v1alpha1/metadata:go_default_library",
|
2021-09-15 00:09:04 +00:00
|
|
|
"//time:go_default_library",
|
2021-10-01 20:17:57 +00:00
|
|
|
"//time/slots:go_default_library",
|
2020-04-14 20:27:03 +00:00
|
|
|
"@com_github_ethereum_go_ethereum//p2p/enr:go_default_library",
|
2019-11-30 05:36:02 +00:00
|
|
|
"@com_github_libp2p_go_libp2p_core//network:go_default_library",
|
|
|
|
"@com_github_libp2p_go_libp2p_core//peer:go_default_library",
|
2019-12-11 10:31:36 +00:00
|
|
|
"@com_github_multiformats_go_multiaddr//:go_default_library",
|
2020-11-19 12:54:19 +00:00
|
|
|
"@com_github_multiformats_go_multiaddr//net:go_default_library",
|
2021-02-09 10:05:22 +00:00
|
|
|
"@com_github_prysmaticlabs_eth2_types//:go_default_library",
|
2020-04-14 20:27:03 +00:00
|
|
|
"@com_github_prysmaticlabs_go_bitfield//:go_default_library",
|
2019-12-11 10:31:36 +00:00
|
|
|
],
|
|
|
|
)
|
|
|
|
|
|
|
|
go_test(
|
|
|
|
name = "go_default_test",
|
2020-07-08 05:47:26 +00:00
|
|
|
srcs = [
|
|
|
|
"benchmark_test.go",
|
2020-08-01 09:20:05 +00:00
|
|
|
"peers_test.go",
|
2020-07-08 05:47:26 +00:00
|
|
|
"status_test.go",
|
|
|
|
],
|
2019-12-11 10:31:36 +00:00
|
|
|
embed = [":go_default_library"],
|
|
|
|
deps = [
|
2020-10-07 13:08:51 +00:00
|
|
|
"//beacon-chain/p2p/peers/peerdata:go_default_library",
|
|
|
|
"//beacon-chain/p2p/peers/scorers:go_default_library",
|
2021-03-02 19:36:03 +00:00
|
|
|
"//cmd/beacon-chain/flags:go_default_library",
|
2021-09-15 01:18:39 +00:00
|
|
|
"//config/features:go_default_library",
|
2021-09-21 19:59:25 +00:00
|
|
|
"//config/params:go_default_library",
|
2021-06-02 23:49:52 +00:00
|
|
|
"//proto/eth/v1:go_default_library",
|
2021-07-28 21:23:44 +00:00
|
|
|
"//proto/prysm/v1alpha1:go_default_library",
|
|
|
|
"//proto/prysm/v1alpha1/wrapper:go_default_library",
|
2021-09-23 18:53:46 +00:00
|
|
|
"//testing/assert:go_default_library",
|
|
|
|
"//testing/require:go_default_library",
|
2020-04-14 20:27:03 +00:00
|
|
|
"@com_github_ethereum_go_ethereum//p2p/enr:go_default_library",
|
2019-12-11 10:31:36 +00:00
|
|
|
"@com_github_libp2p_go_libp2p_core//network:go_default_library",
|
2020-07-13 02:28:40 +00:00
|
|
|
"@com_github_libp2p_go_libp2p_core//peer:go_default_library",
|
2019-12-11 10:31:36 +00:00
|
|
|
"@com_github_multiformats_go_multiaddr//:go_default_library",
|
2021-02-09 10:05:22 +00:00
|
|
|
"@com_github_prysmaticlabs_eth2_types//:go_default_library",
|
2020-04-14 20:27:03 +00:00
|
|
|
"@com_github_prysmaticlabs_go_bitfield//:go_default_library",
|
2020-08-01 09:20:05 +00:00
|
|
|
"@com_github_sirupsen_logrus//:go_default_library",
|
2019-11-30 05:36:02 +00:00
|
|
|
],
|
|
|
|
)
|