Skip to content

Commit

Permalink
chore: upgrad
Browse files Browse the repository at this point in the history
  • Loading branch information
driftluo committed Oct 25, 2024
1 parent c49fdbf commit a806206
Show file tree
Hide file tree
Showing 22 changed files with 225 additions and 120 deletions.
100 changes: 77 additions & 23 deletions Cargo.lock

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

16 changes: 13 additions & 3 deletions network/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,21 +25,31 @@ bs58 = { version = "0.5.0", optional = true }
sentry = { version = "0.34.0", optional = true }
faster-hex = { version = "0.6", optional = true }
ckb-hash = { path = "../util/hash", version = "= 0.119.0-pre" }
secp256k1 = { version = "0.29", features = ["recovery"], optional = true }
secp256k1 = { version = "0.30", features = ["recovery"], optional = true }
trust-dns-resolver = { version = "0.23", optional = true }
snap = "1"
ckb-types = { path = "../util/types", version = "= 0.119.0-pre" }
ipnetwork = "0.20"
serde_json = "1.0"
bloom-filters = "0.1"
ckb-spawn = { path = "../util/spawn", version = "= 0.119.0-pre" }
socket2 = "0.5"
bitflags = "1.0"
p2p = { version = "0.6.2", package = "tentacle", default-features = false }

p2p = { version = "0.6.1", package = "tentacle", features = [
[target.'cfg(not(target_family = "wasm"))'.dependencies]
p2p = { version = "0.6.2", package = "tentacle", default-features = false, features = [
"upnp",
"parking_lot",
"openssl-vendored",
"tokio-runtime",
"tokio-timer",
"ws",
] }
socket2 = "0.5"

[target.'cfg(target_family = "wasm")'.dependencies]
p2p = { version = "0.6.2", package = "tentacle", default-features = false, features = [
"wasm-timer",
] }

[features]
Expand Down
4 changes: 2 additions & 2 deletions network/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ pub use crate::{
peer_registry::PeerRegistry,
peer_store::Score,
protocols::{
identify::Flags, support_protocols::SupportProtocols, CKBProtocol, CKBProtocolContext,
CKBProtocolHandler, PeerIndex,
identify::Flags, support_protocols::SupportProtocols, BoxedCKBProtocolContext, CKBProtocol,
CKBProtocolContext, CKBProtocolHandler, PeerIndex,
},
};
pub use p2p::{
Expand Down
Loading

0 comments on commit a806206

Please sign in to comment.