Commit Graph

  • c75bc83fc1 Added Wallet tests SChernykh 2021-09-04 00:05:37 +02:00
  • 08d2fbdbd1 Parse full 128-bit difficulty from monerod SChernykh 2021-09-03 22:28:54 +02:00
  • 661d596107 api: store difficulty and totalHashes for each block SChernykh 2021-09-03 18:04:54 +02:00
  • 2d8530798d Unit tests for difficulty_type SChernykh 2021-09-03 11:12:22 +02:00
  • b26c4616d7 Fixed wrong diff in api/network/stats SChernykh 2021-09-02 23:39:47 +02:00
  • 70ff4ba859 Tweaked peer list logic SChernykh 2021-09-02 19:21:38 +02:00
  • e736a73117 Update codeql-analysis.yml SChernykh 2021-09-02 16:15:14 +02:00
  • 518f22cb0b Create codeql-analysis.yml SChernykh 2021-09-02 16:11:16 +02:00
  • 9de3b6bac0 Update README.md SChernykh 2021-09-02 14:04:56 +02:00
  • 648e21f937 Update run.sh SChernykh 2021-09-02 12:42:41 +02:00
  • bab148fbad Added cppcheck scripts SChernykh 2021-09-02 12:29:50 +02:00
  • 7092667301 Update README.md SChernykh 2021-09-02 09:21:52 +02:00
  • 55f8e9dc33 Added total blocks found SChernykh 2021-09-02 09:02:24 +02:00
  • a7c11e02b4 Update config.json SChernykh 2021-09-01 22:04:21 +02:00
  • fbdef7d058 Count all miners that were active in last 24 hours SChernykh 2021-09-01 20:48:03 +02:00
  • e1b4649c2a Added pool blocks SChernykh 2021-09-01 17:21:27 +02:00
  • 73da71a2d3 Renamed next payout to block reward share SChernykh 2021-09-01 16:34:10 +02:00
  • 533cc202d2 Added pool stats SChernykh 2021-09-01 16:26:56 +02:00
  • 295cbda449 p2pool: export data to an external web-server SChernykh 2021-09-01 13:49:58 +02:00
  • 5d6fa03f11 Show all Monero block rewards in log SChernykh 2021-09-01 10:43:10 +02:00
  • 75843e9b37 P2PServer: don't broadcast stale blocks SChernykh 2021-08-31 23:41:05 +02:00
  • 33e95fbaf8 Fixed library names SChernykh 2021-08-31 23:17:45 +02:00
  • 1a83610299 P2PServer: simplified the code a bit SChernykh 2021-08-31 23:11:58 +02:00
  • 5f406a60a6 StratumServer: added keepalived method SChernykh 2021-08-31 20:57:01 +02:00
  • 5eea610f3c Stricter wallet address checks SChernykh 2021-08-31 18:26:28 +02:00
  • bdb8ce57d0 Changed port to 37889 SChernykh 2021-08-31 17:25:48 +02:00
  • e44919c289 Changed pool name for the new test SChernykh 2021-08-31 17:25:01 +02:00
  • 780afd84a2 Added checks for tx keys SChernykh 2021-08-31 17:23:20 +02:00
  • 0558cdb9cc Fixed share effort calculation SChernykh 2021-08-31 15:14:33 +02:00
  • 7364292ece Fixed average effort calculation SChernykh 2021-08-31 14:59:36 +02:00
  • 662a7e91c8 P2PServer: always ban IPs that send bad blocks SChernykh 2021-08-31 13:14:35 +02:00
  • 8064865ba5 Fixed setting max log level from command line SChernykh 2021-08-31 11:18:40 +02:00
  • 7b197824fe P2PServer: add peers from the command line to the peer list on startup SChernykh 2021-08-31 11:16:40 +02:00
  • 3c183f0cb1 Added custom fixed difficulty example SChernykh 2021-08-31 10:44:32 +02:00
  • 114f6b627b P2PServer: don't allow multiple connections to/from the same IP SChernykh 2021-08-31 10:41:41 +02:00
  • 4757cdb8e2 P2PServer: added 1 second grace time for stale shares SChernykh 2021-08-31 09:58:57 +02:00
  • bb8ff24db8 StratumServer: added avg effort and number of shares to status SChernykh 2021-08-30 20:49:51 +02:00
  • 4ac08ac10d StratumServer: print current effort in status SChernykh 2021-08-30 19:45:37 +02:00
  • 891ee36e53 Force update average hashrates when print_status() is called SChernykh 2021-08-30 17:50:09 +02:00
  • d1e94d6e1a StartumServer: print average hashrate in status SChernykh 2021-08-30 16:51:23 +02:00
  • a2f6e73122 JSONRPCRequest: more informative error messages SChernykh 2021-08-30 14:28:23 +02:00
  • 9120b86007 Fixed use of out of scope variable SChernykh 2021-08-30 01:21:46 +02:00
  • 1f6ed0542e Merge pull request #5 from Gingeropolous/patch-1 SChernykh 2021-08-29 20:35:13 +03:00
  • 8d96c42451 update readme to remove cat Gingeropolous 2021-08-29 13:28:02 -04:00
  • bb7720968f Tweaked log levels SChernykh 2021-08-29 19:20:36 +02:00
  • ed390e8b7b Update README.md SChernykh 2021-08-29 18:06:01 +02:00
  • dac74a8829 Update p2p_server.cpp SChernykh 2021-08-29 17:42:49 +02:00
  • dd9166e91c Update dataset at normal thread priority SChernykh 2021-08-29 17:36:10 +02:00
  • 456f5d356f P2PServer: ban peers only after handshake finished and failed SChernykh 2021-08-29 17:26:30 +02:00
  • 541b3c653d Enable 4-byte target format for diff up to 4 million SChernykh 2021-08-29 08:46:23 +02:00
  • 519b4b548d Relax JSON parsing SChernykh 2021-08-29 08:34:26 +02:00
  • 759d2ecc82 Update config.json SChernykh 2021-08-29 08:26:17 +02:00
  • 8e29abd906 Small fixes SChernykh 2021-08-29 00:13:53 +02:00
  • 8a26498b66 Tweaked log levels SChernykh 2021-08-28 23:34:46 +02:00
  • ff4d89868b StratumServer: Use short target format (4 bytes) for diff <= ~2 million SChernykh 2021-08-28 19:50:48 +02:00
  • 4175f4c8bc StratumServer: ban clients that send incorrect shares SChernykh 2021-08-28 18:40:50 +02:00
  • c6d26b48e2 Update README.md SChernykh 2021-08-28 18:19:27 +02:00
  • df59e81afe New p2pool node for the test SChernykh 2021-08-28 18:17:46 +02:00
  • 9e438210d1 StratumServer: support custom fixed difficulty SChernykh 2021-08-28 17:18:41 +02:00
  • 46ce4ebee7 check_pow: fixed carry calculation SChernykh 2021-08-28 11:50:20 +02:00
  • 9662428d33 Update README.md SChernykh 2021-08-28 11:18:08 +02:00
  • 0be078cb09 StartumServer: moved warnings to log level 4 SChernykh 2021-08-28 08:30:17 +02:00
  • 14bb308794 P2PServer: clear m_missingBlockRequests when there is nothing missing SChernykh 2021-08-27 21:09:35 +02:00
  • bbe69077c1 Update README.md SChernykh 2021-08-27 19:54:41 +02:00
  • f9be0de8d2 P2PServer: ask peers about unknown blocks only once SChernykh 2021-08-27 17:26:42 +02:00
  • 81a12158fc P2PServer: don't add banned peers back to the peer list SChernykh 2021-08-27 16:36:06 +02:00
  • 3804bfb0ba Update README.md SChernykh 2021-08-27 13:14:22 +02:00
  • 24bd7dd3e7 Update README.md SChernykh 2021-08-27 12:42:02 +02:00
  • c4828d455d Update README.md SChernykh 2021-08-27 12:11:01 +02:00
  • 925c30ca8e Mainnet test instructions SChernykh 2021-08-27 12:10:25 +02:00
  • 8304d81961 Prepare for mainnet test SChernykh 2021-08-27 11:30:03 +02:00
  • 27c2aab145 Check network type at startup SChernykh 2021-08-27 11:25:25 +02:00
  • afca83d6c2 BlockCache: check block size before storing it SChernykh 2021-08-27 10:37:14 +02:00
  • 2761ce5af7 Fixed a leak in ZMQReader SChernykh 2021-08-27 10:32:31 +02:00
  • 776b1f561c Fixed use after free on p2pool shutdown SChernykh 2021-08-27 10:13:33 +02:00
  • 715c0d4e14 Reduced cache size a bit SChernykh 2021-08-27 10:12:41 +02:00
  • 8f1875315c First test finished SChernykh 2021-08-27 00:50:25 +02:00
  • 3ea71d51e5 Fixed crash on startup SChernykh 2021-08-27 00:41:09 +02:00
  • f77e0434c6 Fixed TCPServer startup SChernykh 2021-08-27 00:19:01 +02:00
  • 3f1ee9ce4b TCPServer fixes SChernykh 2021-08-26 23:27:05 +02:00
  • 27e85a922b TCPServer: fixed more leaks on shutdown SChernykh 2021-08-26 19:14:04 +02:00
  • 4ba32277c1 Use p2pool-api branch for Monero SChernykh 2021-08-26 15:36:40 +02:00
  • 37f3312e1d Submit received p2pool blocks to monerod when possible SChernykh 2021-08-25 22:07:42 +02:00
  • 125815b502 Made print_status() thread-safe SChernykh 2021-08-25 21:00:06 +02:00
  • 63e442dffd print_status: fixed next payout display SChernykh 2021-08-25 18:52:09 +02:00
  • 0009eba307 Fix RandomX startup logic SChernykh 2021-08-25 18:31:42 +02:00
  • 276cc5f0fd Fix Mac compilation SChernykh 2021-08-25 18:16:26 +02:00
  • fa3146a8f3 Reverted force close TCP connections SChernykh 2021-08-25 17:27:46 +02:00
  • 230d3e4780 Fixed socket leak after a failed connection SChernykh 2021-08-25 17:18:59 +02:00
  • d246ee1552 Enabled block cache for Mac SChernykh 2021-08-25 16:26:15 +02:00
  • 46b7c3e755 TCPServer: stop reading before closing connection SChernykh 2021-08-25 16:19:21 +02:00
  • 662865ad70 Reduced startup spam at log levels <= 5 SChernykh 2021-08-25 15:01:05 +02:00
  • 68a4765f95 Force close TCP connections SChernykh 2021-08-25 14:53:45 +02:00
  • 924fd4b7bd TCPServer: better tracking of used sockets SChernykh 2021-08-25 13:58:00 +02:00
  • a38a7be73f p2pool: submit block from the main thread only SChernykh 2021-08-25 12:45:14 +02:00
  • 8f93adf7a1 Refactored signal handler SChernykh 2021-08-25 12:28:15 +02:00
  • d8efb27374 Restrict uv_default_loop() to main thread SChernykh 2021-08-25 12:17:14 +02:00
  • dbf18c34a4 Fixed wrong uv loop in p2pserver::flush_cache() SChernykh 2021-08-25 11:31:50 +02:00
  • fcb9e25fb1 Print background jobs in status SChernykh 2021-08-25 11:31:35 +02:00
  • 7ab3c22114 Give only 5 seconds for new connections to complete handshake SChernykh 2021-08-25 11:14:23 +02:00