#primitive #definition #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.12.0)

50 releases (30 major breaking)

new 32.0.0 May 23, 2024
31.0.0 Apr 30, 2024
30.0.0 Apr 8, 2024
29.0.0 Mar 18, 2024
2.0.0-alpha.5 Mar 24, 2020

#1159 in Magic Beans

Download history 2237/week @ 2024-01-31 4033/week @ 2024-02-07 4095/week @ 2024-02-14 4985/week @ 2024-02-21 3929/week @ 2024-02-28 3635/week @ 2024-03-06 4330/week @ 2024-03-13 5509/week @ 2024-03-20 4447/week @ 2024-03-27 5465/week @ 2024-04-03 4996/week @ 2024-04-10 5067/week @ 2024-04-17 4981/week @ 2024-04-24 5006/week @ 2024-05-01 4134/week @ 2024-05-08 3499/week @ 2024-05-15

18,502 downloads per month
Used in 456 crates (37 directly)

Apache-2.0

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


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