Skip to content

Commit

Permalink
Patch socks5 (#81)
Browse files Browse the repository at this point in the history
* patch socks5

* update crate
  • Loading branch information
vekamo authored Nov 3, 2024
1 parent f14ce4c commit fa04c24
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 20 deletions.
36 changes: 18 additions & 18 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 p2p/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ chrono = { version = "0.4.11", features = ["serde"] }
futures = "0.3"
#libp2p-tokio-socks5 = { path = "../../rust-libp2p-tokio-socks5" }
#libp2p = { path = "../../rust-libp2p", default-features = false, features = [ "noise", "yamux", "mplex", "dns", "tcp-tokio", "ping", "gossipsub"] }
libp2p-tokio-socks5 = { git = "https://github.com/mwcproject/rust-libp2p-tokio-socks5", version = "0.7.1", branch = "master"}
mwc-libp2p-tokio-socks5 = { git = "https://github.com/mwcproject/rust-libp2p-tokio-socks5", version = "0.7.1", branch = "master"}
mwc-libp2p = { git = "https://github.com/mwcproject/rust-libp2p", branch = "master", version="0.35.2", default-features = false, features = [ "noise", "yamux", "mplex", "dns", "tcp-tokio", "ping", "gossipsub"]}
lazy_static = "1"
async-std = "1.9"
Expand Down
2 changes: 1 addition & 1 deletion p2p/src/libp2p_connection.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
//! the peer-to-peer server, the blockchain and the transaction pool) and acts
//! as a facade.
use libp2p_tokio_socks5::Socks5TokioTcpConfig;
use mwc_libp2p::core::Multiaddr;
use mwc_libp2p::{
core::{
Expand All @@ -32,6 +31,7 @@ use mwc_libp2p::{
yamux::YamuxConfig,
PeerId, Swarm, Transport,
};
use mwc_libp2p_tokio_socks5::Socks5TokioTcpConfig;

use mwc_libp2p::gossipsub::{
self, GossipsubEvent, IdentTopic as Topic, MessageAuthenticity, MessageId, ValidationMode,
Expand Down

0 comments on commit fa04c24

Please sign in to comment.