#definition #primitive #session #go #general #staking #polkadot

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. (polkadot v1.9.0)

47 releases (27 major breaking)

new 29.0.0 Mar 18, 2024
28.0.0 Feb 26, 2024
27.0.0 Feb 13, 2024
26.0.0 Jan 23, 2024
2.0.0-alpha.5 Mar 24, 2020

#1132 in Magic Beans

Download history 2454/week @ 2023-11-27 1873/week @ 2023-12-04 3545/week @ 2023-12-11 2619/week @ 2023-12-18 1350/week @ 2023-12-25 2081/week @ 2024-01-01 3954/week @ 2024-01-08 2827/week @ 2024-01-15 3275/week @ 2024-01-22 2540/week @ 2024-01-29 2959/week @ 2024-02-05 4367/week @ 2024-02-12 4107/week @ 2024-02-19 5058/week @ 2024-02-26 3767/week @ 2024-03-04 1121/week @ 2024-03-11

14,421 downloads per month
Used in 432 crates (36 directly)

Apache-2.0

635KB
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


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–33MB
~556K SLoC