9667dc2f03
## Issue Addressed Closes #1891 Closes #1784 ## Proposed Changes Implement checkpoint sync for Lighthouse, enabling it to start from a weak subjectivity checkpoint. ## Additional Info - [x] Return unavailable status for out-of-range blocks requested by peers (#2561) - [x] Implement sync daemon for fetching historical blocks (#2561) - [x] Verify chain hashes (either in `historical_blocks.rs` or the calling module) - [x] Consistency check for initial block + state - [x] Fetch the initial state and block from a beacon node HTTP endpoint - [x] Don't crash fetching beacon states by slot from the API - [x] Background service for state reconstruction, triggered by CLI flag or API call. Considered out of scope for this PR: - Drop the requirement to provide the `--checkpoint-block` (this would require some pretty heavy refactoring of block verification) Co-authored-by: Diva M <divma@protonmail.com>
44 lines
1.5 KiB
TOML
44 lines
1.5 KiB
TOML
[package]
|
|
name = "lcli"
|
|
description = "Lighthouse CLI (modeled after zcli)"
|
|
version = "1.5.2"
|
|
authors = ["Paul Hauner <paul@paulhauner.com>"]
|
|
edition = "2018"
|
|
|
|
[features]
|
|
portable = ["bls/supranational-portable"]
|
|
|
|
[dependencies]
|
|
bls = { path = "../crypto/bls" }
|
|
clap = "2.33.3"
|
|
hex = "0.4.2"
|
|
log = "0.4.11"
|
|
serde = "1.0.116"
|
|
serde_yaml = "0.8.13"
|
|
serde_json = "1.0.66"
|
|
env_logger = "0.9.0"
|
|
types = { path = "../consensus/types" }
|
|
state_processing = { path = "../consensus/state_processing" }
|
|
eth2_ssz = "0.3.0"
|
|
regex = "1.3.9"
|
|
futures = "0.3.7"
|
|
environment = { path = "../lighthouse/environment" }
|
|
eth2_network_config = { path = "../common/eth2_network_config" }
|
|
dirs = "3.0.1"
|
|
genesis = { path = "../beacon_node/genesis" }
|
|
deposit_contract = { path = "../common/deposit_contract" }
|
|
tree_hash = "0.3.0"
|
|
tokio = { version = "1.10.0", features = ["full"] }
|
|
clap_utils = { path = "../common/clap_utils" }
|
|
eth2_libp2p = { path = "../beacon_node/eth2_libp2p" }
|
|
validator_dir = { path = "../common/validator_dir", features = ["insecure_keys"] }
|
|
rand = "0.7.3"
|
|
eth2_keystore = { path = "../crypto/eth2_keystore" }
|
|
lighthouse_version = { path = "../common/lighthouse_version" }
|
|
directory = { path = "../common/directory" }
|
|
account_utils = { path = "../common/account_utils" }
|
|
eth2_wallet = { path = "../crypto/eth2_wallet" }
|
|
web3 = { version = "0.17.0", default-features = false, features = ["http-tls", "signing", "ws-tls-tokio"] }
|
|
eth1_test_rig = { path = "../testing/eth1_test_rig" }
|
|
sensitive_url = { path = "../common/sensitive_url" }
|