mirror of
https://gitlab.com/pulsechaincom/lighthouse-pulse.git
synced 2024-12-22 03:30:38 +00:00
f22e5b0f85
* add metrics layer * add metrics * simplify getting the target * make clippy happy * fix typos * unify deps under workspace * make import statement shorter, fix typos * enable warn by default, mark flag as deprecated * do not exit on error when initializing logging fails * revert exit on error * adjust bootnode logging * add logging layer * non blocking file writer * non blocking file writer * add tracing visitor * use target as is by default * make libp2p events register correctly * adjust repilcated cli help * refactor tracing layer * linting * filesize * log gossipsub, dont filter by log level * turn on debug logs by default, remove deprecation warning * truncate file, add timestamp, add unit test * suppress output (#5) * use tracing appender * cleanup * Add a task to remove old log files and upgrade to warn level * Add the time feature for tokio * Udeps and fmt --------- Co-authored-by: Diva M <divma@protonmail.com> Co-authored-by: Divma <26765164+divagant-martian@users.noreply.github.com> Co-authored-by: Age Manning <Age@AgeManning.com>
236 lines
7.0 KiB
TOML
236 lines
7.0 KiB
TOML
[workspace]
|
|
members = [
|
|
"account_manager",
|
|
|
|
"beacon_node",
|
|
"beacon_node/beacon_chain",
|
|
"beacon_node/beacon_processor",
|
|
"beacon_node/builder_client",
|
|
"beacon_node/client",
|
|
"beacon_node/eth1",
|
|
"beacon_node/lighthouse_network",
|
|
"beacon_node/execution_layer",
|
|
"beacon_node/http_api",
|
|
"beacon_node/http_metrics",
|
|
"beacon_node/network",
|
|
"beacon_node/store",
|
|
"beacon_node/timer",
|
|
|
|
"boot_node",
|
|
|
|
"common/account_utils",
|
|
"common/clap_utils",
|
|
"common/compare_fields",
|
|
"common/compare_fields_derive",
|
|
"common/deposit_contract",
|
|
"common/directory",
|
|
"common/eth2",
|
|
"common/eth2_config",
|
|
"common/eth2_interop_keypairs",
|
|
"common/eth2_network_config",
|
|
"common/eth2_wallet_manager",
|
|
"common/lighthouse_metrics",
|
|
"common/lighthouse_version",
|
|
"common/lockfile",
|
|
"common/logging",
|
|
"common/lru_cache",
|
|
"common/malloc_utils",
|
|
"common/oneshot_broadcast",
|
|
"common/pretty_reqwest_error",
|
|
"common/sensitive_url",
|
|
"common/slot_clock",
|
|
"common/system_health",
|
|
"common/task_executor",
|
|
"common/target_check",
|
|
"common/test_random_derive",
|
|
"common/unused_port",
|
|
"common/validator_dir",
|
|
"common/warp_utils",
|
|
"common/monitoring_api",
|
|
|
|
"database_manager",
|
|
|
|
"consensus/cached_tree_hash",
|
|
"consensus/int_to_bytes",
|
|
"consensus/fork_choice",
|
|
"consensus/proto_array",
|
|
"consensus/safe_arith",
|
|
"consensus/state_processing",
|
|
"consensus/swap_or_not_shuffle",
|
|
|
|
"crypto/bls",
|
|
"crypto/kzg",
|
|
"crypto/eth2_key_derivation",
|
|
"crypto/eth2_keystore",
|
|
"crypto/eth2_wallet",
|
|
|
|
"lcli",
|
|
|
|
"lighthouse",
|
|
"lighthouse/environment",
|
|
|
|
"slasher",
|
|
"slasher/service",
|
|
|
|
"testing/ef_tests",
|
|
"testing/eth1_test_rig",
|
|
"testing/execution_engine_integration",
|
|
"testing/node_test_rig",
|
|
"testing/simulator",
|
|
"testing/test-test_logger",
|
|
"testing/state_transition_vectors",
|
|
"testing/web3signer_tests",
|
|
|
|
"validator_client",
|
|
"validator_client/slashing_protection",
|
|
|
|
"validator_manager",
|
|
|
|
"watch",
|
|
]
|
|
resolver = "2"
|
|
|
|
[workspace.package]
|
|
edition = "2021"
|
|
|
|
[workspace.dependencies]
|
|
arbitrary = { version = "1", features = ["derive"] }
|
|
bincode = "1"
|
|
bitvec = "1"
|
|
byteorder = "1"
|
|
bytes = "1"
|
|
clap = "2"
|
|
compare_fields_derive = { path = "common/compare_fields_derive" }
|
|
criterion = "0.3"
|
|
delay_map = "0.3"
|
|
derivative = "2"
|
|
dirs = "3"
|
|
discv5 = { git="https://github.com/sigp/discv5", rev="dbb4a718cd32eaed8127c3c8241bfd0fde9eb908", features = ["libp2p"] }
|
|
env_logger = "0.9"
|
|
error-chain = "0.12"
|
|
ethereum-types = "0.14"
|
|
ethereum_hashing = "1.0.0-beta.2"
|
|
ethereum_serde_utils = "0.5"
|
|
ethereum_ssz = "0.5"
|
|
ethereum_ssz_derive = "0.5"
|
|
ethers-core = "1"
|
|
ethers-providers = { version = "1", default-features = false }
|
|
exit-future = "0.2"
|
|
fnv = "1"
|
|
fs2 = "0.4"
|
|
futures = "0.3"
|
|
hex = "0.4"
|
|
hyper = "1"
|
|
itertools = "0.10"
|
|
lazy_static = "1"
|
|
libsecp256k1 = "0.7"
|
|
log = "0.4"
|
|
lru = "0.12"
|
|
maplit = "1"
|
|
num_cpus = "1"
|
|
parking_lot = "0.12"
|
|
paste = "1"
|
|
quickcheck = "1"
|
|
quickcheck_macros = "1"
|
|
quote = "1"
|
|
r2d2 = "0.8"
|
|
rand = "0.8"
|
|
rayon = "1.7"
|
|
regex = "1"
|
|
reqwest = { version = "0.11", default-features = false, features = ["blocking", "json", "stream", "rustls-tls", "native-tls-vendored"] }
|
|
ring = "0.16"
|
|
rusqlite = { version = "0.28", features = ["bundled"] }
|
|
serde = { version = "1", features = ["derive"] }
|
|
serde_json = "1"
|
|
serde_repr = "0.1"
|
|
serde_yaml = "0.9"
|
|
sha2 = "0.9"
|
|
slog = { version = "2", features = ["max_level_trace", "release_max_level_trace", "nested-values"] }
|
|
slog-async = "2"
|
|
slog-term = "2"
|
|
sloggers = { version = "2", features = ["json"] }
|
|
smallvec = "1.11.2"
|
|
snap = "1"
|
|
ssz_types = "0.5"
|
|
strum = { version = "0.24", features = ["derive"] }
|
|
superstruct = "0.6"
|
|
syn = "1"
|
|
sysinfo = "0.26"
|
|
tempfile = "3"
|
|
tokio = { version = "1", features = ["rt-multi-thread", "sync", "signal"] }
|
|
tokio-stream = { version = "0.1", features = ["sync"] }
|
|
tokio-util = { version = "0.6", features = ["codec", "compat", "time"] }
|
|
tracing-appender = "0.2"
|
|
tracing-core = "0.1"
|
|
tracing-log = "0.2"
|
|
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
|
|
tree_hash = "0.5"
|
|
tree_hash_derive = "0.5"
|
|
url = "2"
|
|
uuid = { version = "0.8", features = ["serde", "v4"] }
|
|
# TODO update to warp 0.3.6 after released.
|
|
warp = { git = "https://github.com/seanmonstar/warp.git", default-features = false, features = ["tls"] }
|
|
zeroize = { version = "1", features = ["zeroize_derive"] }
|
|
zip = "0.6"
|
|
|
|
# Local crates.
|
|
account_utils = { path = "common/account_utils" }
|
|
beacon_chain = { path = "beacon_node/beacon_chain" }
|
|
beacon_node = { path = "beacon_node" }
|
|
beacon_processor = { path = "beacon_node/beacon_processor" }
|
|
bls = { path = "crypto/bls" }
|
|
cached_tree_hash = { path = "consensus/cached_tree_hash" }
|
|
clap_utils = { path = "common/clap_utils" }
|
|
compare_fields = { path = "common/compare_fields" }
|
|
deposit_contract = { path = "common/deposit_contract" }
|
|
directory = { path = "common/directory" }
|
|
environment = { path = "lighthouse/environment" }
|
|
eth1 = { path = "beacon_node/eth1" }
|
|
eth1_test_rig = { path = "testing/eth1_test_rig" }
|
|
eth2 = { path = "common/eth2" }
|
|
eth2_config = { path = "common/eth2_config" }
|
|
eth2_key_derivation = { path = "crypto/eth2_key_derivation" }
|
|
eth2_keystore = { path = "crypto/eth2_keystore" }
|
|
eth2_network_config = { path = "common/eth2_network_config" }
|
|
eth2_wallet = { path = "crypto/eth2_wallet" }
|
|
execution_layer = { path = "beacon_node/execution_layer" }
|
|
filesystem = { path = "common/filesystem" }
|
|
fork_choice = { path = "consensus/fork_choice" }
|
|
genesis = { path = "beacon_node/genesis" }
|
|
http_api = { path = "beacon_node/http_api" }
|
|
int_to_bytes = { path = "consensus/int_to_bytes" }
|
|
kzg = { path = "crypto/kzg" }
|
|
lighthouse_metrics = { path = "common/lighthouse_metrics" }
|
|
lighthouse_network = { path = "beacon_node/lighthouse_network" }
|
|
lighthouse_version = { path = "common/lighthouse_version" }
|
|
lockfile = { path = "common/lockfile" }
|
|
logging = { path = "common/logging" }
|
|
lru_cache = { path = "common/lru_cache" }
|
|
malloc_utils = { path = "common/malloc_utils" }
|
|
merkle_proof = { path = "consensus/merkle_proof" }
|
|
monitoring_api = { path = "common/monitoring_api" }
|
|
network = { path = "beacon_node/network" }
|
|
operation_pool = { path = "beacon_node/operation_pool" }
|
|
pretty_reqwest_error = { path = "common/pretty_reqwest_error" }
|
|
proto_array = { path = "consensus/proto_array" }
|
|
safe_arith = {path = "consensus/safe_arith"}
|
|
sensitive_url = { path = "common/sensitive_url" }
|
|
slasher = { path = "slasher" }
|
|
slashing_protection = { path = "validator_client/slashing_protection" }
|
|
slot_clock = { path = "common/slot_clock" }
|
|
state_processing = { path = "consensus/state_processing" }
|
|
store = { path = "beacon_node/store" }
|
|
swap_or_not_shuffle = { path = "consensus/swap_or_not_shuffle" }
|
|
task_executor = { path = "common/task_executor" }
|
|
types = { path = "consensus/types" }
|
|
unused_port = { path = "common/unused_port" }
|
|
validator_client = { path = "validator_client" }
|
|
validator_dir = { path = "common/validator_dir" }
|
|
warp_utils = { path = "common/warp_utils" }
|
|
|
|
[profile.maxperf]
|
|
inherits = "release"
|
|
lto = "fat"
|
|
codegen-units = 1
|
|
incremental = false
|