Commit graph

471 commits

Author SHA1 Message Date
Blade Doyle
662e2b5ba0 Fix for Issue #150 - xmrig container not building 2022-06-01 11:03:29 -07:00
SChernykh
5ca9f968aa Update RandomX 2022-06-01 16:18:52 +02:00
SChernykh
6ef34bb3f5 Enabled more compiler warnings 2022-06-01 16:13:18 +02:00
SChernykh
9a5be0a321 p2pool v2.1 2022-05-31 18:20:21 +02:00
SChernykh
c203f6eb0a Fixed a new cppcheck issue 2022-05-31 16:51:09 +02:00
SChernykh
b713f4e702 CI: added Linux aarch64 build 2022-05-31 16:38:28 +02:00
SChernykh
111087d96a Fixed block reward share calculation 2022-05-28 22:27:46 +02:00
SChernykh
9e7666d12f Fixed data races 2022-05-28 21:46:50 +02:00
SChernykh
cb147773b5 Updated cppcheck workflow on Linux 2022-05-26 21:19:01 +02:00
SChernykh
d84bef8f14 Added block reward share percent to miner api 2022-05-26 11:08:16 +02:00
SChernykh
32bb318af4 Fixed cppcheck workflow on Windows 2022-05-25 20:05:17 +02:00
SChernykh
055b5e2256 Updated dependencies 2022-05-25 12:54:40 +02:00
SChernykh
c1754d122f Update RandomX 2022-05-24 15:42:37 +02:00
SChernykh
6d121122f8 Fixed compiler warnings in tests 2022-05-24 15:18:09 +02:00
SChernykh
bfa8334aeb Fixed executable stack 2022-05-23 21:41:17 +02:00
SChernykh
0e222afd6a Exit if server startup fails 2022-05-23 15:50:25 +02:00
SChernykh
b191962d32 Handle startup errors without calling abort() 2022-05-23 09:37:11 +02:00
SChernykh
1cf13e142a SideChain: fixed alternative chain detection 2022-05-16 15:59:48 +02:00
SChernykh
8f1f81749d StratumServer: reset cumulative hashes too 2022-05-16 14:36:11 +02:00
SChernykh
72d70eba16 SideChain: added "synchronized" log message 2022-05-16 01:48:37 +02:00
SChernykh
ae3612f595 Fixed worker diff display when autodiff is off 2022-05-15 18:13:36 +02:00
SChernykh
37b6457054 Show worker hashrate only when autodiff is on 2022-05-15 01:15:21 +02:00
SChernykh
9579be5c7d Optimized SideChain::miner_count() 2022-05-12 22:18:08 +02:00
SChernykh
d05d47fa75 Fixed compilation 2022-05-12 16:10:55 +02:00
SChernykh
bd88c04e9e SideChain: mutex locks refactoring 2022-05-12 15:24:02 +02:00
SChernykh
eb3a3872eb Fixed missing blocks download logic 2022-05-12 08:49:34 +02:00
SChernykh
5cea7be405 Allow only one pending get_miner_data 2022-05-12 01:09:59 +02:00
SChernykh
516c382fe4 Update keccak.cpp 2022-05-11 16:13:00 +02:00
SChernykh
710e55422a Ignore duplicate get_miner_data 2022-05-11 16:10:10 +02:00
SChernykh
3406cf78b4 Don't return stale chain tip to other peers 2022-05-11 15:07:54 +02:00
SChernykh
8fa354796c Reload peer list when there are no connections 2022-05-11 14:09:28 +02:00
SChernykh
6c6ef1c1b8 Restart ZMQ connection if it looks dead 2022-05-11 13:50:47 +02:00
SChernykh
c3c326c680 Suppress MSVC warnings 2022-05-11 10:55:36 +02:00
SChernykh
92e20485b2 Log: don't allow side effects in LOG() calls 2022-05-10 21:41:53 +02:00
SChernykh
edd782ac23 Fixed custom worker names 2022-05-10 14:01:10 +02:00
SChernykh
a4d84e318d TCPServer: refactored Client constructor 2022-05-09 19:13:34 +02:00
SChernykh
08ee599f79 Use the same compilation flags for tests 2022-05-09 17:57:31 +02:00
SChernykh
134f2d68a3 Fixed data races 2022-05-09 16:10:55 +02:00
SChernykh
d23c46ff84 Added bsr() function to util 2022-05-09 13:02:06 +02:00
SChernykh
820c5db5e8 Log: check for logrotate only once per loop 2022-05-09 09:58:43 +02:00
SChernykh
990916ab62 StratumServer: added autodiff
Autodiff is enabled by default, target time is 30 seconds. It can be disabled with `--no-autodiff` command line option.
2022-05-08 19:03:00 +02:00
SChernykh
d4e362cd76 TCPServer: optimized Client struct size 2022-05-07 12:35:31 +02:00
SChernykh
1dd06cc509 Removed std::string to avoid memory allocation 2022-05-07 11:00:29 +02:00
SChernykh
2e2bd1d137 Added log padding 2022-05-06 20:04:01 +02:00
SChernykh
0818d91f4f StratumServer: added console command workers 2022-05-06 13:19:56 +02:00
SChernykh
6e1f34b168 Termux build instructions 2022-05-05 15:53:04 +02:00
SChernykh
1a35177633 Fixed unsafe usage of log::Stream buffers 2022-05-05 14:38:56 +02:00
SChernykh
c45689b02b Fixed pthread_cancel detection 2022-05-03 21:03:06 +02:00
SChernykh
8f27d940e3 Don't ban localhost 2022-05-03 13:11:55 +02:00
SChernykh
6b4640c413 Fixes for Termux 2022-05-03 07:32:47 +02:00