#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)

new 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

#3 in #staking

Download history 4408/week @ 2024-09-17 6346/week @ 2024-09-24 5314/week @ 2024-10-01 3696/week @ 2024-10-08 5602/week @ 2024-10-15 6903/week @ 2024-10-22 6132/week @ 2024-10-29 7536/week @ 2024-11-05 54169/week @ 2024-11-12 56348/week @ 2024-11-19 57735/week @ 2024-11-26 56671/week @ 2024-12-03 56273/week @ 2024-12-10 47289/week @ 2024-12-17 15784/week @ 2024-12-24 20906/week @ 2024-12-31

153,503 downloads per month
Used in 484 crates (38 directly)

Apache-2.0

1MB
14K 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–28MB
~458K SLoC