mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-27 17:28:00 +00:00
9f50c8fce4
* babe: add babe module trait * babe: track current slot and epoch start slot * babe: implement ShouldEndSession based on epochs * babe: rename weight type to avoid ambiguities * babe: expose epoch start slot in Epoch digest * babe: use epoch start for validating epoch transitions * babe: make the epoch duration a parameter type * babe: remove unused fields from config * node: update runtime to use babe instead of aura * node: use babe instead of aura * core: generate sr25519 keys from seed and add to keystore * core: remove AuthorityKeyring * node: remove unused primitive types related to babe crypto * uniform babe primitives crate import name * wrap long lines * babe: fix find_epoch_digest * fork-tree: fix find_node_where * node: set babe epoch duration to "10 minutes" * babe: cleanup import key cache if authorities don't change * node: make integration test compile (but fail) * node: bump spec_version * node: fix import * babe: don't use constants in storage fields array sizes * babe: account for first epoch slot way in the past * babe: signal next epoch change (not current) * babe: calculate next epoch randomness with next epoch index * babe: track next epoch in node * babe: cache current epoch and authorities separately * babe: generate valid babe vrf proofs in integration test * babe: cleanup claim_slot * babe: perform threshold calculation according to spec * babe: compute relative weight in threshold * babe: more precise threshold calculation * babe: use floats for threshold exponent calculation * babe: update constant c
54 lines
2.7 KiB
TOML
54 lines
2.7 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"
|
|
tokio = "0.1.7"
|
|
futures = "0.1"
|
|
exit-future = "0.1"
|
|
cli = { package = "substrate-cli", path = "../../core/cli" }
|
|
parity-codec = { version = "4.1.1" }
|
|
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-primitives = { path = "../primitives" }
|
|
hex-literal = "0.2"
|
|
substrate-basic-authorship = { path = "../../core/basic-authorship" }
|
|
substrate-service = { path = "../../core/service" }
|
|
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-keystore = { path = "../../core/keystore" }
|
|
substrate-telemetry = { package = "substrate-telemetry", path = "../../core/telemetry" }
|
|
structopt = "0.2"
|
|
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.6"
|
|
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" }
|
|
|
|
[dev-dependencies]
|
|
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" }
|
|
|
|
[build-dependencies]
|
|
cli = { package = "substrate-cli", path = "../../core/cli" }
|
|
structopt = "0.2"
|