XMRig
a6a0f80b12
Fix header path.
2025-06-06 14:42:49 +07:00
XMRig
682834b87d
Universal fix for NaN and Infinity in JSON output
2025-06-06 14:36:21 +07:00
XMRig
1f7e635b04
Use internal logger for error message.
2024-03-26 21:46:18 +07:00
Dave Walker (Daviey)
daa6328418
Fix segfault in HTTP API rebind
...
Previously with HTTP API enabled on brenchmarking run, it is possible
to cause a segfault due to an issue handling the m_httpd pointer and
rebinding.
- Initialize m_httpd to nullptr to indicate when it's not in use.
- Safely delete m_httpd in Api's destructor to prevent use-after-free
issues.
- Add checks to ensure m_httpd is not nullptr before usage in start,
stop, and tick methods.
- Log errors for HTTP server start failures to aid in debugging.
Fixes MoneroOcean/xmrig#120
Signed-off-by: Dave Walker (Daviey) <email@daviey.com>
2024-02-11 17:52:36 +00:00
XMRig
7d7f30701f
Code cleanup.
2023-06-07 20:48:56 +07:00
Tony Butler
548fbb9f71
Add API rebind polling
2023-05-23 16:49:43 -06:00
XMRig
c7ac314110
Code cleanup based on Clang-Tidy.
2021-08-25 18:45:15 +07:00
XMRig
b3dbf6e23f
http-parser replaced to llhttp.
2021-03-06 01:46:49 +07:00
XMRig
8471f7fad3
Added "GET /2/dmi" API endpoint.
2021-01-20 22:54:02 +07:00
XMRig
ab45794b7c
Removed libcpuid support.
2020-12-06 21:51:24 +07:00
XMRig
63bd45c397
Added Cvt class.
2020-12-02 16:31:45 +07:00
XMRig
46e49cde0b
Update base.
2020-04-29 14:17:33 +07:00
XMRig
16a83a9f61
Move files.
2020-03-09 01:22:34 +07:00
XMRig
5bd6a1c028
Added ENV support for "user", "pass" and "rig-id" fields.
2019-12-22 19:09:30 +07:00
XMRig
356e666e61
Added Env class.
2019-12-22 18:09:26 +07:00
XMRig
a4d35065d9
Use normalize for load average values.
2019-12-04 10:25:26 +07:00
XMRig
c529770d38
Use uv_get_free_memory.
2019-11-29 13:12:36 +07:00
XMRig
ada99a6dd1
Added "resources" field to API.
2019-11-29 10:50:30 +07:00
XMRig
7d1be2d234
Code cleanup.
2019-11-29 10:17:05 +07:00
XMRig
d224c0e7d8
Minor changes, based on https://github.com/xmrig/xmrig-nvidia/pull/305
2019-11-28 05:14:17 +07:00
XMRig
0f367ab117
Added "restricted" field to "GET /1/summary" request.
2019-09-26 17:29:24 +07:00
XMRig
36da54b8ce
Added initial OpenCL stub.
2019-08-13 01:44:52 +07:00
XMRig
2ec257284f
Common API code moved to base/api.
2019-08-12 16:52:16 +07:00