mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-10 06:27:57 +00:00
1e126eab2f
* Remove useless internal messages * Remove NetworkService::disconnect_peer * Remove NetworkMsg altogether * Rename ProtocolMsg ServerToWorkerMsg * Remove useless code * Add example for parse_str_addr * Move parse_str_addr and ProtocolId to config * Don't reexport the content of config * Rework the imports * More reexports rework * Add documentation * Move finalization report to network future * Move on_block_imported to worker * get_value/put_value no longer locking * local_peer_id() no longer locks * Remove FetchFuture * Service imports cleanup * Produce the network state in the network task * Merge network task and RPC network task * Move network methods to NetworkWorker * Remove Arc peers system from network * add_reserved_peer now goes through the channel * Remove Mutex around network swarm * Remove the FnOnce alias traits * Replace is_offline with num_connected * Improve style of poll() * Fix network tests * Some doc in service module * Remove macro export * Minor doc changes * Remove the synchronized() method of the import queue * Line width * Line widths * Fix import queue tests * Fix CLI tests
40 lines
1.6 KiB
TOML
40 lines
1.6 KiB
TOML
[package]
|
|
name = "substrate-finality-grandpa"
|
|
version = "2.0.0"
|
|
authors = ["Parity Technologies <admin@parity.io>"]
|
|
edition = "2018"
|
|
|
|
[dependencies]
|
|
fork-tree = { path = "../../core/utils/fork-tree" }
|
|
futures = "0.1"
|
|
log = "0.4"
|
|
parking_lot = "0.8.0"
|
|
tokio-executor = "0.1.7"
|
|
tokio-timer = "0.2.11"
|
|
rand = "0.6"
|
|
parity-codec = { version = "4.1.1", features = ["derive"] }
|
|
runtime_primitives = { package = "sr-primitives", path = "../sr-primitives" }
|
|
consensus_common = { package = "substrate-consensus-common", path = "../consensus/common" }
|
|
substrate-primitives = { path = "../primitives" }
|
|
substrate-telemetry = { path = "../telemetry" }
|
|
serde_json = "1.0"
|
|
client = { package = "substrate-client", path = "../client" }
|
|
inherents = { package = "substrate-inherents", path = "../../core/inherents" }
|
|
network = { package = "substrate-network", path = "../network" }
|
|
service = { package = "substrate-service", path = "../service", optional = true }
|
|
srml-finality-tracker = { path = "../../srml/finality-tracker" }
|
|
fg_primitives = { package = "substrate-finality-grandpa-primitives", path = "primitives" }
|
|
grandpa = { package = "finality-grandpa", version = "0.8.1", features = ["derive-codec"] }
|
|
|
|
[dev-dependencies]
|
|
grandpa = { package = "finality-grandpa", version = "0.8.1", features = ["derive-codec", "test-helpers"] }
|
|
network = { package = "substrate-network", path = "../network", features = ["test-helpers"] }
|
|
keyring = { package = "substrate-keyring", path = "../keyring" }
|
|
test-client = { package = "substrate-test-runtime-client", path = "../test-runtime/client"}
|
|
env_logger = "0.6"
|
|
tokio = "0.1.17"
|
|
|
|
[features]
|
|
default = ["service-integration"]
|
|
service-integration = ["service"]
|