Added "-x" and "--proxy" command line options.

This commit is contained in:
XMRig 2020-02-18 21:42:01 +07:00
parent 8497e9c54f
commit 2bc5fb10a7
No known key found for this signature in database
GPG key ID: 446A53638BE94409
5 changed files with 12 additions and 5 deletions

View file

@ -176,6 +176,9 @@ void xmrig::BaseTransform::transform(rapidjson::Document &doc, int key, const ch
case IConfig::SelfSelectKey: /* --self-select */
return add(doc, Pools::kPools, Pool::kSelfSelect, arg);
case IConfig::ProxyKey: /* --proxy */
return add(doc, Pools::kPools, Pool::kSOCKS5, arg);
case IConfig::LogFileKey: /* --log-file */
return set(doc, BaseConfig::kLogFile, arg);