adds display and use of hostname for work and display
This commit is contained in:
parent
abef8ffff7
commit
82e10d2717
@ -5,3 +5,4 @@ edition = "2024"
|
||||
|
||||
[dependencies]
|
||||
clap = { version = "4.0", features = ["derive"] }
|
||||
hostname = "0.4"
|
||||
|
||||
@ -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",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user