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

54 releases (34 major breaking)

36.0.0 Sep 25, 2024
35.0.0-rc.1 Sep 9, 2024
34.0.0 Jul 18, 2024
33.0.0 Jun 21, 2024
2.0.0-alpha.5 Mar 24, 2020

#2 in #staking

Download history 4658/week @ 2024-08-27 3969/week @ 2024-09-03 4837/week @ 2024-09-10 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 48435/week @ 2024-12-10

229,761 downloads per month
Used in 482 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

~15–28MB
~449K SLoC