Skip to content

Commit

Permalink
Doppelganger protection
Browse files Browse the repository at this point in the history
  • Loading branch information
povi committed Sep 23, 2024
1 parent 40e039d commit 92e08ab
Show file tree
Hide file tree
Showing 24 changed files with 676 additions and 48 deletions.
24 changes: 23 additions & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ members = [
'database',
'deposit_tree',
'directories',
'doppelganger_protection',
'eip_2335',
'eth1',
'eth1_api',
Expand Down Expand Up @@ -455,6 +456,7 @@ clock = { path = 'clock' }
database = { path = 'database' }
deposit_tree = { path = 'deposit_tree' }
directories = { path = 'directories' }
doppelganger_protection = { path = 'doppelganger_protection' }
eip_2335 = { path = 'eip_2335' }
eth1 = { path = 'eth1' }
eth1_api = { path = 'eth1_api' }
Expand Down
1 change: 1 addition & 0 deletions binary_utils/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ pub fn initialize_logger(module_path: &str, always_write_style: bool) -> Result<
.filter_module("block_producer", LevelFilter::Info)
.filter_module("builder_api", LevelFilter::Info)
.filter_module("dedicated_executor", LevelFilter::Info)
.filter_module("doppelganger_protection", LevelFilter::Info)
.filter_module("eth1", LevelFilter::Info)
.filter_module("eth1_api", LevelFilter::Info)
.filter_module("eth2_libp2p", LevelFilter::Info)
Expand Down
23 changes: 23 additions & 0 deletions doppelganger_protection/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
[package]
name = 'doppelganger_protection'
version = '0.1.0'
edition.workspace = true

[dependencies]
anyhow = { workspace = true }
arc-swap = { workspace = true }
bls = { workspace = true }
futures = { workspace = true }
helper_functions = { workspace = true }
liveness_tracker = { workspace = true }
log = { workspace = true }
thiserror = { workspace = true }
typenum = { workspace = true }
types = { workspace = true }

[dev-dependencies]
factory = { workspace = true }
tokio = { workspace = true }

[lints]
workspace = true
Loading

0 comments on commit 92e08ab

Please sign in to comment.