239 Commits (720032dacd5567773d72cbc5c416289a29d8a70c)

Author SHA1 Message Date
Con Kolivas 532587eba4 Set priority correctly on multipools. 13 years ago
Con Kolivas 56defd6e0b Make it possible to enable/disable longpoll. 13 years ago
Con Kolivas 53529a842d Abstract out the longpoll start and explicitly restart it on pool change. 13 years ago
Con Kolivas 62c8a8c1e1 Allow scan settings to be modified at runtime. 13 years ago
Con Kolivas a8c84da4c9 Allow log interval to be set in the menu. 13 years ago
Con Kolivas 2f976c7406 Make the input windows update immediately instead of needing a refresh. 13 years ago
Con Kolivas 0909facfaf Clean up the messy way the staging thread communicates with the longpoll thread to determine who found the block first. 13 years ago
Con Kolivas 0106c56797 Add a menu and separate out display options. 13 years ago
Con Kolivas 4bfa2809c3 Display pool information on the fly as well. 13 years ago
Con Kolivas 75bf36ff0e Allow the pool strategy to be modified on the fly. 13 years ago
Con Kolivas cca6f49ef8 Abstract out active pools count. 13 years ago
Con Kolivas 31a8944564 Tidy. 13 years ago
Con Kolivas ad53696f3f The longpoll blanking of the current_block data may not be happening before the work is converted and appears to be a detected block change. 13 years ago
Con Kolivas 44bcc32234 Display current pool management strategy to enable changing it on the fly. 13 years ago
Con Kolivas b534ad0aad Only internally test for block changes when the work matches the current pool to prevent interleaved block change timing on multipools. 13 years ago
Con Kolivas b0a8f279f7 Implement the ability to live add, enable, disable, and switch to pools. 13 years ago
Con Kolivas baddb82ad9 Do one last check of the work before submitting it. 13 years ago
Con Kolivas 20336ea15d Make input pool capable of bringing up pools while running. 13 years ago
Con Kolivas 7841486f83 Add a bool for explicit enabling/disabling of pools. 13 years ago
Con Kolivas 0bc9574628 Add pool option to input and display current pool status, pending code to allow live changes. 13 years ago
Con Kolivas ec06940c21 Add a thread that takes keyboard input and allow for quit, silent, debug, verbose, normal, rpc protocol debugging and clear screen options. 13 years ago
Con Kolivas b4f651f4ff Disable/enable echo & cbreak modes. 13 years ago
Con Kolivas 6fdbe01412 Remove the nil arguments check to allow starting without parameters. 13 years ago
Con Kolivas 9d60b107f1 Abstract out a curses input function and separate input pool function to allow for live adding of pools later. 13 years ago
Con Kolivas 365c90096c Make it possible to enter server credentials with curses input if none are specified on the command line. 13 years ago
Con Kolivas 2b7e5e58c8 Enable curses earlier and exit with message in main for messages to not be lost in curses windows. 13 years ago
Con Kolivas 4766463b78 Only set option to show devices and exit if built with opencl support. 13 years ago
Con Kolivas f4f018b498 Don't try to stop/cancel threads that don't exist. 13 years ago
Con Kolivas b4960ec36b Free up resources/stale compilers. 13 years ago
Con Kolivas fa9e03f487 Implement pool rotation strategy. 13 years ago
Con Kolivas 521025aa75 Implement load balancing algorithm by rotating requests to each pool. 13 years ago
Con Kolivas 0ba06c69f9 Timeout on failed discarding of staged requests. 13 years ago
Con Kolivas 6305146bea Implement proper flagging of idle pools, test them with the watchdog thread, and failover correctly. 13 years ago
Con Kolivas 7c8919328c Move pool active test to own function. 13 years ago
Con Kolivas 40419f1a78 Allow multiple strategies to be set for multipool management. 13 years ago
Con Kolivas d518f7cbfd Track pool number. 13 years ago
Con Kolivas 02e0e12529 Don't waste the work items queued on testing the pools at startup. 13 years ago
Con Kolivas ced0e5ad81 Reinstate the mining thread watchdog restart. 13 years ago
Con Kolivas 0afab92cd4 Allow the user/pass userpass urls to be input in any order. 13 years ago
Con Kolivas 0d8b8793b5 Reset the queued count to allow more work to be queued for the new pool on pool switch. 13 years ago
Con Kolivas 012456f3b7 Display per pool summary at the end if multiple pools in use. Fine tune statistics and make localgen fail at 5 mins. 13 years ago
Con Kolivas 85bf965cda Force a mandatory work item on pool switch and determine what to do based on server supporting roll time or not. 13 years ago
Con Kolivas f91a048ae7 Implement the actual switch logic which changes over after 5 minutes of local work generation. 13 years ago
Con Kolivas 81ff7fb3dc Explicitly probe each pool to see if work can be retrieved from it and what it supports. 13 years ago
Con Kolivas 913e120262 Test for rolltime and save it correctly when testing for longpoll. 13 years ago
Con Kolivas 0ce3df10d2 Store whether each server supports X-Roll-Ntime or not. 13 years ago
Con Kolivas 321c4798d4 Make longpoll switch servers should it not match the current pool. 13 years ago
Con Kolivas 529aa70c38 Set pool on work retrieved from longpoll. 13 years ago
Con Kolivas 048bea201f Set first localgen time to max. 13 years ago
Con Kolivas ecda75946b Set and get the current pool under lock. 13 years ago