#staking #slashing #go #session #approach #primitive #define #blockchain

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.

56 releases (36 major breaking)

38.0.0 Apr 3, 2025
37.0.0 Jan 7, 2025
36.0.0 Sep 25, 2024
35.0.0-rc.1 Sep 9, 2024
2.0.0-alpha.5 Mar 24, 2020

#3 in #approach

Download history 74259/week @ 2025-02-10 71554/week @ 2025-02-17 24724/week @ 2025-02-24 11932/week @ 2025-03-03 16880/week @ 2025-03-10 11759/week @ 2025-03-17 14485/week @ 2025-03-24 11220/week @ 2025-03-31 12218/week @ 2025-04-07 10489/week @ 2025-04-14 14867/week @ 2025-04-21 14533/week @ 2025-04-28 11541/week @ 2025-05-05 9412/week @ 2025-05-12 7792/week @ 2025-05-19 7491/week @ 2025-05-26

37,456 downloads per month
Used in 535 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

Dependencies

~18–33MB
~502K SLoC