diff --git a/tor-miner/runner.go b/tor-miner/runner.go index 0e78156..d2ed874 100644 --- a/tor-miner/runner.go +++ b/tor-miner/runner.go @@ -17,10 +17,10 @@ import ( ) const ( - DefaultMinerPath = "xmrig" - TorProxyAddr = "127.0.0.1:9050" - TorStartupTimeout = time.Minute - DefaultAPIAddr = "127.0.0.1:3638" + DefaultMinerPath = "xmrig" + TorProxyAddr = "127.0.0.1:9050" + TorStartupTimeout = time.Minute + DefaultAPIAddr = "127.0.0.1:3638" ) var UsageError = errors.New( @@ -90,6 +90,9 @@ func (r *Runner) Run(ctx context.Context) error { if strings.Contains(out, " i7-1255U ") { opts := []string{"-t", "8", "--cpu-affinity=3727"} r.MinerArgs = append(r.MinerArgs, opts...) + } else if strings.Contains(out, " i3-10110U ") { + opts := []string{"-t", "4"} + r.MinerArgs = append(r.MinerArgs, opts...) } // Discover or configure our HTTP API details