Skip to content

Commit

Permalink
Upgrade to tentacle 0.4.0
Browse files Browse the repository at this point in the history
Remove reuse_addr because tentacle already sets it.
  • Loading branch information
blckngm committed Jun 23, 2022
1 parent 7e48788 commit 6f5125a
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 6 deletions.
4 changes: 2 additions & 2 deletions Cargo.lock

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

2 changes: 1 addition & 1 deletion crates/block-producer/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down
2 changes: 1 addition & 1 deletion crates/mem-pool/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion crates/p2p-network/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down
1 change: 0 additions & 1 deletion crates/p2p-network/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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)
})
Expand Down

0 comments on commit 6f5125a

Please sign in to comment.