mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-27 19:47:59 +00:00
e110cd7ae8
The authority discovery module enables authorities to be discoverable and discover other authorities to improve interconnection among them. In order to achieve this the module needs to know when the authority set changes, thus when a session changes. One has to register a module as a *session handler* in order for it to be notified of changing sessions. The order and number of these *session handlers* **MUST** correspond to the order and number of the *session keys*. Commit027d887added the authority discovery to the `SessionHandlers`. Given that the authority discovery module piggybacks on the Babe session keys the commit violated the above constraint. This commit reverts most of027d887, leaving `core/authority-discovery` and `srml/authority-discovery` untouched.
66 lines
3.6 KiB
TOML
66 lines
3.6 KiB
TOML
[package]
|
|
name = "node-cli"
|
|
version = "2.0.0"
|
|
authors = ["Parity Technologies <admin@parity.io>"]
|
|
description = "Substrate node implementation in Rust."
|
|
build = "build.rs"
|
|
edition = "2018"
|
|
|
|
[dependencies]
|
|
log = "0.4.8"
|
|
tokio = "0.1.22"
|
|
futures = "0.1.29"
|
|
exit-future = "0.1.4"
|
|
jsonrpc-core = "13.2.0"
|
|
cli = { package = "substrate-cli", path = "../../core/cli" }
|
|
codec = { package = "parity-scale-codec", version = "1.0.0" }
|
|
sr-io = { path = "../../core/sr-io" }
|
|
client = { package = "substrate-client", path = "../../core/client" }
|
|
primitives = { package = "substrate-primitives", path = "../../core/primitives" }
|
|
inherents = { package = "substrate-inherents", path = "../../core/inherents" }
|
|
node-runtime = { path = "../runtime" }
|
|
node-rpc = { path = "../rpc" }
|
|
node-primitives = { path = "../primitives" }
|
|
hex-literal = "0.2.1"
|
|
substrate-rpc = { package = "substrate-rpc", path = "../../core/rpc" }
|
|
substrate-basic-authorship = { path = "../../core/basic-authorship" }
|
|
substrate-service = { path = "../../core/service" }
|
|
chain-spec = { package = "substrate-chain-spec", path = "../../core/chain-spec" }
|
|
transaction_pool = { package = "substrate-transaction-pool", path = "../../core/transaction-pool" }
|
|
network = { package = "substrate-network", path = "../../core/network" }
|
|
babe = { package = "substrate-consensus-babe", path = "../../core/consensus/babe" }
|
|
babe-primitives = { package = "substrate-consensus-babe-primitives", path = "../../core/consensus/babe/primitives" }
|
|
grandpa = { package = "substrate-finality-grandpa", path = "../../core/finality-grandpa" }
|
|
grandpa_primitives = { package = "substrate-finality-grandpa-primitives", path = "../../core/finality-grandpa/primitives" }
|
|
sr-primitives = { path = "../../core/sr-primitives" }
|
|
node-executor = { path = "../executor" }
|
|
substrate-telemetry = { package = "substrate-telemetry", path = "../../core/telemetry" }
|
|
structopt = "0.3.3"
|
|
transaction-factory = { path = "../../test-utils/transaction-factory" }
|
|
keyring = { package = "substrate-keyring", path = "../../core/keyring" }
|
|
indices = { package = "srml-indices", path = "../../srml/indices" }
|
|
timestamp = { package = "srml-timestamp", path = "../../srml/timestamp", default-features = false }
|
|
rand = "0.7.2"
|
|
finality_tracker = { package = "srml-finality-tracker", path = "../../srml/finality-tracker", default-features = false }
|
|
contracts = { package = "srml-contracts", path = "../../srml/contracts" }
|
|
system = { package = "srml-system", path = "../../srml/system" }
|
|
balances = { package = "srml-balances", path = "../../srml/balances" }
|
|
transaction-payment = { package = "srml-transaction-payment", path = "../../srml/transaction-payment" }
|
|
support = { package = "srml-support", path = "../../srml/support", default-features = false }
|
|
im_online = { package = "srml-im-online", path = "../../srml/im-online", default-features = false }
|
|
serde = { version = "1.0.101", features = [ "derive" ] }
|
|
client_db = { package = "substrate-client-db", path = "../../core/client/db", features = ["kvdb-rocksdb"] }
|
|
offchain = { package = "substrate-offchain", path = "../../core/offchain" }
|
|
|
|
[dev-dependencies]
|
|
keystore = { package = "substrate-keystore", path = "../../core/keystore" }
|
|
babe = { package = "substrate-consensus-babe", path = "../../core/consensus/babe", features = ["test-helpers"] }
|
|
consensus-common = { package = "substrate-consensus-common", path = "../../core/consensus/common" }
|
|
service-test = { package = "substrate-service-test", path = "../../core/service/test" }
|
|
futures03 = { package = "futures-preview", version = "0.3.0-alpha.19" }
|
|
tempfile = "3.1.0"
|
|
|
|
[build-dependencies]
|
|
cli = { package = "substrate-cli", path = "../../core/cli" }
|
|
structopt = "0.3.3"
|