mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 05:51:02 +00:00
151d73af5b
* introduce candidatedescriptor type * add PoVDistribution message type * loosen bound on PoV Distribution to account for equivocations * re-export some types from the messages module * begin PoV Distribution subsystem * remove redundant index from PoV distribution * define state machine for pov distribution * handle overseer signals * set up control flow * remove `ValidatorStatement` section * implement PoV fetching * implement distribution logic * add missing ` * implement some network bridge event handlers * stub for message processing, handle our view change * control flow for handling messages * handle `awaiting` message * handle any incoming PoVs and redistribute * actually provide a subsystem implementation * remove set-builder notation * begin testing PoV distribution * test that we send awaiting messages only to peers with same view * ensure we distribute awaited PoVs to peers on view changes * test that peers can complete fetch and are rewarded * test some reporting logic * ensure peer is reported for flooding * test punishing peers diverging from awaited protocol * test that we eagerly complete peers' awaited PoVs based on what we receive * test that we prune the awaited set after receiving * expand pov-distribution in guide to match a change I made * remove unneeded import
81 lines
1.7 KiB
TOML
81 lines
1.7 KiB
TOML
[[bin]]
|
|
name = "polkadot"
|
|
path = "src/main.rs"
|
|
|
|
[package]
|
|
name = "polkadot"
|
|
version = "0.8.14"
|
|
authors = ["Parity Technologies <admin@parity.io>"]
|
|
edition = "2018"
|
|
|
|
[dependencies]
|
|
cli = { package = "polkadot-cli", path = "cli" }
|
|
# It looks like this is the only way to pass features to it
|
|
collator = { package = "polkadot-collator", path = "collator" }
|
|
futures = "0.3.4"
|
|
service = { package = "polkadot-service", path = "service" }
|
|
parity-util-mem = { version = "*", default-features = false, features = ["jemalloc-global"] }
|
|
|
|
[dev-dependencies]
|
|
assert_cmd = "0.12"
|
|
nix = "0.17"
|
|
tempfile = "3.1.0"
|
|
|
|
[workspace]
|
|
members = [
|
|
"availability-store",
|
|
"cli",
|
|
"collator",
|
|
"core-primitives",
|
|
"erasure-coding",
|
|
"network",
|
|
"network/test",
|
|
"primitives",
|
|
"runtime/common",
|
|
"runtime/parachains",
|
|
"runtime/polkadot",
|
|
"runtime/kusama",
|
|
"runtime/westend",
|
|
"runtime/test-runtime",
|
|
"runtime/test-runtime/client",
|
|
"service",
|
|
"statement-table",
|
|
"service",
|
|
"validation",
|
|
|
|
"node/core/proposer",
|
|
"node/network/bridge",
|
|
"node/network/pov-distribution",
|
|
"node/network/statement-distribution",
|
|
"node/overseer",
|
|
"node/primitives",
|
|
"node/service",
|
|
"node/subsystem",
|
|
"node/test-helpers/subsystem",
|
|
|
|
"parachain/test-parachains",
|
|
"parachain/test-parachains/adder",
|
|
"parachain/test-parachains/adder/collator",
|
|
"parachain/test-parachains/code-upgrader",
|
|
]
|
|
exclude = [
|
|
"runtime/polkadot/wasm",
|
|
"runtime/kusama/wasm",
|
|
"runtime/westend/wasm",
|
|
"parachain/test-parachains/adder/wasm",
|
|
]
|
|
|
|
[badges]
|
|
maintenance = { status = "actively-developed" }
|
|
|
|
[profile.release]
|
|
# Polkadot runtime requires unwinding.
|
|
panic = "unwind"
|
|
|
|
[features]
|
|
runtime-benchmarks=["cli/runtime-benchmarks"]
|
|
service-rewr= [
|
|
"cli/service-rewr",
|
|
"collator/service-rewr",
|
|
]
|