mirror of
https://github.com/xmrig/xmrig.git
synced 2025-12-25 13:42:54 -05:00
Network code cleanup (WIP).
This commit is contained in:
@@ -49,6 +49,7 @@ public:
|
||||
|
||||
protected:
|
||||
inline bool isEnabled() const override { return m_enabled; }
|
||||
inline const char *tag() const override { return m_tag.c_str(); }
|
||||
inline const Job &job() const override { return m_job; }
|
||||
inline const Pool &pool() const override { return m_pool; }
|
||||
inline const String &ip() const override { return m_ip; }
|
||||
@@ -96,6 +97,7 @@ protected:
|
||||
SocketState m_state = UnconnectedState;
|
||||
std::map<int64_t, SendResult> m_callbacks;
|
||||
std::map<int64_t, SubmitResult> m_results;
|
||||
std::string m_tag;
|
||||
String m_ip;
|
||||
String m_password;
|
||||
String m_rigId;
|
||||
|
||||
Reference in New Issue
Block a user