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

@@ -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 {