Update config.rs (#7045)

automerge
This commit is contained in:
Rob Walker 2019-11-20 11:10:46 -08:00 committed by Grimes
parent 3aa67969f9
commit ba9aaee7cd
1 changed files with 2 additions and 1 deletions

View File

@ -17,7 +17,8 @@ const ID: [u8; 32] = [
solana_sdk::solana_name_id!(ID, "StakeConfig11111111111111111111111111111111");
// means that no more tha
// means that no more than RATE of current effective stake may be added or subtracted per
// epoch
pub const DEFAULT_WARMUP_RATE: f64 = 0.25;
pub const DEFAULT_COOLDOWN_RATE: f64 = 0.25;
pub const DEFAULT_SLASH_PENALTY: u8 = ((5 * std::u8::MAX as usize) / 100) as u8;