2018-07-14 02:15:37 +00:00
|
|
|
load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
|
|
|
|
|
|
|
|
go_library(
|
|
|
|
name = "go_default_library",
|
2018-08-29 16:32:54 +00:00
|
|
|
srcs = [
|
|
|
|
"node.go",
|
|
|
|
"p2p_config.go",
|
|
|
|
],
|
2018-07-20 21:31:26 +00:00
|
|
|
importpath = "github.com/prysmaticlabs/prysm/beacon-chain/node",
|
2018-07-14 02:15:37 +00:00
|
|
|
visibility = ["//beacon-chain:__subpackages__"],
|
|
|
|
deps = [
|
2019-03-06 21:03:52 +00:00
|
|
|
"//beacon-chain/attestation:go_default_library",
|
2018-07-19 16:31:50 +00:00
|
|
|
"//beacon-chain/blockchain:go_default_library",
|
2018-10-05 17:14:50 +00:00
|
|
|
"//beacon-chain/db:go_default_library",
|
2019-01-31 18:54:24 +00:00
|
|
|
"//beacon-chain/operations:go_default_library",
|
2018-07-14 19:48:42 +00:00
|
|
|
"//beacon-chain/powchain:go_default_library",
|
2018-08-01 22:08:44 +00:00
|
|
|
"//beacon-chain/rpc:go_default_library",
|
2018-07-25 16:57:44 +00:00
|
|
|
"//beacon-chain/sync:go_default_library",
|
2018-07-19 16:31:50 +00:00
|
|
|
"//beacon-chain/utils:go_default_library",
|
2018-08-29 16:32:54 +00:00
|
|
|
"//proto/beacon/p2p/v1:go_default_library",
|
2018-07-14 02:15:37 +00:00
|
|
|
"//shared:go_default_library",
|
2018-07-19 16:31:50 +00:00
|
|
|
"//shared/cmd:go_default_library",
|
2018-07-14 03:35:15 +00:00
|
|
|
"//shared/debug:go_default_library",
|
2018-07-28 19:53:02 +00:00
|
|
|
"//shared/p2p:go_default_library",
|
2019-02-28 03:55:47 +00:00
|
|
|
"//shared/p2p/adapter:go_default_library",
|
2018-11-15 12:54:45 +00:00
|
|
|
"//shared/p2p/adapter/metric:go_default_library",
|
2018-11-18 16:39:35 +00:00
|
|
|
"//shared/params:go_default_library",
|
2018-11-15 12:54:45 +00:00
|
|
|
"//shared/prometheus:go_default_library",
|
2019-02-28 03:55:47 +00:00
|
|
|
"//shared/tracing:go_default_library",
|
2019-01-10 04:19:33 +00:00
|
|
|
"//shared/version:go_default_library",
|
2018-07-19 16:31:50 +00:00
|
|
|
"@com_github_ethereum_go_ethereum//common:go_default_library",
|
2018-08-15 04:49:59 +00:00
|
|
|
"@com_github_ethereum_go_ethereum//ethclient:go_default_library",
|
|
|
|
"@com_github_ethereum_go_ethereum//rpc:go_default_library",
|
2018-12-23 20:34:59 +00:00
|
|
|
"@com_github_gogo_protobuf//proto:go_default_library",
|
2018-07-14 02:15:37 +00:00
|
|
|
"@com_github_sirupsen_logrus//:go_default_library",
|
|
|
|
"@com_github_urfave_cli//:go_default_library",
|
|
|
|
],
|
|
|
|
)
|
|
|
|
|
|
|
|
go_test(
|
|
|
|
name = "go_default_test",
|
|
|
|
srcs = ["node_test.go"],
|
|
|
|
embed = [":go_default_library"],
|
2018-08-20 15:50:11 +00:00
|
|
|
deps = [
|
|
|
|
"//shared/testutil:go_default_library",
|
|
|
|
"@com_github_sirupsen_logrus//hooks/test:go_default_library",
|
|
|
|
"@com_github_urfave_cli//:go_default_library",
|
|
|
|
],
|
2018-07-14 02:15:37 +00:00
|
|
|
)
|