2019-12-11 10:31:36 +00:00
|
|
|
load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
|
2019-11-30 05:36:02 +00:00
|
|
|
|
|
|
|
go_library(
|
|
|
|
name = "go_default_library",
|
2019-12-11 10:31:36 +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-02-08 18:50:14 +00:00
|
|
|
"//beacon-chain/core/helpers:go_default_library",
|
2019-12-11 10:31:36 +00:00
|
|
|
"//proto/beacon/p2p/v1:go_default_library",
|
2020-01-02 08:09:28 +00:00
|
|
|
"//shared/bytesutil:go_default_library",
|
2019-12-11 10:31:36 +00:00
|
|
|
"//shared/roughtime: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",
|
|
|
|
],
|
|
|
|
)
|
|
|
|
|
|
|
|
go_test(
|
|
|
|
name = "go_default_test",
|
|
|
|
srcs = ["status_test.go"],
|
|
|
|
embed = [":go_default_library"],
|
|
|
|
deps = [
|
|
|
|
"//proto/beacon/p2p/v1:go_default_library",
|
2020-02-08 18:50:14 +00:00
|
|
|
"//shared/params:go_default_library",
|
2019-12-11 10:31:36 +00:00
|
|
|
"@com_github_libp2p_go_libp2p_core//network:go_default_library",
|
|
|
|
"@com_github_libp2p_go_libp2p_peer//:go_default_library",
|
|
|
|
"@com_github_multiformats_go_multiaddr//:go_default_library",
|
2019-11-30 05:36:02 +00:00
|
|
|
],
|
|
|
|
)
|