prysm-pulse/beacon-chain/p2p/connmgr/BUILD.bazel
Nishant Das 28c4f28d32 Add Strict Connection Manager (#4110)
* add forked connMgr
* gaz
* add license header
* Merge branch 'master' of https://github.com/prysmaticlabs/geth-sharding into connMgr
* add conn manager test
* gaz
* fix connManager
* Merge branch 'master' of https://github.com/prysmaticlabs/geth-sharding into connMgr
* gaz
* remove todo
* add new dep
* lint
* lint
* lint
* space
* visibility
* Merge branch 'master' into connMgr
* Merge branch 'master' into connMgr
* Merge refs/heads/master into connMgr
2019-12-03 18:18:57 +00:00

29 lines
1.1 KiB
Python

load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
go_library(
name = "go_default_library",
srcs = ["connmgr.go"],
importpath = "github.com/prysmaticlabs/prysm/beacon-chain/p2p/connmgr",
visibility = ["//beacon-chain:__subpackages__"],
deps = [
"@com_github_ipfs_go_log//:go_default_library",
"@com_github_libp2p_go_libp2p_core//connmgr:go_default_library",
"@com_github_libp2p_go_libp2p_core//network:go_default_library",
"@com_github_libp2p_go_libp2p_core//peer:go_default_library",
"@com_github_multiformats_go_multiaddr//:go_default_library",
],
)
go_test(
name = "go_default_test",
srcs = ["connmgr_test.go"],
embed = [":go_default_library"],
deps = [
"@com_github_ipfs_go_detect_race//:go_default_library",
"@com_github_libp2p_go_libp2p_core//network:go_default_library",
"@com_github_libp2p_go_libp2p_core//peer:go_default_library",
"@com_github_libp2p_go_libp2p_core//test:go_default_library",
"@com_github_multiformats_go_multiaddr//:go_default_library",
],
)