mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2025-01-05 09:14:28 +00:00
f97db3b738
* Paralellize hashing of large lists * add unit test * add file * do not parallelize on low processor count * revert minimal proc count --------- Co-authored-by: Nishant Das <nishdas93@gmail.com>
18 lines
505 B
Python
18 lines
505 B
Python
load("@prysm//tools/go:def.bzl", "go_library", "go_test")
|
|
|
|
go_library(
|
|
name = "go_default_library",
|
|
srcs = ["hashtree.go"],
|
|
importpath = "github.com/prysmaticlabs/prysm/v4/crypto/hash/htr",
|
|
visibility = ["//visibility:public"],
|
|
deps = ["@com_github_prysmaticlabs_gohashtree//:go_default_library"],
|
|
)
|
|
|
|
go_test(
|
|
name = "go_default_test",
|
|
size = "small",
|
|
srcs = ["hashtree_test.go"],
|
|
embed = [":go_default_library"],
|
|
deps = ["//testing/require:go_default_library"],
|
|
)
|