mirror of
https://github.com/sigp/lighthouse.git
synced 2026-05-02 04:03:35 +00:00
Tree hash et al
This commit is contained in:
@@ -53,14 +53,8 @@ members = [
|
||||
"consensus/fork_choice",
|
||||
"consensus/proto_array",
|
||||
"consensus/safe_arith",
|
||||
"consensus/ssz",
|
||||
"consensus/ssz_derive",
|
||||
"consensus/ssz_types",
|
||||
"consensus/serde_utils",
|
||||
"consensus/state_processing",
|
||||
"consensus/swap_or_not_shuffle",
|
||||
"consensus/tree_hash",
|
||||
"consensus/tree_hash_derive",
|
||||
|
||||
"crypto/bls",
|
||||
"crypto/eth2_hashing",
|
||||
|
||||
@@ -35,7 +35,7 @@ ethereum_ssz = "1.0.0-beta.2"
|
||||
ssz_types = "1.0.0-beta.0"
|
||||
ethereum_ssz_derive = "1.0.0-beta.2"
|
||||
state_processing = { path = "../../consensus/state_processing" }
|
||||
tree_hash = "0.4.1"
|
||||
tree_hash = "1.0.0-beta.0"
|
||||
types = { path = "../../consensus/types" }
|
||||
tokio = "1.14.0"
|
||||
eth1 = { path = "../eth1" }
|
||||
|
||||
@@ -22,7 +22,7 @@ types = { path = "../../consensus/types"}
|
||||
merkle_proof = { path = "../../consensus/merkle_proof"}
|
||||
ethereum_ssz = "1.0.0-beta.2"
|
||||
ethereum_ssz_derive = "1.0.0-beta.2"
|
||||
tree_hash = "0.4.1"
|
||||
tree_hash = "1.0.0-beta.0"
|
||||
parking_lot = "0.12.0"
|
||||
slog = "2.5.2"
|
||||
superstruct = "0.5.0"
|
||||
|
||||
@@ -28,8 +28,8 @@ eth2 = { path = "../../common/eth2" }
|
||||
state_processing = { path = "../../consensus/state_processing" }
|
||||
lru = "0.7.1"
|
||||
exit-future = "0.2.0"
|
||||
tree_hash = "0.4.1"
|
||||
tree_hash_derive = { path = "../../consensus/tree_hash_derive"}
|
||||
tree_hash = "1.0.0-beta.0"
|
||||
tree_hash_derive = "1.0.0-beta.0"
|
||||
parking_lot = "0.12.0"
|
||||
slot_clock = { path = "../../common/slot_clock" }
|
||||
tempfile = "3.1.0"
|
||||
|
||||
@@ -18,7 +18,7 @@ state_processing = { path = "../../consensus/state_processing" }
|
||||
merkle_proof = { path = "../../consensus/merkle_proof" }
|
||||
ethereum_ssz = "1.0.0-beta.2"
|
||||
eth2_hashing = "0.3.0"
|
||||
tree_hash = "0.4.1"
|
||||
tree_hash = "1.0.0-beta.0"
|
||||
tokio = { version = "1.14.0", features = ["full"] }
|
||||
slog = "2.5.2"
|
||||
int_to_bytes = { path = "../../consensus/int_to_bytes" }
|
||||
|
||||
@@ -32,7 +32,7 @@ parking_lot = "0.12.0"
|
||||
safe_arith = {path = "../../consensus/safe_arith"}
|
||||
task_executor = { path = "../../common/task_executor" }
|
||||
lru = "0.7.7"
|
||||
tree_hash = "0.4.1"
|
||||
tree_hash = "1.0.0-beta.0"
|
||||
sysinfo = "0.26.5"
|
||||
system_health = { path = "../../common/system_health" }
|
||||
directory = { path = "../../common/directory" }
|
||||
|
||||
@@ -15,5 +15,5 @@ hex = "0.4.2"
|
||||
[dependencies]
|
||||
types = { path = "../../consensus/types"}
|
||||
ethereum_ssz = "1.0.0-beta.2"
|
||||
tree_hash = "0.4.1"
|
||||
tree_hash = "1.0.0-beta.0"
|
||||
ethabi = "16.0.0"
|
||||
|
||||
@@ -16,7 +16,7 @@ filesystem = { path = "../filesystem" }
|
||||
types = { path = "../../consensus/types" }
|
||||
rand = "0.8.5"
|
||||
deposit_contract = { path = "../deposit_contract" }
|
||||
tree_hash = "0.4.1"
|
||||
tree_hash = "1.0.0-beta.0"
|
||||
hex = "0.4.2"
|
||||
derivative = "2.1.1"
|
||||
lockfile = { path = "../lockfile" }
|
||||
|
||||
@@ -10,7 +10,7 @@ ssz_types = "1.0.0-beta.0"
|
||||
eth2_hashing = "0.3.0"
|
||||
ethereum_ssz_derive = "1.0.0-beta.2"
|
||||
ethereum_ssz = "1.0.0-beta.2"
|
||||
tree_hash = "0.4.1"
|
||||
tree_hash = "1.0.0-beta.0"
|
||||
smallvec = "1.6.1"
|
||||
|
||||
[dev-dependencies]
|
||||
|
||||
@@ -18,7 +18,7 @@ ethereum_ssz_derive = "1.0.0-beta.2"
|
||||
ssz_types = "1.0.0-beta.0"
|
||||
merkle_proof = { path = "../merkle_proof" }
|
||||
safe_arith = { path = "../safe_arith" }
|
||||
tree_hash = "0.4.1"
|
||||
tree_hash = "1.0.0-beta.0"
|
||||
types = { path = "../types", default-features = false }
|
||||
rayon = "1.4.1"
|
||||
eth2_hashing = "0.3.0"
|
||||
@@ -39,7 +39,7 @@ arbitrary-fuzz = [
|
||||
"types/arbitrary-fuzz",
|
||||
"bls/arbitrary",
|
||||
"merkle_proof/arbitrary",
|
||||
"eth2_ssz/arbitrary",
|
||||
"eth2_ssz_types/arbitrary",
|
||||
"ethereum_ssz/arbitrary",
|
||||
"ssz_types/arbitrary",
|
||||
"tree_hash/arbitrary",
|
||||
]
|
||||
|
||||
@@ -30,8 +30,8 @@ ethereum_ssz_derive = "1.0.0-beta.2"
|
||||
ssz_types = "1.0.0-beta.0"
|
||||
swap_or_not_shuffle = { path = "../swap_or_not_shuffle" }
|
||||
test_random_derive = { path = "../../common/test_random_derive" }
|
||||
tree_hash = "0.4.1"
|
||||
tree_hash_derive = "0.4.0"
|
||||
tree_hash = "1.0.0-beta.0"
|
||||
tree_hash_derive = "1.0.0-beta.0"
|
||||
rand_xorshift = "0.3.0"
|
||||
cached_tree_hash = { path = "../cached_tree_hash" }
|
||||
serde_yaml = "0.8.13"
|
||||
@@ -67,8 +67,8 @@ arbitrary-fuzz = [
|
||||
"arbitrary",
|
||||
"ethereum-types/arbitrary",
|
||||
"bls/arbitrary",
|
||||
"eth2_ssz/arbitrary",
|
||||
"eth2_ssz_types/arbitrary",
|
||||
"ethereum_ssz/arbitrary",
|
||||
"ssz_types/arbitrary",
|
||||
"swap_or_not_shuffle/arbitrary",
|
||||
"tree_hash/arbitrary",
|
||||
]
|
||||
|
||||
@@ -6,7 +6,7 @@ edition = "2021"
|
||||
|
||||
[dependencies]
|
||||
ethereum_ssz = "1.0.0-beta.2"
|
||||
tree_hash = "0.4.1"
|
||||
tree_hash = "1.0.0-beta.0"
|
||||
milagro_bls = { git = "https://github.com/sigp/milagro_bls", tag = "v1.4.2", optional = true }
|
||||
rand = "0.7.3"
|
||||
serde = "1.0.116"
|
||||
|
||||
@@ -25,7 +25,7 @@ environment = { path = "../lighthouse/environment" }
|
||||
eth2_network_config = { path = "../common/eth2_network_config" }
|
||||
genesis = { path = "../beacon_node/genesis" }
|
||||
deposit_contract = { path = "../common/deposit_contract" }
|
||||
tree_hash = "0.4.1"
|
||||
tree_hash = "1.0.0-beta.0"
|
||||
clap_utils = { path = "../common/clap_utils" }
|
||||
lighthouse_network = { path = "../beacon_node/lighthouse_network" }
|
||||
validator_dir = { path = "../common/validator_dir", features = ["insecure_keys"] }
|
||||
|
||||
@@ -26,8 +26,8 @@ serde = "1.0"
|
||||
serde_derive = "1.0"
|
||||
slog = "2.5.2"
|
||||
sloggers = { version = "2.1.1", features = ["json"] }
|
||||
tree_hash = "0.4.1"
|
||||
tree_hash_derive = "0.4.0"
|
||||
tree_hash = "1.0.0-beta.0"
|
||||
tree_hash_derive = "1.0.0-beta.0"
|
||||
types = { path = "../consensus/types" }
|
||||
strum = { version = "0.24.1", features = ["derive"] }
|
||||
|
||||
|
||||
@@ -24,8 +24,8 @@ serde_repr = "0.1.6"
|
||||
serde_yaml = "0.8.13"
|
||||
ethereum_ssz = "1.0.0-beta.2"
|
||||
ethereum_ssz_derive = "1.0.0-beta.2"
|
||||
tree_hash = "0.4.1"
|
||||
tree_hash_derive = "0.4.0"
|
||||
tree_hash = "1.0.0-beta.0"
|
||||
tree_hash_derive = "1.0.0-beta.0"
|
||||
cached_tree_hash = { path = "../../consensus/cached_tree_hash" }
|
||||
state_processing = { path = "../../consensus/state_processing" }
|
||||
swap_or_not_shuffle = { path = "../../consensus/swap_or_not_shuffle" }
|
||||
|
||||
@@ -13,7 +13,7 @@ tokio = { version = "1.14.0", features = ["time", "rt-multi-thread", "macros"] }
|
||||
logging = { path = "../common/logging" }
|
||||
|
||||
[dependencies]
|
||||
tree_hash = "0.4.1"
|
||||
tree_hash = "1.0.0-beta.0"
|
||||
clap = "2.33.3"
|
||||
slashing_protection = { path = "./slashing_protection" }
|
||||
slot_clock = { path = "../common/slot_clock" }
|
||||
|
||||
Reference in New Issue
Block a user