Improve vote-account for logical flow/reasoning (#15237)

* Improve vote-account for logical flow/reasoning

* Clean up

* Update messages
This commit is contained in:
Ryo Onodera
2021-02-11 21:24:20 +09:00
committed by GitHub
parent dce8817880
commit ab0f4c69aa
2 changed files with 65 additions and 11 deletions

View File

@ -31,7 +31,7 @@ pub const MAX_LOCKOUT_HISTORY: usize = 31;
pub const INITIAL_LOCKOUT: usize = 2;
// Maximum number of credits history to keep around
const MAX_EPOCH_CREDITS_HISTORY: usize = 64;
pub const MAX_EPOCH_CREDITS_HISTORY: usize = 64;
#[frozen_abi(digest = "Ch2vVEwos2EjAVqSHCyJjnN2MNX1yrpapZTGhMSCjWUH")]
#[derive(Serialize, Default, Deserialize, Debug, PartialEq, Eq, Clone, AbiExample)]