2d8e2dd7f5
* Implement slashing protection Roll-up of #588 with some conflicts resolved * WIP improvements * Require slot uniqueness for blocks (rather than epochs) * Native DB support for Slot and Epoch * Simplify surrounding/surrounded-by queries * Implement unified slashing protection database A single SQL database saves on open file descriptors. * Make slashing protection concurrency safe. Revive tests, add parallel tests. * Some simplifications * Auto-registration, test clean-ups * More tests, clean-ups, hardening * Fix comments in BLS * Optimise bulk validator registration * Delete outdated tests * Use bundled SQLite in slashing protection * Auto-register validators in simulation * Use real signing_root in slashing protection * Update book for --auto-register * Refine log messages and help flags * Correct typo in Cargo.toml authors * Fix merge conflicts * Safer error handling in sqlite slot/epoch * Address review comments * Add attestation test mutating block root Co-authored-by: pscott <scottpiriou@gmail.com>
69 lines
2.0 KiB
TOML
69 lines
2.0 KiB
TOML
[workspace]
|
|
members = [
|
|
"eth2/proto_array_fork_choice",
|
|
"eth2/operation_pool",
|
|
"eth2/state_processing",
|
|
"eth2/types",
|
|
"eth2/utils/bls",
|
|
"eth2/utils/clap_utils",
|
|
"eth2/utils/compare_fields",
|
|
"eth2/utils/compare_fields_derive",
|
|
"eth2/utils/deposit_contract",
|
|
"eth2/utils/eth2_config",
|
|
"eth2/utils/eth2_interop_keypairs",
|
|
"eth2/utils/eth2_key_derivation",
|
|
"eth2/utils/eth2_keystore",
|
|
"eth2/utils/eth2_testnet_config",
|
|
"eth2/utils/eth2_wallet",
|
|
"eth2/utils/logging",
|
|
"eth2/utils/eth2_hashing",
|
|
"eth2/utils/hashset_delay",
|
|
"eth2/utils/lighthouse_metrics",
|
|
"eth2/utils/merkle_proof",
|
|
"eth2/utils/int_to_bytes",
|
|
"eth2/utils/safe_arith",
|
|
"eth2/utils/serde_hex",
|
|
"eth2/utils/slot_clock",
|
|
"eth2/utils/rest_types",
|
|
"eth2/utils/ssz",
|
|
"eth2/utils/ssz_derive",
|
|
"eth2/utils/ssz_types",
|
|
"eth2/utils/swap_or_not_shuffle",
|
|
"eth2/utils/cached_tree_hash",
|
|
"eth2/utils/tree_hash",
|
|
"eth2/utils/tree_hash_derive",
|
|
"eth2/utils/test_random_derive",
|
|
"beacon_node",
|
|
"beacon_node/beacon_chain",
|
|
"beacon_node/client",
|
|
"beacon_node/eth1",
|
|
"beacon_node/eth2-libp2p",
|
|
"beacon_node/network",
|
|
"beacon_node/rest_api",
|
|
"beacon_node/store",
|
|
"beacon_node/timer",
|
|
"beacon_node/version",
|
|
"beacon_node/websocket_server",
|
|
"tests/simulator",
|
|
"tests/ef_tests",
|
|
"tests/eth1_test_rig",
|
|
"tests/node_test_rig",
|
|
"tests/state_transition_vectors",
|
|
"lcli",
|
|
"validator_client",
|
|
"validator_client/slashing_protection",
|
|
"account_manager",
|
|
"lighthouse",
|
|
"lighthouse/environment"
|
|
]
|
|
|
|
[patch]
|
|
[patch.crates-io]
|
|
tree_hash = { path = "eth2/utils/tree_hash" }
|
|
tree_hash_derive = { path = "eth2/utils/tree_hash_derive" }
|
|
eth2_ssz = { path = "eth2/utils/ssz" }
|
|
eth2_ssz_derive = { path = "eth2/utils/ssz_derive" }
|
|
eth2_ssz_types = { path = "eth2/utils/ssz_types" }
|
|
eth2_hashing = { path = "eth2/utils/eth2_hashing" }
|
|
web3 = { git = "https://github.com/tomusdrw/rust-web3" }
|