Implement Windows agent with RandomX mining and WebSocket fleet reporting, wire dashboard settings into the builder with saved exe paths, and add project README.
31 lines
723 B
Go
31 lines
723 B
Go
package config
|
|
|
|
import "time"
|
|
|
|
// Default stub used for local development builds. The Miner Builder replaces this file.
|
|
func GetBuiltinConfig() BuiltinConfig {
|
|
return BuiltinConfig{
|
|
WorkerName: "dev-worker",
|
|
ServerURL: "http://127.0.0.1:8989",
|
|
Wallet: "",
|
|
Threads: 4,
|
|
CPUPriority: "below_normal",
|
|
MiningMode: "always",
|
|
SilentMode: false,
|
|
RunAs: "user",
|
|
AutoStart: false,
|
|
BuildID: "dev",
|
|
BuiltAt: time.Now(),
|
|
PoolHost: "pool.supportxmr.com",
|
|
PoolPort: 3333,
|
|
PoolTLS: true,
|
|
PoolPass: "x",
|
|
MaxCPUUsage: 80,
|
|
MinFreeRAM: 1024,
|
|
IdleThresholdPct: 20,
|
|
IdleDurationMinutes: 5,
|
|
ScheduleStart: "21:00",
|
|
ScheduleEnd: "06:00",
|
|
}
|
|
}
|