@@ -70,7 +70,7 @@ lazy_static! {
pub static ref REWARD: u64 = 420;
/// `2 * DELTA` represents slot time
pub static ref DELTA: u64 = 20;
-
+
/// Quarantine duration, in slots
pub static ref QUARANTINE_DURATION: u64 = 5;
@@ -16,7 +16,7 @@ use rand::rngs::OsRng;
use super::{
Block, BlockInfo, BlockProposal, Header, KeepAlive, LeadProof, Metadata, Participant,
- ProposalChain, EPOCH_LENGTH, DELTA, QUARANTINE_DURATION,
+ ProposalChain, DELTA, EPOCH_LENGTH, QUARANTINE_DURATION,
};
use crate::{
@@ -5,7 +5,7 @@ use rand::Rng;
use smol::Executor;
- consensus::{QUARANTINE_DURATION, KeepAlive, ValidatorStatePtr},
+ consensus::{KeepAlive, ValidatorStatePtr, QUARANTINE_DURATION},
crypto::schnorr::SchnorrSecret,
net::P2pPtr,
util::async_util::sleep,