tolerance to config

This commit is contained in:
Hardhat Chad
2024-04-30 17:50:26 +00:00
parent 8ab3c27492
commit f7572aa2cf
6 changed files with 23 additions and 12 deletions

View File

@@ -15,6 +15,7 @@ pub struct Bus {
/// The ID of the bus account.
pub id: u64,
// TODO Update logic to count up rather than down
/// The quantity of rewards this bus can issue in the current epoch epoch.
pub rewards: u64,

View File

@@ -27,6 +27,12 @@ pub struct Config {
/// Is mining paused.
pub paused: u32,
/// Seconds prior to a miner's target time during which their hashes will not be penalized.
pub tolerance_spam: i64,
/// Seconds after a miner's target time during which their hashes will not be penalized.
pub tolerance_liveness: i64,
}
impl Discriminator for Config {