4ertus2
ab5be0b773
replace new/delete with sp
2024-10-20 18:03:25 +03:00
XMRig
2ecf10cdcb
Make Platform::hasKeepalive() constexpr where always supported and code cleanup.
2023-08-06 20:26:07 +07:00
SChernykh
12577df7ba
Disable TCP keepalive before closing socket
2023-08-06 14:51:25 +02:00
SChernykh
5717e72367
Enabled keepalive for Windows (>= Vista)
2023-07-17 09:49:10 +02:00
SChernykh
5e0079f012
Sync with changes from proxy
2023-04-03 15:01:40 +02:00
XMRig
d31b3b7c76
Code style cleanup.
2023-03-25 20:56:25 +07:00
moneromooo-monero
88b0385bfe
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
e2c58126e9
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
e6c81d7166
Fixed GCC 12 warnings
2022-07-03 11:51:46 +02:00
SChernykh
575742078c
Better fix for daemon solo mining with ZMQ
2022-06-12 22:32:50 +02:00
SChernykh
db9069897d
Improved daemon ZMQ mining stability
2022-06-12 14:41:47 +02:00
SChernykh
30641b1bdf
Fixed ZMQ debug log
2022-06-12 12:33:09 +02:00
SChernykh
22d6a7525e
Removed deprecated AstroBWTv1 and v2
2022-06-12 11:47:36 +02:00
SChernykh
a3cb74f29b
Removed old AstroBWT algorithm
...
It's not used anywhere now.
2022-04-15 10:59:31 +02:00
SChernykh
4a42dca2cb
Show block/miniblock counters more often
2022-03-05 10:00:39 +01:00
SChernykh
b674fafa0f
DaemonClient: fixed broken coin
setting
2022-03-05 09:56:30 +01:00
SChernykh
b5da73389f
Dero HE fork support (astrobwt/v2 algorithm)
2022-03-05 00:31:18 +01:00
XMRig
c7ac314110
Code cleanup based on Clang-Tidy.
2021-08-25 18:45:15 +07:00
XMRig
bea2a6cf5b
Update BlockTemplate class.
2021-08-23 18:32:58 +07:00
XMRig
460d9c75c5
Add global wallet address parser for DaemonClient.
2021-08-18 13:36:50 +07:00
XMRig
d1033abbe5
Update Coin, BlobReader and WalletAddress.
2021-08-17 08:17:21 +07:00
SChernykh
5958490c23
Fixed Termux build
2021-08-13 12:02:03 +02:00
XMRig
f4cdc527b0
#2527 Fix narrowing conversion.
2021-08-10 01:40:36 +07:00
SChernykh
0842e6b9d2
ZeroMQ support for solo mining
...
Gets new blocks from daemon immediately without polling, saving ~0.5 seconds on average when daemon gets new block from the network. Also saves some CPU cycles because it doesn't need to poll daemon every second.
Testing: add "daemon-zmq-port": 28083 to xmrig's pool config in config.json and run ./monerod --testnet --zmq-pub tcp://127.0.0.1:28083
2021-07-15 11:13:14 +02:00
SChernykh
a30ede04f3
Updates from xmrig-proxy
2021-07-05 13:56:37 +02:00
SChernykh
6bb8913066
Correct handling of block submit responses for Dero
2021-06-24 18:06:07 +02:00
SChernykh
cf104ebdc5
Update signing algorithm
2021-06-21 23:49:13 +02:00
SChernykh
e6d833c227
Proxy miner signature support
2021-06-17 22:48:08 +02:00
SChernykh
ebe299902c
Proxy miner signature support (WIP)
2021-06-17 16:58:18 +02:00
SChernykh
bc63b63a2a
More sanity checks
2021-06-17 13:18:34 +02:00
SChernykh
e739e7d704
More error handling in DaemonClient::parseJob
2021-06-17 10:39:22 +02:00
SChernykh
a136790bee
Added support for solo mining with miner signatures (Wownero)
2021-06-16 18:07:36 +02:00
SChernykh
c080d5b962
Fixed broken "coin" setting functionality
2021-04-06 23:02:10 +02:00
esrrhs
d578a3828f
setBlob should run after setAlgorithm
2021-03-29 12:11:03 +08:00
XMRig
b3dbf6e23f
http-parser replaced to llhttp.
2021-03-06 01:46:49 +07:00
SChernykh
91ad6fcf3d
Fixed many "new job" messages when solo mining
...
Fix for https://github.com/xmrig/xmrig/issues/2127
2021-03-01 17:46:05 +01:00
SChernykh
5c449913af
Fixed solo mining
...
It was broken since 6.7.0
2021-01-15 11:18:36 +01:00
XMRig
86795aa5b7
Update HTTP
2020-12-03 10:48:57 +07:00
XMRig
63bd45c397
Added Cvt class.
2020-12-02 16:31:45 +07:00
XMRig
36c1cb23e0
Implemented static benchmark verification (--bench --seed --hash)
2020-10-24 13:53:49 +07:00
XMRig
8aeba61706
Add 3rdparty prefix to all rapidjson includes.
2020-04-29 14:55:04 +07:00
XMRig
46e49cde0b
Update base.
2020-04-29 14:17:33 +07:00
XMRig
7bf12dc81f
#1581 Fixed macOS build.
2020-03-06 12:51:16 +07:00
XMRig
cad5fef1ea
HTTP subsystem refactoring.
2020-03-06 12:38:09 +07:00
XMRig
5fa6a034d5
Formatting.
2020-03-04 00:06:20 +07:00
SChernykh
874cff3d51
Fixed new block detection for Dero solo mining
2020-03-03 17:53:19 +01:00
XMRig
8dc87576c5
Sync changes with proxy.
2020-03-01 14:04:58 +07:00
XMRig
f0db17be87
Move "Content-Type" header setting.
2020-03-01 12:57:19 +07:00
SChernykh
14ef99ca67
AstroBWT algorithm (DERO) support
...
To test:
- Download https://github.com/deroproject/derosuite/releases/tag/AstroBWT
- Run daemon with `--testnet` in command line
In config.json:
- "coin":"dero"
- "url":"127.0.0.1:30306"
- "daemon:"true"
2020-02-29 22:41:24 +01:00
XMRig
1ee27a564b
HTTP subsystem refactoring, fixed possible crashes shortly after destroying daemon or self-select client.
2020-02-23 01:40:19 +07:00