mirror of
https://github.com/d0zingcat/ore.git
synced 2026-05-19 15:10:29 +00:00
tolerance to config
This commit is contained in:
@@ -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,
|
||||
|
||||
|
||||
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user