Commit graph

794 commits

Author SHA1 Message Date
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
SChernykh
8aebcdc580 p2pool v2.0 2022-04-30 17:50:27 +02:00
SChernykh
e23a2e77a8 Updated dependencies 2022-04-30 12:10:09 +02:00
SChernykh
0f9362e14e More tests for derive_view_tag 2022-04-29 22:25:22 +02:00
SChernykh
ab974b9684 Monero network upgrade information 2022-04-29 14:35:06 +02:00
SChernykh
54acfee036
Merge pull request #144 from SChernykh/view_tags
v15 hardfork changes
2022-04-27 19:56:42 +02:00
SChernykh
a78ddb50d5 Fixed logger thread timing logic 2022-04-24 16:22:22 +02:00
SChernykh
b2f86a5f6b Ban peers with stuck or lagging monerod 2022-04-23 11:29:17 +02:00
SChernykh
2a77695832 Fixed data races in miner 2022-04-09 18:25:12 +02:00
SChernykh
21d8cb917b Fixed data race in logger 2022-04-09 10:41:20 +02:00
SChernykh
2c70bf8616 View tags support
See http://github.com/monero-project/monero/pull/8061
2022-04-09 00:56:42 +02:00
SChernykh
7522111bb7 Fixed data races 2022-04-09 00:38:15 +02:00
SChernykh
7b5b910f3f Undefined behaviour fixes 2022-04-08 22:49:08 +02:00
SChernykh
afb52e4235 Check return value (Coverity fix) 2022-04-07 19:33:39 +02:00
SChernykh
93cd9a659a Code cleanup 2022-04-07 19:11:20 +02:00
SChernykh
9e287ab4f0 Logger fixes
- Fixed a race condition when stopping the logger
- Flush log file only once per batch of log lines
2022-04-07 16:55:35 +02:00
SChernykh
094209f311 P2PServer: optimized update_peer_connections() 2022-04-07 16:48:01 +02:00
SChernykh
dee66c3f32 Added varint unit tests 2022-04-06 16:34:16 +02:00
SChernykh
32533e3c96 FreeBSD build 2022-04-05 19:36:37 +02:00
SChernykh
a073923a82 Updated dependencies 2022-04-05 11:32:39 +02:00
SChernykh
3484b24caa Updated dependencies 2022-04-04 19:56:42 +02:00
SChernykh
1b3c1eb850 P2PServer: increased peer timeout to 15 minutes 2022-03-30 22:47:10 +02:00
SChernykh
7fe032915f Ignore SIGPIPE 2022-03-30 21:53:52 +02:00
SChernykh
5b9b73abcc p2pool v1.9 2022-03-30 20:15:47 +02:00
SChernykh
a2afa29052 Updated copyright 2022-03-30 14:42:26 +02:00
SChernykh
a2d3dbad5e Use old bock template when update fails 2022-03-30 10:11:35 +02:00
SChernykh
e50cf060cb Miner: fixed share counter initialization 2022-03-30 08:34:22 +02:00
SChernykh
915988d694 Added logging for the extra_nonce fix 2022-03-30 07:59:59 +02:00