SChernykh
5136789139
Stratum: better check of the login response
2024-02-27 23:39:23 +01:00
XMRig
c1d96ea365
Merge branch 'HTTPRebindSegFault' of https://github.com/Daviey/xmrig into Daviey-HTTPRebindSegFault
2024-02-12 14:50:48 +07:00
Dave Walker (Daviey)
8d3957c04b
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
cfbd8d26a0
Cleanup.
2024-01-17 00:31:16 +07:00
XMRig
67a9411405
Code style cleanup.
2023-12-29 21:17:19 +07:00
moneromooo-monero
70587844cc
add support for townforge (monero fork using randomx)
2023-12-23 15:31:05 +00:00
SChernykh
c32549b264
Zephyr solo mining: handle multiple outputs
2023-11-15 16:18:05 +01:00
SChernykh
41b6844e7d
Updated pricing record size for Zephyr solo mining
2023-11-14 13:06:10 +01:00
SChernykh
0a29198869
Added SNI option for TLS connections
...
Disabled by default, add `"sni": true,` to pool config to enable it.
2023-09-29 08:33:49 +02:00
SChernykh
43184ebae1
Add "built for OS/architecture/bits" to "ABOUT"
...
To make it more clear what binary it is on some XMRig screenshot.
2023-08-21 13:49:21 +02:00
XMRig
eeb4c8fcb1
Make Platform::hasKeepalive() constexpr where always supported and code cleanup.
2023-08-06 20:26:07 +07:00
SChernykh
913bcd1887
Disable TCP keepalive before closing socket
2023-08-06 14:51:25 +02:00
SChernykh
be03a249a7
Enabled keepalive for Windows (>= Vista)
2023-07-17 09:49:10 +02:00
SChernykh
10b621dbc9
Zephyr solo mining: fix for blocks with transactions
2023-06-24 15:15:37 +02:00
SChernykh
5c50f94dc1
Zephyr coin support
...
Solo mining will require `--coin Zephyr` in command line, or `"coin": "Zephyr",` in `pools` section of config.json
2023-06-24 14:37:20 +02:00
XMRig
e89d253e02
Code cleanup.
2023-06-07 20:48:56 +07:00
XMRig
ed8dd8fb72
Merge branch 'dev-addApiRebind' of https://github.com/Spudz76/xmrig into Spudz76-dev-addApiRebind
2023-06-07 20:12:58 +07:00
XMRig
c084a1ebe0
Disallow direct use of HwlocCpuInfo class.
2023-06-07 00:32:09 +07:00
Tony Butler
b0fd994f84
Add API rebind polling
2023-05-23 16:49:43 -06:00
SChernykh
78ae167c78
Sync with changes from proxy
2023-04-03 15:01:40 +02:00
XMRig
46eb5dca42
Code style cleanup.
2023-03-25 20:56:25 +07:00
moneromooo-monero
9db29637b6
DaemonClient: new X-Hash-Difficulty HTTP header optimization
...
If the caller knows the difficulty of a PoW hash a given nonce
yields, it can tell the callee via the X-Hash-Difficulty, which
may allow the callee to skip some processing if the difficulty
does not meet some criterion.
In my case, a merge mining proxy can know it's pointless trying
to submit the nonce to a chain with higher difficulty when the
nonce only meets the difficulty for a lower difficulty chain.
2023-03-25 09:48:54 +00:00
SChernykh
3368891462
Fixed parsing of TX_EXTRA_MERGE_MINING_TAG
2023-03-24 22:42:26 +01:00
Matthew Smith
a454fd14b2
Fix build with gcc 13
...
Now some header files are not included transistively with new
libstdc++.
Bug: https://bugs.gentoo.org/895226
2023-03-23 12:01:15 +01:00
XMRig
0fd4c83fe6
Resolved deprecated methods warnings with OpenSSL 3.0.
2023-03-07 23:51:03 +07:00
XMRig
c2725cbf95
Fixed DnsUvBackend storage cleanup.
2023-02-09 21:45:50 +07:00
XMRig
088f88b94e
Cleanup.
2023-02-09 13:55:11 +07:00
XMRig
d23f46b628
Partially resolved deprecated methods warnings in OpenSSL 3.0.
2023-02-03 23:08:54 +07:00
SChernykh
8420bd3920
Solo mining: added job timeout (default is 15 seconds)
...
It's important to update jobs frequently to get new transactions into the block template. See https://rucknium.me/posts/monero-pool-transaction-delay/ for more details.
2023-01-28 19:42:02 +01:00
SChernykh
5ced0ba9a3
Show IP address for failed connections
2023-01-11 09:28:16 +01:00
SChernykh
bfa1023ac5
DragonflyBSD compilation fixes
2022-12-17 13:11:14 +01:00
SChernykh
e41a27e9e3
Added ifdefs for DragonflyBSD
...
Possible fix for #3179
2022-12-16 15:26:37 +01:00
SChernykh
39cd1a11ff
Update m_size only if blob was set successfully
2022-09-19 10:42:08 +02:00
SChernykh
58bddae901
Don't reset when pool sends the same job blob
2022-09-19 10:35:36 +02:00
SChernykh
d05587cb84
Fixed GCC 12 warnings
2022-07-03 11:51:46 +02:00
SChernykh
bcd943b907
Better fix for daemon solo mining with ZMQ
2022-06-12 22:32:50 +02:00
SChernykh
19db57b07e
Improved daemon ZMQ mining stability
2022-06-12 14:41:47 +02:00
SChernykh
ac015a3632
Fixed ZMQ debug log
2022-06-12 12:33:09 +02:00
SChernykh
19d97824f5
Monero v15 network upgrade support
2022-06-12 11:49:54 +02:00
SChernykh
637c7c9209
Removed deprecated AstroBWTv1 and v2
2022-06-12 11:47:36 +02:00
SChernykh
ca7387b4f3
Fixed unaligned memory read in DMI
2022-05-19 20:56:19 +02:00
SChernykh
0d0ff4fe71
Removed old AstroBWT algorithm
...
It's not used anywhere now.
2022-04-15 10:59:31 +02:00
SChernykh
e2f7012765
Fixed compilation error
2022-03-24 16:38:47 +01:00
SChernykh
8cdd596b92
Optimized keccak
...
Big astrobwt/v2 speedup on non-AVX2 CPUs: **Core i7-2600 +64% (17 -> 28 kh/s)**
2022-03-24 13:10:03 +01:00
SChernykh
10324883b3
Added alternative algo names for Dero HE
2022-03-05 13:32:16 +01:00
SChernykh
135cbaceba
Show block/miniblock counters more often
2022-03-05 10:00:39 +01:00
SChernykh
8039c15e1f
DaemonClient: fixed broken coin setting
2022-03-05 09:56:30 +01:00
SChernykh
a260502f78
Dero HE fork support (astrobwt/v2 algorithm)
2022-03-05 00:31:18 +01:00
XMRig
2e9e071f81
#2910 Fixed donation for GhostRider/RTM.
2022-01-31 14:29:41 +07:00
SChernykh
3cdfe6b30e
Fixed unaligned memory accesses
2022-01-26 17:18:18 +01:00