mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-06 03:18:01 +00:00
af3fc1d95a
When receiving more addresses for a given authority than a defined threshold (5), the authority discovery drops the remaining in order to prevent a single authority to fill all priority group slots.
35 lines
1.3 KiB
TOML
35 lines
1.3 KiB
TOML
[package]
|
|
name = "sc-authority-discovery"
|
|
version = "2.0.0"
|
|
authors = ["Parity Technologies <admin@parity.io>"]
|
|
edition = "2018"
|
|
build = "build.rs"
|
|
|
|
[build-dependencies]
|
|
prost-build = "0.5.0"
|
|
|
|
[dependencies]
|
|
authority-discovery-primitives = { package = "sp-authority-discovery", path = "../../primitives/authority-discovery" }
|
|
bytes = "0.4.12"
|
|
client-api = { package = "sc-client-api", path = "../api" }
|
|
codec = { package = "parity-scale-codec", default-features = false, version = "1.0.3" }
|
|
derive_more = "0.99.2"
|
|
futures = "0.3.1"
|
|
futures-timer = "2.0"
|
|
keystore = { package = "sc-keystore", path = "../keystore" }
|
|
libp2p = { version = "0.13.0", default-features = false, features = ["secp256k1", "libp2p-websocket"] }
|
|
log = "0.4.8"
|
|
network = { package = "sc-network", path = "../network" }
|
|
primitives = { package = "sp-core", path = "../../primitives/core" }
|
|
sp-blockchain = { path = "../../primitives/blockchain" }
|
|
prost = "0.5.0"
|
|
serde_json = "1.0.41"
|
|
sp-runtime = { path = "../../primitives/sr-primitives" }
|
|
|
|
[dev-dependencies]
|
|
env_logger = "0.7.0"
|
|
parking_lot = "0.9.0"
|
|
peerset = { package = "sc-peerset", path = "../peerset" }
|
|
test-client = { package = "substrate-test-runtime-client", path = "../../test/utils/runtime/client" }
|
|
sp-api = { path = "../../primitives/sr-api" }
|