mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-27 11:38:01 +00:00
d6827185c3
* Move import queue out of `sc-network` Add supplementary asynchronous API for the import queue which means it can be run as an independent task and communicated with through the `ImportQueueService`. This commit removes removes block and justification imports from `sc-network` and provides `ChainSync` with a handle to import queue so it can import blocks and justifications. Polling of the import queue is moved complete out of `sc-network` and `sc_consensus::Link` is implemented for `ChainSyncInterfaceHandled` so the import queue can still influence the syncing process. * Fix tests * Apply review comments * Apply suggestions from code review Co-authored-by: Bastian Köcher <git@kchr.de> * Update client/network/sync/src/lib.rs Co-authored-by: Bastian Köcher <git@kchr.de> Co-authored-by: Bastian Köcher <git@kchr.de>
37 lines
1.6 KiB
TOML
37 lines
1.6 KiB
TOML
[package]
|
|
name = "sc-consensus"
|
|
version = "0.10.0-dev"
|
|
authors = ["Parity Technologies <admin@parity.io>"]
|
|
edition = "2021"
|
|
license = "GPL-3.0-or-later WITH Classpath-exception-2.0"
|
|
homepage = "https://substrate.io"
|
|
repository = "https://github.com/paritytech/substrate/"
|
|
description = "Collection of common consensus specific imlementations for Substrate (client)"
|
|
readme = "README.md"
|
|
|
|
[package.metadata.docs.rs]
|
|
targets = ["x86_64-unknown-linux-gnu"]
|
|
|
|
[dependencies]
|
|
async-trait = "0.1.57"
|
|
futures = { version = "0.3.21", features = ["thread-pool"] }
|
|
futures-timer = "3.0.1"
|
|
libp2p = { version = "0.49.0", default-features = false }
|
|
log = "0.4.17"
|
|
mockall = "0.11.2"
|
|
parking_lot = "0.12.1"
|
|
serde = { version = "1.0", features = ["derive"] }
|
|
thiserror = "1.0.30"
|
|
prometheus-endpoint = { package = "substrate-prometheus-endpoint", version = "0.10.0-dev", path = "../../../utils/prometheus" }
|
|
sc-client-api = { version = "4.0.0-dev", path = "../../api" }
|
|
sc-utils = { version = "4.0.0-dev", path = "../../utils" }
|
|
sp-api = { version = "4.0.0-dev", path = "../../../primitives/api" }
|
|
sp-blockchain = { version = "4.0.0-dev", path = "../../../primitives/blockchain" }
|
|
sp-consensus = { version = "0.10.0-dev", path = "../../../primitives/consensus/common" }
|
|
sp-core = { version = "7.0.0", path = "../../../primitives/core" }
|
|
sp-runtime = { version = "7.0.0", path = "../../../primitives/runtime" }
|
|
sp-state-machine = { version = "0.13.0", path = "../../../primitives/state-machine" }
|
|
|
|
[dev-dependencies]
|
|
sp-test-primitives = { version = "2.0.0", path = "../../../primitives/test-primitives" }
|