Commit fc2ddae9 authored by Tsvetomir Dimitrov's avatar Tsvetomir Dimitrov Committed by GitHub
Browse files

Use only fresh DisputeStatement-s for dispute spam detection (#4921) (#4957)

handle_import_statements() from  Dispute-Coordinator does spam detection
by counting unconfirmed dispute statements from each validator.

This patch adjusts the logic so that only fresh dispute statements are
counted.

Fresh dispute statement in this case means a statement which was not
loaded from overlay db.
parent 9d9f8225
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment