feat(net): integrate external public ip auto discovery (#632)

* feat(net): integrate external public ip auto discovery

* Update crates/net/discv4/src/config.rs

Co-authored-by: Georgios Konstantopoulos <me@gakonst.com>

* rename var

Co-authored-by: Georgios Konstantopoulos <me@gakonst.com>
This commit is contained in:
Matthias Seitz
2022-12-28 16:14:07 +01:00
committed by GitHub
parent c3432bc284
commit 525f28a67d
7 changed files with 141 additions and 9 deletions

View File

@ -6,7 +6,7 @@ license = "Apache-2.0"
repository = "https://github.com/paradigmxyz/reth"
readme = "README.md"
description = """
Ethereum network support
Ethereum network discovery
"""
[dependencies]
@ -15,6 +15,7 @@ reth-primitives = { path = "../../primitives" }
reth-rlp = { path = "../../common/rlp", features = ["enr"] }
reth-rlp-derive = { path = "../../common/rlp-derive" }
reth-net-common = { path = "../common" }
reth-net-nat = { path = "../nat" }
# ethereum
discv5 = { git = "https://github.com/sigp/discv5" }
@ -34,7 +35,6 @@ bytes = "1.2"
tracing = "0.1"
thiserror = "1.0"
hex = "0.4"
public-ip = "0.2"
rand = { version = "0.8", optional = true }
generic-array = "0.14"