mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 10:31:03 +00:00
ac8e1ca206
* set up data types and control flow for statement distribution * add some set-like methods to View * implement sending to peers * start fixing equivocation handling * Add a section to the statement distribution subsystem on equivocations and flood protection * fix typo and amend wording * implement flood protection * have peer knowledge tracker follow when peer first learns about a candidate * send dependents after circulating * add another TODO * trigger send in one more place * refactors from review * send new statements to candidate backing * instantiate active head data with runtime API values * track our view changes and peer view changes * apply a benefit to peers who send us statements we want * remove unneeded TODO * add some comments and improve Hash implementation * start tests and fix `note_statement` * test active_head seconding logic * test that the per-peer tracking logic works * test per-peer knowledge tracker * test that peer view updates lead to messages being sent * test statement circulation * address review comments * have view set methods return references
80 lines
1.7 KiB
TOML
80 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/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",
|
|
]
|