#definition #primitive #session #go #staking #slashing #approaches

no-std sp-staking

A crate which contains primitives that are useful for implementation that uses staking approaches in general. Definitions related to sessions, slashing, etc go here.

55 releases (35 major breaking)

37.0.0 Jan 7, 2025
36.0.0 Sep 25, 2024
35.0.0-rc.1 Sep 9, 2024
34.0.0 Jul 18, 2024
2.0.0-alpha.5 Mar 24, 2020

#4 in #staking

Download history 6330/week @ 2024-10-28 7109/week @ 2024-11-04 45295/week @ 2024-11-11 54430/week @ 2024-11-18 61768/week @ 2024-11-25 51877/week @ 2024-12-02 61672/week @ 2024-12-09 50709/week @ 2024-12-16 14414/week @ 2024-12-23 26836/week @ 2024-12-30 48600/week @ 2025-01-06 76044/week @ 2025-01-13 65907/week @ 2025-01-20 54012/week @ 2025-01-27 64855/week @ 2025-02-03 74125/week @ 2025-02-10

265,506 downloads per month
Used in 488 crates (38 directly)

Apache-2.0

1MB
15K SLoC

A crate which contains primitives that are useful for implementation that uses staking approaches in general. Definitions related to sessions, slashing, etc go here.

License: Apache-2.0

Release

Polkadot SDK Stable 2412


lib.rs:

A crate which contains primitives that are useful for implementation that uses staking approaches in general. Definitions related to sessions, slashing, etc go here.

Dependencies

~16–31MB
~468K SLoC