Commit graph

1141 commits

Author SHA1 Message Date
SChernykh
08d2fbdbd1 Parse full 128-bit difficulty from monerod 2021-09-03 22:45:55 +02:00
SChernykh
661d596107 api: store difficulty and totalHashes for each block 2021-09-03 18:04:54 +02:00
SChernykh
2d8530798d Unit tests for difficulty_type 2021-09-03 11:32:11 +02:00
SChernykh
b26c4616d7 Fixed wrong diff in api/network/stats 2021-09-02 23:39:47 +02:00
SChernykh
70ff4ba859 Tweaked peer list logic 2021-09-02 19:21:38 +02:00
SChernykh
e736a73117 Update codeql-analysis.yml 2021-09-02 16:15:14 +02:00
SChernykh
518f22cb0b
Create codeql-analysis.yml 2021-09-02 16:11:16 +02:00
SChernykh
9de3b6bac0
Update README.md 2021-09-02 14:04:56 +02:00
SChernykh
648e21f937 Update run.sh 2021-09-02 12:42:41 +02:00
SChernykh
bab148fbad Added cppcheck scripts 2021-09-02 12:35:36 +02:00
SChernykh
7092667301 Update README.md 2021-09-02 09:24:59 +02:00
SChernykh
55f8e9dc33 Added total blocks found 2021-09-02 09:02:24 +02:00
SChernykh
a7c11e02b4 Update config.json 2021-09-01 22:04:21 +02:00
SChernykh
fbdef7d058 Count all miners that were active in last 24 hours 2021-09-01 20:48:03 +02:00
SChernykh
e1b4649c2a Added pool blocks 2021-09-01 17:35:54 +02:00
SChernykh
73da71a2d3 Renamed next payout to block reward share 2021-09-01 16:34:10 +02:00
SChernykh
533cc202d2 Added pool stats 2021-09-01 16:28:05 +02:00
SChernykh
295cbda449 p2pool: export data to an external web-server
Dumps data to JSON files which can be later served by a web-server.
2021-09-01 14:11:28 +02:00
SChernykh
5d6fa03f11 Show all Monero block rewards in log 2021-09-01 10:43:10 +02:00
SChernykh
75843e9b37 P2PServer: don't broadcast stale blocks 2021-08-31 23:41:05 +02:00
SChernykh
33e95fbaf8 Fixed library names 2021-08-31 23:17:45 +02:00
SChernykh
1a83610299 P2PServer: simplified the code a bit 2021-08-31 23:11:58 +02:00
SChernykh
5f406a60a6 StratumServer: added keepalived method 2021-08-31 20:57:01 +02:00
SChernykh
5eea610f3c Stricter wallet address checks 2021-08-31 18:26:28 +02:00
SChernykh
bdb8ce57d0 Changed port to 37889 2021-08-31 17:25:48 +02:00
SChernykh
e44919c289 Changed pool name for the new test 2021-08-31 17:25:01 +02:00
SChernykh
780afd84a2 Added checks for tx keys 2021-08-31 17:23:20 +02:00
SChernykh
0558cdb9cc Fixed share effort calculation 2021-08-31 15:14:33 +02:00
SChernykh
7364292ece Fixed average effort calculation 2021-08-31 14:59:36 +02:00
SChernykh
662a7e91c8 P2PServer: always ban IPs that send bad blocks 2021-08-31 13:14:35 +02:00
SChernykh
8064865ba5 Fixed setting max log level from command line 2021-08-31 11:18:40 +02:00
SChernykh
7b197824fe P2PServer: add peers from the command line to the peer list on startup 2021-08-31 11:16:40 +02:00
SChernykh
3c183f0cb1 Added custom fixed difficulty example 2021-08-31 10:44:32 +02:00
SChernykh
114f6b627b P2PServer: don't allow multiple connections to/from the same IP 2021-08-31 10:41:41 +02:00
SChernykh
4757cdb8e2 P2PServer: added 1 second grace time for stale shares
Only for shares that lag 1 Monero block behind
2021-08-31 09:58:57 +02:00
SChernykh
bb8ff24db8 StratumServer: added avg effort and number of shares to status 2021-08-30 20:49:51 +02:00
SChernykh
4ac08ac10d StratumServer: print current effort in status 2021-08-30 19:45:37 +02:00
SChernykh
891ee36e53 Force update average hashrates when print_status() is called 2021-08-30 17:50:09 +02:00
SChernykh
d1e94d6e1a StartumServer: print average hashrate in status 2021-08-30 16:51:23 +02:00
SChernykh
a2f6e73122 JSONRPCRequest: more informative error messages 2021-08-30 14:28:23 +02:00
SChernykh
9120b86007 Fixed use of out of scope variable 2021-08-30 01:21:46 +02:00
SChernykh
1f6ed0542e
Merge pull request #5 from Gingeropolous/patch-1
update readme to remove cat
2021-08-29 20:35:13 +03:00
Gingeropolous
8d96c42451
update readme to remove cat
removed unnecessary cat. not the most important thing but i came across a website / blog once that made a point about getting rid of extra cats and i found it funny.
2021-08-29 13:28:02 -04:00
SChernykh
bb7720968f Tweaked log levels 2021-08-29 19:20:36 +02:00
SChernykh
ed390e8b7b Update README.md 2021-08-29 18:14:35 +02:00
SChernykh
dac74a8829 Update p2p_server.cpp 2021-08-29 17:42:49 +02:00
SChernykh
dd9166e91c Update dataset at normal thread priority 2021-08-29 17:36:10 +02:00
SChernykh
456f5d356f P2PServer: ban peers only after handshake finished and failed 2021-08-29 17:26:30 +02:00
SChernykh
541b3c653d Enable 4-byte target format for diff up to 4 million 2021-08-29 08:46:23 +02:00
SChernykh
519b4b548d Relax JSON parsing
Allow comments and trailing commas
2021-08-29 08:39:17 +02:00