Commit Graph
100 Commits
Author SHA1 Message Date
Ben Wilson 9895e80a01 share updates 2024-02-17 18:40:34 -05:00
Ben Wilson 9617ec5685 statistics saving 2024-02-17 18:25:14 -05:00
Ben Wilson aefb180fb4 fix pool info 2024-02-17 16:27:37 -05:00
Ben Wilson 87508bfb69 user agent report 2024-02-16 23:49:47 -05:00
Ben Wilson 39e537a00c bug 2024-02-16 17:18:21 -05:00
Ben Wilson 9ecfc68155 bug 2024-02-16 17:17:19 -05:00
Ben Wilson 3e2de62259 db refactor 2024-02-16 17:12:36 -05:00
Ben Wilson 8e977c21a1 Merge remote-tracking branch 'origin/master' into postgresql 2024-02-14 08:38:05 -05:00
Ben Wilson 3fac0dfaa9 zmq await 2024-01-24 11:50:59 -05:00
Ben Wilson dadb03ed1c re-add zmq with pre-built binaries and pinned version 2024-01-23 21:24:33 -05:00
Ben Wilson a98ec3879e block template fix for NULL NODE_APP_INSTANCE 2024-01-23 18:40:50 -05:00
Ben Wilson e29caad377 remove cache typeorm option 2024-01-22 17:38:08 -05:00
Ben Wilson 537e06ef50 turn back cache sizes to default for sqlite 2024-01-22 17:34:46 -05:00
Ben Wilson 5fd9f98807 index, dead code 2024-01-22 17:32:34 -05:00
Ben Wilson 6bc42defef separate home graph into it's own table 2024-01-16 19:37:29 -05:00
Ben Wilson bbc14e2272 bug 2024-01-15 20:04:26 -05:00
Ben Wilson 300fd99067 bug fixes 2024-01-15 20:03:55 -05:00
Ben Wilson 1d6670051f reduce heartbeat updates 2024-01-15 19:47:04 -05:00
Ben Wilson fc767fa770 reduce heartbeat updates 2024-01-14 14:10:47 -05:00
Ben Wilson ab1e7bb8a0 batch save share statistics 2023-12-23 19:31:14 -05:00
Ben Wilson 76285ba728 stratum jobs array to dictionary 2023-12-23 19:30:19 -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