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

polkadot-node-core-dispute-coordinator

The node-side components that participate in disputes

17 major breaking releases

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

#2 in #votes

Download history 376/week @ 2024-07-29 443/week @ 2024-08-05 575/week @ 2024-08-12 698/week @ 2024-08-19 431/week @ 2024-08-26 449/week @ 2024-09-02 658/week @ 2024-09-09 619/week @ 2024-09-16 885/week @ 2024-09-23 1090/week @ 2024-09-30 713/week @ 2024-10-07 775/week @ 2024-10-14 898/week @ 2024-10-21 812/week @ 2024-10-28 980/week @ 2024-11-04 769/week @ 2024-11-11

3,532 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

~97–140MB
~2.5M SLoC