Commit Graph
60 Commits
Author SHA1 Message Date
Jethro Grassie c2029b178f increase payload size allowance 2019-07-07 15:52:59 -04:00
Jethro Grassie b5a2dd5f5b implement miner selected block templates 2019-07-07 11:23:23 -04:00
Jethro Grassie 86a9900dfc add instance nonce to reserved 2019-06-20 22:38:53 -04:00
Jethro Grassie 512cfabd0a float to double for rounding issues 2019-05-12 17:31:54 -04:00
Jethro Grassie 2d0e62929a show time of last fetched template in the web ui 2019-05-12 12:50:40 -04:00
Jethro Grassie 747b471cd6 void 2019-05-11 21:08:16 -04:00
Jethro Grassie 98d6fc474f don't drop from bounded stack and other tweaks 2019-05-11 21:08:16 -04:00
Jethro Grassie 3052e3e20d fix copyright 2019-05-11 21:08:16 -04:00
Jethro Grassie 4a9a883a1a reorder functions and fix width 2019-05-11 21:08:16 -04:00
Jethro Grassie cee0ca90ec add bounded stack 2019-05-11 21:08:10 -04:00
Jethro Grassie 6dffa4788d tidy rpc callbacks 2019-05-11 03:04:11 -04:00
Jethro Grassie 20154a8133 add block-notified option
This allows us to have monerod signal the pool that it needs to fetch a
new block template. Better than polling.
2019-05-08 19:18:29 -04:00
Jethro Grassie e407929555 add size checks to utils 2019-05-05 23:53:36 -04:00
Jethro Grassie eeaeb1acdc optimize finding client job 2019-05-05 23:13:17 -04:00
Jethro Grassie feeb159d62 add missing free when no payments 2019-05-05 22:14:35 -04:00
Jethro Grassie daf01452ff batch transfers
Use `transfer_split` instead of `transfer`. The downside is we can no
longer store the tx hash in payments table. This is because we have no
way of knowing which returned tx hash contains the destination for a
payment. Wallet stores tx hash anyway, so not an issue.
2019-05-05 16:58:08 -04:00
Jethro Grassie 5d84d80c61 null terminate payload 2019-05-05 01:37:49 -04:00
Jethro Grassie f70955d648 fix webui wrapping 2019-05-04 16:21:46 -04:00
Jethro Grassie b89bf53d68 tidy unknown method called 2019-05-04 14:02:27 -04:00
Jethro Grassie a517714d28 reolved merge conflict 2019-05-04 13:40:49 -04:00
Jethro Grassie be34334ee8 Merge branch 'html' into dev 2019-05-04 13:32:09 -04:00
Jethro Grassie df7e4d5e57 remove unusued functions 2019-05-04 13:30:29 -04:00
Jethro Grassie c572345e33 reduce mallocs 2019-05-04 13:10:42 -04:00
Jethro Grassie 44a326f636 assert 2019-05-04 00:21:47 -04:00
Jethro Grassie ac1c54e6a2 correct headers/templates free 2019-05-04 00:07:22 -04:00
Jethro Grassie dd9aac6041 tidy table style 2019-05-04 00:00:27 -04:00
Jethro Grassie f668ed60f1 drop bad clients 2019-04-16 00:45:28 -04:00
Jethro Grassie 83dace40c1 add error check to getcwd 2019-04-07 15:54:39 -04:00
Jethro Grassie 515ba33902 fix json-c deprications 2019-04-07 15:54:39 -04:00
Jethro Grassie c3761f9a99 tidy html a little 2019-04-07 01:10:56 -04:00
Jethro Grassie e9ddd8d77a implement high target (64bit) 2019-04-07 01:03:11 -04:00
Jethro Grassie 3970973b89 clean up target_to_hex code
This is now more readable IMO. The nodejs pool has a very ugly approach
to achieve the same result. We also now warn about any larger than 32bit
target, which the nodejs pool just blindly ignores currently.
2019-04-07 01:03:11 -04:00
Jethro Grassie 5f253f4827 add minor optimization for target_to_hex 2019-04-07 01:03:10 -04:00
Jethro Grassie 0be08eddfc loop all clients for miner hashrate 2019-04-07 01:03:01 -04:00
Jethro Grassie 3ca1c73e3d increase nonce space 2019-04-07 01:01:10 -04:00
Jethro Grassie 7479e6ec43 add keepalived 2019-03-15 20:19:04 -04:00
Jethro Grassie c918ae4845 fix log unsigned values 2019-03-15 19:55:35 -04:00
Jethro Grassie 12f5dda2d6 fix for xmrig method job 2019-03-15 19:39:59 -04:00
Jethro Grassie fd3c00f510 update readme 2019-03-07 22:50:58 -05:00
Jethro Grassie 590ac33709 change pool hashrate calculation 2019-03-07 20:47:16 -05:00
Jethro Grassie b8c5bfdfc7 make stats GET 2019-03-07 17:17:11 -05:00
Jethro Grassie 6a0c5475a1 move web stats to json api 2019-03-03 15:42:09 -05:00
Jethro Grassie 17998481bf fix pool hashrate reporting 2019-03-03 10:39:43 -05:00
Jethro Grassie ab812a7076 improve Makefile 2019-02-25 18:00:21 -05:00
Jethro Grassie 3c76d658c7 add CNv4 support 2019-02-25 17:56:48 -05:00
Jethro Grassie 9b396bcee9 fix a couple of warnings 2019-02-12 20:08:30 -05:00
Jethro Grassie f8fa048ea9 tidy json validation 2019-02-10 22:56:32 -05:00
Jethro Grassie 2b36c6090c fail early on long input 2019-02-09 19:14:11 -05:00
Jethro Grassie 2d23056e24 remove old print 2019-02-09 18:35:29 -05:00
Jethro Grassie 7cff0f5d5c add a sanity check on target size 2019-02-09 18:20:06 -05:00