Add nice messages for accepted and rejected shares with diff and latency.

This commit is contained in:
XMRig 2017-07-02 05:33:10 +03:00
parent 71522214ae
commit 074db6bb72
17 changed files with 128 additions and 14 deletions

View file

@ -26,10 +26,12 @@
#include <jansson.h>
#include <map>
#include <uv.h>
#include "net/Job.h"
#include "net/SubmitResult.h"
#include "net/Url.h"
@ -108,6 +110,7 @@ private:
Job m_job;
size_t m_recvBufPos;
SocketState m_state;
std::map<int64_t, SubmitResult> m_results;
struct addrinfo m_hints;
Url m_url;
uv_buf_t m_recvBuf;