From c9a6d293af963f5e269b6c27b6d747e1061ddbd2 Mon Sep 17 00:00:00 2001 From: Leon1777 <168653957+Leon1777@users.noreply.github.com> Date: Thu, 29 Aug 2024 17:18:43 +0200 Subject: [PATCH] DAG generation explanation to warning --- src/miner.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/miner.rs b/src/miner.rs index 786960d..f101bc9 100644 --- a/src/miner.rs +++ b/src/miner.rs @@ -129,7 +129,7 @@ pub fn get_num_cpus(n_cpus: Option) -> u16 { }) } -const LOG_RATE: Duration = Duration::from_secs(10); +const LOG_RATE: Duration = Duration::from_secs(30); impl MinerManager { pub fn new(send_channel: Sender, n_cpus: Option, manager: &PluginManager) -> Self { @@ -387,7 +387,7 @@ impl MinerManager { Self::log_single_hashrate( &hashes_tried, "Current hashrate is".into(), - "Workers stalled or crashed. Consider reducing workload and check that your node is synced", + "Workers stalled or crashed. Consider reducing workload and check that your node is synced. If this is the first time starting the miner, DAG generation can take up to 10-15 minutes, and the miner will begin hashing after that.", duration, false, );