#subsystem #validation #determine #message #jobs #polkadot #traits

polkadot-node-subsystem-util

Subsystem traits and message definitions (polkadot v1.10.0)

12 major breaking releases

new 12.0.0 May 1, 2024
11.0.0 Apr 9, 2024
10.0.0 Mar 19, 2024
9.0.0 Feb 27, 2024
0.0.0 Nov 21, 2022

#1807 in Magic Beans

Download history 227/week @ 2024-01-09 170/week @ 2024-01-16 267/week @ 2024-01-23 143/week @ 2024-01-30 393/week @ 2024-02-06 490/week @ 2024-02-13 572/week @ 2024-02-20 1120/week @ 2024-02-27 454/week @ 2024-03-05 511/week @ 2024-03-12 1065/week @ 2024-03-19 856/week @ 2024-03-26 820/week @ 2024-04-02 965/week @ 2024-04-09 557/week @ 2024-04-16 519/week @ 2024-04-23

3,095 downloads per month
Used in 31 crates (21 directly)

GPL-3.0-only

160KB
3.5K SLoC

Utility module for subsystems

Many subsystems have common interests such as canceling a bunch of spawned jobs, or determining what their validator ID is. These common interests are factored into this module.

This crate also reexports Prometheus metric types which are expected to be implemented by subsystems.

Dependencies

~73–115MB
~2M SLoC