Commit Graph

504 Commits

Author SHA1 Message Date
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
XMRig
45d12314f4
Sync changes. 2021-01-15 19:18:52 +07:00
SChernykh
7da04c6a2c Always use cvt_bin2hex 2021-01-15 12:46:27 +01:00
SChernykh
5c449913af Fixed solo mining
It was broken since 6.7.0
2021-01-15 11:18:36 +01:00
XMRig
a7f9808621
Fixed HOSTNAME environment variable. 2021-01-11 11:42:32 +07:00
SChernykh
66349e3d23 Show hashrate in the benchmark finished message 2020-12-23 14:31:38 +01:00
XMRig
85a78ce537
#1995 Fixed log initialization. 2020-12-22 21:41:39 +07:00
SChernykh
cde7cddcaa Fixed broken Dero solo mining 2020-12-20 22:17:08 +01:00
XMRig
633a92bff0
Merge branch 'gcc11' of https://github.com/voidanix/xmrig into dev 2020-12-15 17:32:24 +07:00
voidanix
e4c2ccba9d Fix build on GCC 11 2020-12-15 09:39:26 +01:00
XMRig
643142dc30
Update user agent for macOS and fix compile warnings 2020-12-13 13:57:12 +07:00
XMRig
a36fb7e728
More correct CPU affinity support for macOS. 2020-12-13 01:20:31 +07:00
SChernykh
0da3390d09 More static analysis fixes 2020-12-08 16:05:58 +01:00
SChernykh
cafd868773 Fixed errors found by static analysis 2020-12-08 12:16:59 +01:00
XMRig
ab45794b7c
Removed libcpuid support. 2020-12-06 21:51:24 +07:00
XMRig
c8ee6f7db8
Move Profiler and more cleanup. 2020-12-04 09:23:40 +07:00
XMRig
662a957106
Fixed Linux build. 2020-12-03 19:55:49 +07:00
XMRig
3055e03b7e
Cleanup 2020-12-03 19:45:16 +07:00
XMRig
11da7a3155
Update Json. 2020-12-03 15:39:33 +07:00
XMRig
0a27c6d6af
Update Signals and Console. 2020-12-03 12:06:18 +07:00
XMRig
86795aa5b7
Update HTTP 2020-12-03 10:48:57 +07:00