#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

#3 in #coordinator

Download history 324/week @ 2024-07-03 529/week @ 2024-07-10 543/week @ 2024-07-17 385/week @ 2024-07-24 386/week @ 2024-07-31 530/week @ 2024-08-07 572/week @ 2024-08-14 668/week @ 2024-08-21 395/week @ 2024-08-28 524/week @ 2024-09-04 676/week @ 2024-09-11 722/week @ 2024-09-18 1081/week @ 2024-09-25 815/week @ 2024-10-02 774/week @ 2024-10-09 665/week @ 2024-10-16

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

~96–135MB
~2.5M SLoC