Commit Graph
100 Commits
Author SHA1 Message Date
Ben Wilson bbc14e2272 bug 2024-01-15 20:04:26 -05:00
Ben Wilson fc767fa770 reduce heartbeat updates 2024-01-14 14:10:47 -05:00
Ben Wilson 40e32d6e1a stratum jobs array to dictionary 2023-12-15 00:56:22 -05:00
Ben Wilson df6ec07c58 batch save share statistics 2023-12-15 00:25:01 -05:00
Ben Wilson df245f396e parameterized typeorm 2023-12-14 23:54:45 -05:00
Ben Wilson 42fc863c7c column names 2023-12-14 23:47:51 -05:00
Ben Wilson e46bb24155 raw query 2023-12-14 23:44:41 -05:00
Ben Wilson cb4a173733 add back index with time 2023-12-14 22:45:12 -05:00
Ben Wilson 83c769849d removed hash from client stats table, connection pool size 2023-12-14 22:30:55 -05:00
Ben Wilson ee5fea1df5 wrap save in a transaction 2023-12-10 17:23:08 -05:00
Ben Wilson 06acad6770 example 2023-12-08 00:12:25 -05:00
Ben Wilson f7b22bb310 delete old stats sooner 2023-12-07 09:57:20 -05:00
Ben Wilson 6cf6a007d9 remove read UNCOMMITTED 2023-12-07 09:55:36 -05:00
Ben Wilson 5b71632f8a postgres doesn't support read UNCOMMITTED 2023-12-07 09:55:07 -05:00
Ben Wilson c5ff8521ac Merge branch 'postgresql' of https://github.com/benjamin-wilson/public-pool into postgresql 2023-12-07 09:53:40 -05:00
Ben Wilson 53ee510a1e fix chart, caching 2023-12-07 09:53:16 -05:00
Ben Wilson 7be554a358 fix chart, caching 2023-12-07 09:40:32 -05:00
Ben Wilson eb5d434157 few optimizations 2023-12-07 09:07:37 -05:00
Ben Wilson 893c7c2003 revert 2023-12-07 08:33:43 -05:00
Ben Wilson 4736eadf7b row names 2023-12-07 08:19:51 -05:00
Ben Wilson 1089e6210c deadlock? 2023-12-07 08:16:48 -05:00
Ben Wilson 017978d250 userAgent 2023-12-04 08:52:49 -05:00
Ben Wilson 5a17528b8f bug 2023-12-04 08:33:47 -05:00
Ben Wilson 0b147ea5db fix numbers returned from query as string 2023-12-04 08:26:47 -05:00
Ben Wilson bffcf6c74c config 2023-12-04 01:07:45 -05:00
Ben Wilson 96a38f9d9b bug 2023-12-04 01:06:53 -05:00
Ben Wilson 39c4c033e2 postgres init 2023-12-04 00:34:33 -05:00
Ben Wilson abbdf65925 socket error handling 2023-08-14 10:19:01 -04:00
Ben Wilson 31d4069e18 keep statistics for a 8 days 2023-08-14 10:09:36 -04:00
Ben Wilson 42235736fa proxy diff working 2023-08-13 23:26:06 -04:00
Ben Wilson 5369b2dc12 withoutRowid on statistics 2023-08-11 22:40:54 -04:00
Ben Wilson 8e7c0e5ce4 comment 2023-08-11 22:35:58 -04:00
Ben Wilson 45a107a791 db index optimizations 2023-08-11 22:35:06 -04:00
Ben Wilson c897a6413e WITHOUT ROWID 2023-08-11 09:19:26 -04:00
Ben Wilson 36d596bd04 userAgent 2023-08-09 22:28:14 -04:00
Ben Wilson eaf218fce8 message parsing 2023-08-09 10:22:56 -04:00
Ben Wilson 7a32e2673a logging 2023-08-09 10:21:49 -04:00
Ben Wilson 35d09ec730 remove timeout 2023-08-09 10:18:46 -04:00
Ben Wilson 0eaffaf9f7 directory 2023-08-09 10:15:21 -04:00
Ben Wilson 76319d9625 https 2023-08-09 09:52:32 -04:00
Ben Wilson 1973b06515 https 2023-08-09 09:29:15 -04:00
Ben Wilson 10f6ffa91f defer session create 2023-08-08 23:39:52 -04:00
Ben Wilson 2e0b66577d logging 2023-08-08 19:39:16 -04:00
Ben Wilson b1cfe07222 optimizations and cleanup 2023-08-07 23:12:52 -04:00
Ben Wilson 14f6d5802f defer some db operations 2023-08-07 22:38:19 -04:00
Ben Wilson 5ad581d6f5 remove some logging 2023-08-07 22:19:36 -04:00
Ben Wilson 32c5545de8 defer entity creation 2023-08-07 10:15:16 -04:00
Ben Wilson d4ec2ab3b4 killDeadClients 2023-08-06 23:36:41 -04:00
Ben Wilson 41e82a9984 getSuggestedDifficulty 2023-08-06 23:11:55 -04:00
Ben Wilson b0d7f37533 nearestPowerOfTwo 2023-08-06 23:05:14 -04:00
Ben Wilson 72d2f63315 nearestPowerOfTwo 2023-08-06 22:58:54 -04:00
Ben Wilson 3ec444af48 getSuggestedDifficulty 2023-08-06 22:50:50 -04:00
Ben Wilson b642a399f2 turn off logging 2023-08-06 22:45:01 -04:00
Ben Wilson c1b07ed034 turn off logging 2023-08-06 22:44:09 -04:00
Ben Wilson 1172ab5971 getSuggestedDifficulty bug 2023-08-06 22:41:25 -04:00
Ben Wilson 0a9c254e84 socket cleanup 2023-08-06 19:26:36 -04:00
Ben Wilson 0fcb2ec070 query 2023-08-06 19:18:29 -04:00
Ben Wilson 62f528d55f sum hashrate 2023-08-06 18:16:48 -04:00
Ben Wilson 24538d34ce remove logging 2023-08-06 17:45:30 -04:00
Ben Wilson 32c1a34202 fixed killDeadClients 2023-08-06 16:47:28 -04:00
Ben Wilson d8059db561 https://github.com/benjamin-wilson/public-pool/issues/4 2023-08-06 14:57:26 -04:00
Ben Wilson 413187f4e3 killDeadClients 2023-08-06 13:30:28 -04:00
Ben Wilson 5d2fd5a97c bug 2023-08-06 11:23:32 -04:00
Ben Wilson 16328d8d03 removed promise sockets 2023-08-06 11:08:53 -04:00
Ben Wilson 4da96c6b68 killDeadClients 2023-08-06 10:53:50 -04:00
Ben Wilson faac9ccfea defensive coding 2023-08-06 10:30:57 -04:00
Ben Wilson a38c3de5b7 no limit on job history 2023-08-06 10:06:49 -04:00
Ben Wilson e1e25172a6 promise socket end 2023-08-06 00:26:04 -04:00
Ben Wilson 3ea836346c increase job queue 2023-08-06 00:21:45 -04:00
Ben Wilson 06375151c8 don't attempt to destroy socket on end event 2023-08-06 00:08:09 -04:00
Ben Wilson 9bda704e13 uptime 2023-08-05 23:03:32 -04:00
Ben Wilson 924909bef0 fix unit test 2023-08-05 22:54:50 -04:00
Ben Wilson 3d14f206f4 revert bulk insert 2023-08-05 21:36:24 -04:00
Ben Wilson a9e8b66a6f remove watchdog 2023-08-05 11:28:52 -04:00
Ben Wilson e5efe2df21 stagger didn't work 2023-08-05 10:57:26 -04:00
Ben Wilson 10e005c0e9 bug 2023-08-05 10:54:37 -04:00
Ben Wilson 7dbe64300a adjustments for cpuminer 2023-08-05 10:52:14 -04:00
Ben Wilson b2f5cb5806 better unsubscribe, startup stagger 2023-08-05 09:57:39 -04:00
Ben Wilson fe677b88f8 trying bulk insert? 2023-08-04 20:57:57 -04:00
Ben Wilson 45d05f48c1 only keep 10min of job templates (reduce memory consumption) 2023-08-04 20:28:03 -04:00
Ben Wilson 38681aba64 more cache 2023-08-04 18:30:31 -04:00
Ben Wilson d4bbd9ebef client cleanup 2023-08-04 16:40:52 -04:00
Ben Wilson f85967daf8 optimizations 2023-08-04 16:34:49 -04:00
Ben Wilson 6423e2cb67 dbcache 2023-08-04 00:07:05 -04:00
Ben Wilson 1f6e49d61d remove db retries 2023-08-03 23:45:24 -04:00
Ben Wilson c017669062 cache size? 2023-08-03 23:40:43 -04:00
Ben Wilson b6e71997e9 max connections 2023-08-03 23:34:55 -04:00
Ben Wilson d7c64ad0b9 causing problems? 2023-08-03 23:30:06 -04:00
Ben Wilson 018eec17f2 only delete clients once 2023-08-03 23:23:32 -04:00
Ben Wilson 03150f90df db timeouts 2023-08-03 23:15:37 -04:00
Ben Wilson 3debb2e3c9 insert optimizations 2023-08-03 23:01:15 -04:00
Ben Wilson 726b906071 user agent best diff 2023-08-03 22:40:21 -04:00
Ben Wilson f907d6efe1 network stats and better client hashrate estimation 2023-08-03 22:37:48 -04:00
Ben Wilson 3c4c35ab53 revert to http 2023-08-03 18:12:25 -04:00
Ben Wilson 354b7cc954 wrong repo 2023-08-03 17:34:21 -04:00
Ben Wilson cce3e72e79 github pages 2023-08-03 17:30:41 -04:00
Ben Wilson 684d6dc130 gitignore pem 2023-08-03 17:16:32 -04:00
Ben Wilson a7b73b0610 add https and pem files (for anyone to use, fast setup) 2023-08-03 17:16:16 -04:00
Ben Wilson a7ea61f28f tweaks 2023-08-02 22:49:13 -04:00
Ben Wilson 978fc7cd1a statistics bug 2023-08-02 09:36:19 -04:00