Commit Graph

524 Commits

Author SHA1 Message Date
XMRig
81b18c0741
#2771 Fixed environment variables support in EthStratumClient. 2021-12-02 19:36:51 +07:00
SChernykh
4ea8fe694d GhostRider benchmark: added 20 more possible rounds 2021-12-01 20:26:41 +01:00
SChernykh
efb322df66 Refactored Chrono::highResolutionMSecs()
Improved precision
2021-11-30 08:11:09 +01:00
xmrig
c40f1f9f66
Merge pull request #2738 from SChernykh/dev
More GhostRider fixes
2021-11-28 18:19:08 +07:00
SChernykh
15e5052dd0 More GhostRider fixes
- Fixed "difficulty is not a number" when diff is high on some pools
- Fixed GhostRider compilation when WITH_KAWPOW=OFF
2021-11-28 12:11:08 +01:00
Tony Butler
02240eff8c Slash and burn EOL whitespace everywhere 2021-11-27 17:59:40 -07:00
SChernykh
c6292ce9ee GhostRider hotfixes
- Added average hashrate display
- Fixed the number of threads shown at startup
- Fixed `--threads` or `-t` command line option (but `--cpu-max-threads-hint` is recommended to use)
2021-11-27 12:27:26 +01:00
XMRig
ecceba8ecd
Add GhostRider support for AutoClient. 2021-11-25 17:44:36 +07:00
SChernykh
a1d7ee4c6b Benchmark support for GhostRider (offline only)
Command line:
```
./xmrig --bench=250K -a gr --rotation 15
```
Where `rotation` is an integer between 0 and 19 (inclusive).
2021-11-24 15:54:09 +01:00
SChernykh
a6656a8c49 Fixed broken difficulty adjustment on some Raptoreum pools 2021-11-23 18:02:58 +01:00
SChernykh
ceaebfd877 GhostRider algorithm (Raptoreum) support 2021-11-23 08:14:01 +01:00
xmrig
1210e8e95c
Merge pull request #2644 from Spudz76/dev-fixMemleaks
Patch a couple minor leaks
2021-10-25 20:33:10 +07:00
Tony Butler
f6d45f7990 Fix various memory leaks 2021-10-25 04:06:49 -06:00
SChernykh
b9464f993b Fix MSVC compilation error 2021-10-25 10:26:44 +02:00
XMRig
733b85a132
Code cleanup. 2021-10-13 05:43:05 +07:00
David Main
446810a837
fix: expand validation of tx_extra for merge mining tag 2021-10-12 11:17:37 +02:00
XMRig
07e0966517
Added "--versions" alias. 2021-10-05 21:49:03 +07:00
XMRig
a9d4c2a923
Removed uv_os_gethostname call for all OS. 2021-09-28 23:56:33 +07:00
SChernykh
b2cc2ef0d7 Fixed Windows 7 compatibility
Fixes #2585
2021-09-17 12:05:37 +02:00
XMRig
123c7ab140
Added support for new CUDA plugin API. 2021-08-29 14:22:19 +07:00
XMRig
35acb3f00b
Merge branch 'GraftRandomX' of https://github.com/Stardock2018/xmrig into pr2563 2021-08-28 11:50:17 +07:00
Chris
7f2771b466 Fixed Algorithm id
Algorithm id should be 0x72151267, second and third byte encode L3 and L2 size.
0x72 = 'r'
0x15 = 1 << 0x15 (L3 size)
0x12 = 1 << 0x12 (L2 size)
0x67 = 'g'
2021-08-27 10:31:36 -06:00
Chris
5fdf5516ff Added Graft RandonX 2021-08-27 08:19:54 -06:00
XMRig
234de96784
Update rapidjson. 2021-08-27 18:51:59 +07:00
XMRig
c27f535768
Fixed build on Linux. 2021-08-25 18:52:54 +07: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
XMRig
602e3a7587
Fix algorithms order. 2021-08-14 05:48:37 +07:00
SChernykh
5958490c23 Fixed Termux build 2021-08-13 12:02:03 +02:00
XMRig
f92ad4423d
Fix Job::getNumTransactions. 2021-08-12 22:30:47 +07:00
XMRig
e0749a82c2
Fix cn-pico name. 2021-08-12 17:52:52 +07:00
XMRig
9580f5395f
Removed shortName. 2021-08-11 22:26:34 +07:00
XMRig
e9ae4deb91
Removed duplicate strings. 2021-08-11 22:07:43 +07:00
XMRig
aee0762424
Fix typo. 2021-08-11 16:27:36 +07:00
XMRig
e6332eff2b
Implemented stable algorithm ids. 2021-08-11 03:46:34 +07:00
XMRig
f4cdc527b0
#2527 Fix narrowing conversion. 2021-08-10 01:40:36 +07:00
SChernykh
929205536c Show the number of transactions in pool job
Useful to check if pool/proxy is working properly and can also be used to compare different pools.
2021-08-07 19:38:31 +02:00
XMRig
d24581c963
#2492 Add missing --huge-pages-jit command line option. 2021-07-24 12:27:48 +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
XMRig
0af9d2e75b
v6.13.0-dev 2021-06-28 19:02:48 +07:00
xmrig
6e2a84a46c
Merge pull request #2445 from SChernykh/miner_signature
Support for solo mining with miner signatures (Wownero)
2021-06-28 18:11:13 +07: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
XMRig
ecba750442
Add token support for online benchmark. 2021-06-20 09:28:39 +07:00
SChernykh
3967badc55 Added profiling 2021-06-19 16:19:16 +02:00
SChernykh
3f3f9b0661 Fixed GCC warnings 2021-06-19 14:54:03 +02:00
SChernykh
e3fc78a66c Fix Wownero hardfork version 2021-06-18 13:52:24 +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
1bae083587 Fixed CalculateMerkleTreeHash 2021-06-17 10:26:17 +02:00
SChernykh
88959bd703 BlockTemplate: miner tx and root hash updating 2021-06-16 23:44:05 +02:00
SChernykh
93e689d601 Fix buffer size in generateMinerSignature 2021-06-16 18:20:11 +02:00
SChernykh
a136790bee Added support for solo mining with miner signatures (Wownero) 2021-06-16 18:07:36 +02:00
SChernykh
29f2dd4b9e Cleanup 2021-06-16 11:47:17 +02:00
SChernykh
3003c067d3 Fixed random32_unbiased 2021-06-16 00:19:49 +02:00
SChernykh
89bc6418b1 Secret key derivation 2021-06-16 00:10:34 +02:00
SChernykh
8458b4ee39 Added signature functions 2021-06-15 15:51:29 +02:00
SChernykh
7bfb801ce2 Cryptonote tools WIP 2021-06-15 00:28:32 +02:00
XMRig
1ce059da1c
Add "argon2/ninja" algorithm alias. 2021-05-22 15:10:50 +07:00
XMRig
695fbc013b
#2280 Disable GPU backends in benchmark mode. 2021-04-25 15:28:45 +07:00
XMRig
5f9e0ebc6c
v6.12.0-dev 2021-04-18 20:12:03 +07:00
SChernykh
da7f5826cb Added support for Uplexa (cn/upx2 algorithm) 2021-04-17 14:53:42 +02:00
XMRig
748be760e8
Added support for --user command line option for the benchmark. 2021-04-14 23:43:31 +07:00
XMRig
30cfcc27db
#2207 Fixed regression in HTTP parser. 2021-04-10 21:02:59 +07:00
SChernykh
c080d5b962 Fixed broken "coin" setting functionality 2021-04-06 23:02:10 +02:00
XMRig
ea1245026d
#2234 Use const_cast. 2021-04-06 12:07:06 +07:00
esrrhs
866e97efcf fix build error on gcc 9.3.0
FileLogWriter.h:34:41: error: array used as initializer
2021-04-04 12:42:14 +08:00
XMRig
b72e21fc3c
Merge branch 'master' of https://github.com/esrrhs/xmrig into pr2217 2021-03-29 18:16:45 +07:00
esrrhs
d578a3828f setBlob should run after setAlgorithm 2021-03-29 12:11:03 +08:00
SChernykh
e0f774d6dd Fixed use-after-free bug when exiting 2021-03-27 21:53:40 +01:00
XMRig
0d45600b0e
Added command line options --dns-ipv6 and --dns-ttl. 2021-03-20 11:12:09 +07:00
XMRig
2c8f7f692c
Added DNS config. 2021-03-20 00:09:59 +07:00
XMRig
3e41bdc552
New DNS implementation. 2021-03-16 22:24:37 +07:00
XMRig
5b189696d7
Added DnsRecords class. 2021-03-14 09:44:56 +07:00
XMRig
c6bcea3811
Improved DnsRecord class. 2021-03-13 20:30:52 +07:00
SChernykh
54bcf05b1d Fix wrong type in Handle::deleteLater()
Bug found by Address Sanitizer
2021-03-10 14:55:06 +01:00
xmrig
576ff120e5
Merge pull request #2128 from ianmaddox/patch-1
Minor verbiage tweak
2021-03-08 04:02:02 +07:00
XMRig
f5db50c9d7
Sync with the proxy. 2021-03-06 05:32:54 +07:00
XMRig
856c8e6bcd
Fixed build without TLS support. 2021-03-06 02:07:10 +07: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
XMRig
0b7dfaabe0
Code cleanup. 2021-03-01 19:04:03 +07:00
XMRig
6f8ffb7660
Fixed possible out of order write to log file. 2021-03-01 18:54:20 +07:00
Ian Maddox
37df513b32
Minor verbiage tweak
Fixing mixed phrasing in error message
2021-02-23 11:34:10 -08:00
XMRig
b49fb27e84
Added idle time detection for macOS. 2021-02-20 13:18:31 +07:00
XMRig
ee341118ce
#2104 Added user configurable idle time. 2021-02-19 23:35:30 +07:00
XMRig
0fe20fe88c
Merge remote-tracking branch 'remotes/origin/pr2112' into dev 2021-02-18 15:35:59 +07:00
XMRig
d1d1517b4f
Fixed macOS build. 2021-02-18 15:22:39 +07:00
XMRig
5980675876
Code and copyright cleanup. 2021-02-18 12:56:39 +07:00
Hansie Odendaal
3b87cd97ce
Allow result submission to origin daemon with self-select
With `self-select` mode enabled, the `submit-to-origin` config option
will let the `SelfSelectClient` submit the solution to both
the daemon where it got the template from as well as to
the connected pool, for miners that want to do pool minining
with Monero and solo mining with an altcoin (merged mining variant).

Thank you and special credit to @StriderDM (https://github.com/StriderDM)!
2021-02-17 18:05:13 +02:00
SChernykh
82830e359a Added pause-on-active option
Windows only for now. When set to true, pauses mining when user touches mouse or keyboard.
2021-02-14 15:32:18 +01:00
XMRig
4c3425a958
Added "--hugepage-size" command line option. 2021-02-01 05:06:24 +07:00
XMRig
ef8cc28f3f
Added DMI data to online benchmark. 2021-01-21 23:22:01 +07:00
XMRig
8471f7fad3
Added "GET /2/dmi" API endpoint. 2021-01-20 22:54:02 +07:00
XMRig
9a02007900
Added config option "dmi" and command line option "--no-dmi". 2021-01-20 16:02:48 +07:00