Files
pezkuwi-subxt/substrate/client/authority-discovery/Cargo.toml
T
Dmitry Markin 9d2963c29d Make public addresses go first in authority discovery DHT records (#3757)
Make sure explicitly set by the operator public addresses go first in
the authority discovery DHT records.

Also update `Discovery` behavior to eliminate duplicates in the returned
addresses.

This PR should improve situation with
https://github.com/paritytech/polkadot-sdk/issues/3519.

Obsoletes https://github.com/paritytech/polkadot-sdk/pull/3657.
2024-03-22 12:18:03 +00:00

57 lines
1.7 KiB
TOML

[package]
name = "sc-authority-discovery"
version = "0.34.0"
authors.workspace = true
edition.workspace = true
build = "build.rs"
license = "GPL-3.0-or-later WITH Classpath-exception-2.0"
homepage = "https://substrate.io"
repository.workspace = true
description = "Substrate authority discovery."
readme = "README.md"
[lints]
workspace = true
[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]
[build-dependencies]
prost-build = "0.11"
[dependencies]
codec = { package = "parity-scale-codec", version = "3.6.1", default-features = false }
futures = "0.3.21"
futures-timer = "3.0.1"
ip_network = "0.4.1"
libp2p = { version = "0.51.4", features = ["ed25519", "kad"] }
multihash = { version = "0.18.1", default-features = false, features = [
"sha2",
"std",
] }
linked_hash_set = "0.1.4"
log = { workspace = true, default-features = true }
prost = "0.12"
rand = "0.8.5"
thiserror = { workspace = true }
prometheus-endpoint = { package = "substrate-prometheus-endpoint", path = "../../utils/prometheus" }
sc-client-api = { path = "../api" }
sc-network = { path = "../network" }
sp-api = { path = "../../primitives/api" }
sp-authority-discovery = { path = "../../primitives/authority-discovery" }
sp-blockchain = { path = "../../primitives/blockchain" }
sp-core = { path = "../../primitives/core" }
sp-keystore = { path = "../../primitives/keystore" }
sp-runtime = { path = "../../primitives/runtime" }
async-trait = "0.1.74"
multihash-codetable = { version = "0.1.1", features = [
"digest",
"serde",
"sha2",
] }
[dev-dependencies]
quickcheck = { version = "1.0.3", default-features = false }
sp-tracing = { path = "../../primitives/tracing" }
substrate-test-runtime-client = { path = "../../test-utils/runtime/client" }