#definition #primitive #session #go #general #staking #slashing

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.

53 releases (33 major breaking)

new 35.0.0-rc.1 Sep 9, 2024
34.0.0 Jul 18, 2024
33.0.0 Jun 21, 2024
32.0.0 May 23, 2024
2.0.0-alpha.5 Mar 24, 2020

#2 in #staking

Download history 5274/week @ 2024-05-20 4993/week @ 2024-05-27 4796/week @ 2024-06-03 3609/week @ 2024-06-10 3743/week @ 2024-06-17 5997/week @ 2024-06-24 1942/week @ 2024-07-01 3631/week @ 2024-07-08 6398/week @ 2024-07-15 3726/week @ 2024-07-22 4085/week @ 2024-07-29 4077/week @ 2024-08-05 5446/week @ 2024-08-12 5156/week @ 2024-08-19 5014/week @ 2024-08-26 3357/week @ 2024-09-02

19,375 downloads per month
Used in 459 crates (38 directly)

Apache-2.0

730KB
13K 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 stable2409


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–29MB
~479K SLoC