2019-10-29 05:23:55 +00:00
|
|
|
load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
|
2019-09-20 17:54:32 +00:00
|
|
|
|
|
|
|
go_library(
|
|
|
|
name = "go_default_library",
|
|
|
|
srcs = ["peer_statuses.go"],
|
|
|
|
importpath = "github.com/prysmaticlabs/prysm/beacon-chain/sync/peerstatus",
|
2019-10-22 00:43:44 +00:00
|
|
|
visibility = [
|
|
|
|
"//beacon-chain/p2p:__subpackages__",
|
|
|
|
"//beacon-chain/sync:__subpackages__",
|
|
|
|
],
|
2019-09-20 17:54:32 +00:00
|
|
|
deps = [
|
|
|
|
"//proto/beacon/p2p/v1:go_default_library",
|
2019-09-25 17:00:04 +00:00
|
|
|
"//shared/roughtime:go_default_library",
|
2019-09-20 17:54:32 +00:00
|
|
|
"@com_github_libp2p_go_libp2p_core//peer:go_default_library",
|
|
|
|
],
|
|
|
|
)
|
2019-10-29 05:23:55 +00:00
|
|
|
|
|
|
|
go_test(
|
|
|
|
name = "go_default_test",
|
|
|
|
srcs = ["peer_statuses_test.go"],
|
|
|
|
embed = [":go_default_library"],
|
|
|
|
deps = ["@com_github_libp2p_go_libp2p_core//peer:go_default_library"],
|
|
|
|
)
|