Commit Graph
501 Commits
Author SHA1 Message Date
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 982194b4e9 ClientStatisticsEntity rowid 2023-12-24 17:57:03 -05:00
Ben d97dafe185 separate background tasks 2023-12-24 17:54:40 -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 38fda85f63 back port some changes from postgres 2023-12-23 19:30:05 -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
Seth For Privacy 8f6eeaba73 Dockerfile improvements and automatic Github Actions builds (#14)
* Initial GA push

* Fix Actions

* Remove test runs

* Update Trivy scanner to latest syntax

* Remove unnecessary build stage

* Switch to slim base images

* Minor Dockerfile improvements

* Fix slim builds

* Fix slim builds round 2
2023-12-12 20:11:36 -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
Thomas Shufps f7303d73af Feat/regtest network (#11)
Feat/regtest network
2023-12-03 20:45:21 -05:00
Ben 8075c83fe2 batch insert 2023-12-01 22:08:08 -05:00
Ben c6885abd71 undo stratum changes 2023-12-01 21:51:47 -05:00
Ben 8657ffec78 reduce connections 2023-12-01 20:18:48 -05:00
Ben c39de1387b try to ramp connections 2023-12-01 20:18:26 -05:00
Ben f1d470b2c6 increase mmap_size 2023-12-01 19:32:51 -05:00
Ben 071deccbd7 test 2023-12-01 00:00:51 -05:00
Ben 37b92329ba change cron to interval 2023-11-30 23:50:13 -05:00
Thomas Shufps eef8978250 Adds a full setup (bitcoin core + public-pool) (#10)
* full setup bitcoin + public-pool for docker
2023-11-28 08:07:57 -05:00
Ben 3ed6b8f5c4 bug 2023-11-24 16:18:43 -05:00
Ben 5ee67bb5fe bug 2023-11-24 15:43:09 -05:00
Ben b9af79978f RPC load reduction 2023-11-24 14:56:35 -05:00
Thomas Shufps 2aa0ebe587 some changes for docker setup (#9)
* added SIGTERM handler for graceful docker shutdown

* added error message

* added example for bitcoind running on the host undockered

* added docker-compose and extended example

* added docker-compose section to README

* addes some note for rpcallowip

* added restart policy

* added DB folder for persistent data

* added $NETWORK as prefix for database path to not get in conflict with testnet setup

* used env variables for stratum and api ports
2023-11-19 14:16:50 -05:00
Jeremy Chabernaud a10aa9c52f feat: add docker (#6)
* misc: improve match version of types/node

* feat: improve stop with sigint signal

* feat: add docker

* feat: add docker in readme
2023-11-15 15:33:05 -05:00
Benjamin Wilson a1197fc77e Merge pull request #8 from dustinb/zeromq
Use zeromq if configured
2023-10-15 18:06:10 -04:00
Dustin Butler c7e23389aa Use zeromq if configured 2023-10-15 15:47:38 -06:00