mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-26 05:17:58 +00:00
f0b99dd2f2
* *: Update to libp2p v0.33.0 * client/network: Consistently track request arrival time With https://github.com/libp2p/rust-libp2p/pull/1886/ one is guaranteed to receive either a `ResponseSent` or a `InboundFailure` event for each received inbound request via `RequestResponseEvent::Message`. Given this guarantee there is no need to track arrival times in a best-effort manner and thus there is no need to use a LRU cache for arrival times. * client/offchain: Adjust to PeerId API changes
44 lines
1.6 KiB
TOML
44 lines
1.6 KiB
TOML
[package]
|
|
name = "sp-consensus"
|
|
version = "0.8.0"
|
|
authors = ["Parity Technologies <admin@parity.io>"]
|
|
edition = "2018"
|
|
license = "Apache-2.0"
|
|
homepage = "https://substrate.dev"
|
|
repository = "https://github.com/paritytech/substrate/"
|
|
description = "Common utilities for building and using consensus engines in substrate."
|
|
documentation = "https://docs.rs/sp-consensus/"
|
|
readme = "README.md"
|
|
|
|
[package.metadata.docs.rs]
|
|
targets = ["x86_64-unknown-linux-gnu"]
|
|
|
|
|
|
[dependencies]
|
|
thiserror = "1.0.21"
|
|
libp2p = { version = "0.33.0", default-features = false }
|
|
log = "0.4.8"
|
|
sp-core = { path= "../../core", version = "2.0.0"}
|
|
sp-inherents = { version = "2.0.0", path = "../../inherents" }
|
|
sp-state-machine = { version = "0.8.0", path = "../../state-machine" }
|
|
futures = { version = "0.3.1", features = ["thread-pool"] }
|
|
futures-timer = "3.0.1"
|
|
sp-std = { version = "2.0.0", path = "../../std" }
|
|
sp-version = { version = "2.0.0", path = "../../version" }
|
|
sp-runtime = { version = "2.0.0", path = "../../runtime" }
|
|
sp-utils = { version = "2.0.0", path = "../../utils" }
|
|
sp-trie = { version = "2.0.0", path = "../../trie" }
|
|
sp-api = { version = "2.0.0", path = "../../api" }
|
|
codec = { package = "parity-scale-codec", version = "1.3.1", features = ["derive"] }
|
|
parking_lot = "0.10.0"
|
|
serde = { version = "1.0", features = ["derive"] }
|
|
prometheus-endpoint = { package = "substrate-prometheus-endpoint", path = "../../../utils/prometheus", version = "0.8.0"}
|
|
wasm-timer = "0.2.5"
|
|
|
|
[dev-dependencies]
|
|
futures = "0.3.4"
|
|
sp-test-primitives = { version = "2.0.0", path = "../../test-primitives" }
|
|
|
|
[features]
|
|
default = []
|