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

polkadot-node-core-dispute-coordinator

The node-side components that participate in disputes (polkadot v1.12.0)

13 major breaking releases

new 13.0.0 May 24, 2024
12.0.0 May 1, 2024
11.0.0 Apr 10, 2024
10.0.0 Mar 19, 2024
0.0.0 Nov 21, 2022

#377 in Magic Beans

Download history 171/week @ 2024-02-01 351/week @ 2024-02-08 354/week @ 2024-02-15 859/week @ 2024-02-22 721/week @ 2024-02-29 329/week @ 2024-03-07 658/week @ 2024-03-14 868/week @ 2024-03-21 925/week @ 2024-03-28 810/week @ 2024-04-04 512/week @ 2024-04-11 507/week @ 2024-04-18 557/week @ 2024-04-25 591/week @ 2024-05-02 491/week @ 2024-05-09 767/week @ 2024-05-16

2,478 downloads per month
Used in 2 crates (via polkadot-service)

GPL-3.0-only

395KB
9K SLoC

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

~92–135MB
~2.5M SLoC