Commit Graph

377 Commits

Author SHA1 Message Date
SChernykh
989a28a8ca TCPServer small fixes 2022-09-05 15:14:10 +02:00
SChernykh
e4dd46b498 Added --no-dns command line parameter 2022-09-04 18:10:14 +02:00
SChernykh
c49e8d4770 Merge branch 'proxy' 2022-09-04 09:57:32 +02:00
SChernykh
86156f3fec SOCKS5 proxy support 2022-09-03 22:35:38 +02:00
SChernykh
fec826b10e Changed spammy warning to level 5 2022-09-01 10:09:23 +02:00
SChernykh
d40bb61da8 p2pool v2.3 2022-08-30 18:01:45 +02:00
SChernykh
4733d42932 TCPServer: more informative error messages 2022-08-27 10:52:02 +02:00
SChernykh
6615fa67f5 API: fixed error messages 2022-08-26 09:39:44 +02:00
SChernykh
dc4b88d08e API: use unique temp file names 2022-08-25 09:52:58 +02:00
SChernykh
4599d81a59 API: save to temp file first and then rename it 2022-08-24 17:28:53 +02:00
SChernykh
3ea5b575b7 JSON RPC: added more error checks 2022-08-24 15:17:23 +02:00
SChernykh
bde5b19c77 CI: added sync test 2022-08-23 19:49:41 +02:00
SChernykh
cc60ab3d63 StratumServer: added scoring system for clients
Ban clients only after a few bad shares without good shares compensating them.
2022-08-22 11:07:11 +02:00
SChernykh
3802886722 Fixed "unknown command" message 2022-08-17 19:37:18 +02:00
SChernykh
d4e27a27cb Tweaked SideChain::get_missing_blocks() 2022-08-17 16:44:40 +02:00
SChernykh
e882b91b06 Reduced lock contention in Cache::get_derivation() 2022-08-16 18:15:41 +02:00
SChernykh
4c8dbee79d More fine-grained locks in crypto cache 2022-08-15 18:39:28 +02:00
SChernykh
30861bbf91 Speedup SideChain::get_outputs_blob() 2022-08-15 13:48:21 +02:00
SChernykh
ea6a19a260 Fixed data race 2022-08-06 11:15:09 +02:00
SChernykh
fc81fa8745 JSON RPC: added more error checking 2022-08-06 10:03:10 +02:00
SChernykh
948436e57e Fixed coverity issue 2022-08-05 15:27:39 +02:00
SChernykh
3dde71f1ff Fixed processing of long console commands 2022-08-05 09:09:14 +02:00
SChernykh
555414cd51 SideChain: improved precalculation coverage 2022-07-14 19:29:41 +02:00
SChernykh
c33033b2f4 Code cleanup 2022-07-14 14:28:06 +02:00
SChernykh
3c697c2d7e Fixed potential deadlock
Can't lock `m_minerLock` inside SideChain update
2022-07-14 13:15:35 +02:00
SChernykh
0e7c1aa481 SideChain: stricter checks for number of threads 2022-07-14 11:39:19 +02:00
SChernykh
7d5ff13f75 Fixed cppcheck warnings 2022-07-14 11:23:56 +02:00
SChernykh
02a8a512dc SideChain: precalculate tx pubkeys for faster sync 2022-07-14 10:28:25 +02:00
SChernykh
4733f46a28 Added uv_cond_init_checked 2022-07-14 09:02:08 +02:00
SChernykh
945de348f3 Rewrote get_view_tag without std::find_if 2022-07-12 09:50:49 +02:00
SChernykh
20dd9d7adc More efficient view tags caching 2022-07-11 16:42:26 +02:00
SChernykh
c5bd184bbc P2PServer: don't deserialize the same block twice 2022-07-10 10:24:03 +02:00
SChernykh
1c33cc9f3d p2pool v2.2.1 2022-07-08 17:47:28 +02:00
SChernykh
9d692d5194 ConsoleCommands: check if console is available 2022-07-07 08:32:37 +02:00
SChernykh
2e4f7adee4 TCPServer: added more checks during disconnects 2022-07-06 14:17:09 +02:00
SChernykh
dcb822f812 ConsoleCommands: read from stdin using libuv 2022-07-05 22:08:18 +02:00
SChernykh
5da286fed4 JSON RPC: added HTTP headers 2022-07-05 14:54:04 +02:00
SChernykh
4ec0fe8d96 Fixed JSON RPC handling during shutdown 2022-07-05 14:34:22 +02:00
SChernykh
340a3e85c8 Fixed autodiff when running for a long time
16-bit wrap around wasn't processed correctly
2022-07-05 10:02:18 +02:00
SChernykh
64baf660bb JSON RPC: fixed shutdown on connect error 2022-07-05 08:36:16 +02:00
SChernykh
c5ea4dca67 p2pool v2.2 2022-06-30 17:58:40 +02:00
SChernykh
deaf47155f Miner: reset share counter when synchronized 2022-06-30 12:13:17 +02:00
SChernykh
a1d1420ec3 Miner: display shares found in status 2022-06-30 10:15:51 +02:00
SChernykh
deb8d59130 Fixed cppcheck error 2022-06-28 10:58:41 +02:00
SChernykh
14bbf96feb Enforce deterministic tx keys starting from v15 2022-06-28 10:44:16 +02:00
SChernykh
a281db1cbb Fixed unaligned read 2022-06-27 16:20:45 +02:00
SChernykh
b25e5449c8 Fixed rare "low diff share" errors 2022-06-26 17:07:19 +02:00
SChernykh
b267c19a45 Limit autodiff to 4M for max compatibility 2022-06-26 17:06:21 +02:00
SChernykh
2aa8d2bdcc Code cleanup 2022-06-20 22:37:33 +02:00
SChernykh
acf37ff10f Added json parser tests 2022-06-20 10:50:30 +02:00