Commit Graph

42 Commits

Author SHA1 Message Date
SChernykh
b5fa34e1a1 Added support for multiple Monero hosts
Switch to the next host in list when P2Pool thinks current host is stuck or lagging
2023-06-18 12:56:27 +02:00
SChernykh
dbb4efb98a Added version console command 2023-05-20 15:51:36 +02:00
SChernykh
689fa14cfd Fixed cppcheck errors 2023-05-10 10:35:23 +02:00
SChernykh
98a9eb4f18 Console: fixed data race 2023-04-24 20:06:56 +02:00
SChernykh
44d2005ab1 Console: returned stdin check to constructor 2023-04-20 10:59:32 +02:00
SChernykh
5f18eed14d Fixed compilation error 2023-04-19 22:44:38 +02:00
SChernykh
7a83fd2f30 Console: check stdin handle early at startup 2023-04-19 21:09:28 +02:00
SChernykh
6e258bb210 Refactored TCPServer to reduce code duplication 2023-04-19 16:37:32 +02:00
SChernykh
72adfd3126 Console: added local api 2023-04-18 17:01:00 +02:00
SChernykh
196b27f3b2 Console: read commands via localhost TCP 2023-04-18 16:19:12 +02:00
SChernykh
2d76846d3c Removed unused <iostream> 2023-04-05 14:47:44 +02:00
SChernykh
c1a1249be1 Code cleanup 2023-03-09 10:59:52 +01:00
T W Lee
3df7430663 allow named pipe as stdin, fixes after review 2023-03-09 14:38:20 +13:00
T W Lee
c71d89c95a allow named pipe as stdin 2023-03-08 02:35:49 +13:00
SChernykh
975679ef87 Show actual worker difficulty in workers command 2023-01-27 22:09:17 +01:00
SChernykh
b346b93285 Updated copyright 2023-01-04 13:07:55 +01:00
SChernykh
fd27ea0e8f Console: check for arguments when required 2022-11-25 21:58:25 +01:00
SChernykh
d80a06bc8e Added more error logging 2022-09-08 09:18:30 +02:00
SChernykh
86156f3fec SOCKS5 proxy support 2022-09-03 22:35:38 +02:00
SChernykh
3802886722 Fixed "unknown command" message 2022-08-17 19:37:18 +02:00
SChernykh
ea6a19a260 Fixed data race 2022-08-06 11:15:09 +02:00
SChernykh
3dde71f1ff Fixed processing of long console commands 2022-08-05 09:09:14 +02:00
SChernykh
9d692d5194 ConsoleCommands: check if console is available 2022-07-07 08:32:37 +02:00
SChernykh
dcb822f812 ConsoleCommands: read from stdin using libuv 2022-07-05 22:08:18 +02:00
SChernykh
921cbb0b69 ConsoleCommands: don't exit on EOF 2022-06-15 07:54:53 +02:00
SChernykh
a35d4b2701 Change llhttp to libcurl 2022-06-06 15:08:37 +02:00
SChernykh
0818d91f4f StratumServer: added console command workers 2022-05-06 13:19:56 +02:00
SChernykh
6b4640c413 Fixes for Termux 2022-05-03 07:32:47 +02:00
SChernykh
2a77695832 Fixed data races in miner 2022-04-09 18:25:12 +02:00
SChernykh
a2afa29052 Updated copyright 2022-03-30 14:42:26 +02:00
SChernykh
62b1690780 Added an option to disable RandomX for the build 2022-03-15 17:11:45 +01:00
SChernykh
9593311332 Added bans console command 2022-02-21 19:59:57 +01:00
SChernykh
e2931f94b5 Added embedded miner 2022-01-22 23:30:19 +01:00
SChernykh
2b01350add Added outpeers and inpeers console commands 2021-12-26 15:28:33 +01:00
SChernykh
111324b6e0 Added console command to show connected peers 2021-10-24 16:04:30 +02:00
SChernykh
533cc202d2 Added pool stats 2021-09-01 16:28:05 +02:00
SChernykh
8064865ba5 Fixed setting max log level from command line 2021-08-31 11:18:40 +02:00
SChernykh
776b1f561c Fixed use after free on p2pool shutdown 2021-08-27 10:13:33 +02:00
SChernykh
fcb9e25fb1 Print background jobs in status 2021-08-25 11:31:35 +02:00
SChernykh
a27577f735 Added log level 6 to reduce spam on level 5
Log level 5 is still default
2021-08-25 09:38:47 +02:00
Howard Chu
0dc3baa480 Tweak command handling
Modularize, add help and exit commands.
Fix shutdown_tcp() and p2pool to make sure servers exit immediately
when terminating.
2021-08-24 11:55:59 +01:00
SChernykh
510b7dbb85 Add files 2021-08-22 12:20:59 +02:00