Commit Graph

90 Commits

Author SHA1 Message Date
SChernykh
b81f1c4975 Require monerod v0.18 2022-09-14 14:45:10 +02:00
SChernykh
ed78e9df6e More reliable file load/save 2022-09-13 18:48:00 +02:00
SChernykh
f813cf6d36 Fix: possible use after free on shutdown
Console commands could access destroyed objects
2022-09-08 16:16:00 +02:00
SChernykh
e4dd46b498 Added --no-dns command line parameter 2022-09-04 18:10:14 +02:00
SChernykh
86156f3fec SOCKS5 proxy support 2022-09-03 22:35:38 +02:00
SChernykh
3c697c2d7e Fixed potential deadlock
Can't lock `m_minerLock` inside SideChain update
2022-07-14 13:15:35 +02:00
SChernykh
9d692d5194 ConsoleCommands: check if console is available 2022-07-07 08:32:37 +02:00
SChernykh
4ec0fe8d96 Fixed JSON RPC handling during shutdown 2022-07-05 14:34:22 +02:00
SChernykh
deaf47155f Miner: reset share counter when synchronized 2022-06-30 12:13:17 +02:00
SChernykh
9f4388843a Fixed error messages 2022-06-10 07:48:47 +02:00
SChernykh
8b681d6efb Added memory hooks for CURL 2022-06-07 16:02:08 +02:00
SChernykh
a35d4b2701 Change llhttp to libcurl 2022-06-06 15:08:37 +02:00
SChernykh
05b0973a23 More reliable p2pool shutdown logic 2022-06-03 18:28:10 +02:00
SChernykh
b191962d32 Handle startup errors without calling abort() 2022-05-23 09:37:11 +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
710e55422a Ignore duplicate get_miner_data 2022-05-11 16:10:10 +02:00
SChernykh
6c6ef1c1b8 Restart ZMQ connection if it looks dead 2022-05-11 13:50:47 +02:00
SChernykh
54acfee036
Merge pull request #144 from SChernykh/view_tags
v15 hardfork changes
2022-04-27 19:56:42 +02:00
SChernykh
2a77695832 Fixed data races in miner 2022-04-09 18:25:12 +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
93cd9a659a Code cleanup 2022-04-07 19:11:20 +02:00
SChernykh
7fe032915f Ignore SIGPIPE 2022-03-30 21:53:52 +02:00
SChernykh
a2afa29052 Updated copyright 2022-03-30 14:42:26 +02:00
SChernykh
0c2b7d6010 More time handling fixes 2022-03-23 15:49:24 +01:00
SChernykh
aada1bb5cc Use chrono::steady_clock for internal timestamps 2022-03-23 11:30:38 +01:00
SChernykh
62b1690780 Added an option to disable RandomX for the build 2022-03-15 17:11:45 +01:00
SChernykh
272d206741 stats_mod api: updated min payout value 2022-02-20 17:08:27 +01:00
SChernykh
8045c40026 Check for proper --local-api usage 2022-02-18 16:21:28 +01:00
SChernykh
ec2f4467fb Added --mini command line option to connect to p2pool-mini 2022-02-14 13:57:59 +01:00
SChernykh
8767ef9e19 Display payout amount when a block is found 2022-01-29 17:09:43 +01:00
SChernykh
e2931f94b5 Added embedded miner 2022-01-22 23:30:19 +01:00
SChernykh
89bcceb986 Added p2pool mini seed nodes and default port 2021-12-30 11:10:18 +01:00
SChernykh
d8bba4dc82 Updated version mismatch error message 2021-12-07 16:25:23 +01:00
SChernykh
f9def6cb73 Added "calc_pow" RPC support 2021-11-21 09:12:21 +01:00
SChernykh
998c2ba72f Fixed msys2 build crash 2021-10-31 20:29:35 +01:00
SChernykh
b56d027dd5 Include P2P peer list into miner count 2021-10-31 20:29:35 +01:00
SChernykh
eaed654012 Check for missing data from monerod on each new block
It helps in these cases:
- monerod was down/unavailable for a while and then restarted
- monerod was out of sync and then jumped several block heights ahead
2021-10-31 12:20:29 +01:00
SChernykh
113e39817d Cleanup old Monero blocks data 2021-10-29 11:14:28 +02:00
SChernykh
da4686b88f ZMQReader: start after initial RPC calls are finished 2021-10-28 20:05:40 +02:00
SChernykh
3d60ae8c32 Fix: don't start until monerod is fully synchronized 2021-10-28 18:47:28 +02:00
SChernykh
c0c210664a Show uptime in status 2021-10-26 17:55:47 +02:00
SChernykh
60a8538e0c P2PServer: show an error when there are no ZMQ messages 2021-10-09 11:01:26 +02:00
SChernykh
a0a31b0f3b
Merge pull request #51 from Tonux599/stratumServerJson-staging
API for stratum server statistics.
2021-10-04 11:16:37 +03:00
Thomas Clarke
7742d163f7
API for stratum server statistics.
Users can pass `--stratum-api` to command line to enable a file called `local/stats` in `--data-api` directory. `local/stats` contains statistics that `StratumServer status` provides but in JSON format. It is currently setup that `local/stats` is updated each time a new job is sent to a worker.
2021-10-03 22:32:13 +01:00
SChernykh
7d66864b01 Print P2Pool version 2021-10-02 17:06:48 +02:00
SChernykh
4bcaa41c8e Clear crypto derivation/key cache when a block is found 2021-09-27 13:47:27 +02:00
SChernykh
f05f7c4268 Fixed wrong nonce values in submit_block error log 2021-09-26 16:50:24 +02:00
SChernykh
5c92920619 Default log level 3
Also refactored default port numbers
2021-09-18 10:03:06 +02:00