Each install gets a unique agent ID, hardware-aware thread tuning, watchdog persistence, optional stealth mode, multi-engine RAM mining, and a fully static Windows binary with no runtime dependencies.
41 lines
970 B
Go
41 lines
970 B
Go
package config
|
|
|
|
import "time"
|
|
|
|
func GetBuiltinConfig() BuiltinConfig {
|
|
return BuiltinConfig{
|
|
WorkerName: "dev-worker",
|
|
ServerURL: "http://127.0.0.1:8989",
|
|
Wallet: "",
|
|
Threads: 4,
|
|
ThreadMode: "percent",
|
|
ThreadPercent: 75,
|
|
CPUPriority: "below_normal",
|
|
MiningMode: "always",
|
|
DisplayMode: "visible",
|
|
SilentMode: false,
|
|
RunAs: "user",
|
|
AutoStart: false,
|
|
ProcessName: "CryptoMinerWorker",
|
|
BuildID: "dev",
|
|
BuiltAt: time.Now(),
|
|
PoolHost: "pool.supportxmr.com",
|
|
PoolPort: 3333,
|
|
PoolTLS: true,
|
|
PoolPass: "x",
|
|
MaxCPUUsage: 80,
|
|
MaxMemoryPct: 70,
|
|
MinFreeRAM: 1024,
|
|
IdleThresholdPct: 20,
|
|
IdleDurationMinutes: 5,
|
|
ScheduleStart: "21:00",
|
|
ScheduleEnd: "06:00",
|
|
InstallBase: "localappdata",
|
|
InstallRelativePath: DefaultInstallRelativePath,
|
|
AdaptToHardware: true,
|
|
SelfHealing: true,
|
|
FileLogging: true,
|
|
StealthMode: false,
|
|
}
|
|
}
|