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

polkadot-node-core-dispute-coordinator

The node-side components that participate in disputes

17 major breaking releases

new 18.0.0 Oct 1, 2024
17.0.0 Jul 19, 2024
15.0.0 Jul 13, 2024
14.0.0 Jun 24, 2024
0.0.0 Nov 21, 2022

#500 in Magic Beans

Download history 668/week @ 2024-06-13 741/week @ 2024-06-20 869/week @ 2024-06-27 302/week @ 2024-07-04 490/week @ 2024-07-11 576/week @ 2024-07-18 389/week @ 2024-07-25 392/week @ 2024-08-01 512/week @ 2024-08-08 663/week @ 2024-08-15 601/week @ 2024-08-22 365/week @ 2024-08-29 575/week @ 2024-09-05 663/week @ 2024-09-12 790/week @ 2024-09-19 1128/week @ 2024-09-26

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

GPL-3.0-only

395KB
9K SLoC

Release

Polkadot SDK stable2409


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

~94–135MB
~2.5M SLoC