diff --git a/Cargo.lock b/Cargo.lock index 1b40a3f78..c0337867b 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -4395,9 +4395,9 @@ dependencies = [ [[package]] name = "tentacle" -version = "0.4.0-beta.5" +version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fffc3054674621fb5ff1eab60083fe8b8d1e98d241ea23db613b7cb1ab771600" +checksum = "b5dce982ed9b672847c08a1feb56e8976586189d1ee617856a7e97fe3d748a26" dependencies = [ "async-trait", "bytes", diff --git a/crates/block-producer/Cargo.toml b/crates/block-producer/Cargo.toml index edae51c2c..a1ae501a6 100644 --- a/crates/block-producer/Cargo.toml +++ b/crates/block-producer/Cargo.toml @@ -60,7 +60,7 @@ opentelemetry = { version = "0.17", features = ["rt-tokio"] } # unstable features tokio-metrics = "0.1.0" console-subscriber = "0.1.3" -tentacle = { version = "0.4.0-beta.4" } +tentacle = "0.4.0" gw-p2p-network = { path = "../p2p-network" } num_cpus = "1.13.1" diff --git a/crates/mem-pool/Cargo.toml b/crates/mem-pool/Cargo.toml index d71aec970..b836f9427 100644 --- a/crates/mem-pool/Cargo.toml +++ b/crates/mem-pool/Cargo.toml @@ -27,7 +27,7 @@ log = "0.4" hex = "0.4" async-trait = "0.1" tracing = { version = "0.1", features = ["attributes"] } -tentacle = { version = "0.4.0-beta.4", features = ["unstable"] } +tentacle = "0.4.0" [dev-dependencies] tempfile = "3.2" diff --git a/crates/p2p-network/Cargo.toml b/crates/p2p-network/Cargo.toml index 61cd48857..3dac39187 100644 --- a/crates/p2p-network/Cargo.toml +++ b/crates/p2p-network/Cargo.toml @@ -14,7 +14,7 @@ tokio = "1.15" anyhow = "1.0" log = "0.4" async-trait = "0.1" -tentacle = { version = "0.4.0-beta.4", features = ["unstable"] } +tentacle = { version = "0.4.0", features = ["unstable"] } socket2 = { version = "0.4.4", features = ["all"] } [dev-dependencies] diff --git a/crates/p2p-network/src/lib.rs b/crates/p2p-network/src/lib.rs index 6bdcd3097..524869b3e 100644 --- a/crates/p2p-network/src/lib.rs +++ b/crates/p2p-network/src/lib.rs @@ -41,7 +41,6 @@ impl P2PNetwork { .forever(true) .tcp_config(|socket| { let sock_ref = SockRef::from(&socket); - sock_ref.set_reuse_address(true)?; sock_ref.set_nodelay(true)?; Ok(socket) })