Crate sp_staking
source ·Expand description
A crate which contains primitives that are useful for implementation that uses staking approaches in general. Definitions related to sessions, slashing, etc go here.
Modules
Common traits and types that are useful for describing offences for usage in environments
that use staking.
Traits
Trait describing something that implements a hook for any operations to perform when a staker is
slashed.
Trait for communication with the staking pallet.
Type Definitions
Counter for the number of eras that have passed.
Simple index type with which we can count sessions.