NEWS 55 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202
  1. Version 2.2.3 - February 6, 2012
  2. - Revert "Rewrite the convoluted get_work() function to be much simpler and roll
  3. work as much as possible with each new work item." This seems to cause a race on
  4. work in free_work(). Presumably other threads are still accessing the structure.
  5. Version 2.2.2 - February 6, 2012
  6. - Provide support for the submitold extension on a per-pool basis based on the
  7. value being detected in a longpoll.
  8. - Don't send a ping to a dynamic device if it's not enabled as that will just
  9. enable it for one pass and then disable it again.
  10. - Rewrite the convoluted get_work() function to be much simpler and roll work as
  11. much as possible with each new work item.
  12. - Roll as much work as possible from the work returned from a longpoll.
  13. - Rolling work on each loop through the mining thread serves no purpose.
  14. - Allow to stage more than necessary work items if we're just rolling work.
  15. - Replace divide_work with reuse_work function used twice.
  16. - Give rolled work a new ID to make sure there is no confusion in the hashtable
  17. lookups.
  18. - Remove now-defunct hash_div variables.
  19. - Remove unused get_dondata function.
  20. - Silence ADL warnings.
  21. - Silence unused parameter warnings.
  22. - Stagger the restart of every next thread per device to keep devices busy ahead
  23. of accessory threads per device.
  24. - Deprecate the --donation feature. Needlessly complex, questionable usefulness,
  25. depends on author's server and a central pool of some kind, and was not heavily
  26. adopted.
  27. - It's devices that report back now, not threads, update message.
  28. - Continue auto-management of fan and engine speeds even if a device is disabled
  29. for safety reasons.
  30. - No need to check we're highest performance level when throttling GPU engine
  31. speed.
  32. - Abstract out tests for whether work has come from a block that has been seen
  33. before and whether a string is from a previously seen block.
  34. - Probe but don't set the timeout to 15 seconds as some networks take a long
  35. time to timeout.
  36. - Remove most compiler warnings from api.c
  37. - Add last share's pool info in cgpu_info
  38. - Allow the OpenCL platform ID to be chosen with --gpu-platform.
  39. - Iterate over all platforms displaying their information and number of devices
  40. when --ndevs is called.
  41. - Deprecate main.c
  42. - Some networks can take a long time to resolve so go back to 60 second timeouts
  43. instead of 15.
  44. - Only enable curses on failure if curses is desired.
  45. - Fix warnings in bitforce.c
  46. - Bugfix: Need to open BitForce tty for read-write
  47. - Fix various build issues.
  48. - Modularize code: main.c -> device-cpu + device-gpu
  49. - Fix phatk kernel not working on non-bitalign capable devices (Nvidia, older
  50. ATI).
  51. - Update poclbm kernel for better performance on GCN and new SDKs with bitalign
  52. support when not BFI INT patching. Update phatk kernel to work properly for non
  53. BFI INT patched kernels, providing support for phatk to run on GCN and non-ATI
  54. cards.
  55. - Return last accepted share pool/time for devices
  56. - Display accepted share pool/time for CPUs
  57. - Bug intensity always shows GPU 0
  58. - Update example web miner.php to use new API commands
  59. Version 2.2.1 - January 30, 2012
  60. NOTE - The GPU Device reordering in 2.2.0 by default was considered a bad idea
  61. so the original GPU ordering is used by default again unless reordering is
  62. explicitly requested.
  63. - Fix bitforce failing to build into cgminer.
  64. - Add missing options to write config function.
  65. - Add a --gpu-reorder option to only reorder devices according to PCI Bus ID
  66. when requested.
  67. - Fix for midstate support being broken on pools that supported no-midstate
  68. work by ensuring numbers are 32 bits in sha2.c
  69. - Set virtual GPUs to work when ADL is disabled or all mining will occur on GPU
  70. 0.
  71. - Add information about paused threads in the menu status.
  72. - Disable all but the first thread on GPUs in dynamic mode for better
  73. interactivity.
  74. - Set the latest network access time on share submission for --net-delay even if
  75. we're not delaying that submission for further network access.
  76. - Clear adl on exiting after probing values since it may attempt to overclock.
  77. - As share submission is usually staggered, and delays can be costly, submit
  78. shares without delay even when --net-delay is enabled.
  79. - Display GPU number and device name when ADL is successfully enabled on it.
  80. - Display GPU ordering remapping in verbose mode.
  81. - Don't fail in the case the number of ADL and OpenCL devices do not match, and
  82. do not attempt to reorder devices unless they match. Instead give a warning
  83. about
  84. - Display error codes should ADL not return ADL_OK in the more critical function
  85. calls.
  86. - Fix unused warning.
  87. - Fix compile warnings in api.c
  88. - Add extensive ADL based device info in debug mode.
  89. - Make --ndevs display verbose opencl information as well to make debugging
  90. version information easier.
  91. - Display information about the opencl platform with verbose enabled.
  92. - Explicitly check for nvidia in opencl platform strings as well.
  93. Version 2.2.0 - January 29, 2012
  94. NOTE: GPU Device order will change with this release with ATI GPUs as cgminer
  95. now can enumerate them according to their Bus ID which means the values should
  96. now correlate with their physical position on the motherboard.
  97. - Default to poclbm kernel on Tahiti (7970) since phatk does not work, even
  98. though performance is sub-standard so that at least it will mine successfully by
  99. defau
  100. - Retain cl program after every possible place we might build the program.
  101. - Update ADL SDK URL.
  102. - Fix potential overflow.
  103. - Map GPU devices to virtual devices in their true physical order based on
  104. BusNumber.
  105. - Change the warning that comes with failure to init cl on a device to be more
  106. generic and accurate.
  107. - Advertise longpoll support in X-Mining-Extensions
  108. - Detect dual GPU cards by iterating through all GPUs, finding ones without
  109. fanspeed and matching twins with fanspeed one bus ID apart.
  110. - Do not attempt to build the program that becomes the kernel twice. This could
  111. have been leading to failures on initialising cl.
  112. - Some opencl compilers have issues with no spaces after -D in the compiler
  113. options.
  114. - Allow intensity up to 14.
  115. - Use calloced stack memory for CompilerOptions to ensure sprintf writes to the
  116. beginning of the char.
  117. - Whitelist 79x0 cards to prefer no vectors as they perform better without.
  118. - Adjust fan speed gently while in the optimal range when temperature is
  119. drifting to minimise overshoot in either direction.
  120. - Detect dual GPU cards via the indirect information of - 1st card has a fan
  121. controller. 2nd card does not have a fan controller, cards share the same device
  122. name
  123. - Instead of using the BFI_INT patching hack on any device reporting
  124. cl_amd_media_ops, create a whitelist of devices that need it. This should enable
  125. GCN architec
  126. - Fixed API compiling issue on OS X
  127. - Add more explanation of JSON format and the 'save' command
  128. - Return an error if using ADL API commands when it's not available
  129. - Read off lpThermalControllerInfo from each ADL device.
  130. - Add ADL_Overdrive5_ThermalDevices_Enum interface.
  131. - Add API commands: config, switchpool, gpu settings, save
  132. - Implement socks4 proxy support.
  133. - Fix send() for JSON strings
  134. - Introduce a --net-delay option which guarantees at least 250ms between any
  135. networking requests to not overload slow routers.
  136. - Generalise locking init code.
  137. - Allow invalid values to be in the configuration file, just skipping over them
  138. provided the rest of the file is valid JSON. This will allow older configurat
  139. - Allow CPU mining explicitly enable only if other mining support is built in.
  140. - BitForce FPGA support
  141. - Configure out building and support of all CPU mining code unless
  142. --enable-cpumining is enabled.
  143. - Allow parsed values to be zero which will allow 0 values in the config file to
  144. work.
  145. - Advertise that we can make our own midstate, so the pool can skip generating
  146. it for us
  147. - Refactor the CPU scanhash_* functions to use a common API. Fixes bugs.
  148. - Don't consider a pool lagging if a request has only just been filed. This
  149. should decrease the false positives for "pool not providing work fast enough".
  150. - Invalidating work after longpoll made hash_pop return no work giving a false
  151. positive for dead pool. Rework hash_pop to retry while finds no staged work u
  152. - Remove TCP_NODELAY from curl options as many small packets may be contributing
  153. to network overload, when --net-delay is enabled.
  154. - Refactor miner_thread to be common code for any kind of device
  155. - Simplify submit_nonce loop and avoid potentially missing FOUND - 1 entry.
  156. Reported by Luke-Jr.
  157. - Micro-optimisation in sha256_sse2 code courtesy of Guido Ascioti
  158. guido.ascioti@gmail.com
  159. - Refactor to abstract device-specific code
  160. Version 2.1.2 - January 6, 2012
  161. - If api-description is specified, save it when writing the config file
  162. - Adjust utility width to be constant maximum as well.
  163. - Add percent signs to reject ratio outputs
  164. - Should the donation pool fail, don't make the fallover pool behave as though
  165. the primary pool is lagging.
  166. - Use an alternative pool should the donation getwork fail.
  167. Version 2.1.1 - January 1, 2012
  168. - Include API examples in distribution tarball.
  169. - Don't attempt to pthread_join when cancelling threads as they're already
  170. detached and doing so can lead to a segfault.
  171. - Give more generic message if slow pool at startup is the donation pool.
  172. - Continue to attempt restarting GPU threads if they're flagged dead at 1 min.
  173. intervals.
  174. - Don't attempt to restart sick flagged GPUs while they're still registering
  175. activity.
  176. - Make curl use fresh connections whenever there is any communication issue
  177. in case there are dead persistent connections preventing further comms from
  178. working.
  179. - Display pool in summary if only 1 pool.
  180. - Adjust column width of A/R/HW to be the maximum of any device and align them.
  181. Version 2.1.0 - December 27, 2011
  182. - Major infrastructure upgrade with RPC interface for controlling via sockets
  183. encoded with/without JSON courtesy of Andrew Smith. Added documentation for
  184. use of the API and sample code to use with it.
  185. - Updated linux-usb-cgminer document.
  186. - Rewrite of longpoll mechanism to choose the current pool wherever possible to
  187. use for the longpoll, or any pool that supports longpoll if the current one
  188. does not.
  189. - Display information about longpoll when the chosen server has changed.
  190. - Fix the bug where longpoll generated work may have been sent back to the
  191. wrong pool, causing rejects.
  192. - Fix a few race conditions on closing cgminer which caused some of the crashes
  193. on exit.
  194. - Only adjust gpu engine speed in autotune mode if the gpu is currently at the
  195. performance level of that being adjusted.
  196. - Various fixes for parsing/writing of configuration files.
  197. - Do not add blank lines for threads of unused CPUs.
  198. - Show which pool is unresponsive on startup.
  199. - Only show GPU management menu item if GPUs are in use.
  200. - Align most device columns in the curses display.
  201. Version 2.0.8 - November 11, 2011
  202. - Make longpoll do a mandatory flushing of all work even if the block hasn't
  203. changed, thus supporting longpoll initiated work change of any sort and merged
  204. mining.
  205. - Byteswap computed hash in hashtest so it can be correctly checked. This fixes
  206. the very rare possibility that a block solve on solo mining was missed.
  207. - Add x86_64 w64 mingw32 target
  208. - Allow a fixed speed difference between memory and GPU clock speed with
  209. --gpu-memdiff that will change memory speed when GPU speed is changed in
  210. autotune mode.
  211. - Don't load the default config if a config file is specified on the command
  212. line.
  213. - Don't build VIA on apple since -a auto bombs instead of gracefully ignoring
  214. VIA failing.
  215. - Build fix for dlopen/dlclose errors in glibc.
  216. Version 2.0.7 - October 17, 2011
  217. - Support work without midstate or hash1, which are deprecated in bitcoind 0.5+
  218. - Go to kernel build should we fail to clCreateProgramWithBinary instead of
  219. failing on that device. This should fix the windows problems with devices not
  220. initialising.
  221. - Support new configuration file format courtesy of Chris Savery which can write
  222. the config file from the menu and will load it on startup.
  223. - Write unix configuration to .cgminer/cgminer.conf by default and prompt to
  224. overwrite if given a filename from the menu that exists.
  225. Version 2.0.6 - October 9, 2011
  226. - Must initialise the donorpool mutex or it fails on windows.
  227. - Don't make donation work interfere with block change detection allowing
  228. donation to work regardless of the block chain we're mining on.
  229. - Expire shares as stale with a separate timeout from the scantime, defaulting
  230. to 120 seconds.
  231. - Retry pools after a delay of 15 seconds if none can be contacted on startup
  232. unless a key is pressed.
  233. - Don't try to build adl features without having adl.
  234. - Properly check shares against target difficulty - This will no longer show
  235. shares when solo mining at all unless they're considered to be a block solve.
  236. - Add altivec 4 way (cpu mining) support courtesy of Gilles Risch.
  237. - Try to use SSL if the server supports it.
  238. - Display the total solved blocks on exit (LOL if you're lucky).
  239. - Use ADL activity report to tell us if a sick GPU is still busy suggesting it
  240. is hard hung and do not attempt to restart it.
  241. Version 2.0.5 - September 27, 2011
  242. - Intensity can now be set to dynamic or static values per-device.
  243. - New donation feature --donation sends a proportion of shares to author's
  244. account of choice, but is disabled by default!
  245. - The hash being displayed and block detection has been fixed.
  246. - Devices not being mined on will not attempt to be ADL managed.
  247. - Intensity is now displayed per GPU device.
  248. - Make longpoll attempt to restart as often as opt_retries specifies.
  249. - We weren't rolling work as often as we could.
  250. - Correct some memory management issues.
  251. - Build fixes.
  252. - Don't mess with GPUs if we don't have them.
  253. Version 2.0.4 - September 23, 2011
  254. - Confused Longpoll messages should be finally fixed with cgminer knowing for
  255. sure who found the new block and possibly avoiding a rare crash.
  256. - Display now shows the actual hash and will say BLOCK! if a block is deemed
  257. solved.
  258. - Extra spaces, which would double space lines on small terminals, have been
  259. removed.
  260. - Fan speed change is now damped if it is already heading in the correct
  261. direction to minimise overshoot.
  262. - Building without opencl libraries is fixed.
  263. - GPUs are autoselected if there is only one when in the GPU management menu.
  264. - GPU menu is refreshed instead of returning to status after a GPU change.
  265. Version 2.0.3 - September 17, 2011
  266. - Various modes of failure to set fanspeeds and adl values have been addressed
  267. and auto-fan should work now on most hardware, and possibly other values
  268. which previously would not have worked.
  269. - Fixed a crash that can occur on switching pools due to longpoll thread races.
  270. - Use ATISTREAMSDKROOT if available at build time.
  271. - Fanspeed management is returned to the driver default on exit instead of
  272. whatever it was when cgminer was started.
  273. - Logging of events deemed WARNING or ERR now will display even during
  274. periods where menu input is being awaited on.
  275. Version 2.0.2 - September 11, 2011
  276. - Exit cleanly if we abort before various threads are set up or if they no
  277. longer exist.
  278. - Fix a rare crash in HASH_DEL due to using different mutexes to protect the
  279. data.
  280. - Flag devices that have never started and don't allow enabling of devices
  281. without restarting them.
  282. - Only force the adapter speed to high if we've flagged this device as being
  283. managed.
  284. - Flag any devices with autofan or autogpu as being managed.
  285. - Use a re-entrant value to store what fanspeed we're trying to set in case the
  286. card doesn't support small changes. Force it to a multiple of 10% if it
  287. fails on trying to speed up the fan.
  288. - Do not bother resetting values to old ones if changes to GPU parameters report
  289. failure, instead returning a failure code only if the return value from get()
  290. differs.
  291. - Remove redundant check.
  292. - Only display supported values from fanspeed on change settings.
  293. - Missing bracket from output.
  294. - Display fan percentage on devices that only support reporting percent and not
  295. RPM.
  296. - Properly substitute DLOPEN flags to build with ADL support when -ldl is needed
  297. and not when opencl is not found.
  298. Version 2.0.1 - September 9, 2011
  299. - Fix building on 32bit glibc with dlopen with -lpthread and -ldl
  300. - ByteReverse is not used and the bswap opcode breaks big endian builds. Remove
  301. it.
  302. - Ignore whether the display is active or not since only display enabled devices
  303. work this way, and we skip over repeat entries anwyay.
  304. - Only reset values on exiting if we've ever modified them.
  305. - Flag adl as active if any card is successfully activated.
  306. - Add a thermal cutoff option as well and set it to 95 degrees by default.
  307. - Change the fan speed by only 5% if it's over the target temperature but less
  308. than the hysteresis value to minimise overshoot down in temperature.
  309. - Add a --no-adl option to disable ADL monitoring and GPU settings.
  310. - Only show longpoll received delayed message at verbose level.
  311. - Allow temperatures greater than 100 degrees.
  312. - We should be passing a float for the remainder of the vddc values.
  313. - Implement accepting a range of engine speeds as well to allow a lower limit to
  314. be specified on the command line.
  315. - Allow per-device fan ranges to be set and use them in auto-fan mode.
  316. - Display which GPU has overheated in warning message.
  317. - Allow temperature targets to be set on a per-card basis on the command line.
  318. - Display fan range in autofan status.
  319. - Setting the hysteresis is unlikely to be useful on the fly and doesn't belong
  320. in the per-gpu submenu.
  321. - With many cards, the GPU summaries can be quite long so use a terse output
  322. line when showing them all.
  323. - Use a terser device status line to show fan RPM as well when available.
  324. - Define max gpudevices in one macro.
  325. - Allow adapterid 0 cards to enumerate as a device as they will be non-AMD
  326. cards, and enable ADL on any AMD card.
  327. - Do away with the increasingly confusing and irrelevant total queued and
  328. efficiency measures per device.
  329. - Only display values in the log if they're supported and standardise device log
  330. line printing.
  331. Version 2.0.0 - September 6, 2011
  332. Major feature upgrade - GPU monitoring, (over)clocking and fan control for ATI
  333. GPUs.
  334. New command line switches:
  335. --auto-fan- Automatically adjust all GPU fan speeds to maintain a target
  336. temperature
  337. --auto-gpu- Automatically adjust all GPU engine clock speeds to maintain
  338. a target temperature
  339. --gpu-engine <arg> Set the GPU engine (over)clock in Mhz - one value for all or
  340. separate by commas for per card.
  341. --gpu-fan <arg> Set the GPU fan percentage - one value for all or separate
  342. by commas for per card.
  343. --gpu-memclock <arg> Set the GPU memory (over)clock in Mhz - one value for all
  344. or separate by commas for per card.
  345. --gpu-powertune <arg> Set the GPU powertune percentage - one value for all or
  346. separate by commas for per card.
  347. --gpu-vddc <arg> Set the GPU voltage in Volts - one value for all or separate
  348. by commas for per card.
  349. --temp-hysteresis <arg> Set how much the temperature can fluctuate outside
  350. limits when automanaging speeds (default: 3)
  351. --temp-overheat <arg> Set the overheat temperature when automatically managing
  352. fan and GPU speeds (default: 85)
  353. --temp-target <arg> Set the target temperature when automatically managing fan
  354. and GPU speeds (default: 75)
  355. - Implement ATI ADL support for GPU parameter monitoring now and setting later
  356. (temp, fan, clocks etc.).
  357. - Check for the presence of the ADL header files in ADL_SDK.
  358. - Import adl_functions.h from amd overdrive ctrl.
  359. - Implement a setup function that tries to detect GPUs that support the ADL and
  360. link in the parameters into the gpus struct.
  361. - Put a summary of monitoring information from the GPU menu.
  362. - Implement changing memory speed and voltage on the fly.
  363. - Implement fan speed setting.
  364. - Minor corrections to set fan speed by percentage.
  365. - Make sure to read off the value in RPM only.
  366. - Implement auto fanspeed adjustment to maintain a target temperature and
  367. fanspeed below 85%, with an overheat check that will speed the fan up to 100%.
  368. - Add an --auto-fan command line option to allow all GPUs to have autofan
  369. enabled from startup.
  370. - Add a gpu autotune option which adjusts GPU speed to maintain a target
  371. temperature within the bounds of the default GPU speed and any overclocking set.
  372. - Avoid a dereference if the longpoll thread doesn't exist.
  373. - Clean up by setting performance profiles and fan settings to startup levels on
  374. exit.
  375. - Add a small amount of hysteresis before lowering clock speed.
  376. - Allow target, overheat and hysteresis temperatures to be set from command
  377. line.
  378. - Combine all stats collating into one function to avoid repeating function
  379. calls on each variable.
  380. - Add gpu statistics to debugging output via the watchdog thread.
  381. - Implement menus to change temperature limits.
  382. - Implement setting the GPU engine clock speed of all devices or each device as
  383. a comma separated value.
  384. - Implement setting the GPU memory clock speed of all devices or each device as
  385. a comma separated value.
  386. - Implement setting the GPU voltage of all devices or each device as a comma
  387. separated value.
  388. - Implement setting the GPU fan speed of all devices or each device as a comma
  389. separated value.
  390. - Add support for monitoring powertune setting.
  391. - Implement changing of powertune value from the GPU change settings menu.
  392. - Get the value of powertune in get_stats.
  393. - Implement setting the GPU powertune value of all devices or each device as a
  394. comma separated value.
  395. - Remove the safety checks in speed setting since confirmation is done first in
  396. the menu, then show the new current values after a short pause.
  397. - Force the speed to high on startup and restore it to whatever the setting was
  398. on exit.
  399. - Add temperature to standard output where possible and use more compact output.
  400. - Move and print at the same time in curses to avoid random trampling display
  401. errors.
  402. - Update the status window only from the watchdog thread, do not rewrite the top
  403. status messages and only refresh once all the status window is complete,
  404. clearing the window each time to avoid corruption.
  405. - Set a safe starting fan speed if we're automanaging the speeds.
  406. - Provide locking around all adl calls to prevent races.
  407. - Lower profile settings cannot be higher than higher profile ones so link any
  408. drops in settings.
  409. - Add new needed text files to distribution.
  410. - Queue requests ignoring the number of staged clones since they get discarded
  411. very easily leading to false positives for pool not providing work fast enough.
  412. - Include libgen.h in opt.c to fix win32 compilation warnings.
  413. - Fix compilation warning on win32.
  414. - Add the directory name from the arguments cgminer was called from as well to
  415. allow it running from a relative pathname.
  416. - Add a --disable-adl option to configure and only enable it if opencl support
  417. exists.
  418. - Retry before returning a failure to get upstream work as a failure to avoid
  419. false positives for pool dead.
  420. - Retry also if the decoding of work fails.
  421. - Use the presence of X-Roll-Ntime in the header as a bool for exists unless N
  422. is found in the response.
  423. Version 1.6.2 - September 2, 2011
  424. - Add --failover-only option to not leak work to backup pools when the primary
  425. pool is lagging.
  426. - Change recommendation to intensity 9 for dedicated miners.
  427. - Fix the bouncing short term value by allowing it to change dynamically when
  428. the latest value is very different from the rolling value, but damp the change
  429. when it gets close.
  430. - Use the curses_lock to protect the curses_active variable and test it under
  431. lock.
  432. - Go back to requesting work 2/3 of the way through the current scantime with
  433. CPU mining as reports of mining threads running out of work have occurred with
  434. only 5 seconds to retrieve work.
  435. - Add start and stop time scheduling for regular time of day running or once off
  436. start/stop options.
  437. - Print summary on quit modes.
  438. - Put some sanity checks on the times that can be input.
  439. - Give a verbose message when no active pools are found and pause before
  440. exiting.
  441. - Add verbose message when a GPU fails to initialise, and disable the correct
  442. GPU.
  443. - Cryptopp asm32 was not correctly updated to the incremental nonce code so the
  444. hash counter was bogus.
  445. - Get rid of poorly executed curl check.
  446. - If curl does not have sockopts, do not try to compile the
  447. json_rpc_call_sockopt_cb function, making it possible to build against older
  448. curl libraries.
  449. - Most people expect /usr/local when an unspecified prefix is used so change to
  450. that.
  451. - Rename localgen occasions to getwork fail occasions since localgen is
  452. unrelated now.
  453. Version 1.6.1 - August 29, 2011
  454. - Copy cgminer path, not cat it.
  455. - Switching between redrawing windows does not fix the crash with old
  456. libncurses, so redraw both windows, but only when the window size hasn't
  457. changed.
  458. - Reinstate minimum 1 extra in queue to make it extremely unlikely to ever have
  459. 0 staged work items and any idle time.
  460. - Return -1 if no input is detected from the menu to prevent it being
  461. interpreted as a 0.
  462. - Make pthread, libcurl and libcurses library checks mandatory or fail.
  463. - Add a --disable-opencl configure option to make it possible to override
  464. detection of opencl and build without GPU mining support.
  465. - Confusion over the variable name for number of devices was passing a bogus
  466. value which likely was causing the zero sized binary issue.
  467. - cgminer no longer supports default url user and pass so remove them.
  468. - Don't show value of intensity since it's dynamic by default.
  469. - Add options to explicitly enable CPU mining or disable GPU mining.
  470. - Convert the opt queue into a minimum number of work items to have queued
  471. instead of an extra number to decrease risk of getting idle devices without
  472. increasing risk of higher rejects.
  473. - Statify tv_sort.
  474. - Check for SSE2 before trying to build 32 bit SSE2 assembly version. Prevents
  475. build failure when yasm is installed but -msse2 is not specified.
  476. - Add some defines to configure.ac to enable exporting of values and packaging,
  477. and clean up output.
  478. - Give convenient summary at end of ./configure.
  479. - Display version information and add --version command line option, and make
  480. sure we flush stdout.
  481. - Enable curses after the mining threads are set up so that failure messages
  482. won't be lost in the curses interface.
  483. - Disable curses after inputting a pool if we requested no curses interface.
  484. - Add an option to break out after successfully mining a number of accepted
  485. shares.
  486. - Exit with a failed return code if we did not reach opt_shares.
  487. - The cpu mining work data can get modified before we copy it if we submit it
  488. async, and the sync submission is not truly sync anyway, so just submit it sync.
  489. Version 1.6.0 - August 26, 2011
  490. - Make restarting of GPUs optional for systems that hang on any attempt to
  491. restart them. Fix DEAD status by comparing it to last live time rather than
  492. last attempted restart time since that happens every minute.
  493. - Move staged threads to hashes so we can sort them by time.
  494. - Create a hash list of all the blocks created and search them to detect when a
  495. new block has definitely appeared, using that information to detect stale work
  496. and discard it.
  497. - Update configure.ac for newer autoconf tools.
  498. - Use the new hashes directly for counts instead of the fragile counters
  499. currently in use.
  500. - Update to latest sse2 code from cpuminer-ng.
  501. - Allow LP to reset block detect and block detect lp flags to know who really
  502. came first.
  503. - Get start times just before mining begins to not have very slow rise in
  504. average.
  505. - Add message about needing one server.
  506. - We can queue all the necessary work without hitting frequent stales now with
  507. the time and string stale protection active all the time. This prevents a
  508. pool being falsely labelled as not providing work fast enough.
  509. - Include uthash.h in distro.
  510. - Implement SSE2 32 bit assembly algorithm as well.
  511. - Fail gracefully if unable to open the opencl files.
  512. - Make cgminer look in the install directory for the .cl files making make
  513. install work correctly.
  514. - Allow a custom kernel path to be entered on the command line.
  515. - Bump threshhold for lag up to maximum queued but no staged work.
  516. - Remove fragile source patching for bitalign, vectors et. al and simply pass it
  517. with the compiler options.
  518. - Actually check the value returned for the x-roll-ntime extension to make sure
  519. it isn't saying N.
  520. - Prevent segfault on exit for when accessory threads don't exist.
  521. - Disable curl debugging with opt protocol since it spews to stderr.
  522. Version 1.5.8 - August 23, 2011
  523. - Minimise how much more work can be given in cpu mining threads each interval.
  524. - Make the fail-pause progressively longer each time it fails until the network
  525. recovers.
  526. - Only display the lagging message if we've requested the work earlier.
  527. - Clean up the pool switching to not be dependent on whether the work can roll
  528. or not by setting a lagging flag and then the idle flag.
  529. - Only use one thread to determine if a GPU is sick or well, and make sure to
  530. reset the sick restart attempt time.
  531. - The worksize was unintentionally changed back to 4k by mistake, this caused a
  532. slowdown.
  533. Version 1.5.7 - August 22, 2011
  534. - Fix a crash with --algo auto
  535. - Test at appropriate target difficulty now.
  536. - Add per-device statics log output with --per-device-stats
  537. - Fix breakage that occurs when 1 or 4 vectors are chosen on new phatk.
  538. - Make rolltime report debug level only now since we check it every work
  539. item.
  540. - Add the ability to enable/disable per-device stats on the fly and match
  541. logging on/off.
  542. - Explicitly tell the compiler to retain the program to minimise the chance of
  543. the zero sized binary errors.
  544. - Add one more instruction to avoid one branch point in the common path in the
  545. cl return code. Although this adds more ALUs overall and more branch points, the
  546. common path code has the same number of ALUs and one less jmp, jmps being more
  547. expensive.
  548. - Explicitly link in ws2_32 on the windows build and update README file on how
  549. to compile successfully on windows.
  550. - Release cl resources should the gpu mining thread abort.
  551. - Attempt to restart a GPU once every minute while it's sick.
  552. - Don't kill off the reinit thread if it fails to init a GPU but returns safely.
  553. - Only declare a GPU dead if there's been no sign of activity from the reinit
  554. thread for 10 mins.
  555. - Never automatically disable any pools but just specify them as idle if they're
  556. unresponsive at startup.
  557. - Use any longpoll available, and don't disable it if switching to a server that
  558. doesn't have it. This allows you to mine solo, yet use the longpoll from a pool
  559. even if the pool is the backup server.
  560. - Display which longpoll failed and don't free the ram for lp_url since it
  561. belongs to the pool hdr path.
  562. - Make the tcp setsockopts unique to linux in the hope it allows freebsd et. al
  563. to compile.
  564. Version 1.5.6 - August 17, 2011
  565. - New phatk and poclbm kernels. Updated phatk to be in sync with latest 2.2
  566. courtesy of phateus. Custom modified to work best with cgminer.
  567. - Updated output buffer code to use a smaller buffer with the kernels.
  568. - Clean up the longpoll management to ensure the right paths go to the right
  569. pool and display whether we're connected to LP or not in the status line.
  570. Version 1.5.5 - August 16, 2011
  571. - Rework entirely the GPU restart code. Strike a balance between code that
  572. re-initialises the GPU entirely so that soft hangs in the code are properly
  573. managed, but if a GPU is completely hung, the thread restart code fails
  574. gracefully, so that it does not take out any other code or devices. This will
  575. allow cgminer to keep restarting GPUs that can be restarted, but continue
  576. mining even if one or more GPUs hangs which would normally require a reboot.
  577. - Add --submit-stale option which submits all shares, regardless of whether they
  578. would normally be considered stale.
  579. - Keep options in alphabetical order.
  580. - Probe for slightly longer for when network conditions are lagging.
  581. - Only display the CPU algo when we're CPU mining.
  582. - As we have keepalives now, blaming network flakiness on timeouts appears to
  583. have been wrong. Set a timeout for longpoll to 1 hour, and most other
  584. network connectivity to 1 minute.
  585. - Simplify output code and remove HW errors from CPU stats.
  586. - Simplify code and tidy output.
  587. - Only show cpu algo in summary if cpu mining.
  588. - Log summary at the end as per any other output.
  589. - Flush output.
  590. - Add a linux-usb-cgminer guide courtesy of Kano.
  591. Version 1.5.4 - August 14, 2011
  592. - Add new option: --monitor <cmd> Option lets user specify a command <cmd> that
  593. will get forked by cgminer on startup. cgminer's stderr output subsequently gets
  594. piped directly to this command.
  595. - Allocate work from one function to be able to initialise variables added
  596. later.
  597. - Add missing fflush(stdout) for --ndevs and conclusion summary.
  598. - Preinitialise the devices only once on startup.
  599. - Move the non cl_ variables into the cgpu info struct to allow creating a new
  600. cl state on reinit, preserving known GPU variables.
  601. - Create a new context from scratch in initCQ in case something was corrupted to
  602. maximise our chance of succesfully creating a new worker thread. Hopefully this
  603. makes thread restart on GPU failure more reliable, without hanging everything
  604. in the case of a completely wedged GPU.
  605. - Display last initialised time in gpu management info, to know if a GPU has
  606. been re-initialised.
  607. - When pinging a sick cpu, flush finish and then ping it in a separate thread in
  608. the hope it recovers without needing a restart, but without blocking code
  609. elsewhere.
  610. - Only consider a pool lagging if we actually need the work and we have none
  611. staged despite queue requests stacking up. This decreases significantly the
  612. amount of work that leaks to the backup pools.
  613. - The can_roll function fails inappropriately in stale_work.
  614. - Only put the message that a pool is down if not pinging it every minute. This
  615. prevents cgminer from saying pool down at 1 minute intervals unless in debug
  616. mode.
  617. - Free all work in one place allowing us to perform actions on it in the future.
  618. - Remove the extra shift in the output code which was of dubious benefit. In
  619. fact in cgminer's implementation, removing this caused a miniscule speedup.
  620. - Test each work item to see if it can be rolled instead of per-pool and roll
  621. whenever possible, adhering to the 60 second timeout. This makes the period
  622. after a longpoll have smaller dips in throughput, as well as requiring less
  623. getworks overall thus increasing efficiency.
  624. - Stick to rolling only work from the current pool unless we're in load balance
  625. mode or lagging to avoid aggressive rolling imitating load balancing.
  626. - If a work item has had any mining done on it, don't consider it discarded
  627. work.
  628. Version 1.5.3 - July 30, 2011
  629. - Significant work went into attempting to make the thread restart code robust
  630. to identify sick threads, tag them SICK after 1 minute, then DEAD after 5
  631. minutes of inactivity and try to restart them. Instead of re-initialising the
  632. GPU completely, only a new cl context is created to avoid hanging the rest of
  633. the GPUs should the dead GPU be hung irrevocably.
  634. - Use correct application name in syslog.
  635. - Get rid of extra line feeds.
  636. - Use pkg-config to check for libcurl version
  637. - Implement per-thread getwork count with proper accounting to not over-account
  638. queued items when local work replaces it.
  639. - Create a command queue from the program created from source which allows us
  640. to flush the command queue in the hope it will not generate a zero sized binary
  641. any more.
  642. - Be more willing to get work from the backup pools if the work is simply being
  643. queued faster than it is being retrieved.
  644. Version 1.5.2 - July 28, 2011
  645. - Restarting a hung GPU can hang the rest of the GPUs so just declare it dead
  646. and provide the information in the status.
  647. - The work length in the miner thread gets smaller but doesn't get bigger if
  648. it's under 1 second. This could end up leading to CPU under-utilisation and
  649. lower and lower hash rates. Fix it by increasing work length if it drops
  650. under 1 second.
  651. - Make the "quiet" mode still update the status and display errors, and add a
  652. new --real-quiet option which disables all output and can be set once while
  653. running.
  654. - Update utility and efficiency figures when displaying them.
  655. - Some Intel HD graphics support the opencl commands but return errors since
  656. they don't support opencl. Don't fail with them, just provide a warning and
  657. disable GPU mining.
  658. - Add http:// if it's not explicitly set for URL entries.
  659. - Log to the output file at any time with warnings and errors, instead of just
  660. when verbose mode is on.
  661. - Display the correct current hash as per blockexplorer, truncated to 16
  662. characters, with just the time.
  663. Version 1.5.1 - July 27, 2011
  664. - Two redraws in a row cause a crash in old libncurses so just do one redraw
  665. using the main window.
  666. - Don't adjust hash_div only up for GPUs. Disable hash_div adjustment for GPUs.
  667. - Only free the thread structures if the thread still exists.
  668. - Update both windows separately, but not at the same time to prevent the double
  669. refresh crash that old libncurses has. Do the window resize check only when
  670. about to redraw the log window to minimise ncurses cpu usage.
  671. - Abstract out the decay time function and use it to make hash_div a rolling
  672. average so it doesn't change too abruptly and divide work in chunks large enough
  673. to guarantee they won't overlap.
  674. - Sanity check to prove locking.
  675. - Don't take more than one lock at a time.
  676. - Make threads report out when they're queueing a request and report if they've
  677. failed.
  678. - Make cpu mining work submission asynchronous as well.
  679. - Properly detect stale work based on time from staging and discard instead of
  680. handing on, but be more lax about how long work can be divided for up to the
  681. scantime.
  682. - Do away with queueing work separately at the start and let each thread grab
  683. its own work as soon as it's ready.
  684. - Don't put an extra work item in the queue as each new device thread will do so
  685. itself.
  686. - Make sure to decrease queued count if we discard the work.
  687. - Attribute split work as local work generation.
  688. - If work has been cloned it is already at the head of the list and when being
  689. reinserted into the queue it should be placed back at the head of the list.
  690. - Dividing work is like the work is never removed at all so treat it as such.
  691. However the queued bool needs to be reset to ensure we *can* request more work
  692. even if we didn't initially.
  693. - Make the display options clearer.
  694. - Add debugging output to tq_push calls.
  695. - Add debugging output to all tq_pop calls.
  696. Version 1.5.0 - July 26, 2011
  697. - Increase efficiency of slow mining threads such as CPU miners dramatically. Do
  698. this by detecting which threads cannot complete searching a work item within the
  699. scantime and then divide up a work item into multiple smaller work items.
  700. Detect the age of the work items and if they've been cloned before to prevent
  701. doing the same work over. If the work is too old to be divided, then see if it
  702. can be time rolled and do that to generate work. This dramatically decreases the
  703. number of queued work items from a pool leading to higher overall efficiency
  704. (but the same hashrate and share submission rate).
  705. - Don't request work too early for CPUs as CPUs will scan for the full
  706. opt_scantime anyway.
  707. - Simplify gpu management enable/disable/restart code.
  708. - Implement much more accurate rolling statistics per thread and per gpu and
  709. improve accuracy of rolling displayed values.
  710. - Make the rolling log-second average more accurate.
  711. - Add a menu to manage GPUs on the fly allowing you to enable/disable GPUs or
  712. try restarting them.
  713. - Keep track of which GPUs are alive versus enabled.
  714. - Start threads for devices that are even disabled, but don't allow them to
  715. start working.
  716. - The last pool is when we are low in total_pools, not active_pools.
  717. - Make the thread restart do a pthread_join after disabling the device, only
  718. re-enabling it if we succeed in restarting the thread. Do this from a separate
  719. thread so as to not block any other code.This will allow cgminer to continue
  720. even if one GPU hangs.
  721. - Try to do every curses manipulation under the curses lock.
  722. - Only use the sockoptfunction if the version of curl is recent enough.
  723. Version 1.4.1 - July 24, 2011
  724. - Do away with GET for dealing with longpoll forever. POST is the one that works
  725. everywhere, not the other way around.
  726. - Detect when the primary pool is lagging and start queueing requests on backup
  727. pools if possible before needing to roll work.
  728. - Load balancing puts more into the current pool if there are disabled pools.
  729. Fix.
  730. - Disable a GPU device should the thread fail to init.
  731. - Out of order command queue may fail on osx. Try without if it fails.
  732. - Fix possible dereference on blank inputs during input_pool.
  733. - Defines missing would segfault on --help when no sse mining is built in.
  734. - Revert "Free up resources/stale compilers." - didn't help.
  735. - Only try to print the status of active devices or it would crash.
  736. - Some hardware might benefit from the less OPS so there's no harm in leaving
  737. kernel changes that do that apart from readability of the code.
  738. Version 1.4.0 - July 23, 2011
  739. - Feature upgrade: Add keyboard input during runtime to allow modification of
  740. and viewing of numerous settings such as adding/removing pools, changing
  741. multipool management strategy, switching pools, changing intensiy, verbosity,
  742. etc. with a simple keypress menu system.
  743. - Free up resources/stale compilers.
  744. - Kernels are safely flushed in a way that allows out of order execution to
  745. work.
  746. - Sometimes the cl compiler generates zero sized binaries and only a reboot
  747. seems to fix it.
  748. - Don't try to stop/cancel threads that don't exist.
  749. - Only set option to show devices and exit if built with opencl support.
  750. - Enable curses earlier and exit with message in main for messages to not be
  751. lost in curses windows.
  752. - Make it possible to enter server credentials with curses input if none are
  753. specified on the command line.
  754. - Abstract out a curses input function and separate input pool function to allow
  755. for live adding of pools later.
  756. - Remove the nil arguments check to allow starting without parameters.
  757. - Disable/enable echo & cbreak modes.
  758. - Add a thread that takes keyboard input and allow for quit, silent, debug,
  759. verbose, normal, rpc protocol debugging and clear screen options.
  760. - Add pool option to input and display current pool status, pending code to
  761. allow live changes.
  762. - Add a bool for explicit enabling/disabling of pools.
  763. - Make input pool capable of bringing up pools while running.
  764. - Do one last check of the work before submitting it.
  765. - Implement the ability to live add, enable, disable, and switch to pools.
  766. - Only internally test for block changes when the work matches the current pool
  767. to prevent interleaved block change timing on multipools.
  768. - Display current pool management strategy to enable changing it on the fly.
  769. - The longpoll blanking of the current_block data may not be happening before
  770. the work is converted and appears to be a detected block change. Blank the
  771. current block be
  772. - Make --no-longpoll work again.
  773. - Abstract out active pools count.
  774. - Allow the pool strategy to be modified on the fly.
  775. - Display pool information on the fly as well.
  776. - Add a menu and separate out display options.
  777. - Clean up the messy way the staging thread communicates with the longpoll
  778. thread to determine who found the block first.
  779. - Make the input windows update immediately instead of needing a refresh.
  780. - Allow log interval to be set in the menu.
  781. - Allow scan settings to be modified at runtime.
  782. - Abstract out the longpoll start and explicitly restart it on pool change.
  783. - Make it possible to enable/disable longpoll.
  784. - Set priority correctly on multipools. Display priority and alive/dead
  785. information in display_pools.
  786. - Implement pool removal.
  787. - Limit rolltime work generation to 10 iterations only.
  788. - Decrease testing log to info level.
  789. - Extra refresh not required.
  790. - With huge variation in GPU performance, allow intensity to go from -10 to +10.
  791. - Tell getwork how much of a work item we're likely to complete for future
  792. splitting up of work.
  793. - Remove the mandatory work requirement at startup by testing for invalid work
  794. being passed which allows for work to be queued immediately. This also
  795. removes the requirem
  796. - Make sure intensity is carried over to thread count and is at least the
  797. minimum necessary to work.
  798. - Unlocking error on retry. Locking unnecessary anyway so remove it.
  799. - Clear log window from consistent place. No need for locking since logging is
  800. disabled during input.
  801. - Cannot print the status of threads that don't exist so just queue enough work
  802. for the number of mining threads to prevent crash with -Q N.
  803. - Update phatk kernel to one with new parameters for slightly less overhead
  804. again. Make the queue kernel parameters call a function pointer to select
  805. phatk or poclbm.
  806. - Make it possible to select the choice of kernel on the command line.
  807. - Simplify the output part of the kernel. There's no demonstrable advantage from
  808. more complexity.
  809. - Merge pull request #18 from ycros/cgminer
  810. - No need to make leaveok changes win32 only.
  811. - Build support in for all SSE if possible and only set the default according to
  812. machine capabilities.
  813. - Win32 threading and longpoll keepalive fixes.
  814. - Win32: Fix for mangled output on the terminal on exit.
  815. Version 1.3.1 - July 20, 2011
  816. - Feature upgrade; Multiple strategies for failover. Choose from default which
  817. now falls back to a priority order from 1st to last, round robin which only
  818. changes pools when one is idle, rotate which changes pools at user-defined
  819. intervals, and load-balance which spreads the work evenly amongst all pools.
  820. - Implement pool rotation strategy.
  821. - Implement load balancing algorithm by rotating requests to each pool.
  822. - Timeout on failed discarding of staged requests.
  823. - Implement proper flagging of idle pools, test them with the watchdog thread,
  824. and failover correctly.
  825. - Move pool active test to own function.
  826. - Allow multiple strategies to be set for multipool management.
  827. - Track pool number.
  828. - Don't waste the work items queued on testing the pools at startup.
  829. - Reinstate the mining thread watchdog restart.
  830. - Add a getpoll bool into the thread information and don't restart threads stuck
  831. waiting on work.
  832. - Rename the idlenet bool for the pool for later use.
  833. - Allow the user/pass userpass urls to be input in any order.
  834. - When json rpc errors occur they occur in spits and starts, so trying to limit
  835. them with the comms error bool doesn't stop a flood of them appearing.
  836. - Reset the queued count to allow more work to be queued for the new pool on
  837. pool switch.
  838. Version 1.3.0 - July 19, 2011
  839. - Massive infrastructure update to support pool failover.
  840. - Accept multiple parameters for url, user and pass and set up structures of
  841. pool data accordingly.
  842. - Probe each pool for what it supports.
  843. - Implement per pool feature support according to rolltime support as
  844. advertised by server.
  845. - Do switching automatically based on a 300 second timeout of locally generated
  846. work or 60 seconds of no response from a server that doesn't support rolltime.
  847. - Implement longpoll server switching.
  848. - Keep per-pool data and display accordingly.
  849. - Make sure cgminer knows how long the pool has actually been out for before
  850. deeming it a prolonged outage.
  851. - Fix bug with ever increasing staged work in 1.2.8 that eventually caused
  852. infinite rejects.
  853. - Make warning about empty http requests not show by default since many
  854. servers do this regularly.
  855. Version 1.2.8 - July 18, 2011
  856. - More OSX build fixes.
  857. - Add an sse4 algorithm to CPU mining.
  858. - Fix CPU mining with other algorithms not working.
  859. - Rename the poclbm file to ensure a new binary is built since.
  860. - We now are guaranteed to have one fresh work item after a block change and we
  861. should only discard staged requests.
  862. - Don't waste the work we retrieve from a longpoll.
  863. - Provide a control lock around global bools to avoid racing on them.
  864. - Iterating over 1026 nonces when confirming data from the GPU is old code
  865. and unnecessary and can lead to repeats/stales.
  866. - The poclbm kernel needs to be updated to work with the change to 4k sized
  867. output buffers.
  868. - longpoll seems to work either way with post or get but some servers prefer
  869. get so change to httpget.
  870. Version 1.2.7 - July 16, 2011
  871. - Show last 8 characters of share submitted in log.
  872. - Display URL connected to and user logged in as in status.
  873. - Display current block and when it was started in the status line.
  874. - Only pthread_join the mining threads if they exist as determined by
  875. pthread_cancel and don't fail on pthread_cancel.
  876. - Create a unique work queue for all getworks instead of binding it to thread 0
  877. to avoid any conflict over thread 0's queue.
  878. - Clean up the code to make it clear it's watchdog thread being messaged to
  879. restart the threads.
  880. - Check the current block description hasn't been blanked pending the real
  881. new current block data.
  882. - Re-enable signal handlers once the signal has been received to make it
  883. possible to kill cgminer if it fails to shut down.
  884. - Disable restarting of CPU mining threads pending further investigation.
  885. - Update longpoll messages.
  886. - Add new block data to status line.
  887. - Fix opencl tests for osx.
  888. - Only do local generation of work if the work item is not stale itself.
  889. - Check for stale work within the mining threads and grab new work if
  890. positive.
  891. - Test for idle network conditions and prevent threads from being restarted
  892. by the watchdog thread under those circumstances.
  893. - Make sure that local work generation does not continue indefinitely by
  894. stopping it after 10 minutes.
  895. - Tweak the kernel to have a shorter path using a 4k buffer and a mask on the
  896. nonce value instead of a compare and loop for a shorter code path.
  897. - Allow queue of zero and make that default again now that we can track how
  898. work is being queued versus staged. This can decrease reject rates.
  899. - Queue precisely the number of mining threads as longpoll_staged after a
  900. new block to not generate local work.
  901. Version 1.2.6 - July 15, 2011
  902. - Put a current system status line beneath the total work status line
  903. - Fix a counting error that would prevent cgminer from correctly detecting
  904. situations where getwork was failing - this would cause stalls sometimes
  905. unrecoverably.
  906. - Limit the maximum number of requests that can be put into the queue which
  907. otherwise could get arbitrarily long during a network outage.
  908. - Only count getworks that are real queue requests.
  909. Version 1.2.5 - July 15, 2011
  910. - Conflicting -n options corrected
  911. - Setting an intensity with -I disables dynamic intensity setting
  912. - Removed option to manually disable dynamic intensity
  913. - Improve display output
  914. - Implement signal handler and attempt to clean up properly on exit
  915. - Only restart threads that are not stuck waiting on mandatory getworks
  916. - Compatibility changes courtesy of Ycros to build on mingw32 and osx
  917. - Explicitly grab first work item to prevent false positive hardware errors
  918. due to working on uninitialised work structs
  919. - Add option for non curses --text-only output
  920. - Ensure we connect at least once successfully before continuing to retry to
  921. connect in case url/login parameters were wrong
  922. - Print an executive summary when cgminer is terminated
  923. - Make sure to refresh the status window
  924. Versions -> 1.2.4
  925. - Con Kolivas - July 2011. New maintainership of code under cgminer name.
  926. - Massive rewrite to incorporate GPU mining.
  927. - Incorporate original oclminer c code.
  928. - Rewrite gpu mining code to efficient work loops.
  929. - Implement per-card detection and settings.
  930. - Implement vector code.
  931. - Implement bfi int patching.
  932. - Import poclbm and phatk ocl kernels and use according to hardware type.
  933. - Implement customised optimised versions of opencl kernels.
  934. - Implement binary kernel generation and loading.
  935. - Implement preemptive asynchronous threaded work gathering and pushing.
  936. - Implement variable length extra work queues.
  937. - Optimise workloads to be efficient miners instead of getting lots of extra
  938. work.
  939. - Implement total hash throughput counters, per-card accepted, rejected and
  940. hw error count.
  941. - Staging and watchdog threads to prevent fallover.
  942. - Stale and reject share guarding.
  943. - Autodetection of new blocks without longpoll.
  944. - Dynamic setting of intensity to maintain desktop interactivity.
  945. - Curses interface with generous statistics and information.
  946. - Local generation of work (xroll ntime) when detecting poor network
  947. connectivity.
  948. Version 1.0.2
  949. - Linux x86_64 optimisations - Con Kolivas
  950. - Optimise for x86_64 by default by using sse2_64 algo
  951. - Detects CPUs and sets number of threads accordingly
  952. - Uses CPU affinity for each thread where appropriate
  953. - Sets scheduling policy to lowest possible
  954. - Minor performance tweaks
  955. Version 1.0.1 - May 14, 2011
  956. - OSX support
  957. Version 1.0 - May 9, 2011
  958. - jansson 2.0 compatibility
  959. - correct off-by-one in date (month) display output
  960. - fix platform detection
  961. - improve yasm configure bits
  962. - support full URL, in X-Long-Polling header
  963. Version 0.8.1 - March 22, 2011
  964. - Make --user, --pass actually work
  965. - Add User-Agent HTTP header to requests, so that server operators may
  966. more easily identify the miner client.
  967. - Fix minor bug in example JSON config file
  968. Version 0.8 - March 21, 2011
  969. - Support long polling: http://deepbit.net/longpolling.php
  970. - Adjust max workload based on scantime (default 5 seconds,
  971. or 60 seconds for longpoll)
  972. - Standardize program output, and support syslog on Unix platforms
  973. - Suport --user/--pass options (and "user" and "pass" in config file),
  974. as an alternative to the current --userpass
  975. Version 0.7.2 - March 14, 2011
  976. - Add port of ufasoft's sse2 assembly implementation (Linux only)
  977. This is a substantial speed improvement on Intel CPUs.
  978. - Move all JSON-RPC I/O to separate thread. This reduces the
  979. number of HTTP connections from one-per-thread to one, reducing resource
  980. usage on upstream bitcoind / pool server.
  981. Version 0.7.1 - March 2, 2011
  982. - Add support for JSON-format configuration file. See example
  983. file example-cfg.json. Any long argument on the command line
  984. may be stored in the config file.
  985. - Timestamp each solution found
  986. - Improve sha256_4way performance. NOTE: This optimization makes
  987. the 'hash' debug-print output for sha256_way incorrect.
  988. - Use __builtin_expect() intrinsic as compiler micro-optimization
  989. - Build on Intel compiler
  990. - HTTP library now follows HTTP redirects
  991. Version 0.7 - February 12, 2011
  992. - Re-use CURL object, thereby reuseing DNS cache and HTTP connections
  993. - Use bswap_32, if compiler intrinsic is not available
  994. - Disable full target validation (as opposed to simply H==0) for now
  995. Version 0.6.1 - February 4, 2011
  996. - Fully validate "hash < target", rather than simply stopping our scan
  997. if the high 32 bits are 00000000.
  998. - Add --retry-pause, to set length of pause time between failure retries
  999. - Display proof-of-work hash and target, if -D (debug mode) enabled
  1000. - Fix max-nonce auto-adjustment to actually work. This means if your
  1001. scan takes longer than 5 seconds (--scantime), the miner will slowly
  1002. reduce the number of hashes you work on, before fetching a new work unit.
  1003. Version 0.6 - January 29, 2011
  1004. - Fetch new work unit, if scanhash takes longer than 5 seconds (--scantime)
  1005. - BeeCee1's sha256 4way optimizations
  1006. - lfm's byte swap optimization (improves via, cryptopp)
  1007. - Fix non-working short options -q, -r
  1008. Version 0.5 - December 28, 2010
  1009. - Exit program, when all threads have exited
  1010. - Improve JSON-RPC failure diagnostics and resilience
  1011. - Add --quiet option, to disable hashmeter output.
  1012. Version 0.3.3 - December 27, 2010
  1013. - Critical fix for sha256_cryptopp 'cryptopp_asm' algo
  1014. Version 0.3.2 - December 23, 2010
  1015. - Critical fix for sha256_via
  1016. Version 0.3.1 - December 19, 2010
  1017. - Critical fix for sha256_via
  1018. - Retry JSON-RPC failures (see --retry, under "minerd --help" output)
  1019. Version 0.3 - December 18, 2010
  1020. - Add crypto++ 32bit assembly implementation
  1021. - show version upon 'minerd --help'
  1022. - work around gcc 4.5.x bug that killed 4way performance
  1023. Version 0.2.2 - December 6, 2010
  1024. - VIA padlock implementation works now
  1025. - Minor build and runtime fixes
  1026. Version 0.2.1 - November 29, 2010
  1027. - avoid buffer overflow when submitting solutions
  1028. - add Crypto++ sha256 implementation (C only, ASM elided for now)
  1029. - minor internal optimizations and cleanups
  1030. Version 0.2 - November 27, 2010
  1031. - Add script for building a Windows installer
  1032. - improve hash performance (hashmeter) statistics
  1033. - add tcatm 4way sha256 implementation
  1034. - Add experimental VIA Padlock sha256 implementation
  1035. Version 0.1.2 - November 26, 2010
  1036. - many small cleanups and micro-optimizations
  1037. - build win32 exe using mingw
  1038. - RPC URL, username/password become command line arguments
  1039. - remove unused OpenSSL dependency
  1040. Version 0.1.1 - November 24, 2010
  1041. - Do not build sha256_generic module separately from cpuminer.
  1042. Version 0.1 - November 24, 2010
  1043. - Initial release.