Commit Graph
74 Commits
Author SHA1 Message Date
TrasherDK c82ef6e3bc Add Content-Type to JSON response 2019-10-25 19:00:16 +02:00
Jethro Grassie e64437b70d update based on rx latest patch 2019-09-10 19:33:36 -04:00
Jethro Grassie df8bfe2a78 add a tiny optimization validating template 2019-09-06 18:43:00 -04:00
Jethro Grassie b127df87b2 adjust to upstream rx change 2019-09-03 22:29:44 -04:00
Jethro Grassie c24a3ba3c8 use correct block hash for matching 2019-08-23 21:22:10 -04:00
Jethro Grassie 6471c6a20a log failures of balance transfers 2019-08-23 16:53:29 -04:00
Jethro Grassie af9b9c8953 fix orphaning 2019-08-23 16:24:03 -04:00
Jethro Grassie bcc25dee1b ease building with / without randomx 2019-08-21 19:35:30 -04:00
Jethro Grassie 2c636d00e9 fix balance updates 2019-08-21 18:32:57 -04:00
Jethro Grassie 647971cde6 add RandomX support 2019-08-20 23:06:08 -04:00
Jethro Grassie 0d8479a3b2 improve compilation flags
- more / specific warnings enabled
 - specify c std
2019-08-07 00:03:53 -04:00
Jethro Grassie 01b2f3274c minor improvements
- binary data now explicitly unsigned char* to avoid confusion
 - rpc_get_request_body now using stecpy to avoid repeated strlen
2019-08-05 19:41:40 -04:00
Jethro Grassie ee722699c7 add data-dir option 2019-07-14 14:05:33 -04:00
Jethro Grassie 012edf01c1 kick client after N bad shares 2019-07-14 12:34:35 -04:00
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