diff --git a/src/base/net/stratum/Pool.h b/src/base/net/stratum/Pool.h index a8beee62..a78eb6bb 100644 --- a/src/base/net/stratum/Pool.h +++ b/src/base/net/stratum/Pool.h @@ -1,7 +1,7 @@ /* XMRig * Copyright (c) 2019 Howard Chu - * Copyright (c) 2018-2021 SChernykh - * Copyright (c) 2016-2021 XMRig , + * Copyright (c) 2018-2024 SChernykh + * Copyright (c) 2016-2024 XMRig , * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -59,7 +59,7 @@ public: static const char *kCoin; static const char *kDaemon; static const char *kDaemonPollInterval; - static const char* kDaemonJobTimeout; + static const char *kDaemonJobTimeout; static const char *kEnabled; static const char *kFingerprint; static const char *kKeepalive; @@ -70,11 +70,11 @@ public: static const char *kSOCKS5; static const char *kSubmitToOrigin; static const char *kTls; - static const char* kSni; + static const char *kSni; static const char *kUrl; static const char *kUser; - static const char* kSpendSecretKey; - static const char* kDaemonZMQPort; + static const char *kSpendSecretKey; + static const char *kDaemonZMQPort; static const char *kNicehashHost; constexpr static int kKeepAliveTimeout = 60; diff --git a/src/core/config/usage.h b/src/core/config/usage.h index eb7a9ec7..53a8e58c 100644 --- a/src/core/config/usage.h +++ b/src/core/config/usage.h @@ -4,8 +4,8 @@ * Copyright (c) 2014 Lucas Jones * Copyright (c) 2014-2016 Wolf9466 * Copyright (c) 2016 Jay D Dee - * Copyright (c) 2018-2021 SChernykh - * Copyright (c) 2016-2021 XMRig , + * Copyright (c) 2018-2024 SChernykh + * Copyright (c) 2016-2024 XMRig , * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -64,7 +64,7 @@ static inline const std::string &usage() # ifdef XMRIG_FEATURE_HTTP u += " --daemon use daemon RPC instead of pool for solo mining\n"; - u += " --daemon-zmq-port daemon's zmq-pub port number (only use it if daemon has it enabled)\n"; + u += " --daemon-zmq-port=N daemon's zmq-pub port number (only use it if daemon has it enabled)\n"; u += " --daemon-poll-interval=N daemon poll interval in milliseconds (default: 1000)\n"; u += " --daemon-job-timeout=N daemon job timeout in milliseconds (default: 15000)\n"; u += " --self-select=URL self-select block templates from URL\n";