solana_program::stake

Module config

Source
Expand description

config for staking carries variables that the stake program cares about

Re-exports§

pub use super::state::DEFAULT_SLASH_PENALTY;
pub use super::state::DEFAULT_WARMUP_COOLDOWN_RATE;

Structs§

ConfigDeprecated

Constants§

ID
The const program ID.

Functions§

check_idDeprecated
Returns true if given pubkey is the program ID.
idDeprecated
Returns the program ID.