From 42f642b7003c0984032077d1c56eb8494c3c9700 Mon Sep 17 00:00:00 2001 From: Tsvetomir Dimitrov Date: Mon, 24 Oct 2022 11:12:06 +0300 Subject: [PATCH] Guide update: clarification about spam votes --- .../src/node/disputes/dispute-coordinator.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/roadmap/implementers-guide/src/node/disputes/dispute-coordinator.md b/roadmap/implementers-guide/src/node/disputes/dispute-coordinator.md index 06425da01e2b..2a62170ac3be 100644 --- a/roadmap/implementers-guide/src/node/disputes/dispute-coordinator.md +++ b/roadmap/implementers-guide/src/node/disputes/dispute-coordinator.md @@ -386,6 +386,12 @@ dispute coordinator level (dispute-distribution also has its own), which is spam slots. For each import, where we don't know whether it might be spam or not we increment a counter for each signing participant of explicit `invalid` votes. +What votes do we treat as a potential spam? A vote will increase a spam slot if +and only if all of the following condidions are satisfied: +* the candidate under dispute is not included on any chain +* the dispute is not confirmed +* we haven't casted a vote for the dispute + The reason this works is because we only need to worry about actual dispute votes. Import of backing votes are already rate limited and concern only real candidates for approval votes a similar argument holds (if they come from