NEWS 147 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021
  1. BFGMiner Version 2.8.6 - November 16, 2012
  2. - Bugfix: Never consider shares to be accepted if the submission response is an
  3. error
  4. - Bugfix: Always honour libblkmaker time limits
  5. BFGMiner Version 2.8.5 - November 7, 2012
  6. - Bugfix: modminer: Use json_object_set_new to correctly count references to
  7. per-FPGA RPC data
  8. - Changes to build prototypes to support building on FreeBSD 9.1-RC2 amd64
  9. - ztex: Silence false "unexpected" hardware errors, and don't count them as hw
  10. errors
  11. - README: Update build instructions to reflect current reality
  12. - Bugfix: ztex: Include --scan-serial option even for ztex-only builds, so it
  13. - Bugfix: dynclock: Use standard C struct initializer to handle initialization,
  14. instead of memsetting memory to nulls
  15. BFGMiner Version 2.8.4 - October 30, 2012
  16. - Bugfix: regeneratehash needs to compare hash segments in Little Endian, not
  17. Big Endian
  18. - Bugfix: Wait to release JSON result in case of JSON-RPC error until we've
  19. logged the error
  20. - Bugfix: RPC: Defer release of JSON until after cmd is used
  21. - Bugfix: Release JSON result in case of JSON-RPC error
  22. - Bugfix: Release job JSON result as soon as we are done using it
  23. - Bugfix: Release JSON received from RPC socket after we're done using it
  24. - Bugfix: Use clear_work and workdup everywhere work is copied around
  25. - modminer: Remove dead code
  26. - Bugfix: Save pool pointer to avoid dereferencing work after it might
  27. potentially be freed
  28. - Bugfix: Cleanup some harmless warnings
  29. - Bugfix: Clear work before replacing it with new, to free any pointers
  30. - Bugfix: Release job JSON result as soon as we are done using it
  31. - Bugfix: Release GBT submission JSON objects after dumping them
  32. - Bugfix: Clear work template when preparing a new request
  33. - Replace now-redundant accepted_weighed with equivalent diff_accepted
  34. - Bugfix: modminer: Check that we have a valid fd before trying to start work
  35. - Minor debian packaging fixes.
  36. BFGMiner Version 2.8.3 - October 18, 2012
  37. - Update to libblkmaker 0.1.3
  38. - Use explicit host to BE functions in scrypt code instead of hard coding
  39. byteswap everywhere.
  40. - Ease the checking on allocation of padbuffer8 in the hope it works partially
  41. anyway on an apparently failed call.
  42. - Round target difficulties down to be in keeping with the rounding of detected
  43. share difficulties.
  44. - String alignment to 4 byte boundaries and optimisations for bin<->hex
  45. conversions.
  46. - Fix GPU memory allocation size for scrypt
  47. - Fix access violation with scrypt mining
  48. - Bugfix: Only free rpc_req after using it, not before
  49. - Bugfix: Increment work->pool->staged inside of mutex to avoid work being
  50. freed (and staged decremented) before we dereference it
  51. - Revert "No need for extra variable in hash_push.": The extra variable is
  52. needed to avoid a rare dereference-after-free error.
  53. - In opencl_free_work, make sure to still flush results in dynamic mode.
  54. - Workaround: Debug log only after dec_queued, to make a free/use race more
  55. rare
  56. - Bugfix: Remove redundant \n in debug messages
  57. - Bugfix: Free rpc_req in pool_active and longpolls
  58. - README: Explicitly provide Ubuntu package name for libjansson-dev
  59. - Bugfix: Include flash_led bool in cgpu_info for Icarus-but-not-BitForce
  60. builds, since Cairnsmore uses it
  61. - Only check work block id against pool's if the pool has a known block id
  62. - Avoid clearing pool->block_id unless we really are changing pools
  63. BFGMiner Version 2.8.2 - October 8, 2012
  64. - Update to libblkmaker 0.1.2
  65. - Bugfix: --temp-target no longer has a simple default (fixes build without
  66. OpenCL support)
  67. - Bugfix: icarus: Silence false epoll error
  68. - Bugfix: icarus: Set firstrun for errors starting next job, so the current
  69. one finishes properly
  70. - Bugfix: icarus: Restore generic failure management for write errors
  71. - Use strtod not strtol for bitforce temp backup.
  72. - Cope with broken drivers returning nonsense values for bitforce temperatures.
  73. - Minor warning fixes.
  74. - Fix unused warnings on ming build.
  75. - Fix sign warning in ocl.c
  76. - fds need to be zeroed before set in modminer.
  77. - Put scrypt warning on separate line to avoid 0 being shown on windows as
  78. bufsize.
  79. - Prevent corrupt values returned from the opencl code from trying to read
  80. beyond the end of the buffer by masking the value to a max of 15.
  81. - Icarus USB write failure is also a comms error
  82. - api.c DEBUG message has no paramter
  83. - Icarus catch more USB errors and close/reopen the port
  84. - API-README update cgminer verison number
  85. - hashmeter fix stats kh/s on 32bit windows
  86. - cairnsmore: Increase maximum clock frequency to 210 Mhz
  87. - icarus: Hashrate estimates really don't need the attention of a warning,
  88. demote them to debug
  89. - cairnsmore: Automatically "downgrade" default FPGA-per-device to 1 for
  90. dynclock devices
  91. - Bugfix: cairnsmore: Get autodetection of dynclock to work consistently
  92. - cairnsmore: Adjust dynclock usage to react in proper time
  93. - dynclock: Document function usage
  94. - cairnsmore: Fix race on dynclock detection
  95. - icarus: Detect attempts to send commands via work and neuter them
  96. - cairnsmore: Glasswalker has a minimum multiplier of 20 :(
  97. - cairnsmore: Detect frequency changing support despite hashing of commands
  98. - modminer: Allow clocks down to 2 Mhz just in case
  99. - Allow device drivers and users to properly change target temperatures for
  100. non-GPUs
  101. - Check that ncurses*-config installs actually work before deciding to use
  102. them
  103. - Bugfix: Fix multiple bugs in autogen.sh
  104. - - Don't use readlink -f unneccesarily (it's not portable)
  105. - - Always run autoreconf within the real source directory
  106. - - Run configure from PWD, *not* the real source directory
  107. - Bugfix: Include nonce in data buffer for debugging
  108. - Bugfix: swap32* wants count of 32-bit blocks, not bytes
  109. - Initial Cygwin port
  110. - Revert "Remove needless roundl define.", since it is needed for Cygwin and
  111. OpenWRT
  112. - Bugfix: Deal with various compiler warnings
  113. - modminer: Implement --temp-hysteresis logic
  114. - Support for maximum frequency being below the default, eg when the maximum
  115. is temporarily reduced to deal with temperature
  116. - Bugfix: modminer: Reduce dynclock max frequency as needed to keep
  117. temperature below cutoff
  118. - Bugfix: Restore disabled label, needed to skip over hashrate calculations
  119. (which mess up otherwise)
  120. - Bugfix: bitforce: Count actual throttling as hardware errors
  121. - icarus: Allow failure in case of reopen failure, now that the miner core
  122. will retry on its own
  123. - If a device dies, attempt to reinitialize it occasionally
  124. - Bugfix: The REST flag is now preferred over WAIT, since the former might
  125. trigger the latter
  126. - Bugfix: modminer: Update temperature readings when disabled (fixes thermal
  127. cutoff recovery)
  128. - Bugfix: Move thermal cutoff to general watchdog code (fixes bitforce
  129. recovery)
  130. - Rename enable_device to register_device, since it only works for setting it
  131. up at startup
  132. - Move targettemp from ADL to cgpu_info, so all devices can readily use it
  133. - Bugfix: "REST" flag had too much padding
  134. - Bugfix: adl: Only warn and disable GPU due to thermal cutoff, if it's
  135. actually enabled
  136. - Bugfix: bitforce: Only warn and disable bitforce due to thermal cutoff, if
  137. it's actually enabled
  138. BFGMiner Version 2.8.1 - September 27, 2012
  139. - Avoid strndup for Windows compatibility
  140. - Bugfix: cairnsmore: Add missing compat.h include (for sleep)
  141. - cairnsmore: Implement "identify" for supported firmware
  142. - Adjust identify_device API to return a bool whether supported or not, for
  143. runtime capability detection
  144. - Bugfix: cairnsmore: Fix invalid share detection on LE
  145. - Bugfix: icarus: Fix logging message to not assume "Icarus" always, and use
  146. device driver name
  147. - Bugfix: cairnsmore: Correct frequency scaling detection logic
  148. - cairnsmore: When changing frequency, adjust Hs expectations accordingly
  149. - cairnsmore: Detect availability of frequency scaling, and only enable it
  150. when supported
  151. - cairnsmore: Implement dynamic clocking support for Glasswalker's bitstream
  152. - Update libblkmaker to 0.1.1
  153. - Advertise BFGMiner in blocks found by default (without --coinbase-sig)
  154. - RPC: Add "Coinbase-Sig" to config/setconfig
  155. - New --coinbase-sig option to add arbitrary data to blocks you generate (GBT
  156. only)
  157. - opencl: Defer nonce validity checking to submit_nonce
  158. - scrypt: Implement test_nonce2 and submit_nonce hw error check
  159. - Bugfix: modminer: Convert nonce to native endian
  160. - Interpret any attempts to submit a H-not-zero nonce as a hardware error
  161. - make-release: Strip DLLs and EXE in Windows binary
  162. - dynclock: Use consistent messages for frequency changes
  163. - modminer: Port to dynclock
  164. - dynclock: Split dynamic clocking algorithm out of Ztex driver
  165. - Bugfix: When changing GPU memclock, adjust internal variable so it is
  166. correctly saved to config file
  167. - Bugfix: Re-probe longpoll header for each pool alive check, including
  168. retries when a preferred protocol fails
  169. - Bugfix: modminer: Bitstream binary filenames are *.bit
  170. - modminer: Start frequency off at 200 Mhz
  171. - Reorder libztex header include order to fix missing struct definition.
  172. - Display share difficulty on log with a shortened hash display on submission.
  173. - API stats add some pool getwork difficulty stats
  174. - Ignore any pings pushed to the worker threads if the thread is still paused to
  175. prevent it being enabled and disabled repeatedly.
  176. - Test for sequential getwork failures on a pool that might actually be up but
  177. failing to deliver work as we may end up hammering it repeatedly by mistake.
  178. - reduce windows compile warnings
  179. - util.c - bug - proxy - no data end condition
  180. - API don't change 'Diff1 Shares' - backward compatability FTW
  181. - miner.php highlighting correctly handling difficulty
  182. - API - Add last share difficulty for devices and pool
  183. - Store and report Accepted,Rejected,Stale difficulty in the summary and API
  184. - WorkTime - display prevblock for scrypt
  185. - api.c remove compile warnings
  186. - Calculate work difficulty for each getwork and display with WorkTime debug
  187. - FPGA - allow long or short device names in detect code + style police
  188. - WorkTime - multiple nonce per work and identify the work source
  189. - Optional WorkTime details with each Accepted/Rejected work item
  190. - Icarus - ignore hardware errors in timing mode
  191. - miner.php oops - mistype
  192. - API pgaidentify - unsupported message should be a warning
  193. - API/BFL identify a device - currently only BFL to flash the led
  194. - BFL add throttle count to internal stats + API
  195. - BFL: missing device id in log message
  196. - Bugfix: ztex: Clear device_ztex before freeing it
  197. - Bugfix: ztex: statline existence depends on whether the libztex structure
  198. exists, not whether the cgpu is enabled
  199. - Bugfix: README: Make usermod commands consistent, including important -a
  200. option
  201. - Bugfix: Address a couple of rare TQ leaks, and improve logging a bit
  202. - Bugfix: Properly quote configure options
  203. BFGMiner Version 2.8.0 - September 15, 2012
  204. - Be specific about jansson version requirement
  205. - Replace "Alive" in pool status with protocol in use (GBT or GWork)
  206. - Remove copy of old jansson from source repository
  207. - Honour block template expiry (BIP 23 Basic Pool Extensions "expires")
  208. - Add --no-gbt option so getblocktemplate can be disabled if it causes
  209. problems
  210. - BIP 22 long polling
  211. - Properly detect pool protocol
  212. - Bugfix: Sort out work template refcounting by properly using work_free and
  213. new workcpy
  214. - Support for rolling extranonce in templates
  215. - Initial libblkmaker integration, using a git submodule
  216. - cairnsmore: There's no set hashrate like Icarus, so always use short timing
  217. mode by default
  218. - Bugfix: Include unistd.h needed for ssize_t type
  219. - fpgautils: Don't try to scan serial at all anymore, if a device is claimed
  220. - fpgautils: serial_claim function to politely ask other drivers not to try to
  221. use device
  222. - RPC: Update to work with Cairnsmore
  223. - cairnsmore: Windows autodetect using FTDI library
  224. - cairnsmore: Beginnings of new driver, with automatic upgrade from Icarus
  225. detection
  226. - icarus: Support disabling reopen quirk via --icarus-options
  227. - proxy: Replace mess of encoding proxy into pool URI with a --pool-proxy
  228. option, and use cURL's builtin proxy URI support
  229. - save individual pool proxy settings to config
  230. - API-README update for pools proxy info
  231. - CURL support for individual proxy per pool and all proxy types
  232. - Bugfix: Update current_block_id for fixed set_curblock
  233. - miner.php by default don't display IP/Port numbers in error messages
  234. - api.c all STATUS messages automatically escaped
  235. - API add display of and setting queue,scantime,expiry
  236. - README - FPGA device FAQ
  237. - API add device diff1 work
  238. - count device diff1 shares
  239. - API-README update
  240. - api.c Correct diff1 field name
  241. - Bugfix: Sanitize block hash handling (including fixing on big endian)
  242. - Bugfix: Print the (full) correct block hash when warning about work issued
  243. against old blocks
  244. - Bugfix: When comparing current block, only pay attention to the prevblock
  245. header
  246. - Allow mixing user+pass and userpass, so long as user+pass are balanced
  247. before userpass options
  248. - ztex: Include device serial number and FPGA number in cgpu name field
  249. - ztex: Abstract common cgpu_info creation code
  250. - ztex: Do thread initialization in thread_init rather than thread_prepare
  251. - Bugfix: Tolerate working on old blocks when there is only one pool enabled
  252. - Bugfix: ztex: Detect through fpgautils so -S noauto correctly inhibits
  253. autodetection
  254. - ztex: Workaround duplicate share submissions by doubling "backlog" size
  255. - ztex: Use consistent device ids for logging
  256. - Bugfix: ztex: Increment global hw_errors too
  257. - Bugfix: free adhoc string elist element when removing it from list
  258. - Bugfix: icarus: Initialize lret variable after work restart reentry
  259. - Bugfix: ztex: Free lastnonce heap memory if backlog allocation fails
  260. - icarus: Initialize epoll event structure in a way Valgrind is happier with
  261. - Bugfix: Use strtok_r for parse_config since some options use strtok
  262. themselves
  263. - Import strtok_r from gnulib for Windows portability
  264. - Bugfix: ztex: Don't try to destroy a mutex that was never created (single
  265. FPGA Ztex devices)
  266. - ztex: Clean up redundant dereferencing in ztex_shutdown
  267. - API-README more debug parameter information
  268. - API allow full debug settings control
  269. - Sort the blocks database in reverse order, allowing us to remove the first
  270. block without iterating over them. Output the block number to debug.
  271. - Adjust opencl intensity when adjusting thread count to prevent it getting
  272. pegged at a value below the minimum threads possible.
  273. - miner.h max_hashes -> int64_t
  274. - Keep the local block number in the blocks structs stored and sort them by
  275. number to guarantee we delete the oldest when ageing the block struct entries.
  276. - Use correct sdk version detection for SDK 2.7
  277. - Bugfix: Align Ztex statline properly by removing redundant frequency
  278. - make-release: Convert text files to DOS format for Windows ZIP
  279. BFGMiner Version 2.7.5 - August 27, 2012
  280. - Revert "Do a complete cgminer restart if the ATI Display Library fails, as
  281. it does on windows after running for some time, when fanspeed reporting
  282. fails."
  283. - Stop special-casing worksize default to 256 for Cypress, since it incurs a 5
  284. MH/s hit with stock config
  285. - New "--scan-serial all" feature to probe all enumerated serial ports
  286. - modminer: Revamp dynamic clocking algorithm per request from cablepair
  287. - Test for lagging once more in queue_request to enable work to leak to backup
  288. pools.
  289. - There is no need to try to switch pools in select_pool since the current pool
  290. is actually not affected by the choice of pool to get work from.
  291. - Only clear the pool lagging flag if we're staging work faster than we're using
  292. it.
  293. - needed flag is currently always false in queue_request. Remove it for now.
  294. - thr is always NULL going into queue_request now.
  295. - Fix for non-ADL OpenCL device formatting issue
  296. BFGMiner Version 2.7.4 - August 23, 2012
  297. - Perform select_pool even when not lagging to allow it to switch back if needed
  298. to the primary.
  299. - Simplify macros in output kernels avoiding apparent loops and local variables.
  300. - Carry the needed bool over the work command queue.
  301. - Move the decision to queue further work upstream before threads are spawned
  302. based on fine grained per-pool stats and increment the queued count immediately.
  303. - Track queued and staged per pool once again for future use.
  304. - OpenCL 1.0 does not have native atomic_add and extremely slow support with
  305. atom_add so detect opencl1.0 and use a non-atomic workaround.
  306. - Pools: add RollTime info to API 'stats' and 'Stats' button in miner.php
  307. BFGMiner Version 2.7.3 - August 23, 2012
  308. - Minimise the number of getwork threads we generate.
  309. - Pick worksize 256 with Cypress if none is specified.
  310. - Give warning with sdk2.7 and phatk as well.
  311. - Whitelist sdk2.7 for diablo kernel as well.
  312. - Only keep the last 6 blocks in the uthash database to keep memory usage
  313. constant. Storing more is unhelpful anyway.
  314. - Increase kernel versions signifying changed APIs.
  315. - BFL flash - more FPGA-README
  316. - Check we haven't staged work while waiting for a curl entry before proceeding.
  317. - Use atomic ops to never miss a nonce on opencl kernels, including nonce==0,
  318. also allowing us to make the output buffer smaller.
  319. - Remove compile errors/warnings and document compile/usage in FPGA-README
  320. - Ignore the submit_fail flag when deciding whether to recruit more curls or not
  321. since we have upper bounds on how many curls can be recruited, this test is
  322. redundant and can lead to problems.
  323. - API-README update cgminer version number
  324. - API-README fix groups P: example mistake
  325. - API-README add COIN and other edits
  326. - miner.php allow 'coin' is custom pages
  327. BFGMiner Version 2.7.1 - August 22, 2012
  328. - Update windows build instructions courtesy of sharky.
  329. - Increase max curls to number of mining threads + queue * 2, accounting for up
  330. and downstream comms.
  331. - Queue enough requests to get started.
  332. - There is no point trying to clone_work in get_work() any more since we clone
  333. on every get_work_thread where possible.
  334. - There is no point subtracting 1 from maxq in get_work_thread.
  335. - miner.php allow page title to be defined in myminer.php
  336. - Only set lagging flag once there are no staged work items.
  337. - select_pool does not switch back to the primary once lagging is disabled.
  338. - Increment total work counter under mutex lock.
  339. - Increment the queued count after the curl is popped in case there's a delay
  340. waiting on curls and we think we've queued work when in fact we're waiting on
  341. curls.
  342. - Do the dynamic timing in opencl code over a single pass through scanhash to
  343. make sure we're only getting opencl times contributing to the measured
  344. intervals.
  345. - Increase curl reaping time to 5 minutes since comms between curl requests can
  346. be 2 mins apart with lots of rolltime.
  347. - No need for extra variable in hash_push.
  348. - Remove short options -r and -R to allow them to be reused and remove readme
  349. entries for deprecated options.
  350. - Deprecate the opt_fail_pause parameter, leaving a null placeholder for
  351. existing configurations.
  352. - Free work before retrying in get_work_thread.
  353. - Don't pause after failed getwork, set lagging flag and reassess.
  354. - We should not be pausing in trying to resubmit shares.
  355. - Get rid of the extending fail pause on failed connects since we discard work
  356. after a period.
  357. - get_work always returns true so turn it into a void function.
  358. - get_work never returns false so get rid of fail pause loop.
  359. - Get rid of pause and retry from get_upstream_work so we only do it from one
  360. place.
  361. - Remove all cases where --retries aborts BFGMiner, making it for submission
  362. retries only, where it makes sense.
  363. BFGMiner Version 2.7.0 - August 21, 2012
  364. - Implement a new pool strategy, BALANCE, which monitors work performed per pool
  365. as a rolling average every 10 minutes to try and distribute work evenly over all
  366. the pools. Do this by monitoring diff1 solutions to allow different difficulty
  367. target pools to be treated equally, along with solo mining. Update the
  368. documentation to describe this strategy and more accurately describe the
  369. load-balance one.
  370. - fpga serial I/O extra debug (disabled by default)
  371. - Getwork fail was not being detected. Remove a vast amount of unused variables
  372. and functions used in the old queue request mechanism and redefine the getfail
  373. testing.
  374. - Consider us lagging only once our queue is almost full and no staged work.
  375. - Simplify the enough work algorithm dramatically.
  376. - Only queue from backup pools once we have nothing staged.
  377. - Don't keep queueing work indefinitely if we're in opt failover mode.
  378. - Make sure we don't opt out of queueing more work if all the queued work is
  379. from one pool.
  380. - Set lagging flag if we're on the last of our staged items.
  381. - Reinstate clone on grabbing work.
  382. - Grab clones from hashlist wherever possible first.
  383. - Cull all the early queue requests since we request every time work is popped
  384. now.
  385. - Keep track of staged rollable work item counts to speed up clone_available.
  386. - Make expiry on should_roll to 2/3 time instead of share duration since some
  387. hardware will have very fast share times.
  388. - Check that we'll get 1 shares' worth of work time by rolling before saying we
  389. should roll the work.
  390. - Simplify all those total_secs usages by initialising it to 1 second.
  391. - Overlap queued decrementing with staged incrementing.
  392. - Artificially set the pool lagging flag on pool switch in failover only mode as
  393. well.
  394. - Artificially set the pool lagging flag on work restart to avoid messages about
  395. slow pools after every longpoll.
  396. - Factor in opt_queue value into enough work queued or staged.
  397. - Roll work whenever we can on getwork.
  398. - Queue requests for getwork regardless and test whether we should send for a
  399. getwork from the getwork thread itself.
  400. - Get rid of age_work().
  401. - Don't try to get bitforce temperature if we're polling for a result to
  402. minimise the chance of interleaved responses.
  403. - Fix harmless unused warnings in scrypt.h.
  404. - Check we are not lagging as well as there is enough work in getwork.
  405. BFGMiner Version 2.6.5 - August 20, 2012
  406. - API new command 'coin' with mining information
  407. - Add message to share if it's a resubmit.
  408. - Add virtual adl mapping for when none is specified on the command line to
  409. not crash without a map specified.
  410. - Fix ADL gpu-map not working when there are more ADL devices than openCL.
  411. Patch supplied and tested by Nite69.
  412. - bitforce: Initial import of Linux-only bitforce-firmware-flash utility
  413. - Revert stale-on-arrival failsafe, since it ends up needing exceptions for
  414. everything
  415. - Bugfix: opencl: Declare opencl_dynamic_cleanup in header
  416. - Even if we want to submit stale shares, give up if we have more submissions
  417. waiting on threads (even before failing)
  418. - Even if we want to submit stale shares, give up if they've failed and we
  419. have more submissions waiting on threads
  420. - opencl: Use timeBeginPeriod on Windows to ensure gettimeofday has sufficient
  421. precision for dynamic intensity
  422. - Bugfix: opencl: Move ADL fanspeed warning messages to a new thread to get
  423. around summary-update deadlocking
  424. - README: Note that user groups don't get updated until re-login
  425. - Initialise cnt in libztex.c
  426. - Don't try to start devices that don't support scrypt when scrypt mining.
  427. - Repeating on timeout in ztex could make the code never return.
  428. - Offset libusb reads/writes by length written as well in ztex.
  429. - Cope with timeouts and partial reads in ztex code.
  430. - If there are more devices than nDevs, don't iterate over them as they may
  431. overwrite devices mapped below that with the mapping option.
  432. - Fix README faq on bfl auto-detect.
  433. - Set memory clock based on memdiff if present from with engine changes,
  434. allowing it to parallel manual changes from the menu as well.
  435. - api.c typo
  436. - API allow display/change failover-only setting
  437. - API-README corrections
  438. - miner.php documentation (in API-README) v0.1
  439. - Bugfix: opencl: Show blank device-info statline area if GPU doesn't have
  440. ADL, to fix column alignment
  441. - README: Document usage of 0 to indicate "leave at default" for comma-
  442. delimited GPU options
  443. - Correct API-README versions to match when BFGMiner included them
  444. - API-README update changelog
  445. - Minimise locking and unlocking when getting counts by reusing shared mutex
  446. lock functions.
  447. - Avoid getting more work if by the time the getwork thread is spawned we find
  448. ourselves with enough work.
  449. - The bitforce buffer is cleared and hw error count incremented on return from a
  450. failed send_work already so no need to do it within the send_work function.
  451. - Don't make mandatory work and its clones last forever.
  452. - modminer: Log debug info for nonces found
  453. BFGMiner Version 2.6.4 - August 11, 2012
  454. - Bugfix: Define my_cancellable_getch in miner.h
  455. - Escape " and \ when writing json config file
  456. - miner.php allow a custom page section to select all fields with '*' - e.g. to
  457. create a STATS section on a custom page
  458. - miner.php optional single rig totals (on by default)
  459. - Bugfix: Initialize submitting mutex
  460. - Bugfix: bitforce: Allocate enough space for FTDI description pointers
  461. - Queue one request for each staged request removed, keeping the staged
  462. request count optimal at all times.
  463. - Bugfix: Avoid cancelling threads while locks are held
  464. - Set recognizable names on threads for debugging
  465. - Bugfix: Don't keep making new get_work threads if all pools are dead
  466. - Enable configuring submission thread limit with --submit-threads option
  467. - Bugfix: Limit active submission threads to 0x40 so we don't overflow
  468. - Bugfix: Properly handle switching to pools that aren't on the latest block,
  469. and warn if a pool actively switches to an old block
  470. - Log more details of reasons in stale_work debug messages
  471. - Failsafe against stale-on-arrival work: disable the pool
  472. - Bugfix: Debug message should show "Work stale due to work restart" when it's
  473. not a share
  474. - windows-build: Remove APP SDK section since it is no longer needed
  475. - modminer: HACK: Let last_work handle the end of the work, and start the next
  476. one immediately
  477. - Bugfix: modminer: Remove erroneous "else" statement, to fix hashrate
  478. reporting
  479. - README: Document user group required for FPGAs on Gentoo and Ubuntu
  480. - BFGMiner-specific README adjustments
  481. - Bugfix: opencl: Ignore error getting device ids from platforms unless they
  482. are explicitly chosen
  483. - New --debuglog option to include debug info in stderr logfile even if not in
  484. the console
  485. - Bumped down debhelper compatibility reqs so that this will build on Lucid.
  486. - Updated to match packaging changes.
  487. - Switched to native packages so we don't have to muck around creating fake
  488. upstream tarballs, and can easily generate minor versions for upload to
  489. Launchpad.
  490. - Removed accidentally included debugging line.
  491. - Minor version bump again because of launchpad. Will sort this out for next
  492. release.
  493. - Updated to patch bitforce module issue on Debian/Ubuntu.
  494. - Added local quilt config dir to ignore.
  495. - modminer: Check nonce against previous work, in case of race
  496. - Bugfix: Enable --kernel-path option if ModMiner or Ztex is enabled (even if
  497. no OpenCL)
  498. - Bugfix: Escape backslashes and double-quotes in strings that rightfully may
  499. have them, when writing JSON config file
  500. - Clean object (.o) and dependency (.d) files out of source tree
  501. - Bugfix: bitforce: Don't count hashes that never happened due to throttling
  502. - Bugfix: Deal with serial_open timeout maximum (25.5s)
  503. - - fpgautils: Linux only supports uint8_t decisecond values for timeouts, so
  504. use uint8_t for timeout value; this gets smart compilers to throw warnings
  505. when overflowed in some cases
  506. - - bitforce: Reduce serial timeout to 25 seconds (was 30) and increase job
  507. long timeout to 25 seconds (was 15) to handle throttling gracefully
  508. - modminer: Add debug info to API extra device stats
  509. - modminer: Raise clock speed when there's only good nonces for a while
  510. - modminer: Only print clock speed adjustments when they actually change
  511. - modminer: Increase tolerance for bad nonces to 2%
  512. - modminer: Reset bad-nonce ratio measurement when the clock speed changes
  513. - Bugfix: bitforce: Include the correct device id in "garbled response" warning
  514. - ADL: Add attribution and disclaimer to interfaces
  515. - Cleaned out refs to AMD SDKs.
  516. - Updated README about debian packaging, changelog with minor version bump to
  517. work around Launchpad reqs.
  518. - Updated changelog with Ubuntu release specific version, needed to build for
  519. multiple releases. Also stripped out ADL SDK stuff in the build rules.
  520. - Initial work to adjust debian packaging from cgminer. Should build correctly
  521. now with pbuilder/pdebuild, and include docs.
  522. - Adapt miner code to free ADL structures
  523. - Import free ADL interfaces
  524. - Include scrypt.h in Makefile.
  525. - Fix windows bitforce build.
  526. - Convert the serial autodetect functions to use int instead of char to
  527. enumerate devices.
  528. - Uglify windows autodetect code for BFL.
  529. - There is no point zeroing temperature in BFL if we fail to get a response, and
  530. we should register it as a HW error, suggesting throttling.
  531. - Update SCRYPT README with information about HW errors.
  532. - Use the scrypt CPU code to confirm results from OCL code, and mark failures as
  533. HW errors, making it easier to tune scrypt parameters.
  534. - We may as well leave one curl still available per pool instead of reaping the
  535. last one.
  536. - Display reaped debug message outside mutex lock to avoid recursive locking.
  537. - api.c update API start message and include port number
  538. - miner.php ignore arg when readonly
  539. - miner.php allow pool inputs: delete, addpool, poolpriority
  540. - bitforce: Reopen on communication error
  541. - Bugfix: Calculate hw err percent for the affected FPGA only
  542. - make-release: Adapt to new autogen by using NOCONFIGURE var
  543. BFGMiner Version 2.6.3 - August 6, 2012
  544. - modminer: Relax no-nonces downclocking condition to be more reasonable
  545. - README: Update scrypt configure option
  546. - README: Update configure options
  547. - Bugfix: Display --disable-modminer in configure --help now that it is
  548. enabled by default
  549. - Add specific information when ADL detects error -10 saying the device is not
  550. enabled.
  551. - modminer: Shorten upload warning message to fit better
  552. - modminer: Sending a "ping" first, to workaround bug in new firmware betas
  553. - modminer: Include Hardware Errors and Valid Nonces in extra device status
  554. - Bugfix: modminer: Calculate bad-nonce percentage based only on the same
  555. FPGA's hardware errors, accurately
  556. - modminer: Show bitstream upload progress in statline, and only report to log
  557. every 10%
  558. - modminer: Be more verbose about why the clock is getting reduced
  559. - Document how Icarus golden nonce is handled by other FPGAs
  560. - Rewrite should_run for sched, to properly handle one-shot schedules spanning
  561. midnight
  562. - Bugfix: Check list_empty in pop_curl_entry after condition wait
  563. - Bugfix: Only add new pools to array after completing basic structure
  564. initialization
  565. - If __BFGMINER_SEGFAULT_ERRQUIT is set in the environment, segfault on
  566. non-zero quit()s
  567. - Check against NULL pointers getting into curlring
  568. - modminer: Finish a process results run with a nonce poll, rather than sleep
  569. - modminer: Workaround Windows driver failures
  570. - Count likely throttling episodes on bitforce devices as hardware errors.
  571. - Bugfix: bitforce: Increase serial read timeout to 30 seconds during actual
  572. mining, to tolerate more throttling
  573. - Style cleanups.
  574. - Make pool_disabled the first in the enums == 0, fixing the pool enabled count
  575. which compares if value is not enabled before enabling it.
  576. - Correct writing of scrypt parameters to config file based on command line
  577. parameters only.
  578. - Add scrypt support while writing conf
  579. - Use different variables for command line specified lookup gap and thread
  580. concurrency to differentiate user defined versus auto chosen values.
  581. - Queue a request on pool switch in case we have no work from the new pool yet.
  582. - API remove unused warning in non-GPU compile
  583. - api.c in linux allow to open a closed socket in TIME_WAIT
  584. - Display failover only mode in pool menu and allow it to be toggled live.
  585. - Reinstate check for system queueing lag when the current pool's queue is maxed
  586. out, there is no staged work, and the work is needed now.
  587. - Fix harmless warnings.
  588. - Check the current staged and global queued as well before queueing requests.
  589. Discard stales before ageing work in the watchdog thread. Queue requests after
  590. discarding and ageing work in watchdog thread. Display accurate global queued in
  591. curses output. Reuse variable in age_work().
  592. - The queueing mechanism has become a complex state machine that is no longer
  593. predictable. Rewrite it from scratch watching only current queues in flight and
  594. staged work available on a pool by pool basis.
  595. - Update debian package configs to v2.6.2
  596. - Queue an extra request whenever staged work drops below mining thread count in
  597. hash_pop.
  598. - Bugfix: Initialize logwin to 1 line high temporarily, to avert PDCurses crash
  599. - Enable FPGA support by default, as long as their dependencies are met
  600. - Bugfix: modminer: Search for *ModMiner* in udev ID_MODEL
  601. - make-release: build with --enable-scrypt
  602. - miner.php support custom report section joins
  603. - ICA default fpga_count to work_division if specified
  604. - FPGA-README document new hidden --icarus-options
  605. - ICA support 57600 baud rate, up to 8 FPGA and partial working FPGA boards
  606. - Scrypt mining does not support block testing yet so don't try to print it.
  607. - Clear the bitforce buffer whenever we get an unexpected result as it has
  608. likely throttled and we are getting cached responses out of order, and use the
  609. temperature monitoring as a kind of watchdog to flush unexpected results.
  610. - It is not critical getting the temperature response in bitforce so don't
  611. mandatorily wait on the mutex lock.
  612. - Check there is a cutoff temp actually set in bitforce before using it as a cut
  613. off value otherwise it may think it's set to zero degrees.
  614. - We dropped the temporary stopping of curl recruiting on submit_fail by
  615. mistake, reinstate it.
  616. - Make threads report in either side of the scanhash function in case we miss
  617. reporting in when restarting work.
  618. - Add debugging output when work is found stale as to why.
  619. - Print the 3 parameters that are passed to applog for a debug line in
  620. bitforce.c
  621. - Clear bitforce buffer on init as previously.
  622. - Add some headroom to the number of curls available per pool to allow for
  623. longpoll and sendwork curls.
  624. - Show the correct base units on GPU summary.
  625. - Bugfix: bitforce: 1 decisecond timeout is unreasonably short, give it a
  626. second
  627. - Bugfix: Don't try to log abandon time, since we aren't keeping track
  628. reasonably
  629. - Import uthash 1.9.6
  630. - Bugfix: bitforce: Pause after send_work failures
  631. - Fix comm error handling to not consider work restarts an error condition
  632. - comm error bug fix
  633. - Bugfix: No endian.h on Windows
  634. - Remove unused mkinstalldirs
  635. - Display scrypt as being built in as well.
  636. - Fix build warning about KL_SCRYPT when built without scrypt support.
  637. - News update.
  638. - More scrypt intensity information.
  639. - Minor readme updates.
  640. - Update README with more build instructions.
  641. - Remove the low hash count determinant of hardware being sick. A low hash rate
  642. can be for poor network connectivity or scrypt mining, neither of which are due
  643. to sick hardware.
  644. - Style
  645. - API-README poolpriority changes
  646. - api.c verify poolpriority parameters before changing pools
  647. - api.c poolpriority changes
  648. - Implement shared swap32(yes|tole|tobe) function to handle endian flipping
  649. 32-bit chunks in blocks
  650. - Use correct macros for endian handling code
  651. BFGMiner Version 2.6.1 - July 29, 2012
  652. - Autoselect --scrypt iff all pools send scrypt work
  653. - Adapt SCRYPT-README to BFGMiner (directing Bitcoin donations the correct
  654. direction to reach Con)
  655. - Remove mentions of Litecoin specifically
  656. - Bugfix: Fix build without OpenCL but with scrypt
  657. - make-release: Add SCRYPT-README
  658. - Bump version 2.6.0, adding SCRYPT README to makefile.
  659. - Smarter autogen.sh script.
  660. - Sleeping on intensity decrease is broken, remove it.
  661. - Sleep only the extra amount of time we overran the dynamic interval in dynamic
  662. mode.
  663. - Add scrypt documentation in the form of a separate readme.
  664. - Fix build error without scrypt enabled.
  665. - Limit thread concurrency for scrypt to 5xshaders if shaders is specified.
  666. - Simplify repeated use of gpus[gpu]. in ocl.c
  667. - Find the nearest power of 2 maximum alloc size for the scrypt buffer that can
  668. successfully be allocated and is large enough to accomodate the thread
  669. concurrency chosen, thus mapping it to an intensity.
  670. - Don't make opt_scrypt mandatory blocking with opencl code.
  671. - Update kernel versions reflecting changes in the API.
  672. - Make the thread concurrency and lookup gap options hidden on the command line
  673. and autotune parameters with a newly parsed --shaders option.
  674. - Fix target testing with scrypt kernel as it would have been missing shares
  675. below target.
  676. - Always create the largest possible padbuffer for scrypt kernels even if not
  677. needed for thread_concurrency, giving us some headroom for intensity levels.
  678. - Use the detected maximum allocable memory on a GPU to determine the optimal
  679. scrypt settings when lookup_gap and thread_concurrency parameters are not given.
  680. - Check the maximum allocable memory size per opencl device.
  681. - Add debugging output if buffer allocation fails for scrypt and round up
  682. bufsize to a multiple of 256.
  683. - Nonce testing for btc got screwed up, leading to no accepted shares. Fix it.
  684. - Display size of scrypt buffer used in debug.
  685. - Allow intensities up to 20 if scrypt is compiled in.
  686. - Add name to scrypt kernel copyright.
  687. - Allow lookup gap and thread concurrency to be passed per device and store
  688. details in kernel binary filename.
  689. - Ignore negative intensities for scrypt.
  690. - Change the scale of intensity for scrypt kernel and fix a build warning.
  691. - Correct target value passed to scrypt kernel.
  692. - Use 256 output slots for kernels to allow 1 for each worksize.
  693. - Test the target in the actual scrypt kernel itself saving further
  694. calculations.
  695. - Reinstate GPU only opencl device detection.
  696. - Decrease lookup gap to 1. Does not seem to help in any way being 2.
  697. - Fix build.
  698. - Make pad0 and pad1 local variable in scrypt kernel.
  699. - Constify input variable in scrypt kernel.
  700. - Send correct values to scrypt kernel to get it finally working.
  701. - Create command queue before compiling program in opencl.
  702. - Fix external scrypt algo missing.
  703. - Limit scrypt to 1 vector.
  704. - Handle KL_SCRYPT in config write.
  705. - Get rid of stuff.
  706. - Don't enqueuewrite buffer at all for pad8 and pass work details around for
  707. scrypt in dev_blk.
  708. - Set the correct data for cldata and prepare for pad8 fixes.
  709. - Get rid of spaces in arrays in scrypt kernel.
  710. - Start with smaller amount of hashes in cpu mining to enable scrypt to return
  711. today sometime.
  712. - Free the scratchbuf memory allocated in scrypt and don't check if CPUs are
  713. sick since they can't be. Prepare for khash hash rates in display.
  714. - Add cpumining capability for scrypt.
  715. - Set scrypt settings and buffer size in ocl.c code to be future modifiable.
  716. - Cope with when we cannot set intensity low enough to meet dynamic interval by
  717. inducing a forced sleep.
  718. - Make dynamic and scrypt opencl calls blocking.
  719. - Fix nonce submission code for scrypt.
  720. - Make sure goffset is set for scrypt and drop padbuffer8 to something
  721. manageable for now.
  722. - Set up buffer8 for scrypt.
  723. - Build fix for opt scrypt.
  724. - Don't check postcalc nonce with sha256 in scrypt.
  725. - Don't test nonce with sha and various fixes for scrypt.
  726. - Make scrypt buffers and midstate compatible.
  727. - Use specific output array entries in scrypt kernel.
  728. - Provide initial support for the scrypt kernel to compile with and mine scrypt
  729. with the --scrypt option.
  730. - Enable completely compiling scrypt out.
  731. - Begin import of scrypt opencl kernel from reaper.
  732. BFGMiner Version 2.5.3 - July 29, 2012
  733. - Bugfix: Add zlib1.dll to Win32 release archive
  734. - Bugfix: SICK low-hashrate is now determined by being under 1/3 the runtime
  735. average hashrate
  736. - Bugfix: cpu_set_t is never #defined, so use CPU_ZERO which is a macro
  737. BFGMiner Version 2.5.2 - July 29, 2012
  738. - Limit total number of curls recruited per pool to the number of mining threads
  739. to prevent blasting the network when we only have one pool to talk to.
  740. - Bugfix: Skip writing configuration of range-limited int options with negative
  741. values
  742. - Bugfix: Correctly attempt to load ~/.bfgminer/bfgminer.conf or
  743. ~/.cgminer/cgminer.conf as defaults
  744. - Send X-Minimum-Wait header on longpolls, to explicitly inform pools we will
  745. handle a response with no delay
  746. - bitforce: Abandon (only) stale searches for work restarts
  747. - Keep a counter of enabled pools and use that instead of iterating over the
  748. pool list. Use that value to ensure we don't set the last remaining active pool
  749. to the rejecting state.
  750. - bitforce: Skip out of sending work if work restart requested
  751. - RPC: Writeup on poolpriority command usage
  752. - Bugfix: API: Report errors from poolpriority command
  753. - RPC: New "poolpriority" command to set the order of pool priorities
  754. - strtok_ts: Thread-safe strtok that work on POSIX or Windows
  755. - Bugfix: Supress "caught up" event when first switching to a pool
  756. - Announce and restart work immediately when current pool has caught up to the
  757. current block
  758. - Bugfix: Don't consider work stale due to other pools' longpolls, if
  759. --failover-only is active
  760. - Refactor stale_work function to only flag actual stale shares
  761. - stale_work: Don't factor getwork delay into expiry for shares (only for work
  762. itself)
  763. - Bugfix: Use pool number rather than numeric pointer to strict pool, in block
  764. found notice
  765. - Accept JSON Numbers in config file parameters
  766. - Improve readability of OPT_HASARG in parse_config
  767. - Allow JSON false as a valid value for strictly boolean options
  768. - Include scan-serial in example configuration file
  769. - fpgautils: add support for 57.6 kBd serial
  770. - miner.php add a socket RCV timeout for if cgminer is hung and the API thread
  771. is still running
  772. - BFL force all code to timeout to avoid hanging
  773. - Detach pthread from within the api thread in case it is terminated due to not
  774. being instantiated before pthread_cancel is called from main, leading to a
  775. segfault.
  776. - Initialise mdplatform.
  777. - Find the gpu platform with the most devices and use that if no platform option
  778. is passed.
  779. - Allow more platforms to be probed if first does not return GPUs.
  780. - Bugfix: It is not a hardware error if nonces returned from modminer don't
  781. meet the pool target
  782. - bitforce & icarus: Log detection failures at debug log level, so we don't
  783. confuse users who have different devices (which is why these drivers are
  784. failing detection!)
  785. - Show "WAIT" (LIFE_WAIT status) if a cgpu is idle waiting for work (pool
  786. slow/dead)
  787. - Instead of quitting on failing N retries, just discard the share
  788. - Bugfix: Don't discard stale shares after submission failure, if user or pool
  789. wants stales submitted
  790. - Bugfix: Record discard-during-retry shares in the sharelog
  791. - Bugfix: Only show Algorithm in RPC summary if CPU mining is actually active
  792. - OpenCL: Remove intensity from statline, since it overflowed
  793. - Move "Q" (requested getworks) to second status line as "GW" to balance out
  794. better
  795. - Bugfix: Use a mutex to control non-curses output
  796. - Simplify code to a single vprintf path for curses-less printing
  797. - Move opt_quiet check to my_log_curses, so it works for curses-less builds
  798. - Use log_generic for vapplog to cut down on code duplication
  799. - Add space to log output now that there is more screen real estate available.
  800. - Bugfix: Copy argv[0] given to dirname()
  801. - Find the gpu platform with the most devices and use that if no platform
  802. option is passed.
  803. - Allow more platforms to be probed if first does not return GPUs.
  804. - Detach pthread from within the api thread in case it is terminated due to not
  805. being instantiated before pthread_cancel is called from main, leading to a
  806. segfault.
  807. - Debug output per thread hashrate is out by a factor of 1000.
  808. - Don't check if CPUs are sick since they can't be.
  809. - Calculate midstate in separate function and remove likely/unlikely macros
  810. since they're dependent on pools, not code design.
  811. - Display in debug mode when we're making the midstate locally.
  812. - Bugfix: Document --no-adl and --gpu-platform
  813. - Bugfix: Remove redundant documentation of --auto-fan and --auto-gpu (they
  814. are in GPU-specific options)
  815. - CPU mining may not be included in binaries, but it's not deprecated for
  816. BFGMiner either
  817. - Bugfix: Restore case-insensitivity to input
  818. - Scroll the device list with up/down arrow keys, if it is overflowed
  819. - Use select statement to handle input
  820. - Bugfix: Actually check that the device fits in the individual summary window
  821. before trying to print it
  822. - Bugfix: Fix build without curses but with OpenCL
  823. - Bugfix: Don't show a Temperature key if it isn't known
  824. - BFGMiner-specific NEWS fix
  825. BFGMiner Version 2.5.1 - July 13, 2012
  826. - Replace CPU Algo in header with runtime
  827. - Bugfix: Calculate diff-1 utility to fix utility-hashrate on pools with
  828. diff!=1
  829. - Add utility hashrate to curses display
  830. - Show units in kh, Gh, Th, etc as needed to use at most 3 integer digits
  831. - Use FTD2XX.DLL on Windows to autodetect BitFORCE SHA256 devices
  832. - bitforce_get_result returns -1 on error now.
  833. - Check return value of read in BFgets
  834. - Bugfix: modminer: Count hashes done before work restart
  835. - Bugfix: modminer: Adapt "get nonce" error condition to new scanhash=>-1
  836. error API
  837. - Bugfix: Make our Windows nanosleep/sleep replacements standards-compliant
  838. (which fixes nmsleep) and include compat.h for bitforce (for sleep)
  839. - miner.php fix rig # when miners fail
  840. - Fix whitespace mangling.
  841. - bitforce: Use "full work" vs "nonce range" for kernel name
  842. - Abbrv. correction
  843. - Remove superfluous ave_wait
  844. - Put kname change for broken nonce-range back in
  845. - Add average wait time to api stats
  846. - Revert "Merge branch 'ave_time' of https://github.com/pshep/cgminer.git"
  847. - Add average return time to api stats
  848. - Missed one nonce-range disabling.
  849. - Remove bitforce_thread_init The delay thing does nothing useful... when long
  850. poll comes around, all threads restart at the same time anyway.
  851. - Change timeouts to time-vals for accuracy.
  852. - More BFL tweaks. Add delay between closing and reopening port. Remove buffer
  853. clear in re-init Add kernel type (mini-rig or single)
  854. - Revert "Change BFL driver thread initialising to a constant 100ms delay
  855. between devices instead of a random arrangement."
  856. - Only try to shut down work cleanly if we've successfully connected and started
  857. mining.
  858. - Fix spelling.
  859. - modminer: Firmware returns 0xffffff00 immediately if we set clockspeed too
  860. high
  861. - Bugfix: modminer: Actually count good shares
  862. - Bugfix: Adapt OpenCL scanhash errors to driver API change (errors are now -1,
  863. not 0)
  864. - Remove bitforce_thread_init The delay thing does nothing useful... when long
  865. poll comes around, all threads restart at the same time anyway.
  866. - fix API support for big endian machines
  867. - Bugfix: Use const struct device_api* for mt_disable
  868. - modminer: Show progress of bitstream upload
  869. - Bugfix: Don't declare devices SICK if they're just busy initializing
  870. - Bugfix: Calculate nsec in nmsleep correctly
  871. - miner.php allow rig names in number buttons
  872. - Change BFL driver thread initialising to a constant 100ms delay between
  873. devices instead of a random arrangement.
  874. - Spelling typo.
  875. - Time opencl work from start of queueing a kernel till it's flushed when
  876. calculating dynamic intensity.
  877. - Modify te scanhash API to use an int64_t and return -1 on error, allowing zero
  878. to be a valid return value.
  879. - Check for work restart after the hashmeter is invoked for we lose the hashes
  880. otherwise contributed in the count.
  881. - Remove disabled: label from mining thread function, using a separate
  882. mt_disable function.
  883. - Style changes.
  884. - Cope with signals interrupting the nanosleep of nmsleep.
  885. - Use standard cfsetispeed/cfsetospeed to set baud rate on *nix
  886. - miner.php split() flagged deprecated in PHP 5.3.0
  887. - Bugfix: Use nmsleep instead of restart_wait, so we always wait the full time
  888. - Make long timeout 10seconds on bitforce for when usleep or nanosleep just
  889. can't be accurate...
  890. BFGMiner Version 2.5.0 - July 7, 2012
  891. - Fix BitFORCE driver to not silenty discard valid shares (bug introduced by
  892. CGMiner merges)
  893. - Fix --benchmark not working since the dynamic addition of pools and pool
  894. stats.
  895. - Make disabling BFL nonce range support a warning since it has to be explicitly
  896. enabled on the command line now.
  897. - miner.php allow renaming table headers
  898. - Make bitforce nonce range support a command line option --bfl-range since
  899. enabling it decrease hashrate by 1%.
  900. - Add sanity checking to make sure we don't make sleep_ms less than 0 in
  901. bitforce.
  902. - The fastest minirig devices need a significantly smaller starting sleep time.
  903. - Use a much shorter initial sleep time to account for faster devices and nonce
  904. range working, and increase it if nonce range fails to work.
  905. - Use nmsleep instead of usleep in bitforce.
  906. - Provide a ms based sleep function that uses nanosleep to avoid the inaccuracy
  907. of usleep on SMP systems.
  908. - delay_time_ms is always set so need not be initialised in bitforce.
  909. - Increase bitforce timeout to 10 seconds.
  910. - Add more hysteresis and poll ~5 times to allow for timer delays in bitforce
  911. devices.
  912. - miner.php allow alternating line colours (off by default)
  913. - Display the actual duration of wait when it is greater than the cutoff.
  914. - Set nonce to maximum once we determine nonce range support is broken.
  915. - Initial wait time is always known so no need to zero it beforehand in
  916. bitforce.
  917. - No point counting wait time until the work is actually sent to bitforce
  918. devices.
  919. - Use string comparison functions instead of explicit comparisons.
  920. - Account for wait_ms time when nonce_range is in use on BFL.
  921. - Split nonces up into 1/5 chunks when nonce range is supported.
  922. - limit clear buffer iterations.
  923. - Ad fd check to clear buffer.
  924. - miner.php remove incorrect 'DATE' error message
  925. - miner.php allow summary header in custom pages
  926. - Disable nonce range support in BFL when broken support is detected.
  927. - Restart_wait is only called with a ms value so incorporate that into the
  928. function.
  929. - Only try to adjust dev width when curses is built in.
  930. - miner.php define custom sum fields as a simple array
  931. - Fix off-by-one error in nonce increment in bfl.
  932. - Use BE when setting nonce in bitforce nonce range work.
  933. - Enable nonce range in the normal init sequence for bfl.
  934. - Queue extra work at 2/3 differently depending on whether we're using nonce
  935. range or not.
  936. - Initially enable support for nonce range support on bfl, splitting nonces up
  937. into 3/4 size and only disable it if it fails on work submit.
  938. - Attempt to detect nonce range support in BFL by sending work requring its
  939. support.
  940. - Limit retrying on busy for up to BITFORCE_TIMEOUT_MS
  941. - Attempt to initialise while bitforce device returns BUSY.
  942. - Extend length of string that can be passed to BFL devices.
  943. - Fix signedness warning.
  944. - Adjust device width column to be consistent.
  945. - Use cgpu-> not gpus[] in watchdog thread.
  946. - Add api stats (sleep time)
  947. - Timing tweaks Added long and short timeouts, short for detecting throttling,
  948. long to give up totally. Reset sleep time when device re-initialised Still check
  949. results after timeout Back up a larger time if result on first poll.
  950. - Add API Notify counter 'Comms Error'
  951. - Style police on api.c
  952. - Do all logging outside of the bitforce mutex locking to avoid deadlocks.
  953. - Remove applog call from bfwrite to prevent grabbing nested mutexes.
  954. - Bitforce style changes.
  955. - Minor style changes.
  956. - Remove needless roundl define.
  957. - Made JSON error message verbose.
  958. - Fine-tune timing adjustment. Also remove old work_restart timing.
  959. - Check for gpu return times of >= 0, not just 0, to fix intensity dropping to
  960. -10.
  961. - Restart is zeroed in the mining thread so no need to do it inside the bitforce
  962. code.
  963. - More improvements to comms. BFL return nothing when throttling, so should not
  964. be considered an error. Instead repeat with a longer delay.
  965. - Polling every 10ms there's not much point checking the pthread_cond_timedwait
  966. as it just adds overhead. Simply check the value of work_restart in the bfl main
  967. polling loop.
  968. - Use a pthread conditional that is broadcast whenever work restarts are
  969. required. Create a generic wait function waiting a specified time on that
  970. conditional that returns if the condition is met or a specified time passed to
  971. it has elapsed. Use this to do smarter polling in bitforce to abort work, queue
  972. more work, and check for results to minimise time spent working needlessly.
  973. - Add busy time to wait time.
  974. - api.c put version up to 1.14
  975. - Add tiny delay after writing to BFL Change BFL errors to something more human
  976. readable Send work busy re-tries after 10ms delay
  977. - Fix race condition in thread creation that could under some conditions crash
  978. BFGMiner at startup
  979. BFGMiner Version 2.4.4 - July 1, 2012
  980. - Fix builds on non gnu platforms.
  981. - api.c ensure old mode is always available when not using --api-groups + quit()
  982. on param errors
  983. - Implement rudimentary X-Mining-Hashrate support.
  984. - Detect large swings in temperature when below the target temperature range and
  985. change fan by amounts dependant on the value of tdiff.
  986. - Adjust the fanspeed by the magnitude of the temperature difference when in the
  987. optimal range.
  988. - Revert "Restarting cgminer from within after ADL has been corrupted only leads
  989. to a crash. Display a warning only and disable fanspeed monitoring."
  990. - api.c fix json already closed
  991. - implement and document API option --api-groups
  992. - Put upper bounds to under 2 hours that work can be rolled into the future for
  993. bitcoind will deem it invalid beyond that.
  994. - define API option --api-groups
  995. - api.c allow unwell devices to be enabled so they can be cured
  996. - miner.php - fix/enable autorefresh for custom pages
  997. - miner.php allow custom summary pages - new 'Mobile' summary
  998. - Work around pools that advertise very low expire= time inappropriately as this
  999. leads to many false positives for stale shares detected.
  1000. - Only show ztex board count if any exist.
  1001. - There is no need for work to be a union in struct workio_cmd
  1002. - fpgautils.c include a debug message for all unknown open errors
  1003. - Don't keep rolling work right up to the expire= cut off. Use 2/3 of the time
  1004. between the scantime and the expiry as cutoff for reusing work.
  1005. - Log a specific error when serial opens fail due to lack of user permissions
  1006. - Increase GPU timing resolution to microsecond and add sanity check to ensure
  1007. times are positive.
  1008. - Opencl code may start executing before the clfinish order is given to it so
  1009. get the start timing used for dynamic intensity from before the kernel is
  1010. queued.
  1011. - fpgautils.c - set BAUD rate according to termio spec
  1012. - fpgautils.c - linux ordering back to the correct way
  1013. - miner.php remove unneeded '.'s
  1014. - miner.php add auto refresh options
  1015. - miner.php add 'restart' next to 'quit'
  1016. - miner.php make fontname/size configurable with myminer.php
  1017. - Make the pools array a dynamically allocated array to allow unlimited pools to
  1018. be added.
  1019. - Make the devices array a dynamically allocated array of pointers to allow
  1020. unlimited devices.
  1021. - Dynamic intensity for GPUs should be calculated on a per device basis. Clean
  1022. up the code to only calculate it if required as well.
  1023. - Bugfix: Provide alternative to JSON_ENCODE_ANY for Jansson 1.x
  1024. - Use a queueing bool set under control_lock to prevent multiple calls to
  1025. queue_request racing.
  1026. - Use the work clone flag to determine if we should subtract it from the total
  1027. queued variable and provide a subtract queued function to prevent looping over
  1028. locked code.
  1029. - Don't decrement staged extras count from longpoll work.
  1030. - Count longpoll's contribution to the queue.
  1031. - Increase queued count before pushing message.
  1032. - Test we have enough work queued for pools with and without rolltime
  1033. capability.
  1034. - As work is sorted by age, we can discard the oldest work at regular intervals
  1035. to keep only 1 of the newest work items per mining thread.
  1036. - Roll work again after duplicating it to prevent duplicates on return to the
  1037. clone function.
  1038. - Abstract out work cloning and clone $mining_threads copies whenever a rollable
  1039. work item is found and return a clone instead.
  1040. - api.c display Pool Av in json
  1041. - Take into account average getwork delay as a marker of pool communications
  1042. when considering work stale.
  1043. - Work out a rolling average getwork delay stored in pool_stats.
  1044. - Getwork delay in stats should include retries for each getwork call.
  1045. - Walk through the thread list instead of searching for them when disabling
  1046. threads for dynamic mode.
  1047. - Extend nrolltime to support the expiry= parameter. Do this by turning the
  1048. rolltime bool into an integer set to the expiry time. If the pool supports
  1049. rolltime but not expiry= then set the expiry time to the standard scantime.
  1050. - When disabling fanspeed monitoring on adl failure, remove any twin GPU
  1051. association. This could have been leading to hangs on machines with dual GPU
  1052. cards when ADL failed.
  1053. - modminer: Don't delay 2nd+ FPGAs during work restart
  1054. - Disable OpenCL code when not available.
  1055. - Fix openwrt crashing on regeneratehash() by making check_solve a noop.
  1056. - FPGA - allow device detect override without an open failure
  1057. - Fix sign warning.
  1058. - Bugfix: icarus: properly store/restore info and work end times across longpoll
  1059. restarts
  1060. - Enable modminer for release builds
  1061. BFGMiner Version 2.4.3 - June 14, 2012
  1062. - Change device API "name" to reflect driver name abbreviation instead of device type name
  1063. - miner.php allow a separate user settings file
  1064. - modminer: Implement extended device stats to expose each Board to the RPC API
  1065. - Bugfix: Use new cgpu->thr for longpoll waking
  1066. - bitforce: Remove 4.5s delay before polling starts, since MiniRig finishes sooner
  1067. - FPGA - allow device detect override without an open failure
  1068. - Bugfix: Missing printf value in merge from cgminer
  1069. - Ensure C compiler is in C99 mode
  1070. - Add CPU core count detection for BSD/Mac
  1071. - Set CPU mining idle priority on Windows
  1072. - can_roll and should_roll should have no bearing on the cycle period within the
  1073. miner_thread so remove it.
  1074. - Check for strategy being changed to load balance when enabling LPs.
  1075. - Check that all threads on the device that called get_work are waiting on
  1076. getwork before considering the pool lagging.
  1077. - Iterate over each thread belonging to each device in the hashmeter instead of
  1078. searching for them now that they're a list.
  1079. - When using rotate pool strategy, ensure we only select from alive enabled
  1080. pools.
  1081. - Start longpoll from every pool when load balance strategy is in use.
  1082. - Add mandatory and block fields to the work struct. Flag any shares that are
  1083. detected as blocks as mandatory to submit, along with longpoll work from a
  1084. previously rejecting pool.
  1085. - Consider the fan optimal if fanspeed is dropping but within the optimal speed
  1086. window.
  1087. - Fix typo in some API messages (succeess/success)
  1088. - api.c MMQ stat bugs
  1089. - Bugfix: Fix warnings when built without libudev support
  1090. - Bugfix: slay a variety of warnings
  1091. - Bugfix: modminer: Fix unsigned/signed comparison and similar warnings
  1092. - API add ModMinerQuad support
  1093. - Bugfix: Honour forceauto parameter in serial_detect functions
  1094. - modminer: Temperature sensor improvements
  1095. - modminer: Make log messages more consistent in format
  1096. - Only adjust GPU speed up if the fanspeed is within the normal fanrange and
  1097. hasn't been turned to maximum speed under overheat conditions.
  1098. - ModMiner use valid .name
  1099. - New driver: BTCFPGA ModMiner
  1100. - Abstract generally useful FPGA code into fpgautils.c
  1101. - API add stats for pool getworks
  1102. - miner.php option to hide specific fields from the display
  1103. - miner.php add version numbers to the summary page
  1104. - Update debian configs to v2.4.2
  1105. - Add API and FPGA READMEs into Makefile to be included in source distribution.
  1106. - Icarus - fix unit64_t printf warnings
  1107. BFGMiner Version 2.4.2 - June 2, 2012
  1108. - Use epoll to immediately interrupt Icarus with new work on longpolls (Linux)
  1109. - API.class compiled with Java SE 6.0_03 - works with Win7x64
  1110. - miner.php highlight devs too slow finding shares (possibly failing)
  1111. - API update version to V1.11 and document changes
  1112. - API save default config file if none specified
  1113. - api.c save success incorrectly returns error
  1114. - api.c replace BUFSIZ (linux/windows have different values)
  1115. - Move RPC API content out of README to API-README
  1116. - Open a longpoll connection if a pool is in the REJECTING state as it's the
  1117. only way to re-enable it automatically.
  1118. - Use only one longpoll as much as possible by using a pthread conditional
  1119. broadcast that each longpoll thread waits on and checks if it's the current pool
  1120. before
  1121. - If shares are known stale, don't use them to decide to disable a pool for
  1122. sequential rejects.
  1123. - Restarting cgminer from within after ADL has been corrupted only leads to a
  1124. crash. Display a warning only and disable fanspeed monitoring.
  1125. - Icarus: fix abort calculation/allow user specified abort
  1126. - Icarus: make --icarus-timing hidden and document it in FPGA-README
  1127. - Icarus: high accuracy timing and other bitstream speed support
  1128. - add-MIPSEB-to-icarus-for-BIG_ENDIAN
  1129. - work_decode only needs swab32 on midstate under BIG ENDIAN
  1130. - add compile command to api-example.c
  1131. - save config bugfix: writing an extra ',' when no gpus
  1132. - Add dpkg-source commits
  1133. BFGMiner Version 2.4.1 - May 6, 2012
  1134. - Icarus: Calibrate hashrate yet even more accurately
  1135. - In the unlikely event of finding a block, display the block solved count with
  1136. the pool it came from for auditing.
  1137. - Display the device summary on exit even if a device has been disabled.
  1138. - Use correct pool enabled enums in api.c.
  1139. - Import Debian packaging configs
  1140. - Ensure we test for a pool recovering from idle so long as it's not set to
  1141. disabled.
  1142. - Fix pool number display.
  1143. - Give BFGMiner -T message only if curses is in use.
  1144. - Reinit_adl is no longer used.
  1145. - API 'stats' allow devices to add their own stats also for testing/debug
  1146. - API add getwork stats to BFGMiner - accesable from API 'stats'
  1147. - Don't initialise variables to zero when in global scope since they're already
  1148. initialised.
  1149. - Get rid of unitialised variable warning when it's false.
  1150. - Move a pool to POOL_REJECTING to be disabled only after 3 minutes of
  1151. continuous rejected shares.
  1152. - Some tweaks to reporting and logging.
  1153. - API support new pool status
  1154. - Add a temporarily disabled state for enabled pools called POOL_REJECTING and
  1155. use the work from each longpoll to help determine when a rejecting pool has
  1156. started working again. Switch pools based on the multipool strategy once a pool
  1157. is re-enabled.
  1158. - Removing extra debug
  1159. - Fix the benchmark feature by bypassing the new networking code.
  1160. - Reset sequential reject counter after a pool is disabled for when it is
  1161. re-enabled.
  1162. - ztex updateFreq was always reporting on fpga 0
  1163. - Trying harder to get 1.15y working
  1164. - Specifying threads on multi fpga boards extra cgpu
  1165. - Missing the add cgpu per extra fpga on 1.15y boards
  1166. - API add last share time to each pool
  1167. - Don't try to reap curls if benchmarking is enabled.
  1168. BFGMiner Version 2.4.0 - May 3, 2012
  1169. - Only show longpoll warning once when it has failed.
  1170. - Convert hashes to an unsigned long long as well.
  1171. - Detect pools that have issues represented by endless rejected shares and
  1172. disable them, with a parameter to optionally disable this feature.
  1173. - Bugfix: Use a 64-bit type for hashes_done (miner_thread) since it can overflow
  1174. 32-bit on some FPGAs
  1175. - Implement an older header fix for a label existing before the pthread_cleanup
  1176. macro.
  1177. - Limit the number of curls we recruit on communication failures and with
  1178. delaynet enabled to 5 by maintaining a per-pool curl count, and using a pthread
  1179. conditional that wakes up when one is returned to the ring buffer.
  1180. - Generalise add_pool() functions since they're repeated in add_pool_details.
  1181. - Bugfix: Return failure, rather than quit, if BFwrite fails
  1182. - Disable failing devices such that the user can attempt to re-enable them
  1183. - Bugfix: thread_shutdown shouldn't try to free the device, since it's needed
  1184. afterward
  1185. - API bool's and 1TBS fixes
  1186. - Icarus - minimise code delays and name timer variables
  1187. - api.c V1.9 add 'restart' + redesign 'quit' so thread exits cleanly
  1188. - api.c bug - remove extra ']'s in notify command
  1189. - Increase pool watch interval to 30 seconds.
  1190. - Reap curls that are unused for over a minute. This allows connections to be
  1191. closed, thereby allowing the number of curl handles to always be the minimum
  1192. necessary to not delay networking.
  1193. - Use the ringbuffer of curls from the same pool for submit as well as getwork
  1194. threads. Since the curl handles were already connected to the same pool and are
  1195. immediately available, share submission will not be delayed by getworks.
  1196. - Implement a scaleable networking framework designed to cope with any sized
  1197. network requirements, yet minimise the number of connections being reopened. Do
  1198. this by create a ring buffer linked list of curl handles to be used by getwork,
  1199. recruiting extra handles when none is immediately available.
  1200. - There is no need for the submit and getwork curls to be tied to the pool
  1201. struct.
  1202. - Do not recruit extra connection threads if there have been connection errors
  1203. to the pool in question.
  1204. - We should not retry submitting shares indefinitely or we may end up with a
  1205. huge backlog during network outages, so discard stale shares if we failed to
  1206. submit them and they've become stale in the interim.
  1207. BFGMiner Version 2.3.6 - April 29, 2012
  1208. - Shorten stale share messages slightly.
  1209. - Protect the freeing of current_hash under mutex_lock to prevent racing on it
  1210. when set_curblock is hit concurrently.
  1211. - Change default behaviour to submitting stale, removing the --submit-stale
  1212. option and adding a --no-submit-stale option.
  1213. - Make sure to start the getwork and submit threads when a pool is added on the
  1214. fly. This fixes a crash when a pool is added to running BFGMiner and then
  1215. switched to.
  1216. - Faster hardware can easily outstrip the speed we can get work and submit
  1217. shares when using only one connection per pool.
  1218. - Test the queued list to see if any get/submits are already queued and if they
  1219. are, start recruiting extra connections by generating new threads.
  1220. - This allows us to reuse network connections at low loads but recuit new open
  1221. connections as they're needed, so that BFGMiner can scale to hardware of any
  1222. size.
  1223. BFGMiner Version 2.3.5 - April 28, 2012
  1224. - Restarting BFGMiner leads to a socket that can't be bound for 60 seconds, so
  1225. increase the interval that API binding waits to 30 seconds to minimise the
  1226. number of times it will retry, spamming the logs.
  1227. - Give a longpoll message for any longpoll that detects a block change, primary
  1228. or backup, and also display which pool it was.
  1229. - Decrease utility display to one decimal place.
  1230. - Small cosmetic output alignment.
  1231. - Add pool number to stale share message.
  1232. - Add space to log output now that there is more screen real estate available.
  1233. - Indentation clean up.
  1234. - Remove thread id display from rejected shares as well.
  1235. - Merge pull request #185 from Diapolo/diakgcn
  1236. - add goffset support for diakgcn with -v 1 and update kernel version
  1237. - Set have_longpoll to true when there is at least one pool with longpoll.
  1238. - Don't display the thread ID since it adds no useful information over the
  1239. device number.
  1240. - Don't display the first 8 bytes of a share since they will always be zero at
  1241. >= 1 difficulty.
  1242. - work->longpoll is reset across test_work_current so we need to recheck what
  1243. pool it belongs to.
  1244. - Use longpolls from backup pools with failover-only enabled just to check for
  1245. block changes, but don't use them as work.
  1246. - Start longpoll only after we have tried to extract the longpoll URL.
  1247. - Check for submitold flag on resubmit of shares, and give different message for
  1248. stale shares on retry.
  1249. - Check for submitold before submitstale.
  1250. - Don't force fresh curl connections on anything but longpoll threads.
  1251. - Create one longpoll thread per pool, using backup pools for those pools that
  1252. don't have longpoll.
  1253. - Use the work created from the longpoll return only if we don't have
  1254. failover-enabled, and only flag the work as a longpoll if it is the current
  1255. pool.
  1256. - This will work around the problem of trying to restart the single longpoll
  1257. thread on pool changes that was leading to race conditions.
  1258. - It will also have less work restarts from the multiple longpolls received from
  1259. different pools.
  1260. - Remove the invalid entries from the example configuration file.
  1261. - Add support for latest ATI SDK on windows.
  1262. - Export missing function from libztex.
  1263. - miner.php change socktimeoutsec = 10 (it only waits once)
  1264. - Bugfix: Make initial_args a const char** to satisfy exec argument type warning
  1265. (on Windows only)
  1266. - miner.php add a timeout so you don't sit and wait ... forever
  1267. - Create discrete persistent submit and get work threads per pool, thus allowing
  1268. all submitworks belonging to the same pool to reuse the same curl handle, and
  1269. all getworks to reuse their own handle.
  1270. - Use separate handles for submission to not make getwork potentially delay
  1271. share submission which is time critical.
  1272. - This will allow much more reusing of persistent connections instead of opening
  1273. new ones which can flood routers.
  1274. - This mandated a rework of the extra longpoll support (for when pools are
  1275. switched) and this is managed by restarting longpoll cleanly and waiting for a
  1276. thread join.
  1277. - miner.php only show the current date header once
  1278. - miner.php also add current time like single rig page
  1279. - miner.php display rig 'when' table at top of the multi-rig summary page
  1280. - README - add some Ztex details
  1281. - api.c include zTex in the FPGA support list
  1282. - api.c ensure 'devs' shows PGA's when only PGA code is compiled
  1283. - miner.c sharelog code consistency and compile warning fix
  1284. - README correct API version number
  1285. - README spelling error
  1286. - api.c combine all pairs of sprintfs()
  1287. - api.c uncomment and use BLANK (and COMMA)
  1288. - Code style cleanup
  1289. - Annotating frequency changes with the changed from value
  1290. - README clarification of 'notify' command
  1291. - README update for API RPC 'devdetails'
  1292. - api.c 'devdetails' list static details of devices
  1293. - Using less heap space as my TP-Link seems to not handle this much
  1294. BFGMiner Version 2.3.4 - April 26, 2012
  1295. - New maintainership of code with modular FPGA/GPU focus, under BFGMiner name
  1296. - Complete working support for cross-compiling Windows builds on Linux.
  1297. - Fix usage of low --scan-time settings so it doesn't busy-loop
  1298. - JSON API: Add new 'devdetail' command to get fixed device information
  1299. - JSON API: Implement driver abstraction for extra device status
  1300. - Icarus: Use epoll to wait for serial port input properly, when available
  1301. - Icarus: Workaround buggy USB-UART that causes Icarus to stop mining rarely
  1302. - Icarus: Estimate mining hashrate correctly, calibrated from real-world data
  1303. - Icarus: Parallelize work setup with Icarus hash search improving performance
  1304. - Icarus: More reliable detection and runtime
  1305. - OpenCL: Move GPU-specific data fetching from JSON API to OpenCL driver
  1306. - OpenCL: Dynamically load OpenCL library, to be more vendor-independent and
  1307. allow use without actually having OpenCL (i.e. FPGA-only rigs).
  1308. CGMiner Version 2.3.4 - April 25, 2012
  1309. - Extensively document the cause of GPU device issues and the use of --gpu-map.
  1310. - Support for share logging
  1311. - Detect poorly performing combination of SDK and phatk kernel and add verbose
  1312. warning at startup.
  1313. - Icarus update to new add_cgpu()
  1314. - Icarus driver working with Linux and Windows
  1315. - api.c fix unused variable compile warning
  1316. - Display all OpenCL devices when -n is called as well to allow debugging of
  1317. differential mapping of OpenCL to ADL.
  1318. - Add a --gpu-map option which will allow arbitrarily mapping ADL devices to
  1319. OpenCL devices for instances where association by enumeration alone fails.
  1320. - Increase upper limit on number of extra items to queue as some FPGA code can't
  1321. yet reliably keep many devices busy.
  1322. - Display configuration file information when -c option is passed and only when
  1323. file exists on loading default config file.
  1324. - Display configuration file loaded, if any, and debug output if configuration
  1325. file parsing failed.
  1326. - Add missing ztex header to Makefile for distribution.
  1327. - Document long-form COM port device names on Windows, required to specify
  1328. serial ports above 9
  1329. - Include ztex bitstreams firmware in distribution and install if configured in.
  1330. - Style police on driver-ztex.c
  1331. - work_restart should only be changed by cgminer.c now
  1332. - Shut down the api cleanly when the api thread is cancelled. This should allow
  1333. the api socket to be closed successfully to next be reopened with app_restart.
  1334. - Make a union for cgpu device handles, and rename "device" to "device_ztex"
  1335. since it's Ztex-specific
  1336. - Initialise name variable.
  1337. - Remove unnecessary check for variable that always has memory allocated.
  1338. - Bugfix: Missing "break" no-op in default case
  1339. - Make the status window and log window as large as can fit on startup,
  1340. rechecking to see if it can be enlarged after the fact. This allows any number
  1341. of devices to be displayed provided the window is made long enough without
  1342. corrupting the output.
  1343. - Style police on libztex.c.
  1344. - API add removepool like the screen interface
  1345. - api.c escape required characters in return strings + pools returns the
  1346. username
  1347. - Set lp_path to NULL after free for consistency.
  1348. - Removing dmalloc import left behind by mistake
  1349. - Fixing leak in resp_hdr_cb
  1350. - miner.php warning highlight GPU stats if they are zero (e.g. ADL not enabled)
  1351. - miner.php highlight any device that isn't 'Enabled'
  1352. - miner.php highlight any Status that isn't 'Alive'
  1353. - miner.php optionally support multiple rigs
  1354. - Initial Ztex support 1.15x board.
  1355. CGMiner Version 2.3.3 - April 15, 2012
  1356. - Don't even display that cpumining is disabled on ./configure to discourage
  1357. people from enabling it.
  1358. - Do a complete cgminer restart if the ATI Display Library fails, as it does on
  1359. windows after running for some time, when fanspeed reporting fails.
  1360. - Cache the initial arguments passed to cgminer and implement an attempted
  1361. restart option from the settings menu.
  1362. - Disable per-device status lines when there are more than 8 devices since
  1363. screen output will be corrupted, enumerating them to the log output instead at
  1364. startup.
  1365. - Reuse Vals[] array more than W[] till they're re-initialised on the second
  1366. sha256 cycle in poclbm kernel.
  1367. - Minor variable alignment in poclbm kernel.
  1368. - Make sure to disable devices with any status not being DEV_ENABLED to ensure
  1369. that thermal cutoff code works as it was setting the status to DEV_RECOVER.
  1370. - Re-initialising ADL simply made the driver fail since it is corruption over
  1371. time within the windows driver that's responsible. Revert "Attempt to
  1372. re-initialise ADL should a device that previously reported fanspeed stops
  1373. reporting it."
  1374. - Microoptimise poclbm kernel by ordering Val variables according to usage
  1375. frequency.
  1376. CGMiner Version 2.3.2 - March 31, 2012
  1377. - Damping small changes in hashrate so dramatically has the tendency to always
  1378. make the hashrate underread so go back to gentle damping instead.
  1379. - Revert the crossover of variables from Vals to W in poclbm kernel now that
  1380. Vals are the first declared variables so they're used more frequently.
  1381. - Vals variables appearing first in the array in poclbm is faster.
  1382. - Change the preferred vector width to 1 for Tahiti only, not all poclbm
  1383. kernels.
  1384. - Use a time constant 0.63 for when large changes in hashrate are detected to
  1385. damp change in case the large change is an aliasing artefact instead of a real
  1386. chang
  1387. - Only increment stale counter if the detected stales are discarded.
  1388. - Attempt to re-initialise ADL should a device that previously reported fanspeed
  1389. stops reporting it.
  1390. - Move the ADL setup and clearing to separate functions and provide a reinit_adl
  1391. function to be used when adl fails while running.
  1392. - Use slightly more damping on the decay time function in the never-ending quest
  1393. to smooth off the hashmeter.
  1394. - Set the starting fanspeed to a safe and fairly neutral 50% when autofan is
  1395. enabled.
  1396. - Provide locking around updates of cgpu hashrates as well to prevent multiple
  1397. threads accessing data fields on the same device.
  1398. - Display the beginning of the new block in verbose mode in the logs.
  1399. - Reinstate old diablo kernel variable ordering from 120222, adding only goffset
  1400. and vector size hint. The massive variable ordering change only helped one SDK
  1401. on
  1402. - Change the version number on the correct kernels.
  1403. - api.c devicecode/osinfo incorrectly swapped for json
  1404. - Add extensive instructions on how to make a native windows build.
  1405. - Update version numbers of poclbm and diablo kernels as their APIs have also
  1406. changed.
  1407. - Use global offset parameter to diablo and poclbm kernel ONLY for 1 vector
  1408. kernels.
  1409. - Use poclbm preferentially on Tahiti now regardless of SDK.
  1410. - Remove unused constant passed to poclbm.
  1411. - Clean up use of macros in poclbm and use bitselect everywhere possible.
  1412. - Add vector type hint to diablo kernel.
  1413. - Add worksize and vector attribute hints to the poclbm kernel.
  1414. - Spaces for non-aligned variables in poclbm.
  1415. - More tidying of poclbm.
  1416. - Swap Vals and W variables where they can overlap in poclbm.
  1417. - More tidying of poclbm.
  1418. - Tidy up first half of poclbm.
  1419. - Clean up use of any() by diablo and poclbm kernels.
  1420. - Minor variable symmetry changes in poclbm.
  1421. - Put additions on separate lines for consistency in poclbm.
  1422. - Consolidate last use of W11 into Vals4 in poclbm.
  1423. - Change email due to SPAM
  1424. - api.c miner.php add a '*' to the front of all notify counters - simplifies
  1425. future support of new counters
  1426. - miner.php add display 'notify' command
  1427. - Small change to help arch's without processor affinity
  1428. - Fix bitforce compile error
  1429. - api.c notify should report disabled devices also - of course
  1430. - API returns the simple device history with the 'notify' command
  1431. - code changes for supporting a simple device history
  1432. - api.c Report an OS string in config to help with device issues
  1433. - api.c fix Log Interval - integer in JSON
  1434. - api.c config 'Device Code' to show list of compiled devices + README
  1435. - api.c increase buffer size close to current code allowable limit
  1436. - removed 8-component vector support from kernel, as this is not supported in
  1437. CGMINER anyway
  1438. - forgot to update kernel modification date, fixed ;)
  1439. - reordered an addition in the kernel, which results in less instructions used
  1440. in the GPU ISA code for GCN
  1441. - miner.php: option for readonly or check privileged access
  1442. - Ignore reduntant-with-build options --disable-gpu, --no-adl, and --no-restart
  1443. - miner.php: ereg_replace is DEPRECATED so use preg_replace instead
  1444. - Make curses TUI support optional at compile-time.
  1445. - Bugfix: AC_ARG_WITH provides withval instead of enableval
  1446. - miner.php split devs output for different devices
  1447. - api.c: correct error messages
  1448. - icarus.c modify (regular) timeout warning to only be debug
  1449. - icarus.c set the windows TODO timeout
  1450. - Allow specifying a specific driver for --scan-serial
  1451. - optimized nonce-check and output code for -v 2 and -v 4
  1452. - Bugfix: Check for libudev header (not just library) in configure, and document
  1453. optional dependency
  1454. - Add API support for Icarus and Bitforce
  1455. - Next API version is 1.4 (1.3 is current)
  1456. - README/api.c add "When" the request was processed to STATUS
  1457. - Bugfix: ZLX to read BitFORCE temp, not ZKX -.-
  1458. - Use libudev to autodetect BitFORCE GPUs, if available
  1459. - Use the return value of fan_autotune to set fan_optimal instead of passing it
  1460. as a pointer.
  1461. - Pass the lasttemp from the device we're using to adjust fanspeed in twin
  1462. devices.
  1463. - fix the name to 3 chars, fix the multi-icarus support
  1464. - Bugfix: "-S auto" is the default if no -S is specified, and there is no such
  1465. delay in using it
  1466. - README add information missing from --scan-serial
  1467. - Update README RPC API Version comment
  1468. - Bugfix: Allow enabling CPU even without OpenCL support
  1469. - Change failed-to-mine number of requested shares messge to avoid segfault on
  1470. recursive calling of quit().
  1471. - Get rid of extra char which is just truncated in poclbm kernel.
  1472. - only small code formating changes
  1473. - removed vec_step() as this could lead to errors on older SDKs
  1474. - unified code for generating nonce in kernel and moved addition of base to the
  1475. end -> faster
  1476. CGMiner Version 2.3.1 - February 24, 2012
  1477. - Revert input and output code on diakgcn and phatk kernels to old style which
  1478. worked better for older hardware and SDKs.
  1479. - Add a vector*worksize parameter passed to those kernels to avoid one op.
  1480. - Increase the speed of hashrate adaptation.
  1481. - Only send out extra longpoll requests if we want longpolls.
  1482. - API implement addpool command
  1483. - API return the untouched Total MH also (API now version 1.3)
  1484. - Add enable/disablepool to miner.php example and reduce font size 1pt
  1485. CGMiner Version 2.3.0 - February 23, 2012
  1486. - Consider extra longpoll work items as staged_extra so as to make sure we queue
  1487. more work if queueing regular work items as longpolls.
  1488. - Use diablo kernel on all future SDKs for Tahiti and set preferred vector width
  1489. to 1 on poclbm kernel only.
  1490. - Explicitly type the constants in diakgcn kernel as uint, to be in line with
  1491. poclbm kernel.
  1492. - Reset all hash counters at the same time as resetting start times to get
  1493. accurate hashrates on exiting which is mandatory for benchmarking.
  1494. - Report thread out before it starts to avoid being flagged as sick when waiting
  1495. for the first work item.
  1496. - Don't disable and re-enable devices as they may recover and in the meantime
  1497. have their status set to OFF.
  1498. - API new commands enablepool and disablepool (version already incremented)
  1499. - Tolerate new-format temperature readings for bitforce
  1500. - Modify cgminer.c pool control to allow API to call it
  1501. - Bugfix: Fix BitFORCE driver memory leak in debug logging
  1502. - Extra byte was being unused in poclbm leading to failure on some platforms.
  1503. - Explicitly type the constants in poclbm kernel as uint.
  1504. - Don't save 'include' when saving the configuration
  1505. - Allow configuration file to include another recursively
  1506. - Use the SDK and hardware information to choose good performing default
  1507. kernels.
  1508. - Move phatk kernel to offset vector based nonce bases as well.
  1509. - Add a --benchmark feature which works on a fake item indefinitely to compare
  1510. device performance without any server or networking influence.
  1511. - Allow writing of multiple worksizes to the configuration file.
  1512. - Allow writing of multiple vector sizes to the configuration file.
  1513. - Allow writing of multiple kernels to the configuration file.
  1514. - Allow multiple different kernels to be chosen per device.
  1515. - Allow the worksize to be set per-device.
  1516. - Allow different vectors to be set per device.
  1517. - If we're well below the target temperature, increase gpu engine speed back to
  1518. maximum in case we have gotten lost between profiles during an idle period.
  1519. - We should be setting the value of fan_optimal, not its address.
  1520. - As all kernels will be new versions it's an opportunity to change the .bin
  1521. format and make it simpler. Specifying bitalign is redundant and long can be l.
  1522. - Use any() in kernel output code.
  1523. - Put the nonce for each vector offset in advance, avoiding one extra addition
  1524. in the kernel.
  1525. - Reset times after all mining threads are started to make estimating hashrates
  1526. easier at startup.
  1527. - Bugfix: allow no-exec (NX) stack
  1528. - Fix minor warning.
  1529. - fix the bitforce.c code style follow 1TBS
  1530. - fix icarus.c compile warning
  1531. - small changes to speedup no vec for AMD 898.1 OCL runtime
  1532. - Update licensing to GPL V3.
  1533. - Reset the longpoll flag after it's been used once to prevent it restarting
  1534. work again.
  1535. - Begin import of DiabloMiner kernel.
  1536. - Modify API debug messages to say API instead of DBG
  1537. - When API shuts down cgminer don't kill itself
  1538. - Don't make rolled work from the longpoll be seen as other longpoll work items.
  1539. - API add 'privileged' command so can verify access level
  1540. - Set the lp_sent variable under lock since there will almost always be a race
  1541. on setting this variable, potentially leading to multiple LPs being sent out.
  1542. - API restrict access to all non display commands by default
  1543. - Update API version to 1.2 for new 'Log Interval'
  1544. - API add --log Interval to 'config' reply
  1545. - --api-allow special case 0/0 means all
  1546. CGMiner Version 2.2.7 - February 20, 2012
  1547. - Send out extra longpolls when we have switched pools and the longpoll thread
  1548. is still bound to the old one. This is particularly useful with p2pool where
  1549. longpolls do not correlate with main bitcoin block change and would have led to
  1550. high reject rates on failover.
  1551. - Store whether a work item is the result of a longpoll or not in struct work
  1552. and use it to help determine block changes directly from the work longpoll bool.
  1553. - Keep track of when a longpoll has been sent for a pool and if the current pool
  1554. is requesting work but has not sent a longpoll request, convert one of the work
  1555. items to a longpoll.
  1556. - Store the longpoll url in the pool struct and update it from the pool_active
  1557. test in case it changes. This is to allow further changes to longpoll management
  1558. on switching pools.
  1559. - Re-check for a longpoll supporting pool every 30 seconds if none is found
  1560. initially.
  1561. - Report threads as busy waiting on getwork on startup to avoid them being
  1562. flagged sick on startup during slow networking.
  1563. - Allow devices that are disabled due to overheating to be flagged as recovering
  1564. instead of disabling them and re-enable them if they're below ideal temperatures
  1565. - Tahiti prefers worksize 64 with poclbm.
  1566. - No need to expressly retain the opencl program now that the zero binary issue
  1567. is fixed. This actually fixes cgminer to work with the latest SDK included with
  1568. the ATI catalyst driver 12.2.
  1569. - Show error code on any opencl failure status.
  1570. - Add detection for version 898.1 SDK as well but only give SDK 2.6 warning once
  1571. on startup instead of with each device initialisation.
  1572. - Always use a fresh connection for longpoll as prolonged persistent connections
  1573. can fail for many reasons.
  1574. - Keep track of intended engine clock speed and only adjust up if it's higher
  1575. than the last intended speed. This avoids setting the clock speed to one
  1576. relative to a lower profile one by mistake.
  1577. - Use gpu-memdiff on startup if an engine clockspeed is set and a memdiff value
  1578. is set.
  1579. - Revert "Adjust engine speed up according to performance level engine setting,
  1580. not the current engine speed." - ineffectual.
  1581. - Freeze the queues on all threads that are sent the pause message to prevent
  1582. them trying to start up again with saved pings in their queues.
  1583. - Updates to diakgcn kernel/
  1584. - Consolidate all screen updates to the watchdog thread and touch both windows
  1585. before refresh.
  1586. - Curses will be disabled in clean_up so don't do it early in kill_work, and
  1587. disable_adl so that GPU settings may be restored to normal in case shutting down
  1588. curses leads to instability on windows.
  1589. - Stop the mining threads before trying to kill them.
  1590. - Plain refresh() does not give reliably screen updates so get rid of all uses
  1591. of it.
  1592. - First release with working diakgcn kernel.
  1593. CGMiner Version 2.2.6 - February 16, 2012
  1594. - Provide warning on each startup about sdk 2.6
  1595. - Fix unused warnings on win32.
  1596. - bitforce: Simplify BFopen WIN32 ifdef/else
  1597. - Fix initialization warning with jansson 1.3
  1598. - bitforce: Cleanup extraneous TODO that isn't needed
  1599. - Move tcsetattr (and new tcflush) into *nix BFopen to simplify things a bit
  1600. - Add message explaining 2nd thread disabling for dynamic mode and how to tune
  1601. it.
  1602. - Move logwindow down once number of devices is known.
  1603. - Automatically choose phatk kernel for bitalign non-gcn ATI cards, and then
  1604. only select poclbm if SDK2.6 is detected.
  1605. - Allow the refresh interval to be adjusted in dynamic intensity with a
  1606. --gpu-dyninterval parameter.
  1607. - Make curses display visible right from the beginning and fix the window sizes
  1608. so the initial messages don't get lost once the status window is drawn.
  1609. - The amount of work scanned can fluctuate when intensity changes and since we
  1610. do this one cycle behind, we increment the work more than enough to prevent
  1611. repeati
  1612. - bitforce: Set a 30 second timeout for serial port on Windows, since the
  1613. default is undefined
  1614. - Use PreVal4addT1 instead of PreVal4 in poclbm kernel.
  1615. - Import PreVal4 and PreVal0 into poclbm kernel.
  1616. - Import more prepared constants into poclbm kernel.
  1617. - Keep variables in one array but use Vals[] name for consistency with other
  1618. kernel designs.
  1619. - Replace constants that are mandatorily added in poclbm kernel with one value.
  1620. - Remove addition of final constant before testing for result in poclbm kernel.
  1621. - Hand optimise variable addition order.
  1622. - Hand optimise first variable declaration order in poclbm kernel.
  1623. - Radical reordering machine based first pass to change variables as late as
  1624. possible, bringing their usage close together.
  1625. - fix strcpy NULL pointer if env HOME unset.
  1626. - bitforce: Disable automatic scanning when at least one device is specified
  1627. manually
  1628. - Unroll all poclbm additions to enable further optimisations.
  1629. CGMiner Version 2.2.5 - February 13, 2012
  1630. - Make output buffer write only as per Diapolo's suggestion.
  1631. - Constify nonce in poclbm.
  1632. - Use local and group id on poclbm kernel as well.
  1633. - Microoptimise phatk kernel on return code.
  1634. - Adjust engine speed up according to performance level engine setting, not the
  1635. current engine speed.
  1636. - Try to load a binary if we've defaulted to the poclbm kernel on SDK2.6
  1637. - Use the poclbm kernel on SDK2.6 with bitalign devices only if there is no
  1638. binary available.
  1639. - Further generic microoptimisations to poclbm kernel.
  1640. - The longstanding generation of a zero sized binary appears to be due to the
  1641. OpenCL library putting the binary in a RANDOM SLOT amongst 4 possible binary
  1642. locations. Iterate over each of them after building from source till the real
  1643. binary is found and use that.
  1644. - Fix harmless warnings with -Wsign-compare to allow cgminer to build with -W.
  1645. - Fix missing field initialisers warnings.
  1646. - Put win32 equivalents of nanosleep and sleep into compat.h fixing sleep() for
  1647. adl.c.
  1648. - Restore compatibility with Jansson 1.3 and 2.0 (api.c required 2.1)
  1649. - Modularized logging, support for priority based logging
  1650. - Move CPU chipset specific optimization into device-cpu
  1651. CGMiner Version 2.2.4 - February 11, 2012
  1652. - Fix double definition of A0 B0 to zeroA zeroB.
  1653. - Retain cl program after successfully loading a binary image. May decrease
  1654. failures to build kernels at startup.
  1655. - Variable unused after this so remove setting it.
  1656. - BFI INT patching is not necessarily true on binary loading of files and not
  1657. true on ATI SDK2.6+. Report bitalign instead.
  1658. - Various string fixes for reject reason.
  1659. - Generalize --temp-cutoff and implement support for reading temperature from
  1660. BitFORCE FPGAs
  1661. - Change message from recovered to alive since it is used on startup as well as
  1662. when a pool has recovered.
  1663. - Start mining as soon as any pool is found active and rely on the watchpool
  1664. thread to bring up other pools.
  1665. - Delayed responses from testing pools that are down can hold up the watchdog
  1666. thread from getting to its device testing code, leading to false detection of
  1667. the GPU not checking in, and can substantially delay auto gpu/auto fan
  1668. management leading to overheating. Move pool watching to its own thread.
  1669. - Bugfix: BitFORCE index needs to be static to count correctly
  1670. - Space out retrieval of extra work according to the number of mining threads.
  1671. - Make shutdown more robust. Enable the input thread only after the other
  1672. threads exist. Don't kill off the workio thread and use it to exit main() only
  1673. if there is an unexpected problem. Use kill_work() for all anticipated shutdowns
  1674. where possible. Remove unused thread entry.
  1675. - Change poclbm version number.
  1676. - One array is faster than 2 separate arrays so change to that in poclbm kernel.
  1677. - Microoptimisations to poclbm kernel which increase throughput slightly.
  1678. - Import diablominer kernel. Currently disabled as not working.
  1679. - Import diapolo kernel. Currently disabled as not working.
  1680. - Conflicting entries of cl_kernel may have been causing problems, and
  1681. automatically chosen kernel type was not being passed on. Rename the enum to
  1682. cl_kernels and store the chosen kernel in each clState.
  1683. - Set cl_amd_media_ops with the BITALIGN flag and allow non-bitselect devices to
  1684. build.
  1685. - ALlow much longer filenames for kernels to load properly.
  1686. - Allow different kernels to be used by different devices and fix the logic fail
  1687. of overcorrecting on last commit with !strstr.
  1688. - Fix kernel selection process and build error.
  1689. - queue_phatk_kernel now uses CL_SET_VARG() for base-nonce(s), too
  1690. - added OpenCL >= 1.1 detection code, in preparation of OpenCL 1.1 global offset
  1691. parameter support
  1692. - Use K array explicitly to make it clear what is being added.
  1693. - Work items have a tendency to expire at exactly the same time and we don't
  1694. queue extra items when there are plenty in the queue, regardless of age. Allow
  1695. extra work items to be queued if adequate time has passed since we last
  1696. requested work even if over the limit.
  1697. - Discard work when failover-only is enabled and the work has come from a
  1698. different pool.
  1699. - Missing include to build on newer mingw32.
  1700. - Move from the thread safe localtime_r to regular localtime which is the only
  1701. one supported on newer pthread libraries on mingw32 to make it compile with the
  1702. newer ming. Thread safety is of no importance where localtime is used in this
  1703. code.
  1704. - Define in_addr_t in windows if required
  1705. - sys/wait.h not required in windows
  1706. - Allow API to restrict access by IP address
  1707. - Add pool switching to example miner.php
  1708. - Display X-Reject-Reason, when provided
  1709. - Remove the test for whether the device is on the highest profil level before
  1710. raising the GPU speed as it is ineffectual and may prevent raising the GPU
  1711. speed.
  1712. - Remove unnecessary check for opt_debug one every invocation of applog at
  1713. LOG_DEBUG level and place the check in applog().
  1714. CGMiner Version 2.2.3 - February 6, 2012
  1715. - Revert "Rewrite the convoluted get_work() function to be much simpler and roll
  1716. work as much as possible with each new work item." This seems to cause a race on
  1717. work in free_work(). Presumably other threads are still accessing the structure.
  1718. CGMiner Version 2.2.2 - February 6, 2012
  1719. - Provide support for the submitold extension on a per-pool basis based on the
  1720. value being detected in a longpoll.
  1721. - Don't send a ping to a dynamic device if it's not enabled as that will just
  1722. enable it for one pass and then disable it again.
  1723. - Rewrite the convoluted get_work() function to be much simpler and roll work as
  1724. much as possible with each new work item.
  1725. - Roll as much work as possible from the work returned from a longpoll.
  1726. - Rolling work on each loop through the mining thread serves no purpose.
  1727. - Allow to stage more than necessary work items if we're just rolling work.
  1728. - Replace divide_work with reuse_work function used twice.
  1729. - Give rolled work a new ID to make sure there is no confusion in the hashtable
  1730. lookups.
  1731. - Remove now-defunct hash_div variables.
  1732. - Remove unused get_dondata function.
  1733. - Silence ADL warnings.
  1734. - Silence unused parameter warnings.
  1735. - Stagger the restart of every next thread per device to keep devices busy ahead
  1736. of accessory threads per device.
  1737. - Deprecate the --donation feature. Needlessly complex, questionable usefulness,
  1738. depends on author's server and a central pool of some kind, and was not heavily
  1739. adopted.
  1740. - It's devices that report back now, not threads, update message.
  1741. - Continue auto-management of fan and engine speeds even if a device is disabled
  1742. for safety reasons.
  1743. - No need to check we're highest performance level when throttling GPU engine
  1744. speed.
  1745. - Abstract out tests for whether work has come from a block that has been seen
  1746. before and whether a string is from a previously seen block.
  1747. - Probe but don't set the timeout to 15 seconds as some networks take a long
  1748. time to timeout.
  1749. - Remove most compiler warnings from api.c
  1750. - Add last share's pool info in cgpu_info
  1751. - Allow the OpenCL platform ID to be chosen with --gpu-platform.
  1752. - Iterate over all platforms displaying their information and number of devices
  1753. when --ndevs is called.
  1754. - Deprecate main.c
  1755. - Some networks can take a long time to resolve so go back to 60 second timeouts
  1756. instead of 15.
  1757. - Only enable curses on failure if curses is desired.
  1758. - Fix warnings in bitforce.c
  1759. - Bugfix: Need to open BitForce tty for read-write
  1760. - Fix various build issues.
  1761. - Modularize code: main.c -> device-cpu + device-gpu
  1762. - Fix phatk kernel not working on non-bitalign capable devices (Nvidia, older
  1763. ATI).
  1764. - Update poclbm kernel for better performance on GCN and new SDKs with bitalign
  1765. support when not BFI INT patching. Update phatk kernel to work properly for non
  1766. BFI INT patched kernels, providing support for phatk to run on GCN and non-ATI
  1767. cards.
  1768. - Return last accepted share pool/time for devices
  1769. - Display accepted share pool/time for CPUs
  1770. - Bug intensity always shows GPU 0
  1771. - Update example web miner.php to use new API commands
  1772. CGMiner Version 2.2.1 - January 30, 2012
  1773. NOTE - The GPU Device reordering in 2.2.0 by default was considered a bad idea
  1774. so the original GPU ordering is used by default again unless reordering is
  1775. explicitly requested.
  1776. - Fix bitforce failing to build into cgminer.
  1777. - Add missing options to write config function.
  1778. - Add a --gpu-reorder option to only reorder devices according to PCI Bus ID
  1779. when requested.
  1780. - Fix for midstate support being broken on pools that supported no-midstate
  1781. work by ensuring numbers are 32 bits in sha2.c
  1782. - Set virtual GPUs to work when ADL is disabled or all mining will occur on GPU
  1783. 0.
  1784. - Add information about paused threads in the menu status.
  1785. - Disable all but the first thread on GPUs in dynamic mode for better
  1786. interactivity.
  1787. - Set the latest network access time on share submission for --net-delay even if
  1788. we're not delaying that submission for further network access.
  1789. - Clear adl on exiting after probing values since it may attempt to overclock.
  1790. - As share submission is usually staggered, and delays can be costly, submit
  1791. shares without delay even when --net-delay is enabled.
  1792. - Display GPU number and device name when ADL is successfully enabled on it.
  1793. - Display GPU ordering remapping in verbose mode.
  1794. - Don't fail in the case the number of ADL and OpenCL devices do not match, and
  1795. do not attempt to reorder devices unless they match. Instead give a warning
  1796. about
  1797. - Display error codes should ADL not return ADL_OK in the more critical function
  1798. calls.
  1799. - Fix unused warning.
  1800. - Fix compile warnings in api.c
  1801. - Add extensive ADL based device info in debug mode.
  1802. - Make --ndevs display verbose opencl information as well to make debugging
  1803. version information easier.
  1804. - Display information about the opencl platform with verbose enabled.
  1805. - Explicitly check for nvidia in opencl platform strings as well.
  1806. CGMiner Version 2.2.0 - January 29, 2012
  1807. NOTE: GPU Device order will change with this release with ATI GPUs as cgminer
  1808. now can enumerate them according to their Bus ID which means the values should
  1809. now correlate with their physical position on the motherboard.
  1810. - Default to poclbm kernel on Tahiti (7970) since phatk does not work, even
  1811. though performance is sub-standard so that at least it will mine successfully by
  1812. defau
  1813. - Retain cl program after every possible place we might build the program.
  1814. - Update ADL SDK URL.
  1815. - Fix potential overflow.
  1816. - Map GPU devices to virtual devices in their true physical order based on
  1817. BusNumber.
  1818. - Change the warning that comes with failure to init cl on a device to be more
  1819. generic and accurate.
  1820. - Advertise longpoll support in X-Mining-Extensions
  1821. - Detect dual GPU cards by iterating through all GPUs, finding ones without
  1822. fanspeed and matching twins with fanspeed one bus ID apart.
  1823. - Do not attempt to build the program that becomes the kernel twice. This could
  1824. have been leading to failures on initialising cl.
  1825. - Some opencl compilers have issues with no spaces after -D in the compiler
  1826. options.
  1827. - Allow intensity up to 14.
  1828. - Use calloced stack memory for CompilerOptions to ensure sprintf writes to the
  1829. beginning of the char.
  1830. - Whitelist 79x0 cards to prefer no vectors as they perform better without.
  1831. - Adjust fan speed gently while in the optimal range when temperature is
  1832. drifting to minimise overshoot in either direction.
  1833. - Detect dual GPU cards via the indirect information of - 1st card has a fan
  1834. controller. 2nd card does not have a fan controller, cards share the same device
  1835. name
  1836. - Instead of using the BFI_INT patching hack on any device reporting
  1837. cl_amd_media_ops, create a whitelist of devices that need it. This should enable
  1838. GCN architec
  1839. - Fixed API compiling issue on OS X
  1840. - Add more explanation of JSON format and the 'save' command
  1841. - Return an error if using ADL API commands when it's not available
  1842. - Read off lpThermalControllerInfo from each ADL device.
  1843. - Add ADL_Overdrive5_ThermalDevices_Enum interface.
  1844. - Add API commands: config, switchpool, gpu settings, save
  1845. - Implement socks4 proxy support.
  1846. - Fix send() for JSON strings
  1847. - Introduce a --net-delay option which guarantees at least 250ms between any
  1848. networking requests to not overload slow routers.
  1849. - Generalise locking init code.
  1850. - Allow invalid values to be in the configuration file, just skipping over them
  1851. provided the rest of the file is valid JSON. This will allow older configurat
  1852. - Allow CPU mining explicitly enable only if other mining support is built in.
  1853. - BitForce FPGA support
  1854. - Configure out building and support of all CPU mining code unless
  1855. --enable-cpumining is enabled.
  1856. - Allow parsed values to be zero which will allow 0 values in the config file to
  1857. work.
  1858. - Advertise that we can make our own midstate, so the pool can skip generating
  1859. it for us
  1860. - Refactor the CPU scanhash_* functions to use a common API. Fixes bugs.
  1861. - Don't consider a pool lagging if a request has only just been filed. This
  1862. should decrease the false positives for "pool not providing work fast enough".
  1863. - Invalidating work after longpoll made hash_pop return no work giving a false
  1864. positive for dead pool. Rework hash_pop to retry while finds no staged work u
  1865. - Remove TCP_NODELAY from curl options as many small packets may be contributing
  1866. to network overload, when --net-delay is enabled.
  1867. - Refactor miner_thread to be common code for any kind of device
  1868. - Simplify submit_nonce loop and avoid potentially missing FOUND - 1 entry.
  1869. Reported by Luke-Jr.
  1870. - Micro-optimisation in sha256_sse2 code courtesy of Guido Ascioti
  1871. guido.ascioti@gmail.com
  1872. - Refactor to abstract device-specific code
  1873. CGMiner Version 2.1.2 - January 6, 2012
  1874. - If api-description is specified, save it when writing the config file
  1875. - Adjust utility width to be constant maximum as well.
  1876. - Add percent signs to reject ratio outputs
  1877. - Should the donation pool fail, don't make the fallover pool behave as though
  1878. the primary pool is lagging.
  1879. - Use an alternative pool should the donation getwork fail.
  1880. CGMiner Version 2.1.1 - January 1, 2012
  1881. - Include API examples in distribution tarball.
  1882. - Don't attempt to pthread_join when cancelling threads as they're already
  1883. detached and doing so can lead to a segfault.
  1884. - Give more generic message if slow pool at startup is the donation pool.
  1885. - Continue to attempt restarting GPU threads if they're flagged dead at 1 min.
  1886. intervals.
  1887. - Don't attempt to restart sick flagged GPUs while they're still registering
  1888. activity.
  1889. - Make curl use fresh connections whenever there is any communication issue
  1890. in case there are dead persistent connections preventing further comms from
  1891. working.
  1892. - Display pool in summary if only 1 pool.
  1893. - Adjust column width of A/R/HW to be the maximum of any device and align them.
  1894. CGMiner Version 2.1.0 - December 27, 2011
  1895. - Major infrastructure upgrade with RPC interface for controlling via sockets
  1896. encoded with/without JSON courtesy of Andrew Smith. Added documentation for
  1897. use of the API and sample code to use with it.
  1898. - Updated linux-usb-cgminer document.
  1899. - Rewrite of longpoll mechanism to choose the current pool wherever possible to
  1900. use for the longpoll, or any pool that supports longpoll if the current one
  1901. does not.
  1902. - Display information about longpoll when the chosen server has changed.
  1903. - Fix the bug where longpoll generated work may have been sent back to the
  1904. wrong pool, causing rejects.
  1905. - Fix a few race conditions on closing cgminer which caused some of the crashes
  1906. on exit.
  1907. - Only adjust gpu engine speed in autotune mode if the gpu is currently at the
  1908. performance level of that being adjusted.
  1909. - Various fixes for parsing/writing of configuration files.
  1910. - Do not add blank lines for threads of unused CPUs.
  1911. - Show which pool is unresponsive on startup.
  1912. - Only show GPU management menu item if GPUs are in use.
  1913. - Align most device columns in the curses display.
  1914. CGMiner Version 2.0.8 - November 11, 2011
  1915. - Make longpoll do a mandatory flushing of all work even if the block hasn't
  1916. changed, thus supporting longpoll initiated work change of any sort and merged
  1917. mining.
  1918. - Byteswap computed hash in hashtest so it can be correctly checked. This fixes
  1919. the very rare possibility that a block solve on solo mining was missed.
  1920. - Add x86_64 w64 mingw32 target
  1921. - Allow a fixed speed difference between memory and GPU clock speed with
  1922. --gpu-memdiff that will change memory speed when GPU speed is changed in
  1923. autotune mode.
  1924. - Don't load the default config if a config file is specified on the command
  1925. line.
  1926. - Don't build VIA on apple since -a auto bombs instead of gracefully ignoring
  1927. VIA failing.
  1928. - Build fix for dlopen/dlclose errors in glibc.
  1929. CGMiner Version 2.0.7 - October 17, 2011
  1930. - Support work without midstate or hash1, which are deprecated in bitcoind 0.5+
  1931. - Go to kernel build should we fail to clCreateProgramWithBinary instead of
  1932. failing on that device. This should fix the windows problems with devices not
  1933. initialising.
  1934. - Support new configuration file format courtesy of Chris Savery which can write
  1935. the config file from the menu and will load it on startup.
  1936. - Write unix configuration to .cgminer/cgminer.conf by default and prompt to
  1937. overwrite if given a filename from the menu that exists.
  1938. CGMiner Version 2.0.6 - October 9, 2011
  1939. - Must initialise the donorpool mutex or it fails on windows.
  1940. - Don't make donation work interfere with block change detection allowing
  1941. donation to work regardless of the block chain we're mining on.
  1942. - Expire shares as stale with a separate timeout from the scantime, defaulting
  1943. to 120 seconds.
  1944. - Retry pools after a delay of 15 seconds if none can be contacted on startup
  1945. unless a key is pressed.
  1946. - Don't try to build adl features without having adl.
  1947. - Properly check shares against target difficulty - This will no longer show
  1948. shares when solo mining at all unless they're considered to be a block solve.
  1949. - Add altivec 4 way (cpu mining) support courtesy of Gilles Risch.
  1950. - Try to use SSL if the server supports it.
  1951. - Display the total solved blocks on exit (LOL if you're lucky).
  1952. - Use ADL activity report to tell us if a sick GPU is still busy suggesting it
  1953. is hard hung and do not attempt to restart it.
  1954. CGMiner Version 2.0.5 - September 27, 2011
  1955. - Intensity can now be set to dynamic or static values per-device.
  1956. - New donation feature --donation sends a proportion of shares to author's
  1957. account of choice, but is disabled by default!
  1958. - The hash being displayed and block detection has been fixed.
  1959. - Devices not being mined on will not attempt to be ADL managed.
  1960. - Intensity is now displayed per GPU device.
  1961. - Make longpoll attempt to restart as often as opt_retries specifies.
  1962. - We weren't rolling work as often as we could.
  1963. - Correct some memory management issues.
  1964. - Build fixes.
  1965. - Don't mess with GPUs if we don't have them.
  1966. CGMiner Version 2.0.4 - September 23, 2011
  1967. - Confused Longpoll messages should be finally fixed with cgminer knowing for
  1968. sure who found the new block and possibly avoiding a rare crash.
  1969. - Display now shows the actual hash and will say BLOCK! if a block is deemed
  1970. solved.
  1971. - Extra spaces, which would double space lines on small terminals, have been
  1972. removed.
  1973. - Fan speed change is now damped if it is already heading in the correct
  1974. direction to minimise overshoot.
  1975. - Building without opencl libraries is fixed.
  1976. - GPUs are autoselected if there is only one when in the GPU management menu.
  1977. - GPU menu is refreshed instead of returning to status after a GPU change.
  1978. CGMiner Version 2.0.3 - September 17, 2011
  1979. - Various modes of failure to set fanspeeds and adl values have been addressed
  1980. and auto-fan should work now on most hardware, and possibly other values
  1981. which previously would not have worked.
  1982. - Fixed a crash that can occur on switching pools due to longpoll thread races.
  1983. - Use ATISTREAMSDKROOT if available at build time.
  1984. - Fanspeed management is returned to the driver default on exit instead of
  1985. whatever it was when cgminer was started.
  1986. - Logging of events deemed WARNING or ERR now will display even during
  1987. periods where menu input is being awaited on.
  1988. CGMiner Version 2.0.2 - September 11, 2011
  1989. - Exit cleanly if we abort before various threads are set up or if they no
  1990. longer exist.
  1991. - Fix a rare crash in HASH_DEL due to using different mutexes to protect the
  1992. data.
  1993. - Flag devices that have never started and don't allow enabling of devices
  1994. without restarting them.
  1995. - Only force the adapter speed to high if we've flagged this device as being
  1996. managed.
  1997. - Flag any devices with autofan or autogpu as being managed.
  1998. - Use a re-entrant value to store what fanspeed we're trying to set in case the
  1999. card doesn't support small changes. Force it to a multiple of 10% if it
  2000. fails on trying to speed up the fan.
  2001. - Do not bother resetting values to old ones if changes to GPU parameters report
  2002. failure, instead returning a failure code only if the return value from get()
  2003. differs.
  2004. - Remove redundant check.
  2005. - Only display supported values from fanspeed on change settings.
  2006. - Missing bracket from output.
  2007. - Display fan percentage on devices that only support reporting percent and not
  2008. RPM.
  2009. - Properly substitute DLOPEN flags to build with ADL support when -ldl is needed
  2010. and not when opencl is not found.
  2011. CGMiner Version 2.0.1 - September 9, 2011
  2012. - Fix building on 32bit glibc with dlopen with -lpthread and -ldl
  2013. - ByteReverse is not used and the bswap opcode breaks big endian builds. Remove
  2014. it.
  2015. - Ignore whether the display is active or not since only display enabled devices
  2016. work this way, and we skip over repeat entries anwyay.
  2017. - Only reset values on exiting if we've ever modified them.
  2018. - Flag adl as active if any card is successfully activated.
  2019. - Add a thermal cutoff option as well and set it to 95 degrees by default.
  2020. - Change the fan speed by only 5% if it's over the target temperature but less
  2021. than the hysteresis value to minimise overshoot down in temperature.
  2022. - Add a --no-adl option to disable ADL monitoring and GPU settings.
  2023. - Only show longpoll received delayed message at verbose level.
  2024. - Allow temperatures greater than 100 degrees.
  2025. - We should be passing a float for the remainder of the vddc values.
  2026. - Implement accepting a range of engine speeds as well to allow a lower limit to
  2027. be specified on the command line.
  2028. - Allow per-device fan ranges to be set and use them in auto-fan mode.
  2029. - Display which GPU has overheated in warning message.
  2030. - Allow temperature targets to be set on a per-card basis on the command line.
  2031. - Display fan range in autofan status.
  2032. - Setting the hysteresis is unlikely to be useful on the fly and doesn't belong
  2033. in the per-gpu submenu.
  2034. - With many cards, the GPU summaries can be quite long so use a terse output
  2035. line when showing them all.
  2036. - Use a terser device status line to show fan RPM as well when available.
  2037. - Define max gpudevices in one macro.
  2038. - Allow adapterid 0 cards to enumerate as a device as they will be non-AMD
  2039. cards, and enable ADL on any AMD card.
  2040. - Do away with the increasingly confusing and irrelevant total queued and
  2041. efficiency measures per device.
  2042. - Only display values in the log if they're supported and standardise device log
  2043. line printing.
  2044. CGMiner Version 2.0.0 - September 6, 2011
  2045. Major feature upgrade - GPU monitoring, (over)clocking and fan control for ATI
  2046. GPUs.
  2047. New command line switches:
  2048. --auto-fan- Automatically adjust all GPU fan speeds to maintain a target
  2049. temperature
  2050. --auto-gpu- Automatically adjust all GPU engine clock speeds to maintain
  2051. a target temperature
  2052. --gpu-engine <arg> Set the GPU engine (over)clock in Mhz - one value for all or
  2053. separate by commas for per card.
  2054. --gpu-fan <arg> Set the GPU fan percentage - one value for all or separate
  2055. by commas for per card.
  2056. --gpu-memclock <arg> Set the GPU memory (over)clock in Mhz - one value for all
  2057. or separate by commas for per card.
  2058. --gpu-powertune <arg> Set the GPU powertune percentage - one value for all or
  2059. separate by commas for per card.
  2060. --gpu-vddc <arg> Set the GPU voltage in Volts - one value for all or separate
  2061. by commas for per card.
  2062. --temp-hysteresis <arg> Set how much the temperature can fluctuate outside
  2063. limits when automanaging speeds (default: 3)
  2064. --temp-overheat <arg> Set the overheat temperature when automatically managing
  2065. fan and GPU speeds (default: 85)
  2066. --temp-target <arg> Set the target temperature when automatically managing fan
  2067. and GPU speeds (default: 75)
  2068. - Implement ATI ADL support for GPU parameter monitoring now and setting later
  2069. (temp, fan, clocks etc.).
  2070. - Check for the presence of the ADL header files in ADL_SDK.
  2071. - Import adl_functions.h from amd overdrive ctrl.
  2072. - Implement a setup function that tries to detect GPUs that support the ADL and
  2073. link in the parameters into the gpus struct.
  2074. - Put a summary of monitoring information from the GPU menu.
  2075. - Implement changing memory speed and voltage on the fly.
  2076. - Implement fan speed setting.
  2077. - Minor corrections to set fan speed by percentage.
  2078. - Make sure to read off the value in RPM only.
  2079. - Implement auto fanspeed adjustment to maintain a target temperature and
  2080. fanspeed below 85%, with an overheat check that will speed the fan up to 100%.
  2081. - Add an --auto-fan command line option to allow all GPUs to have autofan
  2082. enabled from startup.
  2083. - Add a gpu autotune option which adjusts GPU speed to maintain a target
  2084. temperature within the bounds of the default GPU speed and any overclocking set.
  2085. - Avoid a dereference if the longpoll thread doesn't exist.
  2086. - Clean up by setting performance profiles and fan settings to startup levels on
  2087. exit.
  2088. - Add a small amount of hysteresis before lowering clock speed.
  2089. - Allow target, overheat and hysteresis temperatures to be set from command
  2090. line.
  2091. - Combine all stats collating into one function to avoid repeating function
  2092. calls on each variable.
  2093. - Add gpu statistics to debugging output via the watchdog thread.
  2094. - Implement menus to change temperature limits.
  2095. - Implement setting the GPU engine clock speed of all devices or each device as
  2096. a comma separated value.
  2097. - Implement setting the GPU memory clock speed of all devices or each device as
  2098. a comma separated value.
  2099. - Implement setting the GPU voltage of all devices or each device as a comma
  2100. separated value.
  2101. - Implement setting the GPU fan speed of all devices or each device as a comma
  2102. separated value.
  2103. - Add support for monitoring powertune setting.
  2104. - Implement changing of powertune value from the GPU change settings menu.
  2105. - Get the value of powertune in get_stats.
  2106. - Implement setting the GPU powertune value of all devices or each device as a
  2107. comma separated value.
  2108. - Remove the safety checks in speed setting since confirmation is done first in
  2109. the menu, then show the new current values after a short pause.
  2110. - Force the speed to high on startup and restore it to whatever the setting was
  2111. on exit.
  2112. - Add temperature to standard output where possible and use more compact output.
  2113. - Move and print at the same time in curses to avoid random trampling display
  2114. errors.
  2115. - Update the status window only from the watchdog thread, do not rewrite the top
  2116. status messages and only refresh once all the status window is complete,
  2117. clearing the window each time to avoid corruption.
  2118. - Set a safe starting fan speed if we're automanaging the speeds.
  2119. - Provide locking around all adl calls to prevent races.
  2120. - Lower profile settings cannot be higher than higher profile ones so link any
  2121. drops in settings.
  2122. - Add new needed text files to distribution.
  2123. - Queue requests ignoring the number of staged clones since they get discarded
  2124. very easily leading to false positives for pool not providing work fast enough.
  2125. - Include libgen.h in opt.c to fix win32 compilation warnings.
  2126. - Fix compilation warning on win32.
  2127. - Add the directory name from the arguments cgminer was called from as well to
  2128. allow it running from a relative pathname.
  2129. - Add a --disable-adl option to configure and only enable it if opencl support
  2130. exists.
  2131. - Retry before returning a failure to get upstream work as a failure to avoid
  2132. false positives for pool dead.
  2133. - Retry also if the decoding of work fails.
  2134. - Use the presence of X-Roll-Ntime in the header as a bool for exists unless N
  2135. is found in the response.
  2136. CGMiner Version 1.6.2 - September 2, 2011
  2137. - Add --failover-only option to not leak work to backup pools when the primary
  2138. pool is lagging.
  2139. - Change recommendation to intensity 9 for dedicated miners.
  2140. - Fix the bouncing short term value by allowing it to change dynamically when
  2141. the latest value is very different from the rolling value, but damp the change
  2142. when it gets close.
  2143. - Use the curses_lock to protect the curses_active variable and test it under
  2144. lock.
  2145. - Go back to requesting work 2/3 of the way through the current scantime with
  2146. CPU mining as reports of mining threads running out of work have occurred with
  2147. only 5 seconds to retrieve work.
  2148. - Add start and stop time scheduling for regular time of day running or once off
  2149. start/stop options.
  2150. - Print summary on quit modes.
  2151. - Put some sanity checks on the times that can be input.
  2152. - Give a verbose message when no active pools are found and pause before
  2153. exiting.
  2154. - Add verbose message when a GPU fails to initialise, and disable the correct
  2155. GPU.
  2156. - Cryptopp asm32 was not correctly updated to the incremental nonce code so the
  2157. hash counter was bogus.
  2158. - Get rid of poorly executed curl check.
  2159. - If curl does not have sockopts, do not try to compile the
  2160. json_rpc_call_sockopt_cb function, making it possible to build against older
  2161. curl libraries.
  2162. - Most people expect /usr/local when an unspecified prefix is used so change to
  2163. that.
  2164. - Rename localgen occasions to getwork fail occasions since localgen is
  2165. unrelated now.
  2166. CGMiner Version 1.6.1 - August 29, 2011
  2167. - Copy cgminer path, not cat it.
  2168. - Switching between redrawing windows does not fix the crash with old
  2169. libncurses, so redraw both windows, but only when the window size hasn't
  2170. changed.
  2171. - Reinstate minimum 1 extra in queue to make it extremely unlikely to ever have
  2172. 0 staged work items and any idle time.
  2173. - Return -1 if no input is detected from the menu to prevent it being
  2174. interpreted as a 0.
  2175. - Make pthread, libcurl and libcurses library checks mandatory or fail.
  2176. - Add a --disable-opencl configure option to make it possible to override
  2177. detection of opencl and build without GPU mining support.
  2178. - Confusion over the variable name for number of devices was passing a bogus
  2179. value which likely was causing the zero sized binary issue.
  2180. - cgminer no longer supports default url user and pass so remove them.
  2181. - Don't show value of intensity since it's dynamic by default.
  2182. - Add options to explicitly enable CPU mining or disable GPU mining.
  2183. - Convert the opt queue into a minimum number of work items to have queued
  2184. instead of an extra number to decrease risk of getting idle devices without
  2185. increasing risk of higher rejects.
  2186. - Statify tv_sort.
  2187. - Check for SSE2 before trying to build 32 bit SSE2 assembly version. Prevents
  2188. build failure when yasm is installed but -msse2 is not specified.
  2189. - Add some defines to configure.ac to enable exporting of values and packaging,
  2190. and clean up output.
  2191. - Give convenient summary at end of ./configure.
  2192. - Display version information and add --version command line option, and make
  2193. sure we flush stdout.
  2194. - Enable curses after the mining threads are set up so that failure messages
  2195. won't be lost in the curses interface.
  2196. - Disable curses after inputting a pool if we requested no curses interface.
  2197. - Add an option to break out after successfully mining a number of accepted
  2198. shares.
  2199. - Exit with a failed return code if we did not reach opt_shares.
  2200. - The cpu mining work data can get modified before we copy it if we submit it
  2201. async, and the sync submission is not truly sync anyway, so just submit it sync.
  2202. CGMiner Version 1.6.0 - August 26, 2011
  2203. - Make restarting of GPUs optional for systems that hang on any attempt to
  2204. restart them. Fix DEAD status by comparing it to last live time rather than
  2205. last attempted restart time since that happens every minute.
  2206. - Move staged threads to hashes so we can sort them by time.
  2207. - Create a hash list of all the blocks created and search them to detect when a
  2208. new block has definitely appeared, using that information to detect stale work
  2209. and discard it.
  2210. - Update configure.ac for newer autoconf tools.
  2211. - Use the new hashes directly for counts instead of the fragile counters
  2212. currently in use.
  2213. - Update to latest sse2 code from cpuminer-ng.
  2214. - Allow LP to reset block detect and block detect lp flags to know who really
  2215. came first.
  2216. - Get start times just before mining begins to not have very slow rise in
  2217. average.
  2218. - Add message about needing one server.
  2219. - We can queue all the necessary work without hitting frequent stales now with
  2220. the time and string stale protection active all the time. This prevents a
  2221. pool being falsely labelled as not providing work fast enough.
  2222. - Include uthash.h in distro.
  2223. - Implement SSE2 32 bit assembly algorithm as well.
  2224. - Fail gracefully if unable to open the opencl files.
  2225. - Make cgminer look in the install directory for the .cl files making make
  2226. install work correctly.
  2227. - Allow a custom kernel path to be entered on the command line.
  2228. - Bump threshhold for lag up to maximum queued but no staged work.
  2229. - Remove fragile source patching for bitalign, vectors et. al and simply pass it
  2230. with the compiler options.
  2231. - Actually check the value returned for the x-roll-ntime extension to make sure
  2232. it isn't saying N.
  2233. - Prevent segfault on exit for when accessory threads don't exist.
  2234. - Disable curl debugging with opt protocol since it spews to stderr.
  2235. CGMiner Version 1.5.8 - August 23, 2011
  2236. - Minimise how much more work can be given in cpu mining threads each interval.
  2237. - Make the fail-pause progressively longer each time it fails until the network
  2238. recovers.
  2239. - Only display the lagging message if we've requested the work earlier.
  2240. - Clean up the pool switching to not be dependent on whether the work can roll
  2241. or not by setting a lagging flag and then the idle flag.
  2242. - Only use one thread to determine if a GPU is sick or well, and make sure to
  2243. reset the sick restart attempt time.
  2244. - The worksize was unintentionally changed back to 4k by mistake, this caused a
  2245. slowdown.
  2246. CGMiner Version 1.5.7 - August 22, 2011
  2247. - Fix a crash with --algo auto
  2248. - Test at appropriate target difficulty now.
  2249. - Add per-device statics log output with --per-device-stats
  2250. - Fix breakage that occurs when 1 or 4 vectors are chosen on new phatk.
  2251. - Make rolltime report debug level only now since we check it every work
  2252. item.
  2253. - Add the ability to enable/disable per-device stats on the fly and match
  2254. logging on/off.
  2255. - Explicitly tell the compiler to retain the program to minimise the chance of
  2256. the zero sized binary errors.
  2257. - Add one more instruction to avoid one branch point in the common path in the
  2258. cl return code. Although this adds more ALUs overall and more branch points, the
  2259. common path code has the same number of ALUs and one less jmp, jmps being more
  2260. expensive.
  2261. - Explicitly link in ws2_32 on the windows build and update README file on how
  2262. to compile successfully on windows.
  2263. - Release cl resources should the gpu mining thread abort.
  2264. - Attempt to restart a GPU once every minute while it's sick.
  2265. - Don't kill off the reinit thread if it fails to init a GPU but returns safely.
  2266. - Only declare a GPU dead if there's been no sign of activity from the reinit
  2267. thread for 10 mins.
  2268. - Never automatically disable any pools but just specify them as idle if they're
  2269. unresponsive at startup.
  2270. - Use any longpoll available, and don't disable it if switching to a server that
  2271. doesn't have it. This allows you to mine solo, yet use the longpoll from a pool
  2272. even if the pool is the backup server.
  2273. - Display which longpoll failed and don't free the ram for lp_url since it
  2274. belongs to the pool hdr path.
  2275. - Make the tcp setsockopts unique to linux in the hope it allows freebsd et. al
  2276. to compile.
  2277. CGMiner Version 1.5.6 - August 17, 2011
  2278. - New phatk and poclbm kernels. Updated phatk to be in sync with latest 2.2
  2279. courtesy of phateus. Custom modified to work best with cgminer.
  2280. - Updated output buffer code to use a smaller buffer with the kernels.
  2281. - Clean up the longpoll management to ensure the right paths go to the right
  2282. pool and display whether we're connected to LP or not in the status line.
  2283. CGMiner Version 1.5.5 - August 16, 2011
  2284. - Rework entirely the GPU restart code. Strike a balance between code that
  2285. re-initialises the GPU entirely so that soft hangs in the code are properly
  2286. managed, but if a GPU is completely hung, the thread restart code fails
  2287. gracefully, so that it does not take out any other code or devices. This will
  2288. allow cgminer to keep restarting GPUs that can be restarted, but continue
  2289. mining even if one or more GPUs hangs which would normally require a reboot.
  2290. - Add --submit-stale option which submits all shares, regardless of whether they
  2291. would normally be considered stale.
  2292. - Keep options in alphabetical order.
  2293. - Probe for slightly longer for when network conditions are lagging.
  2294. - Only display the CPU algo when we're CPU mining.
  2295. - As we have keepalives now, blaming network flakiness on timeouts appears to
  2296. have been wrong. Set a timeout for longpoll to 1 hour, and most other
  2297. network connectivity to 1 minute.
  2298. - Simplify output code and remove HW errors from CPU stats.
  2299. - Simplify code and tidy output.
  2300. - Only show cpu algo in summary if cpu mining.
  2301. - Log summary at the end as per any other output.
  2302. - Flush output.
  2303. - Add a linux-usb-cgminer guide courtesy of Kano.
  2304. CGMiner Version 1.5.4 - August 14, 2011
  2305. - Add new option: --monitor <cmd> Option lets user specify a command <cmd> that
  2306. will get forked by cgminer on startup. cgminer's stderr output subsequently gets
  2307. piped directly to this command.
  2308. - Allocate work from one function to be able to initialise variables added
  2309. later.
  2310. - Add missing fflush(stdout) for --ndevs and conclusion summary.
  2311. - Preinitialise the devices only once on startup.
  2312. - Move the non cl_ variables into the cgpu info struct to allow creating a new
  2313. cl state on reinit, preserving known GPU variables.
  2314. - Create a new context from scratch in initCQ in case something was corrupted to
  2315. maximise our chance of succesfully creating a new worker thread. Hopefully this
  2316. makes thread restart on GPU failure more reliable, without hanging everything
  2317. in the case of a completely wedged GPU.
  2318. - Display last initialised time in gpu management info, to know if a GPU has
  2319. been re-initialised.
  2320. - When pinging a sick cpu, flush finish and then ping it in a separate thread in
  2321. the hope it recovers without needing a restart, but without blocking code
  2322. elsewhere.
  2323. - Only consider a pool lagging if we actually need the work and we have none
  2324. staged despite queue requests stacking up. This decreases significantly the
  2325. amount of work that leaks to the backup pools.
  2326. - The can_roll function fails inappropriately in stale_work.
  2327. - Only put the message that a pool is down if not pinging it every minute. This
  2328. prevents cgminer from saying pool down at 1 minute intervals unless in debug
  2329. mode.
  2330. - Free all work in one place allowing us to perform actions on it in the future.
  2331. - Remove the extra shift in the output code which was of dubious benefit. In
  2332. fact in cgminer's implementation, removing this caused a miniscule speedup.
  2333. - Test each work item to see if it can be rolled instead of per-pool and roll
  2334. whenever possible, adhering to the 60 second timeout. This makes the period
  2335. after a longpoll have smaller dips in throughput, as well as requiring less
  2336. getworks overall thus increasing efficiency.
  2337. - Stick to rolling only work from the current pool unless we're in load balance
  2338. mode or lagging to avoid aggressive rolling imitating load balancing.
  2339. - If a work item has had any mining done on it, don't consider it discarded
  2340. work.
  2341. CGMiner Version 1.5.3 - July 30, 2011
  2342. - Significant work went into attempting to make the thread restart code robust
  2343. to identify sick threads, tag them SICK after 1 minute, then DEAD after 5
  2344. minutes of inactivity and try to restart them. Instead of re-initialising the
  2345. GPU completely, only a new cl context is created to avoid hanging the rest of
  2346. the GPUs should the dead GPU be hung irrevocably.
  2347. - Use correct application name in syslog.
  2348. - Get rid of extra line feeds.
  2349. - Use pkg-config to check for libcurl version
  2350. - Implement per-thread getwork count with proper accounting to not over-account
  2351. queued items when local work replaces it.
  2352. - Create a command queue from the program created from source which allows us
  2353. to flush the command queue in the hope it will not generate a zero sized binary
  2354. any more.
  2355. - Be more willing to get work from the backup pools if the work is simply being
  2356. queued faster than it is being retrieved.
  2357. CGMiner Version 1.5.2 - July 28, 2011
  2358. - Restarting a hung GPU can hang the rest of the GPUs so just declare it dead
  2359. and provide the information in the status.
  2360. - The work length in the miner thread gets smaller but doesn't get bigger if
  2361. it's under 1 second. This could end up leading to CPU under-utilisation and
  2362. lower and lower hash rates. Fix it by increasing work length if it drops
  2363. under 1 second.
  2364. - Make the "quiet" mode still update the status and display errors, and add a
  2365. new --real-quiet option which disables all output and can be set once while
  2366. running.
  2367. - Update utility and efficiency figures when displaying them.
  2368. - Some Intel HD graphics support the opencl commands but return errors since
  2369. they don't support opencl. Don't fail with them, just provide a warning and
  2370. disable GPU mining.
  2371. - Add http:// if it's not explicitly set for URL entries.
  2372. - Log to the output file at any time with warnings and errors, instead of just
  2373. when verbose mode is on.
  2374. - Display the correct current hash as per blockexplorer, truncated to 16
  2375. characters, with just the time.
  2376. CGMiner Version 1.5.1 - July 27, 2011
  2377. - Two redraws in a row cause a crash in old libncurses so just do one redraw
  2378. using the main window.
  2379. - Don't adjust hash_div only up for GPUs. Disable hash_div adjustment for GPUs.
  2380. - Only free the thread structures if the thread still exists.
  2381. - Update both windows separately, but not at the same time to prevent the double
  2382. refresh crash that old libncurses has. Do the window resize check only when
  2383. about to redraw the log window to minimise ncurses cpu usage.
  2384. - Abstract out the decay time function and use it to make hash_div a rolling
  2385. average so it doesn't change too abruptly and divide work in chunks large enough
  2386. to guarantee they won't overlap.
  2387. - Sanity check to prove locking.
  2388. - Don't take more than one lock at a time.
  2389. - Make threads report out when they're queueing a request and report if they've
  2390. failed.
  2391. - Make cpu mining work submission asynchronous as well.
  2392. - Properly detect stale work based on time from staging and discard instead of
  2393. handing on, but be more lax about how long work can be divided for up to the
  2394. scantime.
  2395. - Do away with queueing work separately at the start and let each thread grab
  2396. its own work as soon as it's ready.
  2397. - Don't put an extra work item in the queue as each new device thread will do so
  2398. itself.
  2399. - Make sure to decrease queued count if we discard the work.
  2400. - Attribute split work as local work generation.
  2401. - If work has been cloned it is already at the head of the list and when being
  2402. reinserted into the queue it should be placed back at the head of the list.
  2403. - Dividing work is like the work is never removed at all so treat it as such.
  2404. However the queued bool needs to be reset to ensure we *can* request more work
  2405. even if we didn't initially.
  2406. - Make the display options clearer.
  2407. - Add debugging output to tq_push calls.
  2408. - Add debugging output to all tq_pop calls.
  2409. CGMiner Version 1.5.0 - July 26, 2011
  2410. - Increase efficiency of slow mining threads such as CPU miners dramatically. Do
  2411. this by detecting which threads cannot complete searching a work item within the
  2412. scantime and then divide up a work item into multiple smaller work items.
  2413. Detect the age of the work items and if they've been cloned before to prevent
  2414. doing the same work over. If the work is too old to be divided, then see if it
  2415. can be time rolled and do that to generate work. This dramatically decreases the
  2416. number of queued work items from a pool leading to higher overall efficiency
  2417. (but the same hashrate and share submission rate).
  2418. - Don't request work too early for CPUs as CPUs will scan for the full
  2419. opt_scantime anyway.
  2420. - Simplify gpu management enable/disable/restart code.
  2421. - Implement much more accurate rolling statistics per thread and per gpu and
  2422. improve accuracy of rolling displayed values.
  2423. - Make the rolling log-second average more accurate.
  2424. - Add a menu to manage GPUs on the fly allowing you to enable/disable GPUs or
  2425. try restarting them.
  2426. - Keep track of which GPUs are alive versus enabled.
  2427. - Start threads for devices that are even disabled, but don't allow them to
  2428. start working.
  2429. - The last pool is when we are low in total_pools, not active_pools.
  2430. - Make the thread restart do a pthread_join after disabling the device, only
  2431. re-enabling it if we succeed in restarting the thread. Do this from a separate
  2432. thread so as to not block any other code.This will allow cgminer to continue
  2433. even if one GPU hangs.
  2434. - Try to do every curses manipulation under the curses lock.
  2435. - Only use the sockoptfunction if the version of curl is recent enough.
  2436. CGMiner Version 1.4.1 - July 24, 2011
  2437. - Do away with GET for dealing with longpoll forever. POST is the one that works
  2438. everywhere, not the other way around.
  2439. - Detect when the primary pool is lagging and start queueing requests on backup
  2440. pools if possible before needing to roll work.
  2441. - Load balancing puts more into the current pool if there are disabled pools.
  2442. Fix.
  2443. - Disable a GPU device should the thread fail to init.
  2444. - Out of order command queue may fail on osx. Try without if it fails.
  2445. - Fix possible dereference on blank inputs during input_pool.
  2446. - Defines missing would segfault on --help when no sse mining is built in.
  2447. - Revert "Free up resources/stale compilers." - didn't help.
  2448. - Only try to print the status of active devices or it would crash.
  2449. - Some hardware might benefit from the less OPS so there's no harm in leaving
  2450. kernel changes that do that apart from readability of the code.
  2451. CGMiner Version 1.4.0 - July 23, 2011
  2452. - Feature upgrade: Add keyboard input during runtime to allow modification of
  2453. and viewing of numerous settings such as adding/removing pools, changing
  2454. multipool management strategy, switching pools, changing intensiy, verbosity,
  2455. etc. with a simple keypress menu system.
  2456. - Free up resources/stale compilers.
  2457. - Kernels are safely flushed in a way that allows out of order execution to
  2458. work.
  2459. - Sometimes the cl compiler generates zero sized binaries and only a reboot
  2460. seems to fix it.
  2461. - Don't try to stop/cancel threads that don't exist.
  2462. - Only set option to show devices and exit if built with opencl support.
  2463. - Enable curses earlier and exit with message in main for messages to not be
  2464. lost in curses windows.
  2465. - Make it possible to enter server credentials with curses input if none are
  2466. specified on the command line.
  2467. - Abstract out a curses input function and separate input pool function to allow
  2468. for live adding of pools later.
  2469. - Remove the nil arguments check to allow starting without parameters.
  2470. - Disable/enable echo & cbreak modes.
  2471. - Add a thread that takes keyboard input and allow for quit, silent, debug,
  2472. verbose, normal, rpc protocol debugging and clear screen options.
  2473. - Add pool option to input and display current pool status, pending code to
  2474. allow live changes.
  2475. - Add a bool for explicit enabling/disabling of pools.
  2476. - Make input pool capable of bringing up pools while running.
  2477. - Do one last check of the work before submitting it.
  2478. - Implement the ability to live add, enable, disable, and switch to pools.
  2479. - Only internally test for block changes when the work matches the current pool
  2480. to prevent interleaved block change timing on multipools.
  2481. - Display current pool management strategy to enable changing it on the fly.
  2482. - The longpoll blanking of the current_block data may not be happening before
  2483. the work is converted and appears to be a detected block change. Blank the
  2484. current block be
  2485. - Make --no-longpoll work again.
  2486. - Abstract out active pools count.
  2487. - Allow the pool strategy to be modified on the fly.
  2488. - Display pool information on the fly as well.
  2489. - Add a menu and separate out display options.
  2490. - Clean up the messy way the staging thread communicates with the longpoll
  2491. thread to determine who found the block first.
  2492. - Make the input windows update immediately instead of needing a refresh.
  2493. - Allow log interval to be set in the menu.
  2494. - Allow scan settings to be modified at runtime.
  2495. - Abstract out the longpoll start and explicitly restart it on pool change.
  2496. - Make it possible to enable/disable longpoll.
  2497. - Set priority correctly on multipools. Display priority and alive/dead
  2498. information in display_pools.
  2499. - Implement pool removal.
  2500. - Limit rolltime work generation to 10 iterations only.
  2501. - Decrease testing log to info level.
  2502. - Extra refresh not required.
  2503. - With huge variation in GPU performance, allow intensity to go from -10 to +10.
  2504. - Tell getwork how much of a work item we're likely to complete for future
  2505. splitting up of work.
  2506. - Remove the mandatory work requirement at startup by testing for invalid work
  2507. being passed which allows for work to be queued immediately. This also
  2508. removes the requirem
  2509. - Make sure intensity is carried over to thread count and is at least the
  2510. minimum necessary to work.
  2511. - Unlocking error on retry. Locking unnecessary anyway so remove it.
  2512. - Clear log window from consistent place. No need for locking since logging is
  2513. disabled during input.
  2514. - Cannot print the status of threads that don't exist so just queue enough work
  2515. for the number of mining threads to prevent crash with -Q N.
  2516. - Update phatk kernel to one with new parameters for slightly less overhead
  2517. again. Make the queue kernel parameters call a function pointer to select
  2518. phatk or poclbm.
  2519. - Make it possible to select the choice of kernel on the command line.
  2520. - Simplify the output part of the kernel. There's no demonstrable advantage from
  2521. more complexity.
  2522. - Merge pull request #18 from ycros/cgminer
  2523. - No need to make leaveok changes win32 only.
  2524. - Build support in for all SSE if possible and only set the default according to
  2525. machine capabilities.
  2526. - Win32 threading and longpoll keepalive fixes.
  2527. - Win32: Fix for mangled output on the terminal on exit.
  2528. CGMiner Version 1.3.1 - July 20, 2011
  2529. - Feature upgrade; Multiple strategies for failover. Choose from default which
  2530. now falls back to a priority order from 1st to last, round robin which only
  2531. changes pools when one is idle, rotate which changes pools at user-defined
  2532. intervals, and load-balance which spreads the work evenly amongst all pools.
  2533. - Implement pool rotation strategy.
  2534. - Implement load balancing algorithm by rotating requests to each pool.
  2535. - Timeout on failed discarding of staged requests.
  2536. - Implement proper flagging of idle pools, test them with the watchdog thread,
  2537. and failover correctly.
  2538. - Move pool active test to own function.
  2539. - Allow multiple strategies to be set for multipool management.
  2540. - Track pool number.
  2541. - Don't waste the work items queued on testing the pools at startup.
  2542. - Reinstate the mining thread watchdog restart.
  2543. - Add a getpoll bool into the thread information and don't restart threads stuck
  2544. waiting on work.
  2545. - Rename the idlenet bool for the pool for later use.
  2546. - Allow the user/pass userpass urls to be input in any order.
  2547. - When json rpc errors occur they occur in spits and starts, so trying to limit
  2548. them with the comms error bool doesn't stop a flood of them appearing.
  2549. - Reset the queued count to allow more work to be queued for the new pool on
  2550. pool switch.
  2551. CGMiner Version 1.3.0 - July 19, 2011
  2552. - Massive infrastructure update to support pool failover.
  2553. - Accept multiple parameters for url, user and pass and set up structures of
  2554. pool data accordingly.
  2555. - Probe each pool for what it supports.
  2556. - Implement per pool feature support according to rolltime support as
  2557. advertised by server.
  2558. - Do switching automatically based on a 300 second timeout of locally generated
  2559. work or 60 seconds of no response from a server that doesn't support rolltime.
  2560. - Implement longpoll server switching.
  2561. - Keep per-pool data and display accordingly.
  2562. - Make sure cgminer knows how long the pool has actually been out for before
  2563. deeming it a prolonged outage.
  2564. - Fix bug with ever increasing staged work in 1.2.8 that eventually caused
  2565. infinite rejects.
  2566. - Make warning about empty http requests not show by default since many
  2567. servers do this regularly.
  2568. CGMiner Version 1.2.8 - July 18, 2011
  2569. - More OSX build fixes.
  2570. - Add an sse4 algorithm to CPU mining.
  2571. - Fix CPU mining with other algorithms not working.
  2572. - Rename the poclbm file to ensure a new binary is built since.
  2573. - We now are guaranteed to have one fresh work item after a block change and we
  2574. should only discard staged requests.
  2575. - Don't waste the work we retrieve from a longpoll.
  2576. - Provide a control lock around global bools to avoid racing on them.
  2577. - Iterating over 1026 nonces when confirming data from the GPU is old code
  2578. and unnecessary and can lead to repeats/stales.
  2579. - The poclbm kernel needs to be updated to work with the change to 4k sized
  2580. output buffers.
  2581. - longpoll seems to work either way with post or get but some servers prefer
  2582. get so change to httpget.
  2583. CGMiner Version 1.2.7 - July 16, 2011
  2584. - Show last 8 characters of share submitted in log.
  2585. - Display URL connected to and user logged in as in status.
  2586. - Display current block and when it was started in the status line.
  2587. - Only pthread_join the mining threads if they exist as determined by
  2588. pthread_cancel and don't fail on pthread_cancel.
  2589. - Create a unique work queue for all getworks instead of binding it to thread 0
  2590. to avoid any conflict over thread 0's queue.
  2591. - Clean up the code to make it clear it's watchdog thread being messaged to
  2592. restart the threads.
  2593. - Check the current block description hasn't been blanked pending the real
  2594. new current block data.
  2595. - Re-enable signal handlers once the signal has been received to make it
  2596. possible to kill cgminer if it fails to shut down.
  2597. - Disable restarting of CPU mining threads pending further investigation.
  2598. - Update longpoll messages.
  2599. - Add new block data to status line.
  2600. - Fix opencl tests for osx.
  2601. - Only do local generation of work if the work item is not stale itself.
  2602. - Check for stale work within the mining threads and grab new work if
  2603. positive.
  2604. - Test for idle network conditions and prevent threads from being restarted
  2605. by the watchdog thread under those circumstances.
  2606. - Make sure that local work generation does not continue indefinitely by
  2607. stopping it after 10 minutes.
  2608. - Tweak the kernel to have a shorter path using a 4k buffer and a mask on the
  2609. nonce value instead of a compare and loop for a shorter code path.
  2610. - Allow queue of zero and make that default again now that we can track how
  2611. work is being queued versus staged. This can decrease reject rates.
  2612. - Queue precisely the number of mining threads as longpoll_staged after a
  2613. new block to not generate local work.
  2614. CGMiner Version 1.2.6 - July 15, 2011
  2615. - Put a current system status line beneath the total work status line
  2616. - Fix a counting error that would prevent cgminer from correctly detecting
  2617. situations where getwork was failing - this would cause stalls sometimes
  2618. unrecoverably.
  2619. - Limit the maximum number of requests that can be put into the queue which
  2620. otherwise could get arbitrarily long during a network outage.
  2621. - Only count getworks that are real queue requests.
  2622. CGMiner Version 1.2.5 - July 15, 2011
  2623. - Conflicting -n options corrected
  2624. - Setting an intensity with -I disables dynamic intensity setting
  2625. - Removed option to manually disable dynamic intensity
  2626. - Improve display output
  2627. - Implement signal handler and attempt to clean up properly on exit
  2628. - Only restart threads that are not stuck waiting on mandatory getworks
  2629. - Compatibility changes courtesy of Ycros to build on mingw32 and osx
  2630. - Explicitly grab first work item to prevent false positive hardware errors
  2631. due to working on uninitialised work structs
  2632. - Add option for non curses --text-only output
  2633. - Ensure we connect at least once successfully before continuing to retry to
  2634. connect in case url/login parameters were wrong
  2635. - Print an executive summary when cgminer is terminated
  2636. - Make sure to refresh the status window
  2637. CGMiner Versions -> 1.2.4
  2638. - Con Kolivas - July 2011. New maintainership of code under cgminer name.
  2639. - Massive rewrite to incorporate GPU mining.
  2640. - Incorporate original oclminer c code.
  2641. - Rewrite gpu mining code to efficient work loops.
  2642. - Implement per-card detection and settings.
  2643. - Implement vector code.
  2644. - Implement bfi int patching.
  2645. - Import poclbm and phatk ocl kernels and use according to hardware type.
  2646. - Implement customised optimised versions of opencl kernels.
  2647. - Implement binary kernel generation and loading.
  2648. - Implement preemptive asynchronous threaded work gathering and pushing.
  2649. - Implement variable length extra work queues.
  2650. - Optimise workloads to be efficient miners instead of getting lots of extra
  2651. work.
  2652. - Implement total hash throughput counters, per-card accepted, rejected and
  2653. hw error count.
  2654. - Staging and watchdog threads to prevent fallover.
  2655. - Stale and reject share guarding.
  2656. - Autodetection of new blocks without longpoll.
  2657. - Dynamic setting of intensity to maintain desktop interactivity.
  2658. - Curses interface with generous statistics and information.
  2659. - Local generation of work (xroll ntime) when detecting poor network
  2660. connectivity.
  2661. cpuminer Version 1.0.2
  2662. - Linux x86_64 optimisations - Con Kolivas
  2663. - Optimise for x86_64 by default by using sse2_64 algo
  2664. - Detects CPUs and sets number of threads accordingly
  2665. - Uses CPU affinity for each thread where appropriate
  2666. - Sets scheduling policy to lowest possible
  2667. - Minor performance tweaks
  2668. cpuminer Version 1.0.1 - May 14, 2011
  2669. - OSX support
  2670. cpuminer Version 1.0 - May 9, 2011
  2671. - jansson 2.0 compatibility
  2672. - correct off-by-one in date (month) display output
  2673. - fix platform detection
  2674. - improve yasm configure bits
  2675. - support full URL, in X-Long-Polling header
  2676. cpuminer Version 0.8.1 - March 22, 2011
  2677. - Make --user, --pass actually work
  2678. - Add User-Agent HTTP header to requests, so that server operators may
  2679. more easily identify the miner client.
  2680. - Fix minor bug in example JSON config file
  2681. cpuminer Version 0.8 - March 21, 2011
  2682. - Support long polling: http://deepbit.net/longpolling.php
  2683. - Adjust max workload based on scantime (default 5 seconds,
  2684. or 60 seconds for longpoll)
  2685. - Standardize program output, and support syslog on Unix platforms
  2686. - Suport --user/--pass options (and "user" and "pass" in config file),
  2687. as an alternative to the current --userpass
  2688. cpuminer Version 0.7.2 - March 14, 2011
  2689. - Add port of ufasoft's sse2 assembly implementation (Linux only)
  2690. This is a substantial speed improvement on Intel CPUs.
  2691. - Move all JSON-RPC I/O to separate thread. This reduces the
  2692. number of HTTP connections from one-per-thread to one, reducing resource
  2693. usage on upstream bitcoind / pool server.
  2694. cpuminer Version 0.7.1 - March 2, 2011
  2695. - Add support for JSON-format configuration file. See example
  2696. file example-cfg.json. Any long argument on the command line
  2697. may be stored in the config file.
  2698. - Timestamp each solution found
  2699. - Improve sha256_4way performance. NOTE: This optimization makes
  2700. the 'hash' debug-print output for sha256_way incorrect.
  2701. - Use __builtin_expect() intrinsic as compiler micro-optimization
  2702. - Build on Intel compiler
  2703. - HTTP library now follows HTTP redirects
  2704. cpuminer Version 0.7 - February 12, 2011
  2705. - Re-use CURL object, thereby reuseing DNS cache and HTTP connections
  2706. - Use bswap_32, if compiler intrinsic is not available
  2707. - Disable full target validation (as opposed to simply H==0) for now
  2708. cpuminer Version 0.6.1 - February 4, 2011
  2709. - Fully validate "hash < target", rather than simply stopping our scan
  2710. if the high 32 bits are 00000000.
  2711. - Add --retry-pause, to set length of pause time between failure retries
  2712. - Display proof-of-work hash and target, if -D (debug mode) enabled
  2713. - Fix max-nonce auto-adjustment to actually work. This means if your
  2714. scan takes longer than 5 seconds (--scantime), the miner will slowly
  2715. reduce the number of hashes you work on, before fetching a new work unit.
  2716. cpuminer Version 0.6 - January 29, 2011
  2717. - Fetch new work unit, if scanhash takes longer than 5 seconds (--scantime)
  2718. - BeeCee1's sha256 4way optimizations
  2719. - lfm's byte swap optimization (improves via, cryptopp)
  2720. - Fix non-working short options -q, -r
  2721. cpuminer Version 0.5 - December 28, 2010
  2722. - Exit program, when all threads have exited
  2723. - Improve JSON-RPC failure diagnostics and resilience
  2724. - Add --quiet option, to disable hashmeter output.
  2725. cpuminer Version 0.3.3 - December 27, 2010
  2726. - Critical fix for sha256_cryptopp 'cryptopp_asm' algo
  2727. cpuminer Version 0.3.2 - December 23, 2010
  2728. - Critical fix for sha256_via
  2729. cpuminer Version 0.3.1 - December 19, 2010
  2730. - Critical fix for sha256_via
  2731. - Retry JSON-RPC failures (see --retry, under "minerd --help" output)
  2732. cpuminer Version 0.3 - December 18, 2010
  2733. - Add crypto++ 32bit assembly implementation
  2734. - show version upon 'minerd --help'
  2735. - work around gcc 4.5.x bug that killed 4way performance
  2736. cpuminer Version 0.2.2 - December 6, 2010
  2737. - VIA padlock implementation works now
  2738. - Minor build and runtime fixes
  2739. cpuminer Version 0.2.1 - November 29, 2010
  2740. - avoid buffer overflow when submitting solutions
  2741. - add Crypto++ sha256 implementation (C only, ASM elided for now)
  2742. - minor internal optimizations and cleanups
  2743. cpuminer Version 0.2 - November 27, 2010
  2744. - Add script for building a Windows installer
  2745. - improve hash performance (hashmeter) statistics
  2746. - add tcatm 4way sha256 implementation
  2747. - Add experimental VIA Padlock sha256 implementation
  2748. cpuminer Version 0.1.2 - November 26, 2010
  2749. - many small cleanups and micro-optimizations
  2750. - build win32 exe using mingw
  2751. - RPC URL, username/password become command line arguments
  2752. - remove unused OpenSSL dependency
  2753. cpuminer Version 0.1.1 - November 24, 2010
  2754. - Do not build sha256_generic module separately from cpuminer.
  2755. cpuminer Version 0.1 - November 24, 2010
  2756. - Initial release.