prysm-pulse/tools/bootnode-query/BUILD.bazel
Preston Van Loon 5d33514001 Restore bootnode query tool for kaddht and fix bootstrapping (#3565)
* add back bootnode query tool

* bootstrap from DHT
2019-09-23 17:18:01 -05:00

23 lines
767 B
Python

load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library")
go_library(
name = "go_default_library",
srcs = ["main.go"],
importpath = "github.com/prysmaticlabs/prysm/tools/bootnode-query",
visibility = ["//visibility:private"],
deps = [
"//beacon-chain/p2p:go_default_library",
"@com_github_gogo_protobuf//io:go_default_library",
"@com_github_libp2p_go_libp2p//:go_default_library",
"@com_github_libp2p_go_libp2p_host//:go_default_library",
"@com_github_libp2p_go_libp2p_kad_dht//pb:go_default_library",
"@com_github_libp2p_go_libp2p_net//:go_default_library",
],
)
go_binary(
name = "bootnode-query",
embed = [":go_default_library"],
visibility = ["//visibility:public"],
)