mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-07-03 16:57:24 +00:00
0a1bc654d9
* Add futures-timer * Make cost_or_benefit public * Update ReportPeer message format * Add delay to reputation updates (dirtywork) * Update ReputationAggregator * Update tests * Fix flucky tests * Move reputation to state * Use the main loop for handling reputation sendings * Update * Move reputation to utils * Update reputation sending * Fix arguments order * Update state * Remove new from state * Add constant * Add failing test for delay * Change mocking approach * Fix type errors * Fix comments * Add message handling to select * Fix bitfields-distribution tests * Add docs to reputation aggregator * Replace .into_base_rep * Use one REPUTATION_CHANGE_INTERVAL by default * Add reputation change to statement-distribution * Update polkadot-availability-bitfield-distribution * Update futures selecting in subsystems * Update reputation adding * Send malicious changes right away without adding to state * Add reputation to StatementDistributionSubsystem * Handle reputation in statement distribution * Add delay test for polkadot-statement-distribution * Fix collator-protocol tests before applying reputation delay * Remove into_base_rep * Add reputation to State * Fix failed tests * Add reputation delay * Update tests * Add batched network message for peer reporting * Update approval-distribution tests * Update bitfield-distribution tests * Update statement-distribution tests * Update collator-protocol tests * Remove levels in matching * Address clippy errors * Fix overseer test * Add a metric for original count of rep changes * Update Reputation * Revert "Add a metric for original count of rep changes" This reverts commit 6c9b0c1ec34491d16e562bdcba8db6b9dcf484db. * Update node/subsystem-util/src/reputation.rs Co-authored-by: Vsevolod Stakhov <vsevolod.stakhov@parity.io> * Remove redundant vec --------- Co-authored-by: Vsevolod Stakhov <vsevolod.stakhov@parity.io>
38 lines
1.8 KiB
TOML
38 lines
1.8 KiB
TOML
[package]
|
|
name = "polkadot-statement-distribution"
|
|
description = "Statement Distribution Subsystem"
|
|
version.workspace = true
|
|
authors.workspace = true
|
|
edition.workspace = true
|
|
|
|
[dependencies]
|
|
futures = "0.3.21"
|
|
futures-timer = "3.0.2"
|
|
gum = { package = "tracing-gum", path = "../../gum" }
|
|
polkadot-primitives = { path = "../../../primitives" }
|
|
sp-staking = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
|
|
sp-keystore = { git = "https://github.com/paritytech/substrate", branch = "master" }
|
|
polkadot-node-subsystem = {path = "../../subsystem" }
|
|
polkadot-node-primitives = { path = "../../primitives" }
|
|
polkadot-node-subsystem-util = { path = "../../subsystem-util" }
|
|
polkadot-node-network-protocol = { path = "../../network/protocol" }
|
|
arrayvec = "0.5.2"
|
|
indexmap = "1.9.1"
|
|
parity-scale-codec = { version = "3.4.0", default-features = false, features = ["derive"] }
|
|
thiserror = "1.0.31"
|
|
fatality = "0.0.6"
|
|
|
|
[dev-dependencies]
|
|
polkadot-node-subsystem-test-helpers = { path = "../../subsystem-test-helpers" }
|
|
assert_matches = "1.4.0"
|
|
sp-authority-discovery = { git = "https://github.com/paritytech/substrate", branch = "master" }
|
|
sp-keyring = { git = "https://github.com/paritytech/substrate", branch = "master" }
|
|
sp-core = { git = "https://github.com/paritytech/substrate", branch = "master" }
|
|
sp-application-crypto = { git = "https://github.com/paritytech/substrate", branch = "master" }
|
|
sp-keystore = { git = "https://github.com/paritytech/substrate", branch = "master" }
|
|
sp-tracing = { git = "https://github.com/paritytech/substrate", branch = "master" }
|
|
sc-keystore = { git = "https://github.com/paritytech/substrate", branch = "master" }
|
|
sc-network = { git = "https://github.com/paritytech/substrate", branch = "master" }
|
|
futures-timer = "3.0.2"
|
|
polkadot-primitives-test-helpers = { path = "../../../primitives/test-helpers" }
|