NEWS 84 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770
  1. Version 2.4.0 - May 3, 2012
  2. - Convert hashes to an unsigned long long as well.
  3. - Detect pools that have issues represented by endless rejected shares and
  4. disable them, with a parameter to optionally disable this feature.
  5. - Bugfix: Use a 64-bit type for hashes_done (miner_thread) since it can overflow
  6. 32-bit on some FPGAs
  7. - Implement an older header fix for a label existing before the pthread_cleanup
  8. macro.
  9. - Limit the number of curls we recruit on communication failures and with
  10. delaynet enabled to 5 by maintaining a per-pool curl count, and using a pthread
  11. conditional that wakes up when one is returned to the ring buffer.
  12. - Generalise add_pool() functions since they're repeated in add_pool_details.
  13. - Bugfix: Return failure, rather than quit, if BFwrite fails
  14. - Disable failing devices such that the user can attempt to re-enable them
  15. - Bugfix: thread_shutdown shouldn't try to free the device, since it's needed
  16. afterward
  17. - API bool's and 1TBS fixes
  18. - Icarus - minimise code delays and name timer variables
  19. - api.c V1.9 add 'restart' + redesign 'quit' so thread exits cleanly
  20. - api.c bug - remove extra ']'s in notify command
  21. - Increase pool watch interval to 30 seconds.
  22. - Reap curls that are unused for over a minute. This allows connections to be
  23. closed, thereby allowing the number of curl handles to always be the minimum
  24. necessary to not delay networking.
  25. - Use the ringbuffer of curls from the same pool for submit as well as getwork
  26. threads. Since the curl handles were already connected to the same pool and are
  27. immediately available, share submission will not be delayed by getworks.
  28. - Implement a scaleable networking framework designed to cope with any sized
  29. network requirements, yet minimise the number of connections being reopened. Do
  30. this by create a ring buffer linked list of curl handles to be used by getwork,
  31. recruiting extra handles when none is immediately available.
  32. - There is no need for the submit and getwork curls to be tied to the pool
  33. struct.
  34. - Do not recruit extra connection threads if there have been connection errors
  35. to the pool in question.
  36. - We should not retry submitting shares indefinitely or we may end up with a
  37. huge backlog during network outages, so discard stale shares if we failed to
  38. submit them and they've become stale in the interim.
  39. Version 2.3.6 - April 29, 2012
  40. - Shorten stale share messages slightly.
  41. - Protect the freeing of current_hash under mutex_lock to prevent racing on it
  42. when set_curblock is hit concurrently.
  43. - Change default behaviour to submitting stale, removing the --submit-stale
  44. option and adding a --no-submit-stale option.
  45. - Make sure to start the getwork and submit threads when a pool is added on the
  46. fly. This fixes a crash when a pool is added to running cgminer and then
  47. switched to.
  48. - Faster hardware can easily outstrip the speed we can get work and submit
  49. shares when using only one connection per pool.
  50. - Test the queued list to see if any get/submits are already queued and if they
  51. are, start recruiting extra connections by generating new threads.
  52. - This allows us to reuse network connections at low loads but recuit new open
  53. connections as they're needed, so that cgminer can scale to hardware of any
  54. size.
  55. Version 2.3.5 - April 28, 2012
  56. - Restarting cgminer leads to a socket that can't be bound for 60 seconds, so
  57. increase the interval that API binding waits to 30 seconds to minimise the
  58. number of times it will retry, spamming the logs.
  59. - Give a longpoll message for any longpoll that detects a block change, primary
  60. or backup, and also display which pool it was.
  61. - Decrease utility display to one decimal place.
  62. - Small cosmetic output alignment.
  63. - Add pool number to stale share message.
  64. - Add space to log output now that there is more screen real estate available.
  65. - Indentation clean up.
  66. - Merge branch 'master' of github.com:ckolivas/cgminer
  67. - Remove thread id display from rejected shares as well.
  68. - Merge pull request #185 from Diapolo/diakgcn
  69. - add goffset support for diakgcn with -v 1 and update kernel version
  70. - Set have_longpoll to true when there is at least one pool with longpoll.
  71. - Don't display the thread ID since it adds no useful information over the
  72. device number.
  73. - Don't display the first 8 bytes of a share since they will always be zero at
  74. >= 1 difficulty.
  75. - work->longpoll is reset across test_work_current so we need to recheck what
  76. pool it belongs to.
  77. - Use longpolls from backup pools with failover-only enabled just to check for
  78. block changes, but don't use them as work.
  79. - Start longpoll only after we have tried to extract the longpoll URL.
  80. - Check for submitold flag on resubmit of shares, and give different message for
  81. stale shares on retry.
  82. - Check for submitold before submitstale.
  83. - Don't force fresh curl connections on anything but longpoll threads.
  84. - Create one longpoll thread per pool, using backup pools for those pools that
  85. don't have longpoll.
  86. - Use the work created from the longpoll return only if we don't have
  87. failover-enabled, and only flag the work as a longpoll if it is the current
  88. pool.
  89. - This will work around the problem of trying to restart the single longpoll
  90. thread on pool changes that was leading to race conditions.
  91. - It will also have less work restarts from the multiple longpolls received from
  92. different pools.
  93. - Remove the ability to disable longpoll. It is not a useful feature and will
  94. conflict with planned changes to longpoll code.
  95. - Remove the invalid entries from the example configuration file.
  96. - Add support for latest ATI SDK on windows.
  97. - Export missing function from libztex.
  98. - miner.php change socktimeoutsec = 10 (it only waits once)
  99. - Bugfix: Make initial_args a const char** to satisfy exec argument type warning
  100. (on Windows only)
  101. - miner.php add a timeout so you don't sit and wait ... forever
  102. - Create discrete persistent submit and get work threads per pool, thus allowing
  103. all submitworks belonging to the same pool to reuse the same curl handle, and
  104. all getworks to reuse their own handle.
  105. - Use separate handles for submission to not make getwork potentially delay
  106. share submission which is time critical.
  107. - This will allow much more reusing of persistent connections instead of opening
  108. new ones which can flood routers.
  109. - This mandated a rework of the extra longpoll support (for when pools are
  110. switched) and this is managed by restarting longpoll cleanly and waiting for a
  111. thread join.
  112. - miner.php only show the current date header once
  113. - miner.php also add current time like single rig page
  114. - miner.php display rig 'when' table at top of the multi-rig summary page
  115. - README - add some Ztex details
  116. - api.c include zTex in the FPGA support list
  117. - api.c ensure 'devs' shows PGA's when only PGA code is compiled
  118. - cgminer.c sharelog code consistency and compile warning fix
  119. - README correct API version number
  120. - README spelling error
  121. - api.c combine all pairs of sprintfs()
  122. - api.c uncomment and use BLANK (and COMMA)
  123. - Code style cleanup
  124. - Annotating frequency changes with the changed from value
  125. - README clarification of 'notify' command
  126. - README update for API RPC 'devdetails'
  127. - api.c 'devdetails' list static details of devices
  128. - Using less heap space as my TP-Link seems to not handle this much
  129. Version 2.3.4 - April 25, 2012
  130. - Extensively document the cause of GPU device issues and the use of --gpu-map.
  131. - Support for share logging
  132. - Detect poorly performing combination of SDK and phatk kernel and add verbose
  133. warning at startup.
  134. - Icarus update to new add_cgpu()
  135. - Icarus driver working with Linux and Windows
  136. - api.c fix unused variable compile warning
  137. - Display all OpenCL devices when -n is called as well to allow debugging of
  138. differential mapping of OpenCL to ADL.
  139. - Add a --gpu-map option which will allow arbitrarily mapping ADL devices to
  140. OpenCL devices for instances where association by enumeration alone fails.
  141. - Increase upper limit on number of extra items to queue as some FPGA code can't
  142. yet reliably keep many devices busy.
  143. - Display configuration file information when -c option is passed and only when
  144. file exists on loading default config file.
  145. - Display configuration file loaded, if any, and debug output if configuration
  146. file parsing failed.
  147. - Add missing ztex header to Makefile for distribution.
  148. - Document long-form COM port device names on Windows, required to specify
  149. serial ports above 9
  150. - Include ztex bitstreams firmware in distribution and install if configured in.
  151. - Style police on driver-ztex.c
  152. - work_restart should only be changed by cgminer.c now
  153. - Shut down the api cleanly when the api thread is cancelled. This should allow
  154. the api socket to be closed successfully to next be reopened with app_restart.
  155. - Make a union for cgpu device handles, and rename "device" to "device_ztex"
  156. since it's Ztex-specific
  157. - Initialise name variable.
  158. - Remove unnecessary check for variable that always has memory allocated.
  159. - Bugfix: Missing "break" no-op in default case
  160. - Make the status window and log window as large as can fit on startup,
  161. rechecking to see if it can be enlarged after the fact. This allows any number
  162. of devices to be displayed provided the window is made long enough without
  163. corrupting the output.
  164. - Style police on libztex.c.
  165. - API add removepool like the screen interface
  166. - api.c escape required characters in return strings + pools returns the
  167. username
  168. - Set lp_path to NULL after free for consistency.
  169. - Removing dmalloc import left behind by mistake
  170. - Fixing leak in resp_hdr_cb
  171. - miner.php warning highlight GPU stats if they are zero (e.g. ADL not enabled)
  172. - miner.php highlight any device that isn't 'Enabled'
  173. - miner.php highlight any Status that isn't 'Alive'
  174. - miner.php optionally support multiple rigs
  175. - Initial Ztex support 1.15x board.
  176. Version 2.3.3 - April 15, 2012
  177. - Don't even display that cpumining is disabled on ./configure to discourage
  178. people from enabling it.
  179. - Do a complete cgminer restart if the ATI Display Library fails, as it does on
  180. windows after running for some time, when fanspeed reporting fails.
  181. - Cache the initial arguments passed to cgminer and implement an attempted
  182. restart option from the settings menu.
  183. - Disable per-device status lines when there are more than 8 devices since
  184. screen output will be corrupted, enumerating them to the log output instead at
  185. startup.
  186. - Reuse Vals[] array more than W[] till they're re-initialised on the second
  187. sha256 cycle in poclbm kernel.
  188. - Minor variable alignment in poclbm kernel.
  189. - Make sure to disable devices with any status not being DEV_ENABLED to ensure
  190. that thermal cutoff code works as it was setting the status to DEV_RECOVER.
  191. - Re-initialising ADL simply made the driver fail since it is corruption over
  192. time within the windows driver that's responsible. Revert "Attempt to
  193. re-initialise ADL should a device that previously reported fanspeed stops
  194. reporting it."
  195. - Microoptimise poclbm kernel by ordering Val variables according to usage
  196. frequency.
  197. Version 2.3.2 - March 31, 2012
  198. - Damping small changes in hashrate so dramatically has the tendency to always
  199. make the hashrate underread so go back to gentle damping instead.
  200. - Revert the crossover of variables from Vals to W in poclbm kernel now that
  201. Vals are the first declared variables so they're used more frequently.
  202. - Vals variables appearing first in the array in poclbm is faster.
  203. - Change the preferred vector width to 1 for Tahiti only, not all poclbm
  204. kernels.
  205. - Use a time constant 0.63 for when large changes in hashrate are detected to
  206. damp change in case the large change is an aliasing artefact instead of a real
  207. chang
  208. - Only increment stale counter if the detected stales are discarded.
  209. - Attempt to re-initialise ADL should a device that previously reported fanspeed
  210. stops reporting it.
  211. - Move the ADL setup and clearing to separate functions and provide a reinit_adl
  212. function to be used when adl fails while running.
  213. - Use slightly more damping on the decay time function in the never-ending quest
  214. to smooth off the hashmeter.
  215. - Set the starting fanspeed to a safe and fairly neutral 50% when autofan is
  216. enabled.
  217. - Provide locking around updates of cgpu hashrates as well to prevent multiple
  218. threads accessing data fields on the same device.
  219. - Display the beginning of the new block in verbose mode in the logs.
  220. - Reinstate old diablo kernel variable ordering from 120222, adding only goffset
  221. and vector size hint. The massive variable ordering change only helped one SDK
  222. on
  223. - Change the version number on the correct kernels.
  224. - api.c devicecode/osinfo incorrectly swapped for json
  225. - Add extensive instructions on how to make a native windows build.
  226. - Update version numbers of poclbm and diablo kernels as their APIs have also
  227. changed.
  228. - Use global offset parameter to diablo and poclbm kernel ONLY for 1 vector
  229. kernels.
  230. - Use poclbm preferentially on Tahiti now regardless of SDK.
  231. - Remove unused constant passed to poclbm.
  232. - Clean up use of macros in poclbm and use bitselect everywhere possible.
  233. - Add vector type hint to diablo kernel.
  234. - Add worksize and vector attribute hints to the poclbm kernel.
  235. - Spaces for non-aligned variables in poclbm.
  236. - More tidying of poclbm.
  237. - Swap Vals and W variables where they can overlap in poclbm.
  238. - More tidying of poclbm.
  239. - Tidy up first half of poclbm.
  240. - Clean up use of any() by diablo and poclbm kernels.
  241. - Minor variable symmetry changes in poclbm.
  242. - Put additions on separate lines for consistency in poclbm.
  243. - Consolidate last use of W11 into Vals4 in poclbm.
  244. - Change email due to SPAM
  245. - api.c miner.php add a '*' to the front of all notify counters - simplifies
  246. future support of new counters
  247. - miner.php add display 'notify' command
  248. - Small change to help arch's without processor affinity
  249. - Fix bitforce compile error
  250. - api.c notify should report disabled devices also - of course
  251. - API returns the simple device history with the 'notify' command
  252. - code changes for supporting a simple device history
  253. - api.c Report an OS string in config to help with device issues
  254. - api.c fix Log Interval - integer in JSON
  255. - api.c config 'Device Code' to show list of compiled devices + README
  256. - api.c increase buffer size close to current code allowable limit
  257. - removed 8-component vector support from kernel, as this is not supported in
  258. CGMINER anyway
  259. - forgot to update kernel modification date, fixed ;)
  260. - reordered an addition in the kernel, which results in less instructions used
  261. in the GPU ISA code for GCN
  262. - miner.php: option for readonly or check privileged access
  263. - Ignore reduntant-with-build options --disable-gpu, --no-adl, and --no-restart
  264. - miner.php: ereg_replace is DEPRECATED so use preg_replace instead
  265. - Make curses TUI support optional at compile-time.
  266. - Bugfix: AC_ARG_WITH provides withval instead of enableval
  267. - miner.php split devs output for different devices
  268. - api.c: correct error messages
  269. - icarus.c modify (regular) timeout warning to only be debug
  270. - icarus.c set the windows TODO timeout
  271. - Allow specifying a specific driver for --scan-serial
  272. - optimized nonce-check and output code for -v 2 and -v 4
  273. - Bugfix: Check for libudev header (not just library) in configure, and document
  274. optional dependency
  275. - Add API support for Icarus and Bitforce
  276. - Next API version is 1.4 (1.3 is current)
  277. - README/api.c add "When" the request was processed to STATUS
  278. - Bugfix: ZLX to read BitFORCE temp, not ZKX -.-
  279. - Use libudev to autodetect BitFORCE GPUs, if available
  280. - Use the return value of fan_autotune to set fan_optimal instead of passing it
  281. as a pointer.
  282. - Pass the lasttemp from the device we're using to adjust fanspeed in twin
  283. devices.
  284. - fix the name to 3 chars, fix the multi-icarus support
  285. - Bugfix: "-S auto" is the default if no -S is specified, and there is no such
  286. delay in using it
  287. - README add information missing from --scan-serial
  288. - Update README RPC API Version comment
  289. - Bugfix: Allow enabling CPU even without OpenCL support
  290. - Change failed-to-mine number of requested shares messge to avoid segfault on
  291. recursive calling of quit().
  292. - Get rid of extra char which is just truncated in poclbm kernel.
  293. - only small code formating changes
  294. - removed vec_step() as this could lead to errors on older SDKs
  295. - unified code for generating nonce in kernel and moved addition of base to the
  296. end -> faster
  297. Version 2.3.1 - February 24, 2012
  298. - Revert input and output code on diakgcn and phatk kernels to old style which
  299. worked better for older hardware and SDKs.
  300. - Add a vector*worksize parameter passed to those kernels to avoid one op.
  301. - Increase the speed of hashrate adaptation.
  302. - Only send out extra longpoll requests if we want longpolls.
  303. - API implement addpool command
  304. - API return the untouched Total MH also (API now version 1.3)
  305. - Add enable/disablepool to miner.php example and reduce font size 1pt
  306. Version 2.3.0 - February 23, 2012
  307. - Consider extra longpoll work items as staged_extra so as to make sure we queue
  308. more work if queueing regular work items as longpolls.
  309. - Use diablo kernel on all future SDKs for Tahiti and set preferred vector width
  310. to 1 on poclbm kernel only.
  311. - Explicitly type the constants in diakgcn kernel as uint, to be in line with
  312. poclbm kernel.
  313. - Reset all hash counters at the same time as resetting start times to get
  314. accurate hashrates on exiting which is mandatory for benchmarking.
  315. - Report thread out before it starts to avoid being flagged as sick when waiting
  316. for the first work item.
  317. - Don't disable and re-enable devices as they may recover and in the meantime
  318. have their status set to OFF.
  319. - API new commands enablepool and disablepool (version already incremented)
  320. - Tolerate new-format temperature readings for bitforce
  321. - Modify cgminer.c pool control to allow API to call it
  322. - Bugfix: Fix BitFORCE driver memory leak in debug logging
  323. - Extra byte was being unused in poclbm leading to failure on some platforms.
  324. - Explicitly type the constants in poclbm kernel as uint.
  325. - Don't save 'include' when saving the configuration
  326. - Allow configuration file to include another recursively
  327. - Use the SDK and hardware information to choose good performing default
  328. kernels.
  329. - Move phatk kernel to offset vector based nonce bases as well.
  330. - Add a --benchmark feature which works on a fake item indefinitely to compare
  331. device performance without any server or networking influence.
  332. - Allow writing of multiple worksizes to the configuration file.
  333. - Allow writing of multiple vector sizes to the configuration file.
  334. - Allow writing of multiple kernels to the configuration file.
  335. - Allow multiple different kernels to be chosen per device.
  336. - Allow the worksize to be set per-device.
  337. - Allow different vectors to be set per device.
  338. - If we're well below the target temperature, increase gpu engine speed back to
  339. maximum in case we have gotten lost between profiles during an idle period.
  340. - We should be setting the value of fan_optimal, not its address.
  341. - As all kernels will be new versions it's an opportunity to change the .bin
  342. format and make it simpler. Specifying bitalign is redundant and long can be l.
  343. - Use any() in kernel output code.
  344. - Put the nonce for each vector offset in advance, avoiding one extra addition
  345. in the kernel.
  346. - Reset times after all mining threads are started to make estimating hashrates
  347. easier at startup.
  348. - Bugfix: allow no-exec (NX) stack
  349. - Fix minor warning.
  350. - fix the bitforce.c code style follow 1TBS
  351. - fix icarus.c compile warning
  352. - small changes to speedup no vec for AMD 898.1 OCL runtime
  353. - Update licensing to GPL V3.
  354. - Reset the longpoll flag after it's been used once to prevent it restarting
  355. work again.
  356. - Begin import of DiabloMiner kernel.
  357. - Modify API debug messages to say API instead of DBG
  358. - When API shuts down cgminer don't kill itself
  359. - Don't make rolled work from the longpoll be seen as other longpoll work items.
  360. - API add 'privileged' command so can verify access level
  361. - Set the lp_sent variable under lock since there will almost always be a race
  362. on setting this variable, potentially leading to multiple LPs being sent out.
  363. - API restrict access to all non display commands by default
  364. - Update API version to 1.2 for new 'Log Interval'
  365. - API add --log Interval to 'config' reply
  366. - --api-allow special case 0/0 means all
  367. Version 2.2.7 - February 20, 2012
  368. - Send out extra longpolls when we have switched pools and the longpoll thread
  369. is still bound to the old one. This is particularly useful with p2pool where
  370. longpolls do not correlate with main bitcoin block change and would have led to
  371. high reject rates on failover.
  372. - Store whether a work item is the result of a longpoll or not in struct work
  373. and use it to help determine block changes directly from the work longpoll bool.
  374. - Keep track of when a longpoll has been sent for a pool and if the current pool
  375. is requesting work but has not sent a longpoll request, convert one of the work
  376. items to a longpoll.
  377. - Store the longpoll url in the pool struct and update it from the pool_active
  378. test in case it changes. This is to allow further changes to longpoll management
  379. on switching pools.
  380. - Re-check for a longpoll supporting pool every 30 seconds if none is found
  381. initially.
  382. - Report threads as busy waiting on getwork on startup to avoid them being
  383. flagged sick on startup during slow networking.
  384. - Allow devices that are disabled due to overheating to be flagged as recovering
  385. instead of disabling them and re-enable them if they're below ideal temperatures
  386. - Tahiti prefers worksize 64 with poclbm.
  387. - No need to expressly retain the opencl program now that the zero binary issue
  388. is fixed. This actually fixes cgminer to work with the latest SDK included with
  389. the ATI catalyst driver 12.2.
  390. - Show error code on any opencl failure status.
  391. - Add detection for version 898.1 SDK as well but only give SDK 2.6 warning once
  392. on startup instead of with each device initialisation.
  393. - Always use a fresh connection for longpoll as prolonged persistent connections
  394. can fail for many reasons.
  395. - Keep track of intended engine clock speed and only adjust up if it's higher
  396. than the last intended speed. This avoids setting the clock speed to one
  397. relative to a lower profile one by mistake.
  398. - Use gpu-memdiff on startup if an engine clockspeed is set and a memdiff value
  399. is set.
  400. - Revert "Adjust engine speed up according to performance level engine setting,
  401. not the current engine speed." - ineffectual.
  402. - Freeze the queues on all threads that are sent the pause message to prevent
  403. them trying to start up again with saved pings in their queues.
  404. - Updates to diakgcn kernel/
  405. - Consolidate all screen updates to the watchdog thread and touch both windows
  406. before refresh.
  407. - Curses will be disabled in clean_up so don't do it early in kill_work, and
  408. disable_adl so that GPU settings may be restored to normal in case shutting down
  409. curses leads to instability on windows.
  410. - Stop the mining threads before trying to kill them.
  411. - Plain refresh() does not give reliably screen updates so get rid of all uses
  412. of it.
  413. - First release with working diakgcn kernel.
  414. Version 2.2.6 - February 16, 2012
  415. - Provide warning on each startup about sdk 2.6
  416. - Fix unused warnings on win32.
  417. - bitforce: Simplify BFopen WIN32 ifdef/else
  418. - Fix initialization warning with jansson 1.3
  419. - bitforce: Cleanup extraneous TODO that isn't needed
  420. - Move tcsetattr (and new tcflush) into *nix BFopen to simplify things a bit
  421. - Add message explaining 2nd thread disabling for dynamic mode and how to tune
  422. it.
  423. - Move logwindow down once number of devices is known.
  424. - Automatically choose phatk kernel for bitalign non-gcn ATI cards, and then
  425. only select poclbm if SDK2.6 is detected.
  426. - Allow the refresh interval to be adjusted in dynamic intensity with a
  427. --gpu-dyninterval parameter.
  428. - Make curses display visible right from the beginning and fix the window sizes
  429. so the initial messages don't get lost once the status window is drawn.
  430. - The amount of work scanned can fluctuate when intensity changes and since we
  431. do this one cycle behind, we increment the work more than enough to prevent
  432. repeati
  433. - bitforce: Set a 30 second timeout for serial port on Windows, since the
  434. default is undefined
  435. - Use PreVal4addT1 instead of PreVal4 in poclbm kernel.
  436. - Import PreVal4 and PreVal0 into poclbm kernel.
  437. - Import more prepared constants into poclbm kernel.
  438. - Keep variables in one array but use Vals[] name for consistency with other
  439. kernel designs.
  440. - Replace constants that are mandatorily added in poclbm kernel with one value.
  441. - Remove addition of final constant before testing for result in poclbm kernel.
  442. - Hand optimise variable addition order.
  443. - Hand optimise first variable declaration order in poclbm kernel.
  444. - Radical reordering machine based first pass to change variables as late as
  445. possible, bringing their usage close together.
  446. - fix strcpy NULL pointer if env HOME unset.
  447. - bitforce: Disable automatic scanning when at least one device is specified
  448. manually
  449. - Unroll all poclbm additions to enable further optimisations.
  450. Version 2.2.5 - February 13, 2012
  451. - Make output buffer write only as per Diapolo's suggestion.
  452. - Constify nonce in poclbm.
  453. - Use local and group id on poclbm kernel as well.
  454. - Microoptimise phatk kernel on return code.
  455. - Adjust engine speed up according to performance level engine setting, not the
  456. current engine speed.
  457. - Try to load a binary if we've defaulted to the poclbm kernel on SDK2.6
  458. - Use the poclbm kernel on SDK2.6 with bitalign devices only if there is no
  459. binary available.
  460. - Further generic microoptimisations to poclbm kernel.
  461. - The longstanding generation of a zero sized binary appears to be due to the
  462. OpenCL library putting the binary in a RANDOM SLOT amongst 4 possible binary
  463. locations. Iterate over each of them after building from source till the real
  464. binary is found and use that.
  465. - Fix harmless warnings with -Wsign-compare to allow cgminer to build with -W.
  466. - Fix missing field initialisers warnings.
  467. - Put win32 equivalents of nanosleep and sleep into compat.h fixing sleep() for
  468. adl.c.
  469. - Restore compatibility with Jansson 1.3 and 2.0 (api.c required 2.1)
  470. - Modularized logging, support for priority based logging
  471. - Move CPU chipset specific optimization into device-cpu
  472. Version 2.2.4 - February 11, 2012
  473. - Fix double definition of A0 B0 to zeroA zeroB.
  474. - Retain cl program after successfully loading a binary image. May decrease
  475. failures to build kernels at startup.
  476. - Variable unused after this so remove setting it.
  477. - BFI INT patching is not necessarily true on binary loading of files and not
  478. true on ATI SDK2.6+. Report bitalign instead.
  479. - Various string fixes for reject reason.
  480. - Generalize --temp-cutoff and implement support for reading temperature from
  481. BitFORCE FPGAs
  482. - Change message from recovered to alive since it is used on startup as well as
  483. when a pool has recovered.
  484. - Start mining as soon as any pool is found active and rely on the watchpool
  485. thread to bring up other pools.
  486. - Delayed responses from testing pools that are down can hold up the watchdog
  487. thread from getting to its device testing code, leading to false detection of
  488. the GPU not checking in, and can substantially delay auto gpu/auto fan
  489. management leading to overheating. Move pool watching to its own thread.
  490. - Bugfix: BitFORCE index needs to be static to count correctly
  491. - Space out retrieval of extra work according to the number of mining threads.
  492. - Make shutdown more robust. Enable the input thread only after the other
  493. threads exist. Don't kill off the workio thread and use it to exit main() only
  494. if there is an unexpected problem. Use kill_work() for all anticipated shutdowns
  495. where possible. Remove unused thread entry.
  496. - Change poclbm version number.
  497. - One array is faster than 2 separate arrays so change to that in poclbm kernel.
  498. - Microoptimisations to poclbm kernel which increase throughput slightly.
  499. - Import diablominer kernel. Currently disabled as not working.
  500. - Import diapolo kernel. Currently disabled as not working.
  501. - Conflicting entries of cl_kernel may have been causing problems, and
  502. automatically chosen kernel type was not being passed on. Rename the enum to
  503. cl_kernels and store the chosen kernel in each clState.
  504. - Set cl_amd_media_ops with the BITALIGN flag and allow non-bitselect devices to
  505. build.
  506. - ALlow much longer filenames for kernels to load properly.
  507. - Allow different kernels to be used by different devices and fix the logic fail
  508. of overcorrecting on last commit with !strstr.
  509. - Fix kernel selection process and build error.
  510. - queue_phatk_kernel now uses CL_SET_VARG() for base-nonce(s), too
  511. - added OpenCL >= 1.1 detection code, in preparation of OpenCL 1.1 global offset
  512. parameter support
  513. - Use K array explicitly to make it clear what is being added.
  514. - Work items have a tendency to expire at exactly the same time and we don't
  515. queue extra items when there are plenty in the queue, regardless of age. Allow
  516. extra work items to be queued if adequate time has passed since we last
  517. requested work even if over the limit.
  518. - Discard work when failover-only is enabled and the work has come from a
  519. different pool.
  520. - Missing include to build on newer mingw32.
  521. - Move from the thread safe localtime_r to regular localtime which is the only
  522. one supported on newer pthread libraries on mingw32 to make it compile with the
  523. newer ming. Thread safety is of no importance where localtime is used in this
  524. code.
  525. - Define in_addr_t in windows if required
  526. - sys/wait.h not required in windows
  527. - Allow API to restrict access by IP address
  528. - Add pool switching to example miner.php
  529. - Display X-Reject-Reason, when provided
  530. - Remove the test for whether the device is on the highest profil level before
  531. raising the GPU speed as it is ineffectual and may prevent raising the GPU
  532. speed.
  533. - Remove unnecessary check for opt_debug one every invocation of applog at
  534. LOG_DEBUG level and place the check in applog().
  535. Version 2.2.3 - February 6, 2012
  536. - Revert "Rewrite the convoluted get_work() function to be much simpler and roll
  537. work as much as possible with each new work item." This seems to cause a race on
  538. work in free_work(). Presumably other threads are still accessing the structure.
  539. Version 2.2.2 - February 6, 2012
  540. - Provide support for the submitold extension on a per-pool basis based on the
  541. value being detected in a longpoll.
  542. - Don't send a ping to a dynamic device if it's not enabled as that will just
  543. enable it for one pass and then disable it again.
  544. - Rewrite the convoluted get_work() function to be much simpler and roll work as
  545. much as possible with each new work item.
  546. - Roll as much work as possible from the work returned from a longpoll.
  547. - Rolling work on each loop through the mining thread serves no purpose.
  548. - Allow to stage more than necessary work items if we're just rolling work.
  549. - Replace divide_work with reuse_work function used twice.
  550. - Give rolled work a new ID to make sure there is no confusion in the hashtable
  551. lookups.
  552. - Remove now-defunct hash_div variables.
  553. - Remove unused get_dondata function.
  554. - Silence ADL warnings.
  555. - Silence unused parameter warnings.
  556. - Stagger the restart of every next thread per device to keep devices busy ahead
  557. of accessory threads per device.
  558. - Deprecate the --donation feature. Needlessly complex, questionable usefulness,
  559. depends on author's server and a central pool of some kind, and was not heavily
  560. adopted.
  561. - It's devices that report back now, not threads, update message.
  562. - Continue auto-management of fan and engine speeds even if a device is disabled
  563. for safety reasons.
  564. - No need to check we're highest performance level when throttling GPU engine
  565. speed.
  566. - Abstract out tests for whether work has come from a block that has been seen
  567. before and whether a string is from a previously seen block.
  568. - Probe but don't set the timeout to 15 seconds as some networks take a long
  569. time to timeout.
  570. - Remove most compiler warnings from api.c
  571. - Add last share's pool info in cgpu_info
  572. - Allow the OpenCL platform ID to be chosen with --gpu-platform.
  573. - Iterate over all platforms displaying their information and number of devices
  574. when --ndevs is called.
  575. - Deprecate main.c
  576. - Some networks can take a long time to resolve so go back to 60 second timeouts
  577. instead of 15.
  578. - Only enable curses on failure if curses is desired.
  579. - Fix warnings in bitforce.c
  580. - Bugfix: Need to open BitForce tty for read-write
  581. - Fix various build issues.
  582. - Modularize code: main.c -> device-cpu + device-gpu
  583. - Fix phatk kernel not working on non-bitalign capable devices (Nvidia, older
  584. ATI).
  585. - Update poclbm kernel for better performance on GCN and new SDKs with bitalign
  586. support when not BFI INT patching. Update phatk kernel to work properly for non
  587. BFI INT patched kernels, providing support for phatk to run on GCN and non-ATI
  588. cards.
  589. - Return last accepted share pool/time for devices
  590. - Display accepted share pool/time for CPUs
  591. - Bug intensity always shows GPU 0
  592. - Update example web miner.php to use new API commands
  593. Version 2.2.1 - January 30, 2012
  594. NOTE - The GPU Device reordering in 2.2.0 by default was considered a bad idea
  595. so the original GPU ordering is used by default again unless reordering is
  596. explicitly requested.
  597. - Fix bitforce failing to build into cgminer.
  598. - Add missing options to write config function.
  599. - Add a --gpu-reorder option to only reorder devices according to PCI Bus ID
  600. when requested.
  601. - Fix for midstate support being broken on pools that supported no-midstate
  602. work by ensuring numbers are 32 bits in sha2.c
  603. - Set virtual GPUs to work when ADL is disabled or all mining will occur on GPU
  604. 0.
  605. - Add information about paused threads in the menu status.
  606. - Disable all but the first thread on GPUs in dynamic mode for better
  607. interactivity.
  608. - Set the latest network access time on share submission for --net-delay even if
  609. we're not delaying that submission for further network access.
  610. - Clear adl on exiting after probing values since it may attempt to overclock.
  611. - As share submission is usually staggered, and delays can be costly, submit
  612. shares without delay even when --net-delay is enabled.
  613. - Display GPU number and device name when ADL is successfully enabled on it.
  614. - Display GPU ordering remapping in verbose mode.
  615. - Don't fail in the case the number of ADL and OpenCL devices do not match, and
  616. do not attempt to reorder devices unless they match. Instead give a warning
  617. about
  618. - Display error codes should ADL not return ADL_OK in the more critical function
  619. calls.
  620. - Fix unused warning.
  621. - Fix compile warnings in api.c
  622. - Add extensive ADL based device info in debug mode.
  623. - Make --ndevs display verbose opencl information as well to make debugging
  624. version information easier.
  625. - Display information about the opencl platform with verbose enabled.
  626. - Explicitly check for nvidia in opencl platform strings as well.
  627. Version 2.2.0 - January 29, 2012
  628. NOTE: GPU Device order will change with this release with ATI GPUs as cgminer
  629. now can enumerate them according to their Bus ID which means the values should
  630. now correlate with their physical position on the motherboard.
  631. - Default to poclbm kernel on Tahiti (7970) since phatk does not work, even
  632. though performance is sub-standard so that at least it will mine successfully by
  633. defau
  634. - Retain cl program after every possible place we might build the program.
  635. - Update ADL SDK URL.
  636. - Fix potential overflow.
  637. - Map GPU devices to virtual devices in their true physical order based on
  638. BusNumber.
  639. - Change the warning that comes with failure to init cl on a device to be more
  640. generic and accurate.
  641. - Advertise longpoll support in X-Mining-Extensions
  642. - Detect dual GPU cards by iterating through all GPUs, finding ones without
  643. fanspeed and matching twins with fanspeed one bus ID apart.
  644. - Do not attempt to build the program that becomes the kernel twice. This could
  645. have been leading to failures on initialising cl.
  646. - Some opencl compilers have issues with no spaces after -D in the compiler
  647. options.
  648. - Allow intensity up to 14.
  649. - Use calloced stack memory for CompilerOptions to ensure sprintf writes to the
  650. beginning of the char.
  651. - Whitelist 79x0 cards to prefer no vectors as they perform better without.
  652. - Adjust fan speed gently while in the optimal range when temperature is
  653. drifting to minimise overshoot in either direction.
  654. - Detect dual GPU cards via the indirect information of - 1st card has a fan
  655. controller. 2nd card does not have a fan controller, cards share the same device
  656. name
  657. - Instead of using the BFI_INT patching hack on any device reporting
  658. cl_amd_media_ops, create a whitelist of devices that need it. This should enable
  659. GCN architec
  660. - Fixed API compiling issue on OS X
  661. - Add more explanation of JSON format and the 'save' command
  662. - Return an error if using ADL API commands when it's not available
  663. - Read off lpThermalControllerInfo from each ADL device.
  664. - Add ADL_Overdrive5_ThermalDevices_Enum interface.
  665. - Add API commands: config, switchpool, gpu settings, save
  666. - Implement socks4 proxy support.
  667. - Fix send() for JSON strings
  668. - Introduce a --net-delay option which guarantees at least 250ms between any
  669. networking requests to not overload slow routers.
  670. - Generalise locking init code.
  671. - Allow invalid values to be in the configuration file, just skipping over them
  672. provided the rest of the file is valid JSON. This will allow older configurat
  673. - Allow CPU mining explicitly enable only if other mining support is built in.
  674. - BitForce FPGA support
  675. - Configure out building and support of all CPU mining code unless
  676. --enable-cpumining is enabled.
  677. - Allow parsed values to be zero which will allow 0 values in the config file to
  678. work.
  679. - Advertise that we can make our own midstate, so the pool can skip generating
  680. it for us
  681. - Refactor the CPU scanhash_* functions to use a common API. Fixes bugs.
  682. - Don't consider a pool lagging if a request has only just been filed. This
  683. should decrease the false positives for "pool not providing work fast enough".
  684. - Invalidating work after longpoll made hash_pop return no work giving a false
  685. positive for dead pool. Rework hash_pop to retry while finds no staged work u
  686. - Remove TCP_NODELAY from curl options as many small packets may be contributing
  687. to network overload, when --net-delay is enabled.
  688. - Refactor miner_thread to be common code for any kind of device
  689. - Simplify submit_nonce loop and avoid potentially missing FOUND - 1 entry.
  690. Reported by Luke-Jr.
  691. - Micro-optimisation in sha256_sse2 code courtesy of Guido Ascioti
  692. guido.ascioti@gmail.com
  693. - Refactor to abstract device-specific code
  694. Version 2.1.2 - January 6, 2012
  695. - If api-description is specified, save it when writing the config file
  696. - Adjust utility width to be constant maximum as well.
  697. - Add percent signs to reject ratio outputs
  698. - Should the donation pool fail, don't make the fallover pool behave as though
  699. the primary pool is lagging.
  700. - Use an alternative pool should the donation getwork fail.
  701. Version 2.1.1 - January 1, 2012
  702. - Include API examples in distribution tarball.
  703. - Don't attempt to pthread_join when cancelling threads as they're already
  704. detached and doing so can lead to a segfault.
  705. - Give more generic message if slow pool at startup is the donation pool.
  706. - Continue to attempt restarting GPU threads if they're flagged dead at 1 min.
  707. intervals.
  708. - Don't attempt to restart sick flagged GPUs while they're still registering
  709. activity.
  710. - Make curl use fresh connections whenever there is any communication issue
  711. in case there are dead persistent connections preventing further comms from
  712. working.
  713. - Display pool in summary if only 1 pool.
  714. - Adjust column width of A/R/HW to be the maximum of any device and align them.
  715. Version 2.1.0 - December 27, 2011
  716. - Major infrastructure upgrade with RPC interface for controlling via sockets
  717. encoded with/without JSON courtesy of Andrew Smith. Added documentation for
  718. use of the API and sample code to use with it.
  719. - Updated linux-usb-cgminer document.
  720. - Rewrite of longpoll mechanism to choose the current pool wherever possible to
  721. use for the longpoll, or any pool that supports longpoll if the current one
  722. does not.
  723. - Display information about longpoll when the chosen server has changed.
  724. - Fix the bug where longpoll generated work may have been sent back to the
  725. wrong pool, causing rejects.
  726. - Fix a few race conditions on closing cgminer which caused some of the crashes
  727. on exit.
  728. - Only adjust gpu engine speed in autotune mode if the gpu is currently at the
  729. performance level of that being adjusted.
  730. - Various fixes for parsing/writing of configuration files.
  731. - Do not add blank lines for threads of unused CPUs.
  732. - Show which pool is unresponsive on startup.
  733. - Only show GPU management menu item if GPUs are in use.
  734. - Align most device columns in the curses display.
  735. Version 2.0.8 - November 11, 2011
  736. - Make longpoll do a mandatory flushing of all work even if the block hasn't
  737. changed, thus supporting longpoll initiated work change of any sort and merged
  738. mining.
  739. - Byteswap computed hash in hashtest so it can be correctly checked. This fixes
  740. the very rare possibility that a block solve on solo mining was missed.
  741. - Add x86_64 w64 mingw32 target
  742. - Allow a fixed speed difference between memory and GPU clock speed with
  743. --gpu-memdiff that will change memory speed when GPU speed is changed in
  744. autotune mode.
  745. - Don't load the default config if a config file is specified on the command
  746. line.
  747. - Don't build VIA on apple since -a auto bombs instead of gracefully ignoring
  748. VIA failing.
  749. - Build fix for dlopen/dlclose errors in glibc.
  750. Version 2.0.7 - October 17, 2011
  751. - Support work without midstate or hash1, which are deprecated in bitcoind 0.5+
  752. - Go to kernel build should we fail to clCreateProgramWithBinary instead of
  753. failing on that device. This should fix the windows problems with devices not
  754. initialising.
  755. - Support new configuration file format courtesy of Chris Savery which can write
  756. the config file from the menu and will load it on startup.
  757. - Write unix configuration to .cgminer/cgminer.conf by default and prompt to
  758. overwrite if given a filename from the menu that exists.
  759. Version 2.0.6 - October 9, 2011
  760. - Must initialise the donorpool mutex or it fails on windows.
  761. - Don't make donation work interfere with block change detection allowing
  762. donation to work regardless of the block chain we're mining on.
  763. - Expire shares as stale with a separate timeout from the scantime, defaulting
  764. to 120 seconds.
  765. - Retry pools after a delay of 15 seconds if none can be contacted on startup
  766. unless a key is pressed.
  767. - Don't try to build adl features without having adl.
  768. - Properly check shares against target difficulty - This will no longer show
  769. shares when solo mining at all unless they're considered to be a block solve.
  770. - Add altivec 4 way (cpu mining) support courtesy of Gilles Risch.
  771. - Try to use SSL if the server supports it.
  772. - Display the total solved blocks on exit (LOL if you're lucky).
  773. - Use ADL activity report to tell us if a sick GPU is still busy suggesting it
  774. is hard hung and do not attempt to restart it.
  775. Version 2.0.5 - September 27, 2011
  776. - Intensity can now be set to dynamic or static values per-device.
  777. - New donation feature --donation sends a proportion of shares to author's
  778. account of choice, but is disabled by default!
  779. - The hash being displayed and block detection has been fixed.
  780. - Devices not being mined on will not attempt to be ADL managed.
  781. - Intensity is now displayed per GPU device.
  782. - Make longpoll attempt to restart as often as opt_retries specifies.
  783. - We weren't rolling work as often as we could.
  784. - Correct some memory management issues.
  785. - Build fixes.
  786. - Don't mess with GPUs if we don't have them.
  787. Version 2.0.4 - September 23, 2011
  788. - Confused Longpoll messages should be finally fixed with cgminer knowing for
  789. sure who found the new block and possibly avoiding a rare crash.
  790. - Display now shows the actual hash and will say BLOCK! if a block is deemed
  791. solved.
  792. - Extra spaces, which would double space lines on small terminals, have been
  793. removed.
  794. - Fan speed change is now damped if it is already heading in the correct
  795. direction to minimise overshoot.
  796. - Building without opencl libraries is fixed.
  797. - GPUs are autoselected if there is only one when in the GPU management menu.
  798. - GPU menu is refreshed instead of returning to status after a GPU change.
  799. Version 2.0.3 - September 17, 2011
  800. - Various modes of failure to set fanspeeds and adl values have been addressed
  801. and auto-fan should work now on most hardware, and possibly other values
  802. which previously would not have worked.
  803. - Fixed a crash that can occur on switching pools due to longpoll thread races.
  804. - Use ATISTREAMSDKROOT if available at build time.
  805. - Fanspeed management is returned to the driver default on exit instead of
  806. whatever it was when cgminer was started.
  807. - Logging of events deemed WARNING or ERR now will display even during
  808. periods where menu input is being awaited on.
  809. Version 2.0.2 - September 11, 2011
  810. - Exit cleanly if we abort before various threads are set up or if they no
  811. longer exist.
  812. - Fix a rare crash in HASH_DEL due to using different mutexes to protect the
  813. data.
  814. - Flag devices that have never started and don't allow enabling of devices
  815. without restarting them.
  816. - Only force the adapter speed to high if we've flagged this device as being
  817. managed.
  818. - Flag any devices with autofan or autogpu as being managed.
  819. - Use a re-entrant value to store what fanspeed we're trying to set in case the
  820. card doesn't support small changes. Force it to a multiple of 10% if it
  821. fails on trying to speed up the fan.
  822. - Do not bother resetting values to old ones if changes to GPU parameters report
  823. failure, instead returning a failure code only if the return value from get()
  824. differs.
  825. - Remove redundant check.
  826. - Only display supported values from fanspeed on change settings.
  827. - Missing bracket from output.
  828. - Display fan percentage on devices that only support reporting percent and not
  829. RPM.
  830. - Properly substitute DLOPEN flags to build with ADL support when -ldl is needed
  831. and not when opencl is not found.
  832. Version 2.0.1 - September 9, 2011
  833. - Fix building on 32bit glibc with dlopen with -lpthread and -ldl
  834. - ByteReverse is not used and the bswap opcode breaks big endian builds. Remove
  835. it.
  836. - Ignore whether the display is active or not since only display enabled devices
  837. work this way, and we skip over repeat entries anwyay.
  838. - Only reset values on exiting if we've ever modified them.
  839. - Flag adl as active if any card is successfully activated.
  840. - Add a thermal cutoff option as well and set it to 95 degrees by default.
  841. - Change the fan speed by only 5% if it's over the target temperature but less
  842. than the hysteresis value to minimise overshoot down in temperature.
  843. - Add a --no-adl option to disable ADL monitoring and GPU settings.
  844. - Only show longpoll received delayed message at verbose level.
  845. - Allow temperatures greater than 100 degrees.
  846. - We should be passing a float for the remainder of the vddc values.
  847. - Implement accepting a range of engine speeds as well to allow a lower limit to
  848. be specified on the command line.
  849. - Allow per-device fan ranges to be set and use them in auto-fan mode.
  850. - Display which GPU has overheated in warning message.
  851. - Allow temperature targets to be set on a per-card basis on the command line.
  852. - Display fan range in autofan status.
  853. - Setting the hysteresis is unlikely to be useful on the fly and doesn't belong
  854. in the per-gpu submenu.
  855. - With many cards, the GPU summaries can be quite long so use a terse output
  856. line when showing them all.
  857. - Use a terser device status line to show fan RPM as well when available.
  858. - Define max gpudevices in one macro.
  859. - Allow adapterid 0 cards to enumerate as a device as they will be non-AMD
  860. cards, and enable ADL on any AMD card.
  861. - Do away with the increasingly confusing and irrelevant total queued and
  862. efficiency measures per device.
  863. - Only display values in the log if they're supported and standardise device log
  864. line printing.
  865. Version 2.0.0 - September 6, 2011
  866. Major feature upgrade - GPU monitoring, (over)clocking and fan control for ATI
  867. GPUs.
  868. New command line switches:
  869. --auto-fan- Automatically adjust all GPU fan speeds to maintain a target
  870. temperature
  871. --auto-gpu- Automatically adjust all GPU engine clock speeds to maintain
  872. a target temperature
  873. --gpu-engine <arg> Set the GPU engine (over)clock in Mhz - one value for all or
  874. separate by commas for per card.
  875. --gpu-fan <arg> Set the GPU fan percentage - one value for all or separate
  876. by commas for per card.
  877. --gpu-memclock <arg> Set the GPU memory (over)clock in Mhz - one value for all
  878. or separate by commas for per card.
  879. --gpu-powertune <arg> Set the GPU powertune percentage - one value for all or
  880. separate by commas for per card.
  881. --gpu-vddc <arg> Set the GPU voltage in Volts - one value for all or separate
  882. by commas for per card.
  883. --temp-hysteresis <arg> Set how much the temperature can fluctuate outside
  884. limits when automanaging speeds (default: 3)
  885. --temp-overheat <arg> Set the overheat temperature when automatically managing
  886. fan and GPU speeds (default: 85)
  887. --temp-target <arg> Set the target temperature when automatically managing fan
  888. and GPU speeds (default: 75)
  889. - Implement ATI ADL support for GPU parameter monitoring now and setting later
  890. (temp, fan, clocks etc.).
  891. - Check for the presence of the ADL header files in ADL_SDK.
  892. - Import adl_functions.h from amd overdrive ctrl.
  893. - Implement a setup function that tries to detect GPUs that support the ADL and
  894. link in the parameters into the gpus struct.
  895. - Put a summary of monitoring information from the GPU menu.
  896. - Implement changing memory speed and voltage on the fly.
  897. - Implement fan speed setting.
  898. - Minor corrections to set fan speed by percentage.
  899. - Make sure to read off the value in RPM only.
  900. - Implement auto fanspeed adjustment to maintain a target temperature and
  901. fanspeed below 85%, with an overheat check that will speed the fan up to 100%.
  902. - Add an --auto-fan command line option to allow all GPUs to have autofan
  903. enabled from startup.
  904. - Add a gpu autotune option which adjusts GPU speed to maintain a target
  905. temperature within the bounds of the default GPU speed and any overclocking set.
  906. - Avoid a dereference if the longpoll thread doesn't exist.
  907. - Clean up by setting performance profiles and fan settings to startup levels on
  908. exit.
  909. - Add a small amount of hysteresis before lowering clock speed.
  910. - Allow target, overheat and hysteresis temperatures to be set from command
  911. line.
  912. - Combine all stats collating into one function to avoid repeating function
  913. calls on each variable.
  914. - Add gpu statistics to debugging output via the watchdog thread.
  915. - Implement menus to change temperature limits.
  916. - Implement setting the GPU engine clock speed of all devices or each device as
  917. a comma separated value.
  918. - Implement setting the GPU memory clock speed of all devices or each device as
  919. a comma separated value.
  920. - Implement setting the GPU voltage of all devices or each device as a comma
  921. separated value.
  922. - Implement setting the GPU fan speed of all devices or each device as a comma
  923. separated value.
  924. - Add support for monitoring powertune setting.
  925. - Implement changing of powertune value from the GPU change settings menu.
  926. - Get the value of powertune in get_stats.
  927. - Implement setting the GPU powertune value of all devices or each device as a
  928. comma separated value.
  929. - Remove the safety checks in speed setting since confirmation is done first in
  930. the menu, then show the new current values after a short pause.
  931. - Force the speed to high on startup and restore it to whatever the setting was
  932. on exit.
  933. - Add temperature to standard output where possible and use more compact output.
  934. - Move and print at the same time in curses to avoid random trampling display
  935. errors.
  936. - Update the status window only from the watchdog thread, do not rewrite the top
  937. status messages and only refresh once all the status window is complete,
  938. clearing the window each time to avoid corruption.
  939. - Set a safe starting fan speed if we're automanaging the speeds.
  940. - Provide locking around all adl calls to prevent races.
  941. - Lower profile settings cannot be higher than higher profile ones so link any
  942. drops in settings.
  943. - Add new needed text files to distribution.
  944. - Queue requests ignoring the number of staged clones since they get discarded
  945. very easily leading to false positives for pool not providing work fast enough.
  946. - Include libgen.h in opt.c to fix win32 compilation warnings.
  947. - Fix compilation warning on win32.
  948. - Add the directory name from the arguments cgminer was called from as well to
  949. allow it running from a relative pathname.
  950. - Add a --disable-adl option to configure and only enable it if opencl support
  951. exists.
  952. - Retry before returning a failure to get upstream work as a failure to avoid
  953. false positives for pool dead.
  954. - Retry also if the decoding of work fails.
  955. - Use the presence of X-Roll-Ntime in the header as a bool for exists unless N
  956. is found in the response.
  957. Version 1.6.2 - September 2, 2011
  958. - Add --failover-only option to not leak work to backup pools when the primary
  959. pool is lagging.
  960. - Change recommendation to intensity 9 for dedicated miners.
  961. - Fix the bouncing short term value by allowing it to change dynamically when
  962. the latest value is very different from the rolling value, but damp the change
  963. when it gets close.
  964. - Use the curses_lock to protect the curses_active variable and test it under
  965. lock.
  966. - Go back to requesting work 2/3 of the way through the current scantime with
  967. CPU mining as reports of mining threads running out of work have occurred with
  968. only 5 seconds to retrieve work.
  969. - Add start and stop time scheduling for regular time of day running or once off
  970. start/stop options.
  971. - Print summary on quit modes.
  972. - Put some sanity checks on the times that can be input.
  973. - Give a verbose message when no active pools are found and pause before
  974. exiting.
  975. - Add verbose message when a GPU fails to initialise, and disable the correct
  976. GPU.
  977. - Cryptopp asm32 was not correctly updated to the incremental nonce code so the
  978. hash counter was bogus.
  979. - Get rid of poorly executed curl check.
  980. - If curl does not have sockopts, do not try to compile the
  981. json_rpc_call_sockopt_cb function, making it possible to build against older
  982. curl libraries.
  983. - Most people expect /usr/local when an unspecified prefix is used so change to
  984. that.
  985. - Rename localgen occasions to getwork fail occasions since localgen is
  986. unrelated now.
  987. Version 1.6.1 - August 29, 2011
  988. - Copy cgminer path, not cat it.
  989. - Switching between redrawing windows does not fix the crash with old
  990. libncurses, so redraw both windows, but only when the window size hasn't
  991. changed.
  992. - Reinstate minimum 1 extra in queue to make it extremely unlikely to ever have
  993. 0 staged work items and any idle time.
  994. - Return -1 if no input is detected from the menu to prevent it being
  995. interpreted as a 0.
  996. - Make pthread, libcurl and libcurses library checks mandatory or fail.
  997. - Add a --disable-opencl configure option to make it possible to override
  998. detection of opencl and build without GPU mining support.
  999. - Confusion over the variable name for number of devices was passing a bogus
  1000. value which likely was causing the zero sized binary issue.
  1001. - cgminer no longer supports default url user and pass so remove them.
  1002. - Don't show value of intensity since it's dynamic by default.
  1003. - Add options to explicitly enable CPU mining or disable GPU mining.
  1004. - Convert the opt queue into a minimum number of work items to have queued
  1005. instead of an extra number to decrease risk of getting idle devices without
  1006. increasing risk of higher rejects.
  1007. - Statify tv_sort.
  1008. - Check for SSE2 before trying to build 32 bit SSE2 assembly version. Prevents
  1009. build failure when yasm is installed but -msse2 is not specified.
  1010. - Add some defines to configure.ac to enable exporting of values and packaging,
  1011. and clean up output.
  1012. - Give convenient summary at end of ./configure.
  1013. - Display version information and add --version command line option, and make
  1014. sure we flush stdout.
  1015. - Enable curses after the mining threads are set up so that failure messages
  1016. won't be lost in the curses interface.
  1017. - Disable curses after inputting a pool if we requested no curses interface.
  1018. - Add an option to break out after successfully mining a number of accepted
  1019. shares.
  1020. - Exit with a failed return code if we did not reach opt_shares.
  1021. - The cpu mining work data can get modified before we copy it if we submit it
  1022. async, and the sync submission is not truly sync anyway, so just submit it sync.
  1023. Version 1.6.0 - August 26, 2011
  1024. - Make restarting of GPUs optional for systems that hang on any attempt to
  1025. restart them. Fix DEAD status by comparing it to last live time rather than
  1026. last attempted restart time since that happens every minute.
  1027. - Move staged threads to hashes so we can sort them by time.
  1028. - Create a hash list of all the blocks created and search them to detect when a
  1029. new block has definitely appeared, using that information to detect stale work
  1030. and discard it.
  1031. - Update configure.ac for newer autoconf tools.
  1032. - Use the new hashes directly for counts instead of the fragile counters
  1033. currently in use.
  1034. - Update to latest sse2 code from cpuminer-ng.
  1035. - Allow LP to reset block detect and block detect lp flags to know who really
  1036. came first.
  1037. - Get start times just before mining begins to not have very slow rise in
  1038. average.
  1039. - Add message about needing one server.
  1040. - We can queue all the necessary work without hitting frequent stales now with
  1041. the time and string stale protection active all the time. This prevents a
  1042. pool being falsely labelled as not providing work fast enough.
  1043. - Include uthash.h in distro.
  1044. - Implement SSE2 32 bit assembly algorithm as well.
  1045. - Fail gracefully if unable to open the opencl files.
  1046. - Make cgminer look in the install directory for the .cl files making make
  1047. install work correctly.
  1048. - Allow a custom kernel path to be entered on the command line.
  1049. - Bump threshhold for lag up to maximum queued but no staged work.
  1050. - Remove fragile source patching for bitalign, vectors et. al and simply pass it
  1051. with the compiler options.
  1052. - Actually check the value returned for the x-roll-ntime extension to make sure
  1053. it isn't saying N.
  1054. - Prevent segfault on exit for when accessory threads don't exist.
  1055. - Disable curl debugging with opt protocol since it spews to stderr.
  1056. Version 1.5.8 - August 23, 2011
  1057. - Minimise how much more work can be given in cpu mining threads each interval.
  1058. - Make the fail-pause progressively longer each time it fails until the network
  1059. recovers.
  1060. - Only display the lagging message if we've requested the work earlier.
  1061. - Clean up the pool switching to not be dependent on whether the work can roll
  1062. or not by setting a lagging flag and then the idle flag.
  1063. - Only use one thread to determine if a GPU is sick or well, and make sure to
  1064. reset the sick restart attempt time.
  1065. - The worksize was unintentionally changed back to 4k by mistake, this caused a
  1066. slowdown.
  1067. Version 1.5.7 - August 22, 2011
  1068. - Fix a crash with --algo auto
  1069. - Test at appropriate target difficulty now.
  1070. - Add per-device statics log output with --per-device-stats
  1071. - Fix breakage that occurs when 1 or 4 vectors are chosen on new phatk.
  1072. - Make rolltime report debug level only now since we check it every work
  1073. item.
  1074. - Add the ability to enable/disable per-device stats on the fly and match
  1075. logging on/off.
  1076. - Explicitly tell the compiler to retain the program to minimise the chance of
  1077. the zero sized binary errors.
  1078. - Add one more instruction to avoid one branch point in the common path in the
  1079. cl return code. Although this adds more ALUs overall and more branch points, the
  1080. common path code has the same number of ALUs and one less jmp, jmps being more
  1081. expensive.
  1082. - Explicitly link in ws2_32 on the windows build and update README file on how
  1083. to compile successfully on windows.
  1084. - Release cl resources should the gpu mining thread abort.
  1085. - Attempt to restart a GPU once every minute while it's sick.
  1086. - Don't kill off the reinit thread if it fails to init a GPU but returns safely.
  1087. - Only declare a GPU dead if there's been no sign of activity from the reinit
  1088. thread for 10 mins.
  1089. - Never automatically disable any pools but just specify them as idle if they're
  1090. unresponsive at startup.
  1091. - Use any longpoll available, and don't disable it if switching to a server that
  1092. doesn't have it. This allows you to mine solo, yet use the longpoll from a pool
  1093. even if the pool is the backup server.
  1094. - Display which longpoll failed and don't free the ram for lp_url since it
  1095. belongs to the pool hdr path.
  1096. - Make the tcp setsockopts unique to linux in the hope it allows freebsd et. al
  1097. to compile.
  1098. Version 1.5.6 - August 17, 2011
  1099. - New phatk and poclbm kernels. Updated phatk to be in sync with latest 2.2
  1100. courtesy of phateus. Custom modified to work best with cgminer.
  1101. - Updated output buffer code to use a smaller buffer with the kernels.
  1102. - Clean up the longpoll management to ensure the right paths go to the right
  1103. pool and display whether we're connected to LP or not in the status line.
  1104. Version 1.5.5 - August 16, 2011
  1105. - Rework entirely the GPU restart code. Strike a balance between code that
  1106. re-initialises the GPU entirely so that soft hangs in the code are properly
  1107. managed, but if a GPU is completely hung, the thread restart code fails
  1108. gracefully, so that it does not take out any other code or devices. This will
  1109. allow cgminer to keep restarting GPUs that can be restarted, but continue
  1110. mining even if one or more GPUs hangs which would normally require a reboot.
  1111. - Add --submit-stale option which submits all shares, regardless of whether they
  1112. would normally be considered stale.
  1113. - Keep options in alphabetical order.
  1114. - Probe for slightly longer for when network conditions are lagging.
  1115. - Only display the CPU algo when we're CPU mining.
  1116. - As we have keepalives now, blaming network flakiness on timeouts appears to
  1117. have been wrong. Set a timeout for longpoll to 1 hour, and most other
  1118. network connectivity to 1 minute.
  1119. - Simplify output code and remove HW errors from CPU stats.
  1120. - Simplify code and tidy output.
  1121. - Only show cpu algo in summary if cpu mining.
  1122. - Log summary at the end as per any other output.
  1123. - Flush output.
  1124. - Add a linux-usb-cgminer guide courtesy of Kano.
  1125. Version 1.5.4 - August 14, 2011
  1126. - Add new option: --monitor <cmd> Option lets user specify a command <cmd> that
  1127. will get forked by cgminer on startup. cgminer's stderr output subsequently gets
  1128. piped directly to this command.
  1129. - Allocate work from one function to be able to initialise variables added
  1130. later.
  1131. - Add missing fflush(stdout) for --ndevs and conclusion summary.
  1132. - Preinitialise the devices only once on startup.
  1133. - Move the non cl_ variables into the cgpu info struct to allow creating a new
  1134. cl state on reinit, preserving known GPU variables.
  1135. - Create a new context from scratch in initCQ in case something was corrupted to
  1136. maximise our chance of succesfully creating a new worker thread. Hopefully this
  1137. makes thread restart on GPU failure more reliable, without hanging everything
  1138. in the case of a completely wedged GPU.
  1139. - Display last initialised time in gpu management info, to know if a GPU has
  1140. been re-initialised.
  1141. - When pinging a sick cpu, flush finish and then ping it in a separate thread in
  1142. the hope it recovers without needing a restart, but without blocking code
  1143. elsewhere.
  1144. - Only consider a pool lagging if we actually need the work and we have none
  1145. staged despite queue requests stacking up. This decreases significantly the
  1146. amount of work that leaks to the backup pools.
  1147. - The can_roll function fails inappropriately in stale_work.
  1148. - Only put the message that a pool is down if not pinging it every minute. This
  1149. prevents cgminer from saying pool down at 1 minute intervals unless in debug
  1150. mode.
  1151. - Free all work in one place allowing us to perform actions on it in the future.
  1152. - Remove the extra shift in the output code which was of dubious benefit. In
  1153. fact in cgminer's implementation, removing this caused a miniscule speedup.
  1154. - Test each work item to see if it can be rolled instead of per-pool and roll
  1155. whenever possible, adhering to the 60 second timeout. This makes the period
  1156. after a longpoll have smaller dips in throughput, as well as requiring less
  1157. getworks overall thus increasing efficiency.
  1158. - Stick to rolling only work from the current pool unless we're in load balance
  1159. mode or lagging to avoid aggressive rolling imitating load balancing.
  1160. - If a work item has had any mining done on it, don't consider it discarded
  1161. work.
  1162. Version 1.5.3 - July 30, 2011
  1163. - Significant work went into attempting to make the thread restart code robust
  1164. to identify sick threads, tag them SICK after 1 minute, then DEAD after 5
  1165. minutes of inactivity and try to restart them. Instead of re-initialising the
  1166. GPU completely, only a new cl context is created to avoid hanging the rest of
  1167. the GPUs should the dead GPU be hung irrevocably.
  1168. - Use correct application name in syslog.
  1169. - Get rid of extra line feeds.
  1170. - Use pkg-config to check for libcurl version
  1171. - Implement per-thread getwork count with proper accounting to not over-account
  1172. queued items when local work replaces it.
  1173. - Create a command queue from the program created from source which allows us
  1174. to flush the command queue in the hope it will not generate a zero sized binary
  1175. any more.
  1176. - Be more willing to get work from the backup pools if the work is simply being
  1177. queued faster than it is being retrieved.
  1178. Version 1.5.2 - July 28, 2011
  1179. - Restarting a hung GPU can hang the rest of the GPUs so just declare it dead
  1180. and provide the information in the status.
  1181. - The work length in the miner thread gets smaller but doesn't get bigger if
  1182. it's under 1 second. This could end up leading to CPU under-utilisation and
  1183. lower and lower hash rates. Fix it by increasing work length if it drops
  1184. under 1 second.
  1185. - Make the "quiet" mode still update the status and display errors, and add a
  1186. new --real-quiet option which disables all output and can be set once while
  1187. running.
  1188. - Update utility and efficiency figures when displaying them.
  1189. - Some Intel HD graphics support the opencl commands but return errors since
  1190. they don't support opencl. Don't fail with them, just provide a warning and
  1191. disable GPU mining.
  1192. - Add http:// if it's not explicitly set for URL entries.
  1193. - Log to the output file at any time with warnings and errors, instead of just
  1194. when verbose mode is on.
  1195. - Display the correct current hash as per blockexplorer, truncated to 16
  1196. characters, with just the time.
  1197. Version 1.5.1 - July 27, 2011
  1198. - Two redraws in a row cause a crash in old libncurses so just do one redraw
  1199. using the main window.
  1200. - Don't adjust hash_div only up for GPUs. Disable hash_div adjustment for GPUs.
  1201. - Only free the thread structures if the thread still exists.
  1202. - Update both windows separately, but not at the same time to prevent the double
  1203. refresh crash that old libncurses has. Do the window resize check only when
  1204. about to redraw the log window to minimise ncurses cpu usage.
  1205. - Abstract out the decay time function and use it to make hash_div a rolling
  1206. average so it doesn't change too abruptly and divide work in chunks large enough
  1207. to guarantee they won't overlap.
  1208. - Sanity check to prove locking.
  1209. - Don't take more than one lock at a time.
  1210. - Make threads report out when they're queueing a request and report if they've
  1211. failed.
  1212. - Make cpu mining work submission asynchronous as well.
  1213. - Properly detect stale work based on time from staging and discard instead of
  1214. handing on, but be more lax about how long work can be divided for up to the
  1215. scantime.
  1216. - Do away with queueing work separately at the start and let each thread grab
  1217. its own work as soon as it's ready.
  1218. - Don't put an extra work item in the queue as each new device thread will do so
  1219. itself.
  1220. - Make sure to decrease queued count if we discard the work.
  1221. - Attribute split work as local work generation.
  1222. - If work has been cloned it is already at the head of the list and when being
  1223. reinserted into the queue it should be placed back at the head of the list.
  1224. - Dividing work is like the work is never removed at all so treat it as such.
  1225. However the queued bool needs to be reset to ensure we *can* request more work
  1226. even if we didn't initially.
  1227. - Make the display options clearer.
  1228. - Add debugging output to tq_push calls.
  1229. - Add debugging output to all tq_pop calls.
  1230. Version 1.5.0 - July 26, 2011
  1231. - Increase efficiency of slow mining threads such as CPU miners dramatically. Do
  1232. this by detecting which threads cannot complete searching a work item within the
  1233. scantime and then divide up a work item into multiple smaller work items.
  1234. Detect the age of the work items and if they've been cloned before to prevent
  1235. doing the same work over. If the work is too old to be divided, then see if it
  1236. can be time rolled and do that to generate work. This dramatically decreases the
  1237. number of queued work items from a pool leading to higher overall efficiency
  1238. (but the same hashrate and share submission rate).
  1239. - Don't request work too early for CPUs as CPUs will scan for the full
  1240. opt_scantime anyway.
  1241. - Simplify gpu management enable/disable/restart code.
  1242. - Implement much more accurate rolling statistics per thread and per gpu and
  1243. improve accuracy of rolling displayed values.
  1244. - Make the rolling log-second average more accurate.
  1245. - Add a menu to manage GPUs on the fly allowing you to enable/disable GPUs or
  1246. try restarting them.
  1247. - Keep track of which GPUs are alive versus enabled.
  1248. - Start threads for devices that are even disabled, but don't allow them to
  1249. start working.
  1250. - The last pool is when we are low in total_pools, not active_pools.
  1251. - Make the thread restart do a pthread_join after disabling the device, only
  1252. re-enabling it if we succeed in restarting the thread. Do this from a separate
  1253. thread so as to not block any other code.This will allow cgminer to continue
  1254. even if one GPU hangs.
  1255. - Try to do every curses manipulation under the curses lock.
  1256. - Only use the sockoptfunction if the version of curl is recent enough.
  1257. Version 1.4.1 - July 24, 2011
  1258. - Do away with GET for dealing with longpoll forever. POST is the one that works
  1259. everywhere, not the other way around.
  1260. - Detect when the primary pool is lagging and start queueing requests on backup
  1261. pools if possible before needing to roll work.
  1262. - Load balancing puts more into the current pool if there are disabled pools.
  1263. Fix.
  1264. - Disable a GPU device should the thread fail to init.
  1265. - Out of order command queue may fail on osx. Try without if it fails.
  1266. - Fix possible dereference on blank inputs during input_pool.
  1267. - Defines missing would segfault on --help when no sse mining is built in.
  1268. - Revert "Free up resources/stale compilers." - didn't help.
  1269. - Only try to print the status of active devices or it would crash.
  1270. - Some hardware might benefit from the less OPS so there's no harm in leaving
  1271. kernel changes that do that apart from readability of the code.
  1272. Version 1.4.0 - July 23, 2011
  1273. - Feature upgrade: Add keyboard input during runtime to allow modification of
  1274. and viewing of numerous settings such as adding/removing pools, changing
  1275. multipool management strategy, switching pools, changing intensiy, verbosity,
  1276. etc. with a simple keypress menu system.
  1277. - Free up resources/stale compilers.
  1278. - Kernels are safely flushed in a way that allows out of order execution to
  1279. work.
  1280. - Sometimes the cl compiler generates zero sized binaries and only a reboot
  1281. seems to fix it.
  1282. - Don't try to stop/cancel threads that don't exist.
  1283. - Only set option to show devices and exit if built with opencl support.
  1284. - Enable curses earlier and exit with message in main for messages to not be
  1285. lost in curses windows.
  1286. - Make it possible to enter server credentials with curses input if none are
  1287. specified on the command line.
  1288. - Abstract out a curses input function and separate input pool function to allow
  1289. for live adding of pools later.
  1290. - Remove the nil arguments check to allow starting without parameters.
  1291. - Disable/enable echo & cbreak modes.
  1292. - Add a thread that takes keyboard input and allow for quit, silent, debug,
  1293. verbose, normal, rpc protocol debugging and clear screen options.
  1294. - Add pool option to input and display current pool status, pending code to
  1295. allow live changes.
  1296. - Add a bool for explicit enabling/disabling of pools.
  1297. - Make input pool capable of bringing up pools while running.
  1298. - Do one last check of the work before submitting it.
  1299. - Implement the ability to live add, enable, disable, and switch to pools.
  1300. - Only internally test for block changes when the work matches the current pool
  1301. to prevent interleaved block change timing on multipools.
  1302. - Display current pool management strategy to enable changing it on the fly.
  1303. - The longpoll blanking of the current_block data may not be happening before
  1304. the work is converted and appears to be a detected block change. Blank the
  1305. current block be
  1306. - Make --no-longpoll work again.
  1307. - Abstract out active pools count.
  1308. - Allow the pool strategy to be modified on the fly.
  1309. - Display pool information on the fly as well.
  1310. - Add a menu and separate out display options.
  1311. - Clean up the messy way the staging thread communicates with the longpoll
  1312. thread to determine who found the block first.
  1313. - Make the input windows update immediately instead of needing a refresh.
  1314. - Allow log interval to be set in the menu.
  1315. - Allow scan settings to be modified at runtime.
  1316. - Abstract out the longpoll start and explicitly restart it on pool change.
  1317. - Make it possible to enable/disable longpoll.
  1318. - Set priority correctly on multipools. Display priority and alive/dead
  1319. information in display_pools.
  1320. - Implement pool removal.
  1321. - Limit rolltime work generation to 10 iterations only.
  1322. - Decrease testing log to info level.
  1323. - Extra refresh not required.
  1324. - With huge variation in GPU performance, allow intensity to go from -10 to +10.
  1325. - Tell getwork how much of a work item we're likely to complete for future
  1326. splitting up of work.
  1327. - Remove the mandatory work requirement at startup by testing for invalid work
  1328. being passed which allows for work to be queued immediately. This also
  1329. removes the requirem
  1330. - Make sure intensity is carried over to thread count and is at least the
  1331. minimum necessary to work.
  1332. - Unlocking error on retry. Locking unnecessary anyway so remove it.
  1333. - Clear log window from consistent place. No need for locking since logging is
  1334. disabled during input.
  1335. - Cannot print the status of threads that don't exist so just queue enough work
  1336. for the number of mining threads to prevent crash with -Q N.
  1337. - Update phatk kernel to one with new parameters for slightly less overhead
  1338. again. Make the queue kernel parameters call a function pointer to select
  1339. phatk or poclbm.
  1340. - Make it possible to select the choice of kernel on the command line.
  1341. - Simplify the output part of the kernel. There's no demonstrable advantage from
  1342. more complexity.
  1343. - Merge pull request #18 from ycros/cgminer
  1344. - No need to make leaveok changes win32 only.
  1345. - Build support in for all SSE if possible and only set the default according to
  1346. machine capabilities.
  1347. - Win32 threading and longpoll keepalive fixes.
  1348. - Win32: Fix for mangled output on the terminal on exit.
  1349. Version 1.3.1 - July 20, 2011
  1350. - Feature upgrade; Multiple strategies for failover. Choose from default which
  1351. now falls back to a priority order from 1st to last, round robin which only
  1352. changes pools when one is idle, rotate which changes pools at user-defined
  1353. intervals, and load-balance which spreads the work evenly amongst all pools.
  1354. - Implement pool rotation strategy.
  1355. - Implement load balancing algorithm by rotating requests to each pool.
  1356. - Timeout on failed discarding of staged requests.
  1357. - Implement proper flagging of idle pools, test them with the watchdog thread,
  1358. and failover correctly.
  1359. - Move pool active test to own function.
  1360. - Allow multiple strategies to be set for multipool management.
  1361. - Track pool number.
  1362. - Don't waste the work items queued on testing the pools at startup.
  1363. - Reinstate the mining thread watchdog restart.
  1364. - Add a getpoll bool into the thread information and don't restart threads stuck
  1365. waiting on work.
  1366. - Rename the idlenet bool for the pool for later use.
  1367. - Allow the user/pass userpass urls to be input in any order.
  1368. - When json rpc errors occur they occur in spits and starts, so trying to limit
  1369. them with the comms error bool doesn't stop a flood of them appearing.
  1370. - Reset the queued count to allow more work to be queued for the new pool on
  1371. pool switch.
  1372. Version 1.3.0 - July 19, 2011
  1373. - Massive infrastructure update to support pool failover.
  1374. - Accept multiple parameters for url, user and pass and set up structures of
  1375. pool data accordingly.
  1376. - Probe each pool for what it supports.
  1377. - Implement per pool feature support according to rolltime support as
  1378. advertised by server.
  1379. - Do switching automatically based on a 300 second timeout of locally generated
  1380. work or 60 seconds of no response from a server that doesn't support rolltime.
  1381. - Implement longpoll server switching.
  1382. - Keep per-pool data and display accordingly.
  1383. - Make sure cgminer knows how long the pool has actually been out for before
  1384. deeming it a prolonged outage.
  1385. - Fix bug with ever increasing staged work in 1.2.8 that eventually caused
  1386. infinite rejects.
  1387. - Make warning about empty http requests not show by default since many
  1388. servers do this regularly.
  1389. Version 1.2.8 - July 18, 2011
  1390. - More OSX build fixes.
  1391. - Add an sse4 algorithm to CPU mining.
  1392. - Fix CPU mining with other algorithms not working.
  1393. - Rename the poclbm file to ensure a new binary is built since.
  1394. - We now are guaranteed to have one fresh work item after a block change and we
  1395. should only discard staged requests.
  1396. - Don't waste the work we retrieve from a longpoll.
  1397. - Provide a control lock around global bools to avoid racing on them.
  1398. - Iterating over 1026 nonces when confirming data from the GPU is old code
  1399. and unnecessary and can lead to repeats/stales.
  1400. - The poclbm kernel needs to be updated to work with the change to 4k sized
  1401. output buffers.
  1402. - longpoll seems to work either way with post or get but some servers prefer
  1403. get so change to httpget.
  1404. Version 1.2.7 - July 16, 2011
  1405. - Show last 8 characters of share submitted in log.
  1406. - Display URL connected to and user logged in as in status.
  1407. - Display current block and when it was started in the status line.
  1408. - Only pthread_join the mining threads if they exist as determined by
  1409. pthread_cancel and don't fail on pthread_cancel.
  1410. - Create a unique work queue for all getworks instead of binding it to thread 0
  1411. to avoid any conflict over thread 0's queue.
  1412. - Clean up the code to make it clear it's watchdog thread being messaged to
  1413. restart the threads.
  1414. - Check the current block description hasn't been blanked pending the real
  1415. new current block data.
  1416. - Re-enable signal handlers once the signal has been received to make it
  1417. possible to kill cgminer if it fails to shut down.
  1418. - Disable restarting of CPU mining threads pending further investigation.
  1419. - Update longpoll messages.
  1420. - Add new block data to status line.
  1421. - Fix opencl tests for osx.
  1422. - Only do local generation of work if the work item is not stale itself.
  1423. - Check for stale work within the mining threads and grab new work if
  1424. positive.
  1425. - Test for idle network conditions and prevent threads from being restarted
  1426. by the watchdog thread under those circumstances.
  1427. - Make sure that local work generation does not continue indefinitely by
  1428. stopping it after 10 minutes.
  1429. - Tweak the kernel to have a shorter path using a 4k buffer and a mask on the
  1430. nonce value instead of a compare and loop for a shorter code path.
  1431. - Allow queue of zero and make that default again now that we can track how
  1432. work is being queued versus staged. This can decrease reject rates.
  1433. - Queue precisely the number of mining threads as longpoll_staged after a
  1434. new block to not generate local work.
  1435. Version 1.2.6 - July 15, 2011
  1436. - Put a current system status line beneath the total work status line
  1437. - Fix a counting error that would prevent cgminer from correctly detecting
  1438. situations where getwork was failing - this would cause stalls sometimes
  1439. unrecoverably.
  1440. - Limit the maximum number of requests that can be put into the queue which
  1441. otherwise could get arbitrarily long during a network outage.
  1442. - Only count getworks that are real queue requests.
  1443. Version 1.2.5 - July 15, 2011
  1444. - Conflicting -n options corrected
  1445. - Setting an intensity with -I disables dynamic intensity setting
  1446. - Removed option to manually disable dynamic intensity
  1447. - Improve display output
  1448. - Implement signal handler and attempt to clean up properly on exit
  1449. - Only restart threads that are not stuck waiting on mandatory getworks
  1450. - Compatibility changes courtesy of Ycros to build on mingw32 and osx
  1451. - Explicitly grab first work item to prevent false positive hardware errors
  1452. due to working on uninitialised work structs
  1453. - Add option for non curses --text-only output
  1454. - Ensure we connect at least once successfully before continuing to retry to
  1455. connect in case url/login parameters were wrong
  1456. - Print an executive summary when cgminer is terminated
  1457. - Make sure to refresh the status window
  1458. Versions -> 1.2.4
  1459. - Con Kolivas - July 2011. New maintainership of code under cgminer name.
  1460. - Massive rewrite to incorporate GPU mining.
  1461. - Incorporate original oclminer c code.
  1462. - Rewrite gpu mining code to efficient work loops.
  1463. - Implement per-card detection and settings.
  1464. - Implement vector code.
  1465. - Implement bfi int patching.
  1466. - Import poclbm and phatk ocl kernels and use according to hardware type.
  1467. - Implement customised optimised versions of opencl kernels.
  1468. - Implement binary kernel generation and loading.
  1469. - Implement preemptive asynchronous threaded work gathering and pushing.
  1470. - Implement variable length extra work queues.
  1471. - Optimise workloads to be efficient miners instead of getting lots of extra
  1472. work.
  1473. - Implement total hash throughput counters, per-card accepted, rejected and
  1474. hw error count.
  1475. - Staging and watchdog threads to prevent fallover.
  1476. - Stale and reject share guarding.
  1477. - Autodetection of new blocks without longpoll.
  1478. - Dynamic setting of intensity to maintain desktop interactivity.
  1479. - Curses interface with generous statistics and information.
  1480. - Local generation of work (xroll ntime) when detecting poor network
  1481. connectivity.
  1482. Version 1.0.2
  1483. - Linux x86_64 optimisations - Con Kolivas
  1484. - Optimise for x86_64 by default by using sse2_64 algo
  1485. - Detects CPUs and sets number of threads accordingly
  1486. - Uses CPU affinity for each thread where appropriate
  1487. - Sets scheduling policy to lowest possible
  1488. - Minor performance tweaks
  1489. Version 1.0.1 - May 14, 2011
  1490. - OSX support
  1491. Version 1.0 - May 9, 2011
  1492. - jansson 2.0 compatibility
  1493. - correct off-by-one in date (month) display output
  1494. - fix platform detection
  1495. - improve yasm configure bits
  1496. - support full URL, in X-Long-Polling header
  1497. Version 0.8.1 - March 22, 2011
  1498. - Make --user, --pass actually work
  1499. - Add User-Agent HTTP header to requests, so that server operators may
  1500. more easily identify the miner client.
  1501. - Fix minor bug in example JSON config file
  1502. Version 0.8 - March 21, 2011
  1503. - Support long polling: http://deepbit.net/longpolling.php
  1504. - Adjust max workload based on scantime (default 5 seconds,
  1505. or 60 seconds for longpoll)
  1506. - Standardize program output, and support syslog on Unix platforms
  1507. - Suport --user/--pass options (and "user" and "pass" in config file),
  1508. as an alternative to the current --userpass
  1509. Version 0.7.2 - March 14, 2011
  1510. - Add port of ufasoft's sse2 assembly implementation (Linux only)
  1511. This is a substantial speed improvement on Intel CPUs.
  1512. - Move all JSON-RPC I/O to separate thread. This reduces the
  1513. number of HTTP connections from one-per-thread to one, reducing resource
  1514. usage on upstream bitcoind / pool server.
  1515. Version 0.7.1 - March 2, 2011
  1516. - Add support for JSON-format configuration file. See example
  1517. file example-cfg.json. Any long argument on the command line
  1518. may be stored in the config file.
  1519. - Timestamp each solution found
  1520. - Improve sha256_4way performance. NOTE: This optimization makes
  1521. the 'hash' debug-print output for sha256_way incorrect.
  1522. - Use __builtin_expect() intrinsic as compiler micro-optimization
  1523. - Build on Intel compiler
  1524. - HTTP library now follows HTTP redirects
  1525. Version 0.7 - February 12, 2011
  1526. - Re-use CURL object, thereby reuseing DNS cache and HTTP connections
  1527. - Use bswap_32, if compiler intrinsic is not available
  1528. - Disable full target validation (as opposed to simply H==0) for now
  1529. Version 0.6.1 - February 4, 2011
  1530. - Fully validate "hash < target", rather than simply stopping our scan
  1531. if the high 32 bits are 00000000.
  1532. - Add --retry-pause, to set length of pause time between failure retries
  1533. - Display proof-of-work hash and target, if -D (debug mode) enabled
  1534. - Fix max-nonce auto-adjustment to actually work. This means if your
  1535. scan takes longer than 5 seconds (--scantime), the miner will slowly
  1536. reduce the number of hashes you work on, before fetching a new work unit.
  1537. Version 0.6 - January 29, 2011
  1538. - Fetch new work unit, if scanhash takes longer than 5 seconds (--scantime)
  1539. - BeeCee1's sha256 4way optimizations
  1540. - lfm's byte swap optimization (improves via, cryptopp)
  1541. - Fix non-working short options -q, -r
  1542. Version 0.5 - December 28, 2010
  1543. - Exit program, when all threads have exited
  1544. - Improve JSON-RPC failure diagnostics and resilience
  1545. - Add --quiet option, to disable hashmeter output.
  1546. Version 0.3.3 - December 27, 2010
  1547. - Critical fix for sha256_cryptopp 'cryptopp_asm' algo
  1548. Version 0.3.2 - December 23, 2010
  1549. - Critical fix for sha256_via
  1550. Version 0.3.1 - December 19, 2010
  1551. - Critical fix for sha256_via
  1552. - Retry JSON-RPC failures (see --retry, under "minerd --help" output)
  1553. Version 0.3 - December 18, 2010
  1554. - Add crypto++ 32bit assembly implementation
  1555. - show version upon 'minerd --help'
  1556. - work around gcc 4.5.x bug that killed 4way performance
  1557. Version 0.2.2 - December 6, 2010
  1558. - VIA padlock implementation works now
  1559. - Minor build and runtime fixes
  1560. Version 0.2.1 - November 29, 2010
  1561. - avoid buffer overflow when submitting solutions
  1562. - add Crypto++ sha256 implementation (C only, ASM elided for now)
  1563. - minor internal optimizations and cleanups
  1564. Version 0.2 - November 27, 2010
  1565. - Add script for building a Windows installer
  1566. - improve hash performance (hashmeter) statistics
  1567. - add tcatm 4way sha256 implementation
  1568. - Add experimental VIA Padlock sha256 implementation
  1569. Version 0.1.2 - November 26, 2010
  1570. - many small cleanups and micro-optimizations
  1571. - build win32 exe using mingw
  1572. - RPC URL, username/password become command line arguments
  1573. - remove unused OpenSSL dependency
  1574. Version 0.1.1 - November 24, 2010
  1575. - Do not build sha256_generic module separately from cpuminer.
  1576. Version 0.1 - November 24, 2010
  1577. - Initial release.