mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-08-11 21:40:59 +00:00
statement-distribution: validator disabling (#1841)
Closes #1591. The purpose of this PR is filter out backing statements from the network signed by disabled validators. This is just an optimization, since we will do filtering in the runtime in #1863 to avoid nodes to filter garbage out at block production time. - [x] Ensure it's ok to fiddle with the mask of manifests - [x] Write more unit tests - [x] Test locally - [x] simple zombienet test - [x] PRDoc --------- Co-authored-by: Tsvetomir Dimitrov <tsvetomir@parity.io>
This commit is contained in:
@@ -253,7 +253,9 @@ impl GridTracker {
|
||||
/// This checks whether the peer is allowed to send us manifests
|
||||
/// about this group at this relay-parent. This also does sanity
|
||||
/// checks on the format of the manifest and the amount of votes
|
||||
/// it contains. It has effects on the stored state only when successful.
|
||||
/// it contains. It assumes that the votes from disabled validators
|
||||
/// are already filtered out.
|
||||
/// It has effects on the stored state only when successful.
|
||||
///
|
||||
/// This returns a `bool` on success, which if true indicates that an acknowledgement is
|
||||
/// to be sent in response to the received manifest. This only occurs when the
|
||||
|
||||
Reference in New Issue
Block a user