Commit Graph
92 Commits
Author SHA1 Message Date
Benjamin Wilson fc96b9ea45 getBlockTemplate improvements 2024-07-04 16:41:15 -04:00
Benjamin Wilson ad1f32cc2c ensure getblocktemplate always returns a value 2024-07-03 14:31:33 -04:00
Benjamin Wilson 917d312211 remove dead code 2024-07-03 14:28:28 -04:00
Marcel Hernandez 76e2426c30 add option to conect to Bitcoin RPC with cookie file (#40) 2024-06-10 07:43:47 -04:00
Ben Wilson e35bacc648 optimized share calculation and updating 2024-02-17 18:22:09 -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 537e06ef50 turn back cache sizes to default for sqlite 2024-01-22 17:34:46 -05:00
Ben Wilson 76285ba728 stratum jobs array to dictionary 2023-12-23 19:30:19 -05:00
Thomas Shufps f7303d73af Feat/regtest network (#11)
Feat/regtest network
2023-12-03 20:45:21 -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
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
Dustin Butler c7e23389aa Use zeromq if configured 2023-10-15 15:47:38 -06:00
Ben da60bb2876 remove VACUUM 2023-10-08 16:22:19 -04:00
Ben b9c3c67531 wrap getblockteplate try catch 2023-10-07 12:54:17 -04:00
Ben 7441838ba5 also destroy socket 2023-10-03 08:22:59 -04:00
Ben 6dfcad7725 5 min socket timeout 2023-10-03 08:08:00 -04:00
Ben 5c230d132e end socket on timeout 2023-10-03 08:02:27 -04:00
Ben e9a100433a comment 2023-10-03 07:59:28 -04:00
Ben 22bcd59bea 5 min timeout 2023-10-03 07:59:02 -04:00
Ben 0c4190960d 10min timeout 2023-10-03 07:51:05 -04:00
Ben f6f65ab9dc db tuning 2023-09-30 14:54:42 -04:00
Ben 0d75714c55 batch inserts 2023-09-30 08:40:22 -04:00
Ben aa8261aa10 startup remove delete 2023-09-30 08:13:46 -04:00
Ben Wilson 42235736fa proxy diff working 2023-08-13 23:26:06 -04:00
Ben Wilson c897a6413e WITHOUT ROWID 2023-08-11 09:19:26 -04:00
Ben Wilson 35d09ec730 remove timeout 2023-08-09 10:18:46 -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 b1cfe07222 optimizations and cleanup 2023-08-07 23:12:52 -04:00
Ben Wilson 5ad581d6f5 remove some logging 2023-08-07 22:19:36 -04:00
Ben Wilson d4ec2ab3b4 killDeadClients 2023-08-06 23:36:41 -04:00
Ben Wilson 1172ab5971 getSuggestedDifficulty bug 2023-08-06 22:41:25 -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 413187f4e3 killDeadClients 2023-08-06 13:30:28 -04:00
Ben Wilson 16328d8d03 removed promise sockets 2023-08-06 11:08:53 -04:00
Ben Wilson a38c3de5b7 no limit on job history 2023-08-06 10:06:49 -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 45d05f48c1 only keep 10min of job templates (reduce memory consumption) 2023-08-04 20:28:03 -04:00