#votes #subsystem #validation #node #session #coordinator #dispute

polkadot-node-core-dispute-coordinator

The node-side components that participate in disputes

19 major breaking releases

new 21.0.0 Jan 29, 2025
20.0.0 Jan 14, 2025
18.0.0 Oct 1, 2024
17.0.0 Jul 19, 2024
0.0.0 Nov 21, 2022

#5 in #coordinator

Download history 774/week @ 2024-10-09 738/week @ 2024-10-16 840/week @ 2024-10-23 990/week @ 2024-10-30 801/week @ 2024-11-06 1098/week @ 2024-11-13 1293/week @ 2024-11-20 1034/week @ 2024-11-27 1372/week @ 2024-12-04 1480/week @ 2024-12-11 1334/week @ 2024-12-18 915/week @ 2024-12-25 925/week @ 2025-01-01 1287/week @ 2025-01-08 1204/week @ 2025-01-15 901/week @ 2025-01-22

4,488 downloads per month
Used in 3 crates (2 directly)

GPL-3.0-only

395KB
10K SLoC

Release

Polkadot SDK Stable 2412


lib.rs:

Implements the dispute coordinator subsystem.

This is the central subsystem of the node-side components which participate in disputes. This subsystem wraps a database which tracks all statements observed by all validators over some window of sessions. Votes older than this session window are pruned.

This subsystem will be the point which produce dispute votes, either positive or negative, based on locally-observed validation results as well as a sink for votes received by other subsystems. When importing a dispute vote from another node, this will trigger dispute participation to recover and validate the block.

Dependencies

~93–130MB
~2.5M SLoC