NEWS 253 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111
  1. BFGMiner Version 3.1.2 - July 8, 2013
  2. - When not compiling with optimizations, initialize unused nonce2 space to avoid
  3. warnings from memory checking tools
  4. - TUI Manage devices: Support PgUp/PgDn keys to skip over processors within the
  5. same device
  6. - Bugfix: bitforce: Prefer 2nd temperature if higher than 1st
  7. - When displaying device summary statlines, use the highest temperature reported
  8. by any processor
  9. - Stratum: Fix nonce2 sizes greater than 4 and (on big-endian) smaller than 4
  10. - bitforce: Manage TUI: Display both temperatures (if two), and enable changing
  11. fan speed
  12. - opencl: Add fan speed to Manage device TUI now that it's been removed from
  13. statline
  14. - DevAPI: Remove old statline APIs entirely, and add new override_statline_temp
  15. (used by modminer/x6500 for upload %)
  16. - README: Update statlines
  17. - TUI: Replace DevAPI statline_before with a predefined temperature column to
  18. free up statline space
  19. - Refactor and simplify bin2hex to speed up and avoid unnecessary heap use
  20. - stratum: Refactor work generation to do hex2bin conversions once, rather than
  21. every single header generated
  22. - Implement bytes_t for generic binary data storage (including smart realloc-
  23. based resize)
  24. - Bugfix: fpgautils: Only try to change baud rate when requested
  25. - x6500: Provide manuf/product/serial to cgpu interface
  26. - ztex: Provide manuf/product/serial to cgpu interface
  27. - erupter: Use baud 115200 by default
  28. - List valid baud rates once in iospeeds.h and standardize conversions
  29. - TUI: Display device manufacturer/product/serial in Manage device screen, when
  30. available
  31. - DevAPI: Store manufacturer/product/serial for each device
  32. - fpgautils: detectone_meta_info to provide metainformation (manufacturer,
  33. product, serial) on devices to detectone functions
  34. - Bugfix: fpgautils: Close product string file from sysfs (autodetect)
  35. - erupter: New icarus-based driver to handle autodetection of Block Erupter
  36. devices
  37. - Add --log-file option which redirects stderr to a file, but valid anywhere in
  38. the commandline or config file
  39. - Detect staged work underruns and increase queue to avoid them
  40. - Rewrite hex2bin to perform much faster (reduces minirig CPU usage by more than
  41. half!)
  42. - README: Add condensed list of dependencies
  43. - Enable "maintainer mode" by default
  44. - Bugfix: opencl: TUI manage: "Change settings" must not be compiled in with
  45. no-ADL builds
  46. - Bugfix: Detect whether the linker accepts -zorigin before attempting to use it
  47. - opencl: ADL: ADL_Adapter_ID_Get fails with newer drivers, so tolerate its
  48. failure best we can
  49. - opencl: Don't try to use BFI_INT patching with APP-SDK newer than 1084
  50. (Catalyst 13.1), since it doesn't work
  51. - fpgautils: Elaborate that bitstream open failures are probably due to missing
  52. bitstream package
  53. - fpgautils: s/firmware/bitstream/
  54. - Bugfix: Cleanup handling of complete device/driver failure
  55. - Deprecate -C (enable CPU) and -G (disable GPU) options, now that -S
  56. drv:[no]auto can be used for the same purposes
  57. - Bugfix: Since at least one of unix (or __APPLE__) or WIN32 is required by
  58. util.h, make sure unix is defined if WIN32 is not
  59. - Bugfix: Set ELF rpath for bundled libblkmaker to use $ORIGIN so it can be run
  60. from other directories
  61. - Bugfix: Cleanup needs to happen before printing the final quit message, or it
  62. gets lost in TUI mode
  63. - Bugfix: fpgautils: Initialize my_dev_t instances with null bytes, to ensure
  64. random unused data cannot influence hash keys
  65. - opencl: ManageTUI: Clear log cleanly for changing settings
  66. - Remove "GPU management" TUI entirely
  67. - opencl: Use new "Manage device" interface to do everything "GPU management"
  68. used to be used for
  69. - DevAPI: Add interface for drivers to define custom "Manage device" options
  70. - DevAPI: New function called to display additional processor information for
  71. "Manage devices"
  72. - TUI: Add enable/disable commands to device management
  73. - TUI: Implement beginnings of generic device management interface
  74. - Bugfix: avalon: Fix LIFE_INIT2 setting
  75. - Add LIFE_INIT2 status (safe to call functions, but not mining yet) for devices
  76. that want to report initialization status in their statline
  77. - Bugfix: modminer: Only program once for --force-dev-init
  78. - Bugfix: x6500: Only program once for --force-dev-init
  79. - fpgautils: Workaround and document Xcode clang bug
  80. - Bugfix: avalon: Correctly claim serial port
  81. - Bugfix: -S all: Mac OS X needs to probe /dev/cu.*, not just /dev/cu.usb*
  82. - cpu & opencl: Refuse to detect more than once
  83. - cpu & opencl: Respect scan-serial auto/noauto instructions
  84. - ft232r & libztex: Skip probe of claimed devices
  85. - fpgautils: Check for devices being claimed before calling detectone from autodetectors
  86. - x6500 & ztex: Claim USB devices
  87. - fpgautils: Implement bfg_claim_usb for claiming devices by USB bus number and
  88. address
  89. - fpgautils: Replace serial_claim with bfg_claim_serial using a more cleanly
  90. extensible interface and implementation
  91. - fpgautils: serial_claim: Include a bus enum in hash key
  92. - Add serial port claiming logic to avalon, bitforce, and modminer drivers
  93. - RPC: "devscan" command to probe for new devices
  94. - New (internal) scan_serial function to probe for new devices at runtime
  95. - Split out per-cgpu temperature configuration code to load_temp_config_cgpu
  96. - DevAPI: Modify add_cgpu to use temporary devices_new array, so detection can
  97. be done without touching live variables
  98. - Move more cgpu initialization to allocate_cgpu
  99. - Move devtype default assignment to allocate_cgpu
  100. - Move cgpu startup routine to new start_cgpu function
  101. - Move cgpu_info allocation to new allocate_cgpu function
  102. - Move *.drv_detect calls to a new drv_detect_all function
  103. - DevAPI: add_cgpu: There is no need to hold mutexes while creating devices
  104. - Bugfix: cpu: Update device "kernel name" with auto-selected algorithm
  105. - usbtest: Improve portability to at least 2.7 and 3.2
  106. - usbtest: Avoid messing up the display by escaping weird bytes via repr()
  107. - usbtest: Skip last 2 optional parameters, since we use the defaults and they
  108. are not in older versions of pyserial
  109. - Bugfix: bitforce: ZOX limits results to 16 results per call, so repeat ZOX
  110. until there are fewer
  111. - Bugfix: Initialization for bfgtls needs to be done in each thread
  112. - Bugfix: stratum: Be patient with stratum lines that come in slower than we can
  113. process them
  114. - Use bfg_strerror in locations previously just logging raw error numbers
  115. - Bugfix: stratum: Log WSAGetLastError() for error number on recv failures on
  116. Windows
  117. - Use bfg_strerror where it is already needed (for thread-safety)
  118. - New thread-safe bfg_strerror function to portably stringify error codes
  119. - Bugfix: bitforce_queue: Initialize buf2 so errors don't cause the work queue
  120. to flush
  121. - TUI: Display percentage invalid of found nonces with hw errors
  122. - Bugfix: modminer & x6500: Increment *->diff1 for all bad nonces
  123. - percentf2 that takes t as precalculated total
  124. - Keep track of bad nonces independently from generic hw errors
  125. - inc_hw_errors: Resolve cgpu outside of mutex
  126. - Use inc_hw_errors function at every site which increases hw_errors
  127. BFGMiner Version 3.1.1 - June 22, 2013
  128. - stratum: Deliver exact socket-error within the debug error message
  129. - Don't install docs for (compile-time) disabled functionality
  130. - Bugfix: Handle make dependencies on subdirectory files properly
  131. - Bugfix: Use EXTRA_*_DEPENDENCIES for Cygwin workaround, to fix program make
  132. dependencies
  133. - Support new overclocking speeds for avalon: 325, 350 and 375
  134. - Bugfix: logging: Since we are inlining snprintf, stdio.h is needed
  135. - Bugfix: serial_autodetect_ftdi: Debuglog FTDI COM port mappings returned, fix
  136. type of FT_HANDLE
  137. - Bugfix: Allow starting non-libusb devices if libusb_init fails
  138. - Bugfix: Add missing newline to libusb_init failure message
  139. - Bugfix: opencl: Remove unnecessary casts from rot() macro, which created type
  140. issues
  141. - Bugfix: Remove unused variables
  142. - Suspend stratum connections when we know they've failed and don't try to recv
  143. data from them once the socket no longer exists.
  144. - applog/quit fix GPU errors created
  145. - logging remove extra added <LF>
  146. - remove varargs from logging/quit/in general as much as possible
  147. - compile unix code on Mac OS X fixes not finding the config file in $HOME
  148. - Create a pool_localgen bool function for testing when a pool can generate work
  149. locally.
  150. - Use mining start time for device MH/U calculations
  151. - Bugfix: Save start time for stats to correct "Elapsed" key on "stats" RPC
  152. request
  153. - modminer: tidy up free in device detect function
  154. - bitforce: RPC pgaset fanmode 9 for auto fan control
  155. - Bugfix: usbtest: Correct obvious typos
  156. - Initial import of usbtest.py script
  157. - Include microseconds in log output with new --log-microseconds option
  158. - bitforce: Workaround chip ids not necessarily being in order by choosing
  159. processor count based on expected chip ids rather than parallelization
  160. - serial_autodetect_ftdi: Debuglog FTDI COM port mappings returned
  161. - Bugfix: On stratum disconnect, clear stratum_active and stratum_notify
  162. atomically along with sock
  163. - Windows: Use backtrace.dll to print usable backtraces to stderr on crash
  164. - Bugfix: bitforce: parallelized: Properly handle parallelized protocol with
  165. only 1 chip
  166. - Bugfix: bitforce: XLINK: Increment boardno when moving on to the next board
  167. - bitforce: XLINK: Update to use actual length,xlinkid header order
  168. - Bugfix: bitforce: XLINK: Avoid trying to send 0 bytes after each write
  169. - Bugfix: opencl: Build fpgautils even if OpenCL is the only driver, now that it
  170. uses it for kernel-finding
  171. - Bugfix: Do not try to call get_stats or get_statline* if device is still
  172. initializing
  173. - Bugfix: opencl: Add missing include for fpgautils.h (needed for
  174. open_bitstream)
  175. BFGMiner Version 3.1.0 - June 13, 2013
  176. - Bugfix: openwrt: Expect fixed bitstream path for input
  177. - Improve Makefile organization and fix "make install"
  178. - icarus: Upgrade work division autodetection probe to be faster and also detect
  179. 8 core
  180. - Calculate rejection percentage based on weighed shares, not absolute counts
  181. - Count weighed discarded (stale) shares per cgpu
  182. - Bugfix: Cleanly count discarded (stale) shares without overlapping
  183. devices/sshare locks within clear_stratum_shares
  184. - configure: Enable Avalon support by default now that it behaves reasonably
  185. - avalon: Since detection is not really implemented, only probe devices when the
  186. driver is specified to -S by name (eg, "avalon:/dev/ttyUSB0")
  187. - Bugfix: bitforce_queue: Never try to reinitialize a slave processor
  188. - Bugfix: bitforce_queue: Use work_list_del everywhere we remove from work_list
  189. to ensure work gets freed properly when done
  190. - Reduce HW error logging to debug level, so it doesn't clutter the TUI log by
  191. default
  192. - DevAPI: When a device has more than 26 processors, represent them as aa-zz
  193. - bitforce: bitforce: Fix TUI display of slave processors on parallelized boards
  194. - bitforce: Only display temperature in TUI for the first chip on parallelized
  195. boards
  196. - Bugfix: bitforce: Set temperature for all processors on the board
  197. - Bugfix: bitforce_queue: Initialize proc->device_data to board data for
  198. parallelized chip processors
  199. - Bugfix: bitforce_queue: Defer nonce count check until after thiswork has been
  200. identified (or handled as NULL)
  201. - avalon: avalon_clear_readbuf can simply wait for a single read timeout on
  202. Windows to avoid select
  203. - avalon: Simplify avalon_get_result by using avalon_gets
  204. - avalon: Go back to good old serial timeouts for gets, since select() is for
  205. sockets (only, on Windows)
  206. - Updated api.c to return the hashrate with 3 decimal places
  207. - Change hashrate display to never display 3 fractional digits, because it looks
  208. a bit ugly
  209. - bitforce: Credit hashrate to the correct chip on parallelized devices
  210. - Re-set work thr_id on share submissions, to ensure the result gets credited to
  211. the correct device in case of shared job queues (as in BitForce long boards)
  212. - bitforce: Turn parallelization into separate logical processors for more
  213. details on each, including working with XLink
  214. - bitforce_queue: Implement job sanity checks using new "ZqX" for devices using
  215. parallelization
  216. - bitforce_queue: Minimal support for parallelization
  217. - Add --device-protocol-dump option to debuglog low-level bitforce protocol
  218. details
  219. - When shutting down, set work restart flag (and trigger notifier) to help
  220. mining threads escape to their main minerloop (and check for shutdown)
  221. - Document and check for uthash version 1.9.2+
  222. - Bugfix: Don't report failure for graceful mining thread shutdown
  223. - Name devices in mining thread failures
  224. - Warn about killing mining threads
  225. - Bugfix: Wake up mining threads when asking them to shutdown
  226. - Disable pthread cancel within curses locking
  227. - Shorten the avalon statline to fit in the curses interface and show the lowest
  228. speed fan cooling the asic devices.
  229. - Change switch_compact function name to switch_logsize to be used for other
  230. changes.
  231. - Only adjust cursor positions with curses locked.
  232. - devs display - fix GPU duplicate bug
  233. - basic copyright statement in API.java
  234. - Change the --device parameter parsing and configuration to accept ranges and
  235. comma separated values.
  236. - Modify scrypt kernel message.
  237. - Check for pool_disabled in wait_lp_current
  238. - Check for pool enabled in cnx_needed.
  239. - Add README.ASIC to debian packaging and make-release
  240. - Document avalon options in ASIC-README
  241. - Create README.ASIC with basic summary of supported ASIC devices.
  242. - Do avalon driver detection last as it will try to claim any similar device and
  243. they are not reliably detected.
  244. - Set the fanspeed to the nominal chosen for GPUs.
  245. - Clamp initial GPU fanspeed to within user specified range.
  246. - Avalon fan factor is already multiplied into the info values.
  247. - Get rid of zeros which corrupt display.
  248. - Logic fail on minimum fanspeed reporting.
  249. - Provide a workaround for fan0 sensor not being used on avalon and pad fan RPM
  250. with zeros.
  251. - Add ambient temp and lowest fan RPM information to avalon statline.
  252. - Display max temperature and fanspeed data for avalon.
  253. - Set devices to disabled after they exit the hashing loops to prevent the
  254. watchdog thread from trying to act on them.
  255. - Scanhash functions perform driver shutdown so don't repeat it.
  256. - Change the opencl shutdown sequence.
  257. - Send the shutdown message to threads and do the thread shutdown functions
  258. before more forcefully sending pthread_cancel to threads.
  259. - Icarus report data direction with comms errors
  260. - Execute driver shutdown sequence during kill_work.
  261. - Provide an nusleep equivalent function to nmsleep.
  262. - Set avalon_info to device data void struct.
  263. - Make submit_nonce return a bool for whether it's a valid share or not.
  264. - Do a non-blocking read of anything in the avalon buffer after opening the
  265. device.
  266. - Assign the avalon info data to the device_data in cgpu_info.
  267. - Rename cgpu_data to use new device_data
  268. - miner.h remove unused device_file and add device_data
  269. - Must unlock curses as well in logwin_update.
  270. - icarus report usb write error information
  271. - Make mining threads report out during work submission.
  272. - submit_work_async is no longer used directly by driver code.
  273. - Create a logwin_update function which mandatorily updates the logwin and use
  274. it when input is expected to prevent display refresh delays.
  275. - All stratum calls to recv_line are serialised from the one place so there is
  276. no need to use locking around recv().
  277. - Only allow the mining thread to be cancelled when it is not within driver
  278. code, making for cleaner shutdown and allowing us to pthread_join the miner
  279. threads on kill_work().
  280. - Implement pthread_testcancel replacement for BIONIC
  281. - Attribute whatever stats we can get on untracked stratum shares based on
  282. current pool diff.
  283. - Downgrade OpenCL headers to 1.0, which work fine for our purposes and are more
  284. compatible
  285. - icarus: If work_division autodetect fails, just use the old default of 2
  286. - avalonhost-raminst script to help with installing to RAM on Avalon-host
  287. routers
  288. - Attempt to probe /dev/cu.usb* for fallback "-S all"
  289. - openwrt: Download uthash dependency
  290. - Bugfix: openwrt: Always build with libsensors support disabled
  291. - configure: Check for uthash headers
  292. - Bugfix: ztex: Only destroy libztex device after the last handle to it has been
  293. released
  294. - ztex: Remove libztex slave device interface, simply passing fpgaNum to
  295. selectFpga
  296. - Bugfix: cpu: Fix yasm and sse2 detection
  297. - cpu: Check for SSE2 support independently from yasm
  298. - Bugfix: cpu: Make sure to link libsse2cpuminer.a before x86_32/libx8632.a
  299. - Bugfix: cpu: Only build libsse2cpuminer iff yasm is available and targetting
  300. x86_32
  301. - Bugfix: Free work only after deleting it from list
  302. - Remove embedded uthash.h and utlist.h from Makefile
  303. - windows-build.txt: Update for system uthash
  304. - Remove embedded uthash (and add dependency on system uthash)
  305. - Replace elist.h with utlist.h
  306. - Bugfix: Fix build with CPU mining and *without* yasm
  307. - cpu: Be explicit about size of sha256_init address
  308. - cpu: Add --algo fastauto (new default) to detect a usable algorithm without
  309. taking over a minute
  310. - cpu: Default to --algo auto
  311. - cpu: Support all platform-applicable assembly algorithms, even if used CFLAGS
  312. don't support them
  313. - Ubuntu: Updated changelog, added scrypt support.
  314. - cpu: Set fixed symbol names for stuff shared with assembly
  315. - cpu: Create Mach-O asm binaries on Darwin-based systems
  316. - Bugfix: cpu: Use COFF yasm binfmt on Cygwin
  317. - Bugfix: cpu: Get correct nonce from data, where the CPU sub-drivers leave it
  318. - Remove redundant "Reject ratio" in exit-time summary
  319. - Apply "R+S(%)" formatting to long-form statistics
  320. - Group stale shares in with rejects (but still distinctly counted) and make the
  321. percentage be (reject+stale)/total
  322. - Include rejected shares as a percentage
  323. - Move Utility and Best Share to status line
  324. - Remove LW from status line, since it is basically useless
  325. - ztex: Clean up a lot of ugly casting
  326. - Bugfix: Correctly avoid SIGPIPE on Mac
  327. - Make set_work_target a function to set a specified char as target for use
  328. elsewhere.
  329. - Minor typo.
  330. - Support more shares to be returned for scrypt mining.
  331. - Set all stratum sockets to nonblocking to avoid trying to use MSG_DONTWAIT on
  332. windows.
  333. - Only use MSG_NOSIGNAL for !win32 since it doesn't exist on windows.
  334. - Use MSG_NOSIGNAL on stratum send()
  335. - Set TCP_NODELAY for !linux for raw sockets.
  336. - Use TCP_NODELAY with raw sockets if !opt_delaynet
  337. - Recheck select succeeds on EWOULDBLOCK for stratum.
  338. - Don't use TCP_NODELAY if opt_delaynet is enabled with stratum.
  339. - Fix warnings in avalon driver.
  340. - correct applog typing
  341. - Simplify the many lines passed as API data in the avalon driver now that the
  342. API does not need persistent storage for the name.
  343. - Duplicate the name string always in api_add_data_full to not need persistent
  344. storage for names passed to it.
  345. - Add extra matching work count data in API for Avalon with 4 modules.
  346. - Clean up summary slightly better on exit.
  347. - opencl: Disable using binary kernels on Apple by default
  348. - Use sock_blocks in api.c
  349. - Fix build and distdir.
  350. - compile on win32
  351. - Update README.scrypt with improved hashrates for 7970.
  352. - Use copy_time helper throughout miner.c
  353. - Provide wrappers for commonly used timer routines with API stats.
  354. - Use flip32 function instead of open coding it in gen_stratum_work.
  355. - Move util.c exports to util.h
  356. - Replace gettimeofday usage with cgtime
  357. - Adopt gettimeofday wrapper from cgminer (cgtime) that is always called with tz
  358. set to NULL and increases the resolution on windows.
  359. - Add high resolution to nmsleep wrapper on windows.
  360. - Bugfix: Export stats_lock for deviceapi
  361. - Set default ocl work size for scrypt to 256.
  362. - fliter out the wrong result from adjust fan code
  363. - Set last device valid work on adding device.
  364. - Make scrypt submission use the submit_nonce code, with nonces matching
  365. endianness.
  366. - Increment hardware error count from the one site.
  367. - compile avalon driver on win32 and win64
  368. - build out of source dir
  369. - Rename scrypt regenhash function for consistency.
  370. - Add Mac FAQ.
  371. - Further driver FAQs.
  372. - Check for work restart after disable in the hash queued work loop since it may
  373. be a long time before we re-enable a device.
  374. - Unconditionally test for many wrong results on avalon and reset to avoid
  375. passing a corrupt avalon result to temperature code.
  376. - Only reset an avalon device with no results when there are no results
  377. consecutively.
  378. - More FAQs.
  379. - Avoid applog in recalloc_sock.
  380. - Avoid applog under cg_wlock.
  381. - Put spacing around locking code for clarity.
  382. - Avoid applog under pool_lock.
  383. - Avoid more recursive locks.
  384. - Avoid applog while ch_lock is held.
  385. - Avoid recursive locks in fill_queue.
  386. - Variable is already initialised in global scope.
  387. - More GPU FAQs.
  388. - More README faqs.
  389. - Yet more README faqs.
  390. - Add more FAQs to README.
  391. - Wrap result wrong tests in avalon scanhash in unlikely() and only consider a
  392. hash count of zero wrong if a restart wasn't issued.
  393. - avalon: if result_wrong >= get_work_count jump out the read loop
  394. - Fix warning on 32bit.
  395. - fix the fan control on max temp2/3
  396. - for some reason network down. one simple bfgminer command: "bfgminer -o
  397. 127.0.0.1:8888 -O fa:ke --avalon-options 115200:32:10:50:256" can idle the
  398. avalon for safe power and protect chip
  399. - if hash_count == 0; reinit avalon, fix the 0MHS bug use the max value of temp1
  400. and temp2 for fan control
  401. - Reinstate the matching_work_count per subdevice on avalon based on the work
  402. subid.
  403. - Rationalise and simplify the share diff and block solve detection to a common
  404. site.
  405. - subid field for devices that do not yet support the distinct device/processor
  406. interface
  407. - Make the avalon array size a macro.
  408. - Use replacement of work items in the avalon buffer as needed instead of
  409. flushing them.
  410. - Reinstate wrong work count to reset avalon regardless and display number of
  411. wrong results.
  412. - select() on serial usb in avalon does not work properly with zero timeout.
  413. - Use no timeout on further reads in avalon_gets
  414. - Do sequential reads in avalon_get_reset to cope with partial reads.
  415. - Show read discrepancy in avalon_get_reset.
  416. - Reuse avalon_get_work_count variable.
  417. - Check for AVA_GETS_RESTART when deciding if avalon has messed up.
  418. - Make the detection of all wrong results on avalon much more conservative to
  419. avoid false positives on work restarts.
  420. - Show error codes on select and read fail in avalon.
  421. - If we get a restart message in avalon_gets still check if there's a receive
  422. message to parse first without a timeout before returning AVA_GETS_RESTART.
  423. - avalon_gets is always called from the one call site so inline it.
  424. - The read_count is unused by the avalon get result code and no longer required
  425. for avalon reset so simplify code removing it.
  426. - Use a separate avalon_get_reset function for resetting avalon instead of using
  427. avalon_get_result.
  428. - The current hash count returned by avalon scanhash is just an obfuscated
  429. utility counter so make it explicit.
  430. - Check for a restart before a timeout in message parsing code in avalon.
  431. - We should check for a restart message before checking for a timeout in avalon
  432. scanhash.
  433. - Store the subid for the work item in avalon.
  434. - Fix record_temp_fan function in avalon driver.
  435. - Remove inappropriate memset of struct avalon result which was corrupting fan
  436. values.
  437. - Only do_avalon_close once on multiple errors.
  438. - Reset the result_wrong count on block change in avalon scanhash to prevent
  439. false positives for all nonces failed.
  440. - Small timeouts on select() instead of instant timeout increase reliability of
  441. socket reads and writes.
  442. - Rotate the avalon work array and free work on AVA_SEND_BUFFER_EMPTY as well.
  443. - Only get extra work in fill_queue if we don't have any unqueued work in the
  444. list.
  445. - Don't get any work if our queue is already full in avalon_fill.
  446. - Free avalon->works in the event we call avalon_prepare on failure to
  447. initialise.
  448. - Fix warnings.
  449. - Create an array of 4 lots of work for avalon and cycle through them.
  450. - Remove unused per unit matching work count for avalon.
  451. - Rename the confusing avalon_info pointer.
  452. - Simplify avalon scanhash code using the new find_queued_work_bymidstate
  453. function.
  454. - Members of cgpu_info for avalon are not meant to be in the union.
  455. - Use correct struct device_drv for avalon_drv.
  456. - Check enough work is queued before queueing more in avalon_fill.
  457. - Actually put the work in the avalon queue.
  458. - Rename avalon_api to avalon_drv.
  459. - First draft of port of avalon driver to new cgminer queued infrastructure.
  460. - Minor README updates.
  461. - README.GPU: Properly warn about overclocking damage
  462. - Add example 7970 tuning for scrypt in readme.
  463. - Update driver recommendations.
  464. - Add extensive GPU FAQs for the flood of new Scrypt miners.
  465. - Bugfix: Expect bitstreams and kernels to be in the srcdir, not build dir
  466. - cpu: Prefer sse4_64 algorithm if supported
  467. - cpu: sse2_32: Force bare symbols for cross-asm/C symbols
  468. - Compile CPU mining for win32 and win64
  469. - configure: Check for pthread in -lwinpthread
  470. - Use has_pth flag instead of trying to mess with pthread internals
  471. - configure: Explicitly check for nanosleep
  472. - configure: Include "no" response in BFG_PTHREAD_FLAG_CHECK
  473. - miner.h missing extern
  474. - Update links and recommended SDKs.
  475. - Bugfix: README.GPU: Fix some typos
  476. - Update README to match changes to display.
  477. - Remove increasingly irrelevant discarded work from status lines.
  478. - Remove increasingly irrelevant GW value from status.
  479. - README.GPU: Correct terminology
  480. - Update README about intensity.
  481. - Bugfix: Restore always autodetecting stratum as non-scrypt
  482. - icarus: Replace default of 2 work_division/fpga_count with autodetection of 1,
  483. 2, or 4
  484. - Update scrypt readme with newer information and to match changes in code.
  485. - Set default GPU threads to 1 for scrypt.
  486. - Connect backup stratum pools if the primary pool cannot deliver work.
  487. - Use a new algorithm for choosing a thread concurrency when none or no shader
  488. value is specified for scrypt.
  489. - Do not round up the bufsize to the maximum allocable with scrypt.
  490. - Remove the rounding-up of the scrypt padbuffer which was not effectual and
  491. counter-productive on devices with lots of ram, limiting thread concurrencies
  492. and intensities.
  493. - Make pool adding while running asynchronous, using the pool test thread
  494. functionality.
  495. - Only curl easy cleanup a stratum curl if it exists.
  496. - Add intermediate variants of cglocks that can be up or downgraded to read or
  497. write locks and use them for stratum work generation.
  498. - Move the stratum data to be protected under a new cg_lock data_lock.
  499. - Convert the ch_lock to cg_lock.
  500. - Convert the control_lock to a cg_lock.
  501. - Remove unused qd_lock.
  502. - Implement cg_lock write biased rwlocks.
  503. - Don't start testing any pools with the watchpool thread if any of the test
  504. threads are still active.
  505. - Set sockd to false should curl setup fail on stratum.
  506. - Reopen the socket whenever we're retrying stratum.
  507. - Set pool died on failed testing to allow idle flag and time to be set.
  508. - Remove unused pthread_t typedefs from struct pool.
  509. - Perform pool_resus on all pools that are found alive with the test pool
  510. threads.
  511. - Use pool_unworkable in select_balanced as well.
  512. - Differentiate pool_unusable from pool_unworkable.
  513. - Keep a connection open on higher priority stratum pools to fail back to them.
  514. - Set the wrong bool in pool_active
  515. - Only bypass unusable pools if they're not the selected ones.
  516. - Find the first usable pool in preference to the current pool in select_pool
  517. for work.
  518. - Add a pool_unusable function which checks if a pool is stratum but not active
  519. to use within switch_pools.
  520. - API no longer ignore send() status
  521. - API make the main socket non-static
  522. - Start the stratum thread only if we successfully init and authorise it,
  523. otherwise unset the init flag.
  524. - Make the initialisation of the stratum thread more robust allowing the
  525. watchpool thread safe access to it after the stratum thread is started.
  526. - Shorten the time before keepalive probes are sent out and how frequently
  527. they're sent with stratum curls.
  528. - Display select return value on select fail in stratum thread.
  529. - Clear the socket of anything in the receive buffer if we're going to retry
  530. connecting.
  531. - Perform pool resus on pools that were not set as the initial pool at startup.
  532. - Allow pools to be resuscitated on first startup by the watchpool thread.
  533. - Check all pools simultaneously at startup switching to the first alive one to
  534. speed up startup.
  535. - Close any sockets opened if we fail to initiate stratum but have opened the
  536. socket.
  537. - API use control_lock when switching pools
  538. - Clear last pool work on switching pools if the current pool supports local
  539. work generation or we are in failover only mode.
  540. - make rw locks: mining_thr_lock and devices_lock
  541. - work queues - remove new but unnecessary functions
  542. - functions for handling work queues
  543. - find_work() to find work in devices work queue
  544. - Add a get_queued function for devices to use to retrieve work items from the
  545. queued hashtable.
  546. - Add the choice of hash loop to the device driver, defaulting to hash_sole_work
  547. if none is specified.
  548. - Add a driver specific flush_work for queued devices that may have work items
  549. already queued to abort working on them on the device and discard them.
  550. - Flush queued work on a restart from the hash database and discard the work
  551. structs.
  552. - Create a central point for removal of work items completed by queued device
  553. drivers.
  554. - Create a fill_queue function that creates hashtables of as many work items as
  555. is required by the device driver till it flags the queue full.
  556. - Create the hash queued work variant for use with devices that are fast enough
  557. to require a queue.
  558. - Make sure to do full avalon_init if the device_fd is invalid.
  559. - Document extra zero byte in avalon_reset.
  560. - Microoptimise likely paths in avalon_gets.
  561. - Make sure to set timeout to 100ms instead of 1ms in avalon read loop for
  562. select.
  563. - Make sure to get time of first response in avalon read loop.
  564. - Use select for a reliable timeout in avalon read and don't read 1 byte at a
  565. time, optimising read loop.
  566. - We should break on the loop on a work restart in avalon, and only consider all
  567. errors if we actually have gotten some results.
  568. - Avalon init on comms error as well.
  569. - Reinit avalon device in case of FPGA controller mess up.
  570. - Increase reliability of avalon startup by only opening and resetting the
  571. device once, looking for the id sequence offset by one byte as well, and still
  572. ignoring if it's wrong, assuming it is an avalon.
  573. - Nest avalon_decode functions to avoid doing unnecessary lookups once we have
  574. found the nonce.
  575. - Use htole32 wrapper for nonce encoding in avalon.
  576. - Remove unused rev8 function from avalon driver.
  577. - Remove const qualifier from driver structs
  578. - rename device_api -> device_drv and all related api -> drv
  579. - rename get_proc_by_id() to get_devices()
  580. - Wrap access to devices array under a mutex
  581. - Provide wrappers for grabbing of thr value under the mining_thr_lock.
  582. - mutex all access to mining_thr
  583. - Split thr_info array into control_thr and mining_thr pointers so more mining
  584. threads can be added later
  585. - Update the hashmeter at most 5 times per second.
  586. - Speed up watchdog interval and therefore display updates to 2 seconds.
  587. - Add README.GPU to EXTRA_DIST.
  588. - Split out the GPU specific information from the README into a README.GPU file.
  589. - Update docs and reorder README to show executive summary near top.
  590. - Add more FAQs about crossfire.
  591. - Convert error getting device IDs in ocl code to info log level only since
  592. multiple platforms may be installed and the error is harmless there.
  593. - Unnecessary extra array in ocl code.
  594. - Cope with the highest opencl platform not having usable devices.
  595. - Update kernel file names signifying changes.
  596. - Use constants from the array of __constants throughout the diablo kernel.
  597. - Create a __constant array for use within diablo kernel.
  598. - Use global constant arrays for all other constants used in scrypt kernel.
  599. - Use global __constants for sha functions in scrypt kernel.
  600. - Use constants for endian swap macros.
  601. - Revise scrypt kernel copyright notice.
  602. - Separate out additions in scrypt kernel.
  603. - Reuse some Vals[] variables that can be assigned to constants earlier in the
  604. poclbm kernel, making for fewer ops.
  605. - Put all constants used in poclbm kernel into __const memory array to speed up
  606. concurrent reads on the wavefront.
  607. - opencl: Support for reading temperature from free software radeon drivers via
  608. libsensors
  609. BFGMiner Version 3.0.3 - June 13, 2013
  610. - make-release: Include all submodules, recursively
  611. - Remove API.java example (no copyright license)
  612. - Minimally fix "make install" to ignore bitstream sources
  613. - Add submodule for ZtexBTCMiner (aka ztex_ufm1_*)
  614. - Add submodule for X6000_ztex_comm4 (aka x6500-overclocker-0402)
  615. - ztex: Use standard file header/comment formatting, and update license to GPLv3
  616. - bitforce: Allow a longer timeout (1250ms) for ZCX (Device Information)
  617. commands
  618. - Bugfix: pdcurses doesn't like changing logwin size without clearing it also,
  619. so do that in display options
  620. - -S all: Start QueryDosDevices probe with 256-byte buffer
  621. - Use common code to ensure the prefix of -S *:all remains in all
  622. implementations of it (/dev glob was removing prefixes)
  623. - bitforce_queue: Ensure comma following nonce count is there, to error cleanly
  624. - bitforce: Report queue send failures, and count as hw errors
  625. - Bugfix: bitforce_queue: Don't try to send ready-to-queue work to device, when
  626. there is no ready-to-queue work
  627. - Bugfix: bitforce: Clear want_to_send_queue flag when flushing queue, since we
  628. can't send an empty queue
  629. - bitforce: Include new total queued count in flush debugging
  630. - Bugfix: bitforce_queue: Implement a minimum wait time of 10ms
  631. - README: Document serial device format for Mac OS X
  632. - Bugfix: cairnsmore1: Enable building with libudev autodetection even if only
  633. icarus drivers are enabled
  634. - Bugfix: sysfs autodetect: Continue searching even after finding one tty (fixes
  635. multiple ttys per device, such as some Cairnsmore1s)
  636. - Bugfix: ztex: Avoid destroying libztex device in case other processors are
  637. still in use (fixes crash when 1.15y becomes unavailable)
  638. - Update windows-build.txt
  639. - ccan: Add missing copyright comment headers
  640. - Remove obsolete mknsis.sh
  641. - Add missing copyright sections to files that may need them
  642. - Standard copyright format (including year) for adl_functions.h
  643. - Bugfix: When disabling device, ensure its prev_work (if any) gets freed
  644. properly
  645. - Check stratum socket exists and is writable before even considering whether
  646. the sessionid is the same or not
  647. - Bugfix: Check that the stratum_share struct for a failed submission is still
  648. in the submission hashtable before trying to delete it
  649. - README: Add missing documentation for CPU algorithms cryptopp_asm32, sse2_32,
  650. and altivec_4way
  651. - Bugfix: icarus: Check work restart before timeout
  652. - Bugfix: icarus: Debuglog the correct read timeout (and omit from work restart
  653. since there's no trivial way to get it)
  654. - README: Update links
  655. - Bugfix: cpu: Fix warning on Win64
  656. - Bugfix: avalon: Strict formatting
  657. - Bugfix: Cleanup trivial warnings
  658. - Bugfix: bitforce: Seek to end of nonce counter to find nonces, in case there
  659. are more than 9
  660. - Bugfix: Build hexdump.c into the project normally like everything else
  661. - Bugfix: Really fix device entries in saved config file
  662. - Update the write config to properly record device entries and remove disabled
  663. option.
  664. - avalon: Really fix applog formatting
  665. - va_copy is meant to be matched by a va_end in log_generic.
  666. - Further fix distdir for hexdump.c
  667. - Fulltest is true if value is <= target.
  668. - Fix warning with no curses built in.
  669. - Bugfix: configure: Check NEED_FPGAUTILS correctly
  670. - configure: Better grammar for --enable-cpumining help
  671. - Bugfix: Check for SSE 4.1 support before building sse4_64 asm CPU miner (uses
  672. MOVNTDQA instruction)
  673. - Bugfix: elist: Use uintptr_t for member offset
  674. - Bugfix: opencl/adl: Fix format string
  675. - Bugfix: opencl: Correct usage of formatted prints
  676. - Increase fd limits as much as possible at startup
  677. - Bugfix: bitforce: bulk queue: Cleanly retry for high temperature recovery
  678. - Fixed deps for raring, which has newer libudev1.
  679. - bitforce: debuglog actual result data
  680. - Bugfix: Missing 'else' can result in null pointer dereference in race
  681. - Minor grammo in avalon driver.
  682. - Make avalon temperature reading LOG_INFO level.
  683. - Fix the problem of seting up termio of ttyUSB0 for icarus. the CSIZE is the
  684. mask of CS2/4/8
  685. - bufsize is an unsigned integer, make it so for debug.
  686. - Bugfix: bitforce: Include get_api_stats in BQUEUE mode
  687. - Bugfix: Always compile support for commandline --temp-target and
  688. --temp-cutoff, and write them in the config for all devices
  689. - Bugfix: Ensure cURL timers get set correctly in submission thread
  690. - Bugfix: modminer: Remove unused parameter to sprintf
  691. - Bugfix: modminer: Use correct format for bytes left in bitstream upload
  692. message
  693. - Bugfix: Access strategy name string directly instead of accidentally
  694. - Add printf-format syntax checks to more functions that should use it
  695. - AUTHORS: Add more contributors
  696. - Support configure flag --with-system-libblkmaker to allow building without the
  697. bundled copy
  698. - Bugfix: Use HTTP/1.1 compatible product token for User-Agent header
  699. BFGMiner Version 3.0.2 - April 28, 2013
  700. - Receive failures in recv_line should unconditionally fail.
  701. - Use sock_blocks function for stratum send and receive.
  702. - Avoid applog under stratum_lock in __stratum_send.
  703. - Create an OS specific sock_blocks function.
  704. - There should be no error response code with return value 0 in recv_line.
  705. - Check for errors on stratum recv for any recv return value less than 1 and
  706. only parse the response if it's positive.
  707. - Avoid applog under stratum_lock in recv_line.
  708. BFGMiner Version 3.0.1 - April 24, 2013
  709. - Bugfix: configure: Move actual roundl macro back to miner.h after math.h
  710. should be included
  711. - Bugfix: configure: Use dummy pointer to correctly detect roundl when conftest
  712. main is missing argc parameter
  713. - Bugfix: configure: Use variable argument to roundl to prevent compilers from
  714. optimizing it out entirely
  715. - Remove bitstreams from Windows binary distributions (README directs users to
  716. download source and copy them)
  717. - make-release: Remove autom4te.cache from distributed source
  718. - Bugfix: Omit --no-opencl-binaries option from build if OpenCL is not being
  719. compiled
  720. - Bugfix: Check that all pools have URIs set before starting
  721. - Bugfix: bitforce: Make noncebuf large enough for max qresults +1 (for OK line)
  722. - opencl: Ability to avoid using binary kernels with new --no-opencl-binaries
  723. option
  724. - README: Include jansson PKG_CONFIG_PATH in example for Mac
  725. - Include trailing \0 with coinbase sigs if there's room
  726. - Differentiate socket closed from socket error in recv_line.
  727. - Add new best share info to verbose logging.
  728. - Add notice for when network diff is changed.
  729. - convert sleep(const) to nmsleep()
  730. - Rename longpoll threads according to what pool they're associated with
  731. - miner.php report 'Last Valid Work' as time before request
  732. - API V1.25 - add 'Last Valid Work' time for each device
  733. - add 'count' to customsummarypage 'calc'
  734. - Bugfix: ztex: Initialize fw_buf pointer to NULL so a free before allocation is
  735. safe
  736. - Cleanup when stratum curl fails to initialise.
  737. - LTC text typo
  738. - Recreate cURL for new stratum connections, and clear stratum_notify on
  739. suspending them
  740. - clear_stratum_shares: Rename diff_stale variable to diff_cleared
  741. - MMQ it's a bitstream
  742. - Update a pool's last work time when the work is popped as well as staged.
  743. - Extend stratum connections another minute (total 2 minutes) after the last
  744. work item was staged, and maintain last_work_time for non-stratum pools.
  745. - Fix --benchmark generating valid work for cgminer.
  746. - Bugfix: Correct pdbuilder result directory
  747. - Omit add_serial_all code when serial support is not wanted
  748. - Use configure to detect presence of roundl to avoid redefining an actual
  749. function (possibly inline)
  750. - Bugfix: roundl: Add needed parenthesis to perform ?: before +
  751. - Bugfix: ft232r: Defer allocating structure until after USB endpoint is
  752. successfully opened, so it won't leak in case of failure
  753. - Bugfix: ztex: Free bitstream in memory when done with it
  754. - Bugfix: Safely handle all-space cURL debug messages, should they ever happen
  755. - Silence warnings about poor format usage for quit()
  756. - Apply noreturn and printf-format attributes to quit() function definition
  757. - Bugfix: set_serial_rts get flags to manipulate them correctly
  758. - Bugfix: Missing return for /dev globbing
  759. - Bugfix: Free unused work when retrying failed lp request
  760. - Display processor name with thread disabled/re-enabled messages
  761. - Move best share to top summary line, and add network difficulty to block line
  762. - opencl: Default to phatk kernel for Mesa platform
  763. - opencl: Default to single thread with Mesa OpenCL
  764. - opencl: Check for Mesa OpenCL and avoid using binary kernels with it
  765. - bitforce: Never increase bulkqueue poll wait time during queue underruns
  766. - bitforce: Start off polling bulk queue every 100ms
  767. - bitforce: Log device queue size after getting bulk results
  768. - bitforce: Ensure bulkqueue polling occurs at least once a second
  769. - opencl: Include OpenCL platform in kernel binary filenames
  770. - bitforce: Use bulk queue mode for all SC devices
  771. - Bugfix: bitforce: When reinitializing, free all known works to avoid
  772. decrementing reset queued counter
  773. - bitforce: Handle timeout during ZOX as cleanly as possible
  774. - Bugfix: bitforce: Make reinitialization more complete and safe
  775. - Bugfix: bitforce: Close opened fd if reinit fails
  776. - Bugfix: bitforce: Retry ZGX until device is NOT busy
  777. - bitforce: Log when zero queued results are received
  778. BFGMiner Version 3.0.0 - April 5, 2013
  779. - Update libblkmaker to 0.3.0
  780. - debian: Include new api-example.py in docs
  781. - added example for Python using the RPC API
  782. - added SPEC file for SUSE distributions
  783. - Bugfix: bitforce: Free initialization data to avoid trivial one-time memory
  784. leak
  785. - Support for local submission of found blocks (GBT only)
  786. - bitforce: RPC pgaset fanmode 0-5 for manual fan control
  787. - bitforce: More debugging information
  788. - Bugfix: modminer: Since RPC always includes the temperature, we don't need to
  789. add it specially
  790. - bitforce: Expose dual temperature sensors to RPC
  791. - bitforce: Support for up to 2 temperature sensors per processor
  792. - Bugfix: bitforce: BFP_QUEUE: Attempt to recover from extra queue results, or
  793. the next job finishing early
  794. - bitforce: Always send a new job ASAP after flushing the queue
  795. - bitforce: Implement "Queue Job Pack" (ZWX) and use it for XLINK devices to
  796. avoid USB latency issues
  797. - bitforce: Ignore INPROCESS added to ZOX response
  798. - Implement minerloop_queue for devices that process work items too fast to keep
  799. track of which one they're currently working on
  800. - bitforce: Split ZOX command into its own function
  801. - Bugfix: DevAPI: Free work when preparing it fails
  802. - DevAPI: Abstract get_and_prepare_work for minerloops
  803. - DevAPI: Move select() logic from minerloop_async to do_notifier_select
  804. - Clarify stratum mining.set_difficulty debug log message
  805. - No longer call configure from autogen.sh
  806. - Bugfix: bitforce: Ensure result_busy_polled gets set for queue mode to avoid
  807. unnecessary 10ms wait times
  808. - Bugfix: bitforce: Use common code for end of job_get_results, so queue results
  809. don't short-circuit timing code
  810. - Bugfix: bitforce: Ensure "OK" doesn't remain in queued results buffer
  811. - Bugfix: bitforce: next_line needs to increment beyond the newline character
  812. - Update README for x970 memdiff values.
  813. - Do not scan other gpu platforms if one is specified.
  814. - Update README for sync objects on windows.
  815. - Add information for setting gpu max alloc and sync parameters for windows with
  816. scrypt.
  817. - Whitelist AMD APP SDK 2.8 for diablo kernel.
  818. - Show pool number in switch message
  819. - Clear just the socket buffer when we don't care what is left in a stratum
  820. socket.
  821. - Clear the stratum socket whenever we are closing it since the buffer is going
  822. to be reused.
  823. - Do not continue work from a stratum pool where the connection has been
  824. interrupted.
  825. - Close any existing stratum socket if we are attempting to restart stratum so
  826. the pool knows the connection has gone.
  827. - Show mechanism of stratum interruption if select times out.
  828. - Make stratum connection interrupted message higher priority to be visible at
  829. normal logging levels.
  830. - API add 'Network Difficulty' to 'coin'
  831. - avalon: if all result are wrong in one batch read. reinit the avalon
  832. - avalon: record the last result temperature info
  833. - delay when close avalon; only record matched result
  834. - avalon: fix no_matching_work only count when debug
  835. - avalon: minor change
  836. - avalon: add idle code
  837. - avalon: fliter the temp_max >= 100, print the result for debug.
  838. - avalon: export more data to API stats
  839. - avalon: add default chip frequency
  840. - avalon: fix the work_i3 init
  841. - avalon: add reinit_device
  842. - avalon: the temp_history_count base on timeout
  843. - avalon: fix mistake on adjest_fan
  844. - avalon.c: fix the copyright
  845. - bfgminer-rpc: add -o option: no format, only the result
  846. - avalon: update fan pwm
  847. - avalon: update the FAN_PWM MAX/MIN
  848. - avalon: minor change
  849. - avalon: overclock code
  850. - avalon: fix the display
  851. - avalon: minor change
  852. - avalon: fix the fan/temp control
  853. - avalon: fix the temp_avg
  854. - avalon: fix temp
  855. - avalon: add fan/temp control
  856. - avalon: add FAN speed factor
  857. - avalon: add TODO on fan/temp control. cleanup detect
  858. - avalon: add the gate_miner bits
  859. - avalon: only send one byte on reset
  860. - avalon: add support on send 2 bulk taskes at begin
  861. - avalon: fix the hash_count return
  862. - avalon: fix the LOG_WARNING
  863. - avalon: add comment on hash_count
  864. - avalon: WORKAROUND on hashrate
  865. - avalon: update max miner_num
  866. - avalon: add more info on api
  867. - avalon: add nonce_elf and more info on match miner_num
  868. - avalon: change reset to 300ms
  869. - avalon: move bulk buffer to it's info structrue
  870. - avalon: more work on hashrate and read_count
  871. - avalon: add baud 38400 support
  872. - avalon: fix nonce_range EB
  873. - avalon: fix the hashrate wrong
  874. - more info on avalon API
  875. - avalon: fix the nonce_range EL
  876. - avalon: fix the read count
  877. - avalon: more work on nonce_range
  878. - avalon: read() times and send delay fixed
  879. - avalon: add the send delay option
  880. - avalon: print out fan/temp info
  881. - avalon: add the result info (fan/temp etc)
  882. - avalon: more check on hardware error
  883. - avalon: more work on get_work_count
  884. - avalon: now we have dynamic get_work_count
  885. - avalon: more work on parameters
  886. - avalon: add timeout parameter
  887. - avalon: baud as parameter now
  888. - avalon: send work pitch should be : (15*(8+2)*4/19200)s
  889. - avalon: more work on match work
  890. - avalon: fix free_work
  891. - avalon: continue on reset work. wait for buffer empty
  892. - avalon: add options, if write() error. sleep(1) before reset()
  893. - avalon: more cleanup
  894. - avalon: finish read when Buffer empty
  895. - avalon: fix the nonce EB issue
  896. - avalon: MORE work
  897. - avalon: fix the EB/LB issue
  898. - avalon: some cleanup
  899. - avalon: fix the first configure task
  900. - more work on the avalon buffer
  901. - avalon: fix the BIG_ENDIAN issue
  902. - avalon: Fix the buffer statu
  903. - change defines to avalon parameters
  904. - fix the cts return
  905. - avalon: change the data to uint8_t, add some test temp code
  906. - avalon: fix task init
  907. - avalon: more data format work
  908. - change to avalon data format
  909. - debug: add a debug hexdump.c
  910. - avalon: add some code on match work
  911. - avalon: try to correct the pool_status and dev_status
  912. - avalon: more work on multi-works
  913. - avalon: more work on read
  914. - avalon: more work on get results
  915. - more RTS code on avalon.c/h
  916. - more RTS code
  917. - avalon: some cleanup
  918. - avalon: more work on new work queue structrue
  919. - fpgautils.c: use lancelot as target
  920. - avalon: since we submit task as bulk data. modify again
  921. - add scanhash_queue
  922. - renmae avalon.h to driver-avalon.h
  923. - fpgautils.c: add get_serial_cts
  924. - understand the avalon protocol more
  925. - avalon: new software structrue but target as lancelot
  926. - add avalon.h
  927. - avalon: fix warning
  928. - avalon: add TODO comments
  929. - more AVALON defines
  930. - avalon: more work
  931. - add driver-avalon.c
  932. - add avalon support to automake
  933. - Default to work queue mode on BitForce SC devices
  934. - bitforce: Implement support for non-contiguous XLINK slave addressing
  935. - gnulib: stdint: fix build with Android's Bionic fox x86
  936. - gnulib: stdint: Improve support for Android.
  937. - gnulib: stdint: Add support for Android.
  938. - Check for ?e##toh macros independently from hto?e##
  939. - If pthread_cancel is missing/emulated, set asynchronous thread cancel type on
  940. stage, watchdog, watchpool, and longpoll threads since the emulation cannot
  941. support deferred cancellation
  942. - If pthread_cancel is missing (Bionic/Android), emulate it using pthread_kill
  943. and pthread_exit
  944. - configure: Intelligently detect what flags/libs get us working pthread, and
  945. define HAVE_PTHREAD_CANCEL if pthread_cancel is available
  946. - Bugfix: Initialize mutex_request to invalid so devices that don't use it
  947. (bitforce) don't try to
  948. - RPC: pools: Add "Message" to show last client.show_message received over
  949. stratum
  950. - Stratum: Support client.show_message method
  951. - Don't retry without resume support, if the first attempt just timed out
  952. - Bugfix: minerloop_async: Intelligently handle work updates and device disables
  953. during transitions
  954. - Bugfix: minerloop_async: Free old (unused) prepared work when replacing it
  955. with an upgraded one
  956. - Bugfix: Free pool sessionid before replacing it
  957. - Bugfix: Stratum: Address dereference-after-free and memory leak introduced in
  958. resume support
  959. - Stratum: If old protocol fails as well, try to resume again next time around
  960. - Bugfix: Stratum: Only failover to old mining.subscribe protocol if the
  961. previous attempt was the new one (fixes a flood of retries)
  962. - Try to extract the sessionid associated with mining.notify on 3rd level array
  963. and submit it along with the userid to support mining resume, failing gracefully
  964. and restarting if the pool rejects it.
  965. - Cope with misread sessionid on stratum for now.
  966. - Use the sessionid as passed on stratum connect to attempt to resume a
  967. connection once and then clear it if it fails, to use a new connection.
  968. - Move to storing the nonce1 in the work struct instead of the sessionid for the
  969. now defunct first draft mining.resume protocol.
  970. - Only continue submitting shares with mining.resume support on stratum when the
  971. session id matches.
  972. - Provide support for mining.resume with stratum, currently re-authorising after
  973. successful resumption pending finalising of the protocol process.
  974. - Provide basic framework for restarting stratum depending on whether resume
  975. support exists or not.
  976. - Abstract out the setting up of the stratum curl socket.
  977. - Remove redundant setting of strings to NULL since the whole work struct is
  978. zeroed.
  979. - Only clear stratum shares mandatorily on stratum dropouts when the pool does
  980. not support resume.
  981. - Stratum: Keep trying to submit shares, even across reconnects
  982. - Use new select loop primitives in submission thread
  983. - Bugfix: Missing pool_no parameter to applog for no-stratum-sessionid debug
  984. message
  985. - Do as much outside of mutex locking of sshare_lock as possible.
  986. - Remove last reference to struct work used outside the sshare_lock in
  987. submit_work_thread
  988. - Unlock the sshare_lock in submit_work_thread when all references to work and
  989. sshare are complete.
  990. - Bugfix: Copy and free sessionid on work objects
  991. - Add timestamps to stratum_share structs as they're generated and copy the
  992. stratum sessionid if it exists to stratum work generated.
  993. - Store session id for stratum if the pool supports it for future mining.resume
  994. support.
  995. - Keep the unique id of each work item across copy_work to prevent multiple work
  996. items having the same id.
  997. - x6500: Never consider processors idle if they're enabled
  998. - x6500: Make mutex management cleaner by blocking device select loop during
  999. idle get_stats
  1000. - Bugfix: minerloop_async: Always refer to real thread for select loop
  1001. - Bugfix: Initialize work_restart_notifier[1] to INVSOCK instead of -1 to be
  1002. portable
  1003. - ztex: Use restart_wait to react quicker to work updates
  1004. - Handy TIMEVAL_USECS macro
  1005. - Restore blocking restart_wait function with nearly identical semantics as old
  1006. one
  1007. - Bugfix: bitforce: Rework sleep delay adjustment logic to properly deal with
  1008. more accurate timing readings (added in device API update)
  1009. - Hidden --force-rollntime option for getwork pools (use like --pool-priority,
  1010. after each pool definition)
  1011. - Include processor id in get_work logging
  1012. - Support for BIP23 BPE request target extension via new --request-diff option
  1013. - Hidden option to reduce "work update" messages to debug level:
  1014. --quiet-work-updates
  1015. - Change "work restart" to "work update" in messages to reflect reality more
  1016. accurately (no work is lost), and normalize case of "longpoll"
  1017. - HACK: Since get_work still blocks, reportin all processors dependent on this
  1018. thread
  1019. - Move FD_SETSIZE definition to configure so it affects everywhere it needs to
  1020. - Move absolute_uri function to util.c
  1021. - Remove now-unused blocking-wait code (restart_cond, restart_wait, and
  1022. stale_wait)
  1023. - Bugfix: bitforce: Zero hashes complete if we get an invalid response
  1024. - HACK: Since get_work still blocks, reportout all processors dependent on this
  1025. thread
  1026. - bitforce: Support for work queue protocol on BitForce SC devices
  1027. - Use new double-stage format for SC devices
  1028. - modminer+x6500: Expose frequencies to API in terms of MHz to be consistent
  1029. with ztex driver and cgminer
  1030. - bitforce: Replace (bool)cgpu->nonce_range with (enum)bitforce_data->proto
  1031. - bitforce: XLINK support for multiple processors
  1032. - bitforce: Prepare log messages for XLINK by separating into proc and dev
  1033. messages
  1034. - bitforce: Always use fd/mutex pointers on actual device, to prepare for XLINK
  1035. support
  1036. - bitforce: Get fd/mutex pointers only once per function
  1037. - bitforce: Abstract commands to bitforce_cmd1 (single-stage) and bitforce_cmd2
  1038. (double-stage) functions
  1039. - bitforce: Debuglog device information during detection
  1040. - Bugfix: Missing includes needed on Windows
  1041. - Bugfix: Use waddstr instead of wprintw to display completed device summary
  1042. line, so literal %s don't get interpreted as formatting options
  1043. - Bugfix: bitforce: Avoid polling continuously between work restart and job
  1044. completion
  1045. - bitforce: Use poll device API when job_get_results needs to wait
  1046. - bitforce: Use poll device API when job_start needs to wait
  1047. - stale_work_future function to determine in advance if a work/share will be
  1048. stale at some future time
  1049. - bitforce: Minimally refactor to adapt to new minerloop_async
  1050. - minerloop_async: Break out of select on work_restart_notifier
  1051. - Replace UNIX-only work_restart_fd pipe with portable work_restart_notifier
  1052. - Bugfix: Clean out unused variables from minerloop_async
  1053. - Move new device API code to new deviceapi.c source file
  1054. - Make minerloop_async more async, using some callbacks to handle event
  1055. completions
  1056. - Split part of minerloop_async into do_get_results, and a bit other
  1057. reorganization
  1058. - Abstract select_timeout function to convert a realtime timeval to a timeout
  1059. pointer for select()
  1060. - Split part of minerloop_async into do_process_results, and don't allow
  1061. api->job_get_results to return hashes
  1062. - Split part of minerloop_async into do_job_prepare and do_job_start
  1063. - Initialize thr->tv_poll to -1 (disabled)
  1064. - Update the hashmeter one last time before disabling a device
  1065. - minerloop_async: Break out of select for wakeup notifications
  1066. - Replace mining thread queues (which were only used for wakeup pings) with
  1067. notifiers (which can be used with select and co)
  1068. - Unify all mining thread wakeup to mt_enable (simplifying code)
  1069. - Bugfix: get_statline: Correct device summary status, only showing DEAD or OFF
  1070. if it affects all processors
  1071. - Working processor disable/enable with new async minerloop (currently gets
  1072. stuck if all processors disabled)
  1073. - Bugfix: get_statline: Only care about the processor status if
  1074. --show-processors is set
  1075. - Bugfix: watchdog: Use processor thr_info even if it isn't a real thread
  1076. - Only support thread-per-device or N-threads-per-processor; simplify
  1077. work_restart check
  1078. - x6500: Remove mutex, since driver is single-threaded now
  1079. - Bugfix: Update utility every get_statline call, and include every processor
  1080. involved
  1081. - HACKING: New text file to document the internal workings of (currently) the
  1082. device API
  1083. - Bugfix: mining_threads is now a total of thr_info objects, not necessarily
  1084. actual running threads
  1085. - x6500: Working (but incomplete) asynchronous/single-threaded driver
  1086. - Incomplete (but workable) asynchronous minerloop
  1087. - Core support for managing multiple processors from a single thread
  1088. - Allow device drivers to implement their own minerloop
  1089. - Move cgpu_info and thr_info initialization to main, and ensure all get
  1090. initialized before starting any threads
  1091. - Refactor and simplify miner_thread (no major behavioural changes)
  1092. - Move difficulties to end of share result message, so they can be made to line
  1093. up nicely
  1094. - Bugfix: Consolidate share result message code (including fixing displayed
  1095. hash portion for stratum)
  1096. - miner.php: Include ProcID in Device column as a letter
  1097. - Show summaries per-device unless --show-processors is used (also available on
  1098. Display TUI menu)
  1099. - Order next_proc linked list in processor id order
  1100. - Consolidate processor summary line generation for TUI and text-only modes
  1101. - RPC: Update to include ProcID so multiprocessor devices can be understood
  1102. correctly
  1103. - RPC: Common function for adding device-identifying fields
  1104. - modminer: Make single-processor statline look like other temperature-only
  1105. statlines
  1106. - modminer: Split each FPGA into its own logical processor (in the same device
  1107. still)
  1108. - modminer: Get mutex pointer only once per function
  1109. - ztex: Combine master+slave devices into a single multiprocessor device
  1110. - Preformat dev_repr (device representation) and proc_repr (processor
  1111. representation) once for use everywhere
  1112. - x6500: Split each FPGA into its own logical processor (in the same device
  1113. still)
  1114. - x6500: Get mutex pointer only once per function
  1115. - Minimal support for defining devices with multiple logical processors
  1116. - Rename all README files to standard README.* style
  1117. BFGMiner Version 2.10.6 - April 5, 2013
  1118. - Bugfix: Restore missing variable
  1119. - Bugfix: openwrt: Never include _ in platform name
  1120. - Bugfix: Fixed typo in bfgminer-rpc usage
  1121. - pool_active: Ensure temporary curl is always cleaned up
  1122. - Try to find jansson via pkg-config first, and fall back to checking system
  1123. defaults if that fails
  1124. - Attempt to find libjansson via pkg-config if AC_CHECK_LIB fails
  1125. - Update scrypt readme re drivers and sdk.
  1126. - Bugfix: README: Move --device out of GPU only options
  1127. - Update .gitignore
  1128. - Added bfgminer-rpc binary to .gitignore
  1129. - Bugfix: Actually change to the newly selected pool when statum is inactive and
  1130. it decides to change
  1131. - Bugfix: modminer: Properly fail on dynclock error
  1132. - Bugfix: opencl: Clean pc_data->work before freeing pc_data
  1133. - Bugfix: Correct order of libblkmaker libraries so static builds work
  1134. - Bugfix: Need to ensure __BIG_ENDIAN__ is defined before including uthash.h
  1135. - Bugfix: Stratum: When destroying cURL easy handle, be sure to clear pool
  1136. stratum_curl pointer
  1137. - Bugfix: bitforce: Fix warning
  1138. - Bugfix: Stratum: Properly handle non-integer "id" for client.get_version
  1139. requests
  1140. - json_dumps_ANY utility function to portably implement json_dumps(..., ... |
  1141. JSON_ENCODE_ANY)
  1142. - Bugfix: bitforce: Free old name when updating it on reinitialization
  1143. - Stratum: Include pool number in send/recv protocol logging
  1144. - Include pool number in stratum thread name
  1145. - API always report failed send() replies
  1146. - API.java allow partial reads
  1147. - Bugfix: Stratum: Use curl_easy_cleanup to close connection, so cURL
  1148. understands what is going on
  1149. - Bugfix: hash_pop: If a work should be rolled, use a clone of it rather than
  1150. consume a rollable work
  1151. - openwrt: Move Makefile into a bfgminer subdirectory to avoid symlinking issues
  1152. - openwrt: Use --with-curses=ncurses to avoid ncursesw dependency
  1153. - configure: Support --with-curses=FOO to look for curses implementation in
  1154. libFOO
  1155. - Set pool socket to INVSOCK after closing connection, just in case
  1156. - Clean up compiler warnings
  1157. - Bugfix: Check that pool is active one last time before selecting it
  1158. - Bugfix: Trim whitespace (like newlines) off the end of debug info from
  1159. libcurl
  1160. - Bugfix: submit_nonce: Backup the original work->blk.nonce since the miner
  1161. code uses it to track work consumption
  1162. - Bugfix: Scheduler needs to unpause disabled devices, even if it isn't waking
  1163. them up
  1164. - Bugfix: Use SOCKETTYPE for notifiers, to avoid potential overflow on Win64
  1165. - Bugfix: Some versions of MingW define localtime_r, but don't handle the
  1166. timeval.tv_sec case that we use; so undef any preexisting one and use our own
  1167. - Bugfix: reinit_gpu: Remember the selected device to correctly change
  1168. properties of
  1169. - Bugfix: cpu: reinit_device hasn't worked since 93b284d, so just remove it
  1170. entirely instead of letting it screw with thread 0
  1171. - Document necessity to run ldconfig and possibly configure ld.so
  1172. - Bugfix: Complete startup after just one pool is found active, no need to wait
  1173. for the rest
  1174. - Bugfix: Update links
  1175. - miner.php: Replace PGA dev number with concatenated device ID
  1176. - Bugfix: miner.php: Display devices with aligned columns instead of assuming
  1177. they come out of the RPC aligned
  1178. - Bugfix: miner.php: Silence PHP "local timezone" warning
  1179. - Bugfix: api-example: Try to use BSD sockets on any non-Windows platform
  1180. - Bugfix: stratum: Delay mining.get_transactions request until after auth has
  1181. succeeded, so its failure doesn't abort the connection (also avoids any delay
  1182. from a large result)
  1183. - --no-getwork option to disable getwork protocol support
  1184. - Clarify dependencies with Debian/Ubuntu package names
  1185. BFGMiner Version 2.10.5 - February 8, 2013
  1186. - Bugfix: Actually increment template_nonce when we use it
  1187. - Change file modes.
  1188. - Fix logic fail on partial writes with stratum send that was leading to corrupt
  1189. message submissions.
  1190. BFGMiner Version 2.10.4 - February 7, 2013
  1191. - New platform ports: OpenWrt and Win64
  1192. - Update official Windows build compiler and libraries:
  1193. - - Upgrade GCC from 4.6.3 to 4.7.2
  1194. - - Upgrade libusbx from 1.0.10 to 1.0.14
  1195. - - Upgrade jansson from 2.3.1 to 2.4
  1196. - - Upgrade libcurl from 7.26.0 to 7.28.1
  1197. - - Upgrade pthreads-win32 from 2.8.0 to 2.9.1
  1198. - Bugfix: Release libudev handle when ID_MODEL doesn't match what we're looking
  1199. for
  1200. - openwrt: Script to build for multiple platforms easily
  1201. - openwrt: Bitstreams should be "all" arch
  1202. - Working OpenWrt Buildroot Makefile
  1203. - Do not enable the pool disable on reject feature unless explicitly enabled
  1204. with --disable-rejecting.
  1205. - Check for calloc failure for completeness in gen_stratum_work.
  1206. - Cache the coinbase length to speed up stratum work generation.
  1207. - Cache the header length when generating stratum work to avoid calculating it
  1208. on every work generation, and to only need one alloc+sprintf, speeding up work
  1209. generation.
  1210. - Use heap ram for coinbase in gen_stratum_work, zeroing it before use.
  1211. - Provide a wrapper for aligning lengths of size_t to 4 byte boundaries.
  1212. - Bugfix: ztex: While 1.15y can finish highspeed FPGA config immediately, at
  1213. least 1.15x needs some delay
  1214. - Use CURLOPT_OPENSOCKETFUNCTION to intercept the socket being created for
  1215. stratum, in order to workaround CURLINFO_LASTSOCKET breakage on Win64
  1216. - make-release: Update for Win64 and bfgminer-rpc.exe
  1217. - Use localtime_r instead of localtime, including a Windows implementation that
  1218. handles Win64's broken struct timeval.tv_sec
  1219. - Use standard execv arg type on Win64
  1220. - Bugfix: Correct various size mismatches
  1221. - Ensure winsock2.h is always included before windows.h
  1222. - Bugfix: Add necessary Winsock library to bfgminer-rpc linking
  1223. - Bugfix: Remove dependencies of compat.h on miner.h for Windows (moves
  1224. timersub/timeradd to compat.h where it belongs)
  1225. - modminer: Raise default/maximum clocks to 210 and 250 respectively
  1226. - modminer: Use better-performing X6500 overclocker bitstream
  1227. - Disable libusb linkage/usage when neither X6500 nor ZTEX support is desired
  1228. - Add support for "--scan-serial all" via simply globbing /dev
  1229. - fpgautils: serial_autodetect implementation using sysfs
  1230. - fpgautils: Unified serial_autodetect function to find a serial device
  1231. regardless of the underlying method
  1232. - fpgautils: Look for bitstreams in ../share/bfgminer/ too
  1233. - Bugfix: Ensure curses library is always linked in NCURSES_LIBS, to avoid
  1234. unnecessary dependencies for (non-curses) tools
  1235. - Bugfix: GBT: work->data is always little-endian, but libblkmaker wants the
  1236. nonce in native-endian
  1237. - Bugfix: cpu: Corrections necessary to get 'c' and 'cryptopp' algorithms
  1238. working on big endian
  1239. - Bugfix: Sanity check for bits exponent in real_block_target
  1240. - Bugfix: cpu: Increment nonce after checking (rather than before), to avoid
  1241. skipping the first nonce of each scanhash call
  1242. - cpu: via: Only swap back the nonce, rather than all data
  1243. - cpu: Minor optimization by checking H==0 before calling fulltest
  1244. - Bugfix: Skip yasm check when building for non-x86 platforms
  1245. - Allow --scantime alias to --scan-time
  1246. - Build bfgminer-rpc program from api-example.c
  1247. - Bugfix: Remove miner.h include from api-example.c since it isn't needed and
  1248. pulls in libblkmaker
  1249. - Make wrapping consistent at 79-80 characters per line
  1250. - Bugfix: Correct numerous misspellings, typos, etc
  1251. - Bugfix: Prefer using a non-frozen mining thread for watchdog
  1252. - Bugfix: x6500: Expose x6500_fpga_data even if JTAG reset/detect fail, since
  1253. it is still used to store temperature info if the other FPGA initializes
  1254. - Adding ZTEX Windows guide from Jason Snell
  1255. BFGMiner Version 2.10.3 - January 22, 2013
  1256. - Revert "x6500: Whenever we get a hardware error, purge buffers just in case
  1257. of read/write desync"
  1258. - Bugfix: libblkmaker: Check that zero-padding on base58check input matches
  1259. output (needed to properly reject addresses with too many or too few prefix/pad
  1260. '1's)
  1261. - Bugfix: Free bin2hex output in __update_block_title
  1262. - Bugfix: Allocate space for the terminating null byte on new current_hash
  1263. - Display tail end of prevblock hash rather than start+32bits
  1264. - Try to extract block height from coinbase scriptSig, when mining stratum
  1265. - Display next block height when using GBT
  1266. - Use suffixes for target-difficulty also, in share accept/reject loglines
  1267. - Bugfix: Implement common target_diff function, fixing scrypt-specific bugs in
  1268. and simplifying common code shared by set_blockdiff, calc_diff, and share_diff
  1269. - Set DISPLAY to :0 by default (on non-Windows)
  1270. - Bugfix: Reset pool bytes received when zeroing stats
  1271. - miner.php trim trailing zeros on some of the STATS numbers
  1272. - Semi-Cherrypick: API stats - include pool network bytes + in miner.php
  1273. - Best Share readme
  1274. - API zero - zero statistics - all or bestshare - with optional on screen
  1275. summary
  1276. - api.c pgaenable not re-enabling the device - plus related debug
  1277. - diffexactone pool diff1 used for share value calculation is ffffffff... not
  1278. 100000000... :P
  1279. - miner.php user/pass fix 'usr' is readonly
  1280. - miner.php optional user/pass login restrictions
  1281. - zero (most) API stats
  1282. - Remember best share per pool and return in API pools
  1283. - ztex: precheck the secondary solutions to avoid hw errors the ztex bitstreams
  1284. gives back the latest checked nonce and its hash7 value and two possible
  1285. solutions.
  1286. - Bugfix: configure: if blocks require at least one command, so fill with true
  1287. - Bugfix: Only log stratum resume if it was actually "idle" before
  1288. - Zero the best share string memory when zeroing stats.
  1289. - Change the pool stratum socket buffer to new cgminer implementation, to
  1290. allocate it in a grow-only fashon and reduce virtual memory fragmentation at
  1291. the expense of CPU time.
  1292. - Differentiate socket full from sock full.
  1293. - Allow stratum to startup without notify but check it is valid before creating
  1294. stratum work.
  1295. - Do not try to generate stratum work unless the notify command has succeeded.
  1296. - Document Mac OS X configure usage with Homebrew pkg-config path
  1297. - Clean up post-configure display of compile environment
  1298. - Bugfix: If native ncurses detection fails, print "none?" result before moving
  1299. on to try AC_SEARCH_LIBS scan
  1300. - Fix more printf-format non-compatibilities
  1301. - Update windows-build.txt
  1302. BFGMiner Version 2.10.2 - December 27, 2012
  1303. - Update documentation to include block difficulty
  1304. - Reset all stats when requested
  1305. - Reset total diff1 shares when zeroing stats as well to show correct work
  1306. utility.
  1307. - Update documentation.
  1308. - Parse anything in the stratum socket if it's full without waiting. Empty the
  1309. socket even if a connection is not needed in case there are share returns.
  1310. - Provide a mechanism to zero all the statistics from the menu.
  1311. - Display the current pool diff in the status line.
  1312. - Display block diff in status line.
  1313. - Generalise the code for solving a block to enable block solve detection with
  1314. scrypt mining.
  1315. - Generate the output hash for scrypt as well and use the one function to set
  1316. share_diff.
  1317. - Use one size for scratchbuf as a macro in scrypt.c
  1318. - Remove the unused sha224 functions.
  1319. - Check staged_rollable under staged lock, when cloning available work.
  1320. - scrypt_diff uses a uint64_t as well.
  1321. - Correct target for stratum support with scrypt mining.
  1322. - Bugfix: Ensure nonces are put in data as little-endian in test_nonce*
  1323. - Add low-level debugging info for data_buffer (some only enabled with
  1324. -DDEBUG_DATABUF)
  1325. - Make all_data_cb fwrite-compliant by returning nmembs, and check for unlikely
  1326. overflows
  1327. - Bugfix: Need to do extract_sockaddr before trying to initiate stratum
  1328. (erroneous http URI usage, except at startup)
  1329. - Bugfix: Update last GBT work in pool_active before staging it, since otherwise
  1330. it could possibly be consumed before we copy it
  1331. - Bugfix: Address Windows-specific formatting issues (including lack of support
  1332. for %ll*)
  1333. - Bugfix: ztex: Correct formatting for reset failure error
  1334. - ztex: Fix formatting in a debug message
  1335. - cairnsmore: Don't bother timing dynclock detection, since there's no standard
  1336. way to log it accurately
  1337. - Correct formatting in FPGA drivers
  1338. - opencl/adl: Fix formatting to fit strict rules
  1339. - Explicitly cast all_data.buf to char* for debug printing
  1340. - Follow strict time_t handling rules
  1341. - Use GNU format-checking attribute when available for applog
  1342. BFGMiner Version 2.10.1 - December 21, 2012
  1343. - libztex: fixed a typo
  1344. - libztex: check returnvalue of libusb_claim_interface() and release the
  1345. interface in case of early exit
  1346. - Bugfix: submissions: Skip FD_ISSET when fd==-1 (let the next select setup deal
  1347. with cleaning them out)
  1348. - Bugfix: Remove sws from write_sws list when discarding it due to pre-send
  1349. stratum disconnection
  1350. - Bugfix: Shutdown stratum socket when initiate fails, so it doesn't linger
  1351. - Bugfix: Clear stratum receive buffer when initializing, in case there was
  1352. extra unprocessed data in it from a previous connection
  1353. - Stop all work from the current pool if it's a stratum pool once it is
  1354. disconnected since it will be invalid upon reconnecting.
  1355. - Discard all staged work from stratum pools as well as the shares upon
  1356. disconnection since all the work becomes invalid.
  1357. - Use correct cbreak after 15 second delay when no pool is found alive.
  1358. - modminer: Set default clock frequency to user request so it sticks better
  1359. - modminer: Make valid frequency range consistent: 2-230
  1360. - Allow stratum to work with scrypt.
  1361. - MMQ add api pgaset for clock
  1362. - API V1.23 - new pgaset command, to be used soon
  1363. - Protect the best_share/best_diff values under control lock.
  1364. - Bugfix: modminer: Return failure to change frequency when device reports it
  1365. - opencl: Look in the right place for OpenCL library on Mac OS X
  1366. - Bugfix: AC_C_BIGENDIAN is reported to have problems, and invasive even if
  1367. buried in a conditional, so don't use it
  1368. - Bugfix: Check for bswap_* first, to avoid redefinition based on other variants
  1369. - Bugfix: autoheader isn't smart enough to figure out variable defines, so use
  1370. AH_TEMPLATE for each possible header
  1371. - Check a stratum pool hasn't gone dead while being a backup pool and missed
  1372. having its idle flag cleared.
  1373. - Fix null pointer issue when one chip on an X6500 is not initialized yet when
  1374. reading temperature.
  1375. - Hot-patch broken libcurl pkgconfig CFLAGS found in libcurl's Windows binaries
  1376. - Update OpenCL 1.2 headers from http://www.khronos.org/registry/cl/api/1.2/
  1377. - Reorganize detection of platform byteswap macros and endian to be more robust
  1378. using autoconf
  1379. - Move new bandwidth-based Efficiency to status line
  1380. - Replace work-based efficiency with new bandwidth-based efficiency
  1381. - Bugfix: Pull out GBT request collapsing since it is no longer needed with new
  1382. get_work main loop
  1383. - Bugfix: Free unused work when waiting on external GBT request
  1384. - README: Explicitly mention automake dependency
  1385. - README: Update AMD APP SDK URIs
  1386. - Bugfix: Free shares discarded before beginning submission
  1387. - Bugfix: Discard stratum shares waiting for a writable socket, if the pool
  1388. disconnects in the meantime
  1389. - Bugfix: Always let watchpool thread handle dead pool recovery (including for
  1390. stratum-only pools)
  1391. - Bugfix: Avoid lingering stratum_auth when connection is lost
  1392. - API-README explain custom page extensions in miner.php
  1393. - miner.php add a sample group pool report
  1394. - miner.php allow where,group,having on cumstom pages
  1395. - Bugfix: Hook CURLOPT_DEBUGFUNCTION to count actual bytes sent/received by
  1396. libcurl
  1397. - Bugfix: Reset pool transparency_time when connecting to stratum
  1398. - Bugfix: Immediately discard shares found on disconnected stratum pools, since
  1399. there is no way to submit them
  1400. - Bugfix: Decrement total_submitting when stale shares are discarded before any
  1401. submission attempts
  1402. - Bugfix: Only try to compare stratum job_id for work that has a job_id (ie,
  1403. ones that came from stratum)
  1404. - Bugfix: Recheck has_stratum even if the pool hasn't changed, in case pool has
  1405. switched to another protocol in the process; also only delay 5 seconds before
  1406. retry if pool is the same
  1407. - Bugfix: Try GBT if no pool protocol is known (can occur in the process of
  1408. stratum failover to GBT)
  1409. - Bugfix: Correctly track discarded stratum shares, and log them as "disconnect"
  1410. in sharelog
  1411. - Check for EWOULDBLOCK when supported in send and recv as well.
  1412. - Use the raw send() command instead of curl_easy_send since curl raw socket
  1413. usage introduces random bugs on windows.
  1414. - Use raw recv() command in place of curl_easy_recv since the curl
  1415. implementation introduces random bugs on windows builds when the recv fails.
  1416. - miner.php when displaying a single rig, add prev/next rig buttons if they
  1417. exist, next to refresh
  1418. - miner.php allow custom page joins for STATS
  1419. - miner.php - include windows easyphp link
  1420. - driver-ztex: use the correct size for the swap array
  1421. - API stats - display pool byte transfer stats
  1422. - Pool store data transfer stats
  1423. - Benchmark incorrect work size
  1424. - ChangeLog refer to NEWS
  1425. - driver-ztex: search the complete noncerange based on the actual speed
  1426. - API-README update
  1427. - api use a dynamic io buffer, truncated before it reaches the current ~64k
  1428. limit
  1429. BFGMiner Version 2.10.0 - December 11, 2012
  1430. - Bugfix: Free work before replacing it with clone
  1431. - Bugfix: Since we are using pipes for select notifier on *nix, we need to use
  1432. read/write there
  1433. - Bugfix: Winsock needs send/recv for sockets, not write/read
  1434. - Bugfix: opencl: Initialize pc_data to avoid clean_work checking uninitialized
  1435. pointers
  1436. - Bugfix: Correct parenthesis in bind() call in Windows notifier_init
  1437. - Include Windows error messages in notifier_init errors
  1438. - Include prctl header for thread renaming to work.
  1439. - Set tv_idle time if a pool is not active when input from the menu.
  1440. - minor unlikely zero pointer test
  1441. - BeaverCreek doesn't like BFI INT patching.
  1442. - Only stratum pools that are idle need to be kicked via cnx_needed.
  1443. - Do not do any setup if opt_api_listen is disabled in api.c.
  1444. - libztex: in case the selectFpga() failed set the selected fpga to unknown
  1445. - Only set the lagging flag for select_pool() on failed getwork if we're not in
  1446. opt_fail_only mode.
  1447. - driver-ztex: support for broken fpga on a multifpga board
  1448. - libztex: use a function for the twice called firmware reset code
  1449. - libztex: removed an unused struct member (ztex->valid)
  1450. - Set the pool lagging flag on startup to avoid it being shown initially, and
  1451. only unset it once the maximum number of staged work items has been reached.
  1452. - libztex: Include compat.h for substitute libusb_error_name (on older libusb
  1453. versions missing it)
  1454. - Suppress warning about "succeeded" not being used in finish_req_in_progress
  1455. for now
  1456. - Bugfix: Always give the get_work thread a curl, regardless of other
  1457. outstanding curls in use
  1458. - Bugfix: Failover after even a single job-request failure (or else it takes
  1459. too long on timeouts)
  1460. - Bugfix: Need to remove and re-add curl easy handles from multi to start a new
  1461. request
  1462. - Access total_submitting under mutex lock to avoid any potential races, and
  1463. increment it as soon as we queue the submission up
  1464. - Just leave the submit_work thread running persistently
  1465. - Bugfix: Restore work->pool after prepare_rpc_req since clean_work now clears
  1466. it
  1467. - Bugfix: Now that stage_work is trying to manipulate staged_work in the same
  1468. thread, clone_available needs to stage it outside of its own lock
  1469. - Make main() the getwork scheduler once everything is set up, so that all app
  1470. exits use the kill_work and quit paths.
  1471. - Set successful connect to true on auth stratum to allow summary on exit from
  1472. single stratum pool.
  1473. - Hash_pop should signal further waiters on its own pthread conditional in case
  1474. there are multiple waiters.
  1475. - Check the job_id has not changed on stratum work when deciding if the work is
  1476. stale as might occur across disconnections.
  1477. - Perform pool_resus on getwork pool that generates work in getwork_thread.
  1478. - Set pool lagging message for getwork pool that falls to zero staged in getwork
  1479. thread.
  1480. - Stage extra work when the primary pool is a getwork pool without rolltime.
  1481. - Do not try to clean up twice if kill message is given.
  1482. - Only recalculate total_staged in getwork thread if required.
  1483. - Include the correct config header in libztex and include it before other
  1484. includes.
  1485. - Implement a completely new getwork scheduler. Stage all work from the one
  1486. thread, making it possible to serialise all requests minimising the number of
  1487. getworks requested or local work generated. Use a pthread conditional to wake up
  1488. the thread whenever work is removed to generate enough work to stay above the
  1489. watermark set by opt_queue. Remove all remnants of the old queueing mechanism,
  1490. deleting the now defunct queued count.
  1491. - Bugfix: Clean up share hashing and target checks, fixing share difficulty
  1492. calculation for above-target would-be-shares
  1493. - Use templates from pool_active and longpolls without fetching more
  1494. unnecessarily
  1495. - Try to avoid requesting GBT jobs when there is already a request in progress
  1496. that will likely provide sufficient work
  1497. - Reuse most recent GBT job if in get_work_thread if it isn't stale
  1498. - libztex: fixed some warnings and removed some whitespaces
  1499. - Remove all references to the now unused workio_cmd structure.
  1500. - Remove the old workio command queue thread, replacing it with a kill
  1501. conditional to exit the program.
  1502. - Remove getwork command from workio_cmd queues and do them directly from
  1503. queue_request.
  1504. - Begin tearing down the old workio command queues by removing submit commands
  1505. from there and submit them asynchronously via their own threads.
  1506. - driver-ztex: changed two pairs of malloc()/memset() to calloc()
  1507. - libztex: Read bitstream file in 2kb blocks with simpler and faster code
  1508. - Added the binary versions of ztex_ufm1_15d4.ihx and ztex_ufm1_15y1.ihx
  1509. - libztex: Add firmware download support for ZTEX 1.15d and 1.15x
  1510. - libztex: Factor out local version of libusb_get_string_descriptor_ascii()
  1511. - libztex: Don't return error when a bitstream was already configured
  1512. - libztex: Read bitstream file in 64kb blocks with simpler and faster code
  1513. - libztex: Verify that the mining firmware is not a dummy firmware
  1514. - libztex: Match mining firmware ZTEX descriptor against the dummy firmware
  1515. - libztex: Start download sequence only after reading in the new firmware
  1516. - libztex: Download mining firmware to all devices with dummy firmware
  1517. - Update windows build instructions.
  1518. - Set pool probed to true on successful authorisation with stratum to avoid it
  1519. being pinged later.
  1520. - Style changes.
  1521. - Allow pool active to be called on stratum or disabled pools in the watchpool
  1522. thread if the pool has not been probed.
  1523. - lock (most of) the threaded statistics updates
  1524. - README stats don't add up
  1525. - Rearrange summary lines and include count of active submissions in progress
  1526. - Defer submissions instead of blocking in pop_curl_entry
  1527. - Run a single share submission thread asynchronously submitting all shares in
  1528. parallel
  1529. - Handle share submissions asynchronously, one at a time (still threaded)
  1530. - Split up json_rpc_call so it can be used asynchronously in libcurl-multi
  1531. - Split submit_upstream_work into _request and _completed stages, pulling out
  1532. json_rpc_call
  1533. - Bugfix: Adjust USB_* variables to new LIBUSB_* names
  1534. - Bugfix: Avoid double-free due to realloc_strcat moving memory around
  1535. - Bugfix: Stratum connections might be needed for share submissions up to a
  1536. minute after the last time they are used to generate work
  1537. - Bugfix: Clean work before trying to generate new stratum work on top of it
  1538. - Bugfix: modminer: Get rid of useless usbutils include
  1539. - Make need connection return true if a pool is idle.
  1540. - New --skip-security-checks option to allow miners to skip checks when it
  1541. saves bandwidth
  1542. - Skip stratum transaction download when there are no transactions
  1543. - API add Best Share to summary
  1544. - API lock access to some summary statistics (and copy them)
  1545. - Enable backup stratum connections for getwork when the primary pool doesn't
  1546. have longpoll aka solo mining.
  1547. - Check for correct absence of opt_fail_only in cnx_needed.
  1548. - Remove unused variable.
  1549. - The specification for stratum has been elaborated to say that a changed diff
  1550. applies only to new work so do not retarget when submitting shares.
  1551. - Suspend stratum connections to backup pools when there is no requirement to
  1552. potentially grab work from them.
  1553. - Rename rename_thr to RenameThread to match cgminer
  1554. - modminer: Adopt symbolic command names from kanoi
  1555. - Make gen_stratum_work more robust by using a dynamically allocated array for
  1556. the header in case bogus data is sent by the pool to avoid overflowing a static
  1557. array.
  1558. - scrypt_diff now returns a uint64_t
  1559. - Support monitoring and reporting much higher diffs for scrypt mining,
  1560. truncating irrelevant zeroes from displayed hash.
  1561. - Pass ostate values around in scrypt to be able to extract full hashes if
  1562. needed later on.
  1563. - Revert "Handle crash exceptions by trying to restart cgminer unless the
  1564. --no-restart option is used."
  1565. - Provide helper function realloc_strcat to extend arbitrary length arrays
  1566. based on string length.
  1567. - Use base_work for comparison just for cleanness in __copy_work
  1568. - Remove all static work structs, using the make and free functions.
  1569. - Add pool no. to stale share detected message.
  1570. - Add info about which pool share became stale while resubmitting.
  1571. - Reduce extra slots in the max backlog for ztex to minimise memory waste.
  1572. - Get rid of unused last_work in opencl thread data.
  1573. - Do away with the flaky free_work api in the driver code which would often lose
  1574. the work data in opencl and simply flush it before exiting the opencl scanhash.
  1575. - Minor work handling restructure, including moving some stratum data from
  1576. fixed-size buffers to their own heap allocations.
  1577. - opencl: Use new dev_error function for REASON_DEV_NOSTART
  1578. - Provide rudimentary support for the balancing failover strategies with stratum
  1579. and GBT by switching pools silently on getwork requests.
  1580. - Convert remaining modminer and bfl uses of usleep to nmsleep.
  1581. - Convert libztex to nmsleep where possible.
  1582. - Convert unreliable usleep calls to nmsleep calls in ztex driver.
  1583. - Tidy up device error counts
  1584. - Only increase gpu engine speed by a larger step if the temperature is below
  1585. hysteresis instead of increasing it to max speed.
  1586. - Convert pool not responding and pool alive message on backup pools to verbose
  1587. level only since they mean a single failed getwork.
  1588. - Use stratum block change from backup pools as an alternative to longpoll for
  1589. pools that don't support LP.
  1590. - Round some more static string arrays to 4 byte boundaries.
  1591. - There is no need for the static arrays to be larger than required, so long as
  1592. they're 4 byte aligned to appease ARM.
  1593. - Hash1 is only used by the CPU mining code and never changes so remove it from
  1594. the work struct and bypass needing to process the value for all other mining.
  1595. BFGMiner Version 2.9.5 - December 11, 2012
  1596. - Bugfix: Copy share hash to work->hash before doing 4-byte flip required by
  1597. fulltest
  1598. - driver-ztex: libztex_setFreq() must be called before ztex_releaseFpga()
  1599. - libztex: Make log messages say bitstream when refering to bitstreams
  1600. - Increase FD_SETSIZE to 4096 on Windows
  1601. - Bugfix: Use AC_PROG_CPP in libusb include subdirectory detection for improved
  1602. portability
  1603. - Bugfix: Free input memory after prioritising pools in TUI
  1604. - Bugfix: Free filename entry for writing config file when done with it
  1605. - Bugfix: Free stratum nonce1 before replacing it with new value on reconnect
  1606. BFGMiner Version 2.9.4 - December 4, 2012
  1607. - Update libblkmaker to 0.2.1
  1608. - Count template number, and append it to the coinbase of templates without any
  1609. cbtxn
  1610. - Bugfix: bitforce: Always increment global hw error counter when incrementing
  1611. device hwe
  1612. - Bugfix: Correct order of printf-style arguments in cbappend fail
  1613. - Bugfix: Capitalize "MHz" correctly
  1614. - ztex: Correctly release mutex and reset FPGA if configuration fails
  1615. - ztex: Harmonize low-speed FPGA configuration code with high-speed code
  1616. - libztex: Silence warning: comparison between signed and unsigned
  1617. - Count longpoll decodes as queued work since the count otherwise remains
  1618. static.
  1619. - Bugfix: Assign header-based rolltime before decoding work, so GBT expires
  1620. overrides it properly
  1621. - Look for libusb_init in -lusb, since FreeBSD has it there
  1622. - Bugfix: Use pkgconfig for libusb when available, and try to guess the include
  1623. path if not
  1624. - Bugfix: FPGA-README: Correct idVendor in example MMQ udev rule
  1625. - fixes target calc for mips openwrt
  1626. - Bugfix: clear_work: Whether the template is in fact being freed or not, the
  1627. work reference to it needs to be
  1628. - libztex: Work around ZTEX USB firmware bug exposed by the FreeBSD libusb
  1629. - README: Document solo mining usage
  1630. - README: Update dependencies
  1631. - Bugfix: We should never roll stale work
  1632. - Ubuntu: Removing erroneous libssl dep again. GITHUB#94
  1633. - Bugfix: Clear out stratum share work before freeing it
  1634. - Provide rudimentary support for literal ipv6 addresses when parsing stratum
  1635. URLs.
  1636. - Do not attempt to remove the stratum share hash after unsuccessful submission
  1637. since it may already be removed by clear_stratum_shares.
  1638. BFGMiner Version 2.9.3 - November 16, 2012
  1639. - Bugfix: Properly process new stratum jobs through test_work_current, even if
  1640. old shares are still accepted, and copy submit_old flag correctly
  1641. - Ensure pdiff 1 is always caught regardless of bdiff precision, and ceil all
  1642. other cases to ensure we never lose valid shares
  1643. - Check against a double for current pool diff.
  1644. - Support for fractional diffs and the classic just-below-1 share all FFs diff
  1645. target.
  1646. - Check share target diff for best_share to be calculated when solo mining.
  1647. - Store the full stratum url information in rpc_url for correct configuration
  1648. file saving.
  1649. - Put in a hack to prevent dud work from sneaking into test_work_current being
  1650. seen as a new block.
  1651. - Reset the work->longpoll flag where it will affect stratum work items as
  1652. well.
  1653. - Bugfix: Stratum does not guarantee notify messages every minute, so extend
  1654. timeout to 2 full minutes
  1655. - Bugfix: Always honour libblkmaker time limits
  1656. - Always (debug)log when stratum template is updated by the pool
  1657. - Bugfix: When a stratum connection is interrupted, ensure all work/shares for
  1658. it are considered stale
  1659. - Bugfix: clear_sock should return on socket errors
  1660. - Bugfix: Force calculation of work_difficulty since set_work_target fails to
  1661. consider the pdiff<bdiff difference
  1662. - Bugfix: Minimal support for handling real difficulties from stratum server
  1663. - Bugfix: Never consider shares to be accepted if the submission response is an
  1664. error
  1665. - Bugfix: Always fail scrypt detection if Stratum is chosen
  1666. BFGMiner Version 2.9.2 - November 7, 2012
  1667. - Add endian swap defines for where missing.
  1668. - Only retarget stratum shares to new pool diff if diff has dropped.
  1669. - Bugfix: x6500: Use json_object_set_new to correctly count references to
  1670. per-FPGA RPC data
  1671. - Bugfix: modminer: Use json_object_set_new to correctly count references to
  1672. per-FPGA RPC data
  1673. - Bugfix: Only append newline when printing protocol data
  1674. - Bugfix: Use memchr to look for newlines in socket line data, since the buffer
  1675. isn't null terminated
  1676. - Bugfix: Ensure GETWORK_MODE_GBT isn't replaced with GETWORK_MODE_POOL
  1677. - Count lost stratum share submits and increase message priority to warning.
  1678. - Show which pool untracked share messages have come from.
  1679. - Sleep 5 seconds before retrying submit.
  1680. - Changes to build prototypes to support building on FreeBSD 9.1-RC2 amd64
  1681. - Count lost shares with stratum as submit stale lost.
  1682. - Discard record of stratum shares sent and report lost shares on disconnection
  1683. since they will never be reported back.
  1684. - Check that count of transactions received via stratum is reasonable
  1685. - Use realloc'd data_buffer to support stratum lines longer than 8 KB, and
  1686. parse stratum responses during auth
  1687. - Use mining.get_transactions to check for stratum pool transparency (actual
  1688. response ignored for now)
  1689. - ztex: Silence false "unexpected" hardware errors, and don't count them as hw
  1690. errors
  1691. - README: Update build instructions to reflect current reality
  1692. - x6500: Expose per-FPGA details to RPC API
  1693. - x6500: Implement support for --temp-target
  1694. - x6500: Increase default clock frequency to 200 Mhz, now that new bitstream
  1695. seems to run well around that
  1696. - x6500: Flush nonces in FPGA buffer at initialization to avoid false hw errors
  1697. on restart
  1698. - x6500: Release device lock sooner during initialization, before logging
  1699. initial frequency info
  1700. - x6500: Read temperature sensors after sending work, when enabled
  1701. - Bugfix: jtag: Fix optimized register reading code (it was reading an extra
  1702. bit before the last, corrupting outside the buffer)
  1703. - Implement new --force-dev-init option to force bitstream upload to modminer
  1704. and x6500 devices
  1705. - Bugfix: x6500: Include --scan-serial option even for x6500-only builds
  1706. - Bugfix: ztex: Include --scan-serial option even for ztex-only builds, so it
  1707. can be used to disable autodetect if needed
  1708. - FPGA-README: Discuss X6500 --scan-serial usage of cases where it may be
  1709. needed
  1710. - ft232r: If we are searching for a specific serial, pay no attention to the
  1711. product id
  1712. - x6500: Try a more flexible approach to applying dynclock logic
  1713. - Bugfix: dynclock: Use standard C struct initializer to handle initialization,
  1714. instead of memsetting memory to nulls
  1715. - x6500: Whenever we get a hardware error, purge buffers just in case of
  1716. read/write desync
  1717. - Bugfix: x6500: When purging ft232r buffers (during bitstream upload), also
  1718. clear JTAG delayed read counter to avoid any potential desync
  1719. - Bugfix: ft232r: Always flush writes before purging buffers, and empty local
  1720. read buffer when flushing ftdi read buffer
  1721. - There is no need for addrinfo any more.
  1722. - Fix filename for x6500 bitstream to match previous commit's rename
  1723. - Rename x6500 bitstream to match existing licensing naming setup
  1724. - x6500 dual temp sensor support
  1725. - x6500 is far more stable with its own bitstream
  1726. BFGMiner Version 2.9.1 - October 30, 2012
  1727. - When we find a block, always progress to it for mining
  1728. - Bugfix: Enforce --expiry, but split --expiry-lp for a longer expiry on
  1729. longpoll setups
  1730. - Bugfix: regeneratehash needs to compare hash segments in Little Endian, not
  1731. Big Endian
  1732. - Bugfix: Always fail scrypt detection if Stratum is working
  1733. - Bugfix: Scan for ft232r devices later, after console lock and other mutexes
  1734. are initialized properly
  1735. - ft232r: Debuglog non-FTDI device IDs found
  1736. - Bugfix: Wait to release JSON result in case of JSON-RPC error until we've
  1737. logged the error
  1738. - Bugfix: RPC: Defer release of JSON until after cmd is used
  1739. - Bugfix: Release JSON result in case of JSON-RPC error
  1740. - Bugfix: Release job JSON result as soon as we are done using it
  1741. - Bugfix: Release JSON received from RPC socket after we're done using it
  1742. - Bugfix: Use clear_work and workdup everywhere work is copied around
  1743. - Bugfix: Clear work before replacing it with new, to free any pointers
  1744. - server and client sockaddr_in are no longer used in struct pool.
  1745. - Set sshare id and swork_id within the sshare mutex to avoid multiple share
  1746. submits with the same id.
  1747. - Bugfix: Really use freeaddrinfo to clean up in extract_sockaddr
  1748. - Update documentation for X6500
  1749. - Bugfix: Free unused JSON returned when switching to Stratum
  1750. - Bugfix: Free unused work when switching to Stratum instead
  1751. - Bugfix: Use freeaddrinfo to clean up in extract_sockaddr
  1752. - RPC: Include PGA support for X6500-only builds
  1753. - RPC: Abstract code to handle any new device drivers as PGAs without special
  1754. support
  1755. - Bugfix: Release GBT submission JSON objects after dumping them
  1756. - Bugfix: Free old stratum_work data before replacing it
  1757. - Bugfix: Release memory allocated by prior stratum sockaddr extractions
  1758. - Bugfix: Clear work template when preparing a new request
  1759. - Bugfix: Initialize temporary stratum work
  1760. - Bugfix: x6500: jtag_read buffer needs to be initialized since reading JTAG
  1761. implies writing too
  1762. - Replace now-redundant accepted_weighed with equivalent diff_accepted
  1763. - Fail on select() failing in stratum thread without needing to attempt
  1764. recv_line.
  1765. - Add share to stratum database before sending it again in case we get a
  1766. response from the pool before it's added.
  1767. - Bugfix: modminer: Check that we have a valid fd before trying to start work
  1768. - Shorten the initiate stratum connect timeout to 30 seconds.
  1769. - Shorten the stratum timeout on read to 90 seconds to detect unresponsive pool.
  1770. - Display best share difficulty on exit.
  1771. - Make stratum socket fail more robust on windows by disabling the send buffer.
  1772. - Reuse the same curl handle forcing a new connection instead of risking
  1773. derefencing.
  1774. - Add information about submission failure to stratum send.
  1775. BFGMiner Version 2.9.0 - October 28, 2012
  1776. - modminer: Remove dead code
  1777. - Bugfix: Include headers in order needed for Mingw build
  1778. - Bugfix: Save pool pointer to avoid dereferencing work after it might
  1779. potentially be freed
  1780. - Bugfix: Cleanup some harmless warnings
  1781. - Bugfix: TUI: Avoid clearing the whole screen when we just want to clear the
  1782. log window
  1783. - Wishlist #130 implemented by "blinkier":
  1784. - - Add all-at-once pool priority reassignment to curses TUI interface
  1785. - - Save/restore pool priorities in config file
  1786. - - Allow setting initial pool priorities via command line
  1787. - Bugfix: Replace reportin hack with a reset back to LIFE_INIT for bitstream
  1788. upload
  1789. - Bugfix: SI kilo prefix is a lowercase "k"
  1790. - Bugfix: If userpass is missing a password, treat it as a null password
  1791. (regression fix)
  1792. - Upgrade libblkmaker to 0.2.0
  1793. - Bugfix: Build correct pay-to-scripthash script
  1794. - Implement --coinbase-addr for solo mining
  1795. - x6500: Since we program in about a minute now, only report status verbosely
  1796. every 25%
  1797. - x6500: Poll nonce less often since USB latency slows us down anyway
  1798. - jtag: Avoid writing an extra readback byte when we are ignoring tdo anyway
  1799. - ft232r: Set output buffer size to 4096 bytes
  1800. - x6500: Adjust dynclock so it works more reasonably
  1801. - x6500: Dynclock support
  1802. - Provide a simple/dummy libusb_error_name when it is missing (libusb < 1.0.9)
  1803. - x6500: Stop abusing pointer type to store bitstream upload progress
  1804. - Bugfix: ft232r: Avoid reuse of USB device count variable
  1805. - x6500: Implement basic hashrate prediction and efficient job completion
  1806. - jtag: Optimized implementation of JTAG reads to workaround ft232r slowness
  1807. - x6500: Try nonce with previous work if it is wrong for current
  1808. - x6500: Ensure ft232r buffer is flushed to change registers
  1809. - x6500: Start clock speed off at 180, and extra debugging for
  1810. x6500_set_register
  1811. - x6500: When programming, poll each FPGA status individually since they might
  1812. not be ready at the same time
  1813. - x6500: Various tweaks and hacks to get mining working
  1814. - Bugfix: x6500: Remove erroneous bitendianflip
  1815. - Bugfix: jtag: Handle ftdi-common environmental stuff properly
  1816. - jtag: Defer ignored reads a bit to avoid USB latency
  1817. - Bugfix: ft232r: First 2 bytes of every 0x40 are FTDI status or something
  1818. - x6500: Implement mining protocols (doesn't work yet)
  1819. - x6500: Cleanup dead code and implement bailout2
  1820. - x6500: Clean up and finish FPGA initialization
  1821. - x6500: Comment bitstream upload function better
  1822. - fpgautils: Abstract open_xilinx_bitstream out from modminer and x6500 drivers
  1823. - x6500: Get bitstream upload working
  1824. - Bugfix: jtag: Use the correct bit for reading/writing data streams
  1825. - ft232r: Buffer writes to improve performance
  1826. - x6500: Get FPGA probe working
  1827. - jtag: JTAG implementation for X6500 (over ft232r)
  1828. - ft232r: ft232r_read_all function to simplify exact-length reads
  1829. - ft232r: Implement read buffer so ft232r_read always works like read(2)
  1830. - ft232r: Complete necessary interfaces for X6500
  1831. - x6500: Bare minimum detection-only X6500 support via libusb
  1832. - Minor debian packaging fixes.
  1833. - Only add stratum share to database if we succeeded in submitting it, with a
  1834. debug output saying it succeeded.
  1835. - Use keepalive with stratum sockets to improve its ability to detect broken
  1836. connections.
  1837. - Show only the URL in the status bar to avoid long prefixes making for extra
  1838. long lines.
  1839. - Display compact status in menu and update README to reflect current menu
  1840. entries.
  1841. - Add a compact display mode that does not list per device statistics in the
  1842. status window.
  1843. - Add blank spaces after best share displayed.
  1844. - Round a few static string arrays up to 4 byte boundaries for ARM.
  1845. - Display best share diff for scrypt as well.
  1846. - Show the best diff share as "best share" and add info to the README.
  1847. - Display the best diff share submitted so far.
  1848. - Redundant check.
  1849. - The work struct pointer in struct pc_data in findnonce is never freed yet
  1850. there is no need to allocate it separately so make struct work a static part of
  1851. the struct pc_data. s
  1852. - No longer should hide --no-restart option if OpenCL support is missing
  1853. - Handle crash exceptions by trying to restart cgminer unless the --no-restart
  1854. option is used.
  1855. - Switch queued count when choosing a different pool from a failed stratum pool
  1856. in getwork thread.
  1857. - Put a mandatory 5s wait between reattempting a getwork on failure to avoid
  1858. hammering requests.
  1859. - Make sure to check pool stratum curl exists under lock before attempting any
  1860. recv to not risk dereferencing upon attempting to reinitiate stratum.
  1861. - Avoid redefining macros and align to 4 byte boundaries.
  1862. - API - add Stratum information to pools
  1863. - update FPGA-README for MMQ
  1864. - Time for dynamic is in microseconds, not ms.
  1865. - x86_64 builds of mingw32 are not supported directly and should just configure
  1866. as generic mingw32 builds since they're NOT 64 bit.
  1867. - Use 3 significant digits when suffix string is used and values are >1000.
  1868. - Get rid of unused warning for !scrypt.
  1869. - Use select on stratum send to make sure the socket is writeable.
  1870. - Cope with dval being zero in suffix_string and display a single decimal place
  1871. when significant digits is not specified but the value is greater than 1000.
  1872. - Pad out the suffix string function with zeroes on the right.
  1873. - Failure to calloc in bin2hex is a fatal failure always so just check for that
  1874. failure within the function and abort, simplifying the rest of the code.
  1875. - Provide locking around the change of the stratum curl structures to avoid
  1876. possible races.
  1877. - Bump opencl kernel version numbers.
  1878. - Remove atomic ops from opencl kernels given rarity of more than once nonce on
  1879. the same wavefront and the potential increased ramspeed requirements to use the
  1880. atomics.
  1881. - Clear the pool idle flag in stratum when it comes back to life.
  1882. - Display correct share hash and share difficulty with scrypt mining.
  1883. - Show work target diff for scrypt mining.
  1884. - Watch for buffer overflows on receiving data into the socket buffer.
  1885. - Dramatically simplify the dynamic intensity calculation by oversampling many
  1886. runs through the opencl kernel till we're likely well within the timer
  1887. resolution on windows.
  1888. - Align static arrays to 4 byte boundaries to appease ARM builds for stratum.
  1889. - Update documentation.
  1890. - Left align values that are suffix_string generated.
  1891. - Share_diff should not be converting the work data to hex.
  1892. - Update readme describing difficulty displayed on log lines.
  1893. - Off by one error.
  1894. - Prevent overflows of the port char array in extract_sockaddr.
  1895. - Disable stratum detection with scrypt.
  1896. - Display the actual share diff next to the pool required diff, using a suffix
  1897. creation function to prevent values of >1000 being shown in their entirety.
  1898. - Fix 4 * 0 being 0 that would break dynamic intensity mode.
  1899. - Supplement other 64-bit endian swap macros
  1900. - Bugfix: Fix htobe64 on big endian platforms that don't define it
  1901. - Fix lack of htobe64 on mingw32.
  1902. - Reinstate the history on dynamic intensity mode to damp fluctuations in
  1903. intensity but use an upper limit on how much the value can increase at any time
  1904. to cope with rare overflows.
  1905. - Update to cgminer's newer dynamic intensity algorithm
  1906. - Support for the stratum mining protocol.
  1907. - Simplify target generation code.
  1908. - Add support for client.get_version for stratum.
  1909. - Use a 64 bit unsigned integer on the diff target to generate the hex target.
  1910. - Update reconnect message to show whole address including port.
  1911. - Look for null values and parse correct separate array entries for url and port
  1912. with client reconnect commands for stratum.
  1913. - The command for stratum is client.reconnect, not mining.reconnect.
  1914. - Only copy the stratum url to the rpc url if an rpc url does not exist.
  1915. - Implement rudimentary mining.reconnect support for stratum.
  1916. - Ignore the value of stratum_active on calling initiate_stratum and assume
  1917. we're always trying to reinitiate it, and set the active flag to false in that
  1918. function.
  1919. - stratum auth can be unset if we fail to authorise on subsequent calls to
  1920. auth_stratum which undoes the requirement of setting it in one place so set it
  1921. in pool_active.
  1922. - Format Stratum submission-start debug the same way as other submissions
  1923. - Bugfix: Set work_restart_id in gen_stratum_work for when work is reused to
  1924. avoid thinking it's all stale.
  1925. - Only auto-switch to Stratum internally, but save HTTP URI in case pool stops
  1926. using Stratum; also always shows original pool URI on RPC
  1927. - SHUT_RDWR is now always defined for us, so no need to check ifdef on LP hang
  1928. - Implement --no-stratum option to disable autodetection
  1929. - Show Stratum pools as "Strtm" protocol in "Pool management" TUI
  1930. - Bugfix: BFGMiner doesn't use rpc_proxytype
  1931. - Remove free that could segfault.
  1932. - Use the stratum url as the rpc url advertised if we switch to it.
  1933. - Count an invalid nonce count as a hardware error on opencl.
  1934. - Count each stratum work item as local work.
  1935. - Cope with one stratum pool being the only active pool when it dies by sleeping
  1936. for 5 seconds before retrying to get work from it instead of getting work
  1937. indefinitely.
  1938. - Detect stratum outage based on either select timing out or receiving an empty
  1939. buffer and properly re-establish connection by disabling the stratum_active
  1940. flag, coping with empty buffers in parse_stratum.
  1941. - Fix various modminer warnings on mingw.
  1942. - Fix sign warning on windows build for bitforce.
  1943. - Cast socketfail to integer since SOCKET is an unsigned int on windows.
  1944. - Use the stratum thread to detect when a stratum pool has died based on no
  1945. message for 2 minutes.
  1946. - Only set the stratum auth flag once and once the stratum thread is started,
  1947. use that to set/unset the stratum active flag.
  1948. - Only hand off to stratum from getwork if we succeed in initiating the
  1949. protocol.
  1950. - Target should only be 32 bytes copied.
  1951. - Use a static array for work submission data instead of stack memory.
  1952. - Clear the buffer data before sprinting to it.
  1953. - Clear work stratum strings before setting them and add them to debug output.
  1954. - Drop stratum connect failed message to verbose level only since it's a regular
  1955. probing message.
  1956. - TCP Keepalive in curl is only in very recent versions and not required with
  1957. regular messages on stratum anyway.
  1958. - Move stratum sockets to curl infrastructure with locking around send+recv to
  1959. begin support for proxies and ssl.
  1960. - Make detect stratum fail if a proxy has been set up.
  1961. - Stratum does not currently have any proxy support so do not try to switch to
  1962. stratum if a proxy has been specified.
  1963. - Windows doesn't work with MSG_PEEK on recv so move to a continuously updating
  1964. buffer for incoming messages.
  1965. - Alloca is unreliable on windows so use static arrays in util.c stratum code.
  1966. - Begin support for mingw stratum build.
  1967. - Add space to reject reason.
  1968. - Parse the reject reason where possible from stratum share submission.
  1969. - Pass json error value to share result function to be able to parse reject
  1970. reason in stratum.
  1971. - Don't try to parse unneeded parameters in response to mining.subscribe.
  1972. - Remove the sshare hash entry if we failed to send it.
  1973. - Change notify message to info level to avoid spamming repeatedly when a pool
  1974. is down.
  1975. - Check the stratum pool difference has not changed compared to the work diff
  1976. when testing whether a share meets the target or not and retarget if necessary.
  1977. - Bit error in target calculation for stratum.
  1978. - Offset the current block detection to the prev block hash.
  1979. - We should be testing for id_val, not id in parse stratum response.
  1980. - Make target on stratum scale to any size by clearing sequential bits according
  1981. to diff.
  1982. - Correct target calculation in gen_stratum_work.
  1983. - If a share result has an error code but still has an id, it is likely a
  1984. reject, not an error.
  1985. - Initiate stratum the first time in pool_active only, allowing us to switch to
  1986. it on getting a failed getwork and detecting the presence of stratum on the url
  1987. at that time.
  1988. - Use 5 second timeout on sock full for now as a temporary workaround.
  1989. - If no stratum url is set by the end of the detect stratum routine, copy the
  1990. sockaddr url.
  1991. - Make all buffers slightly larger to prevent overflow.
  1992. - Make the stratum recv buffer larger than the recvsize.
  1993. - Userpass needs to be copied to user and pass earlier to allow stratum
  1994. authorisation to work with it.
  1995. - Store a sockaddr url of the stripped url used in determining sockaddr to not
  1996. confuse it with the stratum url and fix build warnings.
  1997. - Decrease the queued count with stratum work once it's staged as well.
  1998. - Allow the stratum retry to initiate and auth stratum in pool_alive to make
  1999. sure the stratum thread is started.
  2000. - Avoid duplicating pool->rpc_url and setting pool->stratum_url twice to itself.
  2001. - Detect if a getwork based pool has the X-Stratum header on startup, and if so,
  2002. switch to the stratum based pool.
  2003. - Comment update.
  2004. - Minor message change.
  2005. - Create a work item from a "clean" request from stratum allowing the new block
  2006. to be detected and the appropriate block change message to be given.
  2007. - Use statically allocated stratum strings in struct work to cope with the
  2008. inability to safely deallocate dynamically allocated ram.
  2009. - Use the current pool when deciding whether to reuse work from a stratum source
  2010. rather than the work's previous pool.
  2011. - Copy the stratum url to the rpc url to avoid none being set.
  2012. - Provide locking around stratum send operations to avoid races.
  2013. - Submit shares from stratum through the abstracted submit share function
  2014. detecting what message they belong to and showing the data from the associated
  2015. work, and then deleting it from the hash.
  2016. - Use a more robust mechanism to obtain a \n terminated string over a socket.
  2017. - Abstract out share submit as a function to be useable by stratum.
  2018. - Rename parse_stratum to parse_method as it is only for stratum messages that
  2019. contain methods.
  2020. - Display stratum as mechanism in status line when current pool is running it.
  2021. - Count each stratum notify as a getwork equivalent.
  2022. - Correct nonce submitted with share.
  2023. - Extranonce2 should be added before coinbase2.
  2024. - We should be hashing the binary coinbase, not the hex one.
  2025. - Fix endianness of nonce submitted for stratum.
  2026. - Check that stratum is already active in initiate_stratum to avoid
  2027. de-authorising ourselves by subscribing again.
  2028. - Begin implementing a hash database of submissions and attempt sending results.
  2029. - Copy parameters from stratum work required for share submission.
  2030. - Set lagging flag on first adding a pool to prevent pool slow warning at
  2031. startup.
  2032. - Fix work->target being a 32 byte binary in gen_stratum_work.
  2033. - Store and display stripped url in its own variable.
  2034. - Create machinery to divert work requests to stratum.
  2035. - Generate the work target in gen_stratum_work, setting default diff to 1 in
  2036. case it is not yet set.
  2037. - Generate work data, midstate and hash1 in gen_stratum_work.
  2038. - Generate header created from stratum structures in gen_stratum_work.
  2039. - Generate merkle root hash in gen_stratum_work.
  2040. - Generate the coinbase for generation of stratum based work.
  2041. - The number of transactions is variable so make merkle a variable length
  2042. dynamically allocated array and track how many there are for stratum.
  2043. - Rename nonce2 to n2size reflecting that it's a size variable and not the
  2044. actual nonce.
  2045. - Provide rudimentary support for stratum clean work command in the stratum
  2046. thread.
  2047. - Cope with pools being removed in the stratum thread.
  2048. - Use the pool sock value directly in the stratum thread in case it changes
  2049. after reconnecting.
  2050. - Create a stratum thread per pool that has stratum that monitors the socket and
  2051. serves received data.
  2052. - Check return value of stratum_parse.
  2053. - Complete authorisation in stratum.
  2054. - Implement stratum parsing of notify parameters and storing them in the pool
  2055. stratum work structure.
  2056. - Create helper functions for duplicating json strings to avoid keeping json
  2057. references in use.
  2058. - Append \n in the sock_send function instead of adding it when constructing
  2059. json in stratum.
  2060. - Don't keep any json references around with stratum structures.
  2061. - Create parse_stratum function that hands off stratum parameters to other
  2062. functions to manage pool stratum work struct variables. Implement mining
  2063. difficulty setting.
  2064. - Create helper functions for checking when a socket is ready to read on and
  2065. receive a single line at a time. Begin stratum authorisation process.
  2066. - Provide a helper function for reading a single \n terminated string from a
  2067. socket.
  2068. - Create a stratum work structure to store current work variables.
  2069. - Test specifically for stratum being active in pool_active.
  2070. - Detect stratum in common place when adding urls, and use a bool to tell us
  2071. when it's active.
  2072. - Remove unused add_pool_details5
  2073. - Fix warnings.
  2074. - Extract and store various parameters on stratum init confirming successful
  2075. mining notify.
  2076. - Use existing socket macros and close the socket on failure in init stratum.
  2077. - Initiate stratum and grab first json result.
  2078. - Get detailed addressinfo from the parsed URL for future raw socket usage when
  2079. possible. IPV4 only for now.
  2080. - Prepare for getaddrinfo call.
  2081. - Add data structures to pool struct for socket communications.
  2082. - Put all socket definitions in util.h to allow reusing by added socket
  2083. functions to be used in util.c.
  2084. BFGMiner Version 2.8.3 - October 18, 2012
  2085. - Update to libblkmaker 0.1.3
  2086. - Use explicit host to BE functions in scrypt code instead of hard coding
  2087. byteswap everywhere.
  2088. - Ease the checking on allocation of padbuffer8 in the hope it works partially
  2089. anyway on an apparently failed call.
  2090. - Round target difficulties down to be in keeping with the rounding of detected
  2091. share difficulties.
  2092. - String alignment to 4 byte boundaries and optimisations for bin<->hex
  2093. conversions.
  2094. - Fix GPU memory allocation size for scrypt
  2095. - Fix access violation with scrypt mining
  2096. - Bugfix: Only free rpc_req after using it, not before
  2097. - Bugfix: Increment work->pool->staged inside of mutex to avoid work being
  2098. freed (and staged decremented) before we dereference it
  2099. - Revert "No need for extra variable in hash_push.": The extra variable is
  2100. needed to avoid a rare dereference-after-free error.
  2101. - In opencl_free_work, make sure to still flush results in dynamic mode.
  2102. - Workaround: Debug log only after dec_queued, to make a free/use race more
  2103. rare
  2104. - Bugfix: Remove redundant \n in debug messages
  2105. - Bugfix: Free rpc_req in pool_active and longpolls
  2106. - README: Explicitly provide Ubuntu package name for libjansson-dev
  2107. - Bugfix: Include flash_led bool in cgpu_info for Icarus-but-not-BitForce
  2108. builds, since Cairnsmore uses it
  2109. - Only check work block id against pool's if the pool has a known block id
  2110. - Avoid clearing pool->block_id unless we really are changing pools
  2111. BFGMiner Version 2.8.2 - October 8, 2012
  2112. - Update to libblkmaker 0.1.2
  2113. - Bugfix: --temp-target no longer has a simple default (fixes build without
  2114. OpenCL support)
  2115. - Bugfix: icarus: Silence false epoll error
  2116. - Bugfix: icarus: Set firstrun for errors starting next job, so the current
  2117. one finishes properly
  2118. - Bugfix: icarus: Restore generic failure management for write errors
  2119. - Use strtod not strtol for bitforce temp backup.
  2120. - Cope with broken drivers returning nonsense values for bitforce temperatures.
  2121. - Minor warning fixes.
  2122. - Fix unused warnings on ming build.
  2123. - Fix sign warning in ocl.c
  2124. - fds need to be zeroed before set in modminer.
  2125. - Put scrypt warning on separate line to avoid 0 being shown on windows as
  2126. bufsize.
  2127. - Prevent corrupt values returned from the opencl code from trying to read
  2128. beyond the end of the buffer by masking the value to a max of 15.
  2129. - Icarus USB write failure is also a comms error
  2130. - api.c DEBUG message has no paramter
  2131. - Icarus catch more USB errors and close/reopen the port
  2132. - API-README update cgminer verison number
  2133. - hashmeter fix stats kh/s on 32bit windows
  2134. - cairnsmore: Increase maximum clock frequency to 210 Mhz
  2135. - icarus: Hashrate estimates really don't need the attention of a warning,
  2136. demote them to debug
  2137. - cairnsmore: Automatically "downgrade" default FPGA-per-device to 1 for
  2138. dynclock devices
  2139. - Bugfix: cairnsmore: Get autodetection of dynclock to work consistently
  2140. - cairnsmore: Adjust dynclock usage to react in proper time
  2141. - dynclock: Document function usage
  2142. - cairnsmore: Fix race on dynclock detection
  2143. - icarus: Detect attempts to send commands via work and neuter them
  2144. - cairnsmore: Glasswalker has a minimum multiplier of 20 :(
  2145. - cairnsmore: Detect frequency changing support despite hashing of commands
  2146. - modminer: Allow clocks down to 2 Mhz just in case
  2147. - Allow device drivers and users to properly change target temperatures for
  2148. non-GPUs
  2149. - Check that ncurses*-config installs actually work before deciding to use
  2150. them
  2151. - Bugfix: Fix multiple bugs in autogen.sh
  2152. - - Don't use readlink -f unneccesarily (it's not portable)
  2153. - - Always run autoreconf within the real source directory
  2154. - - Run configure from PWD, *not* the real source directory
  2155. - Bugfix: Include nonce in data buffer for debugging
  2156. - Bugfix: swap32* wants count of 32-bit blocks, not bytes
  2157. - Initial Cygwin port
  2158. - Revert "Remove needless roundl define.", since it is needed for Cygwin and
  2159. OpenWRT
  2160. - Bugfix: Deal with various compiler warnings
  2161. - modminer: Implement --temp-hysteresis logic
  2162. - Support for maximum frequency being below the default, eg when the maximum
  2163. is temporarily reduced to deal with temperature
  2164. - Bugfix: modminer: Reduce dynclock max frequency as needed to keep
  2165. temperature below cutoff
  2166. - Bugfix: Restore disabled label, needed to skip over hashrate calculations
  2167. (which mess up otherwise)
  2168. - Bugfix: bitforce: Count actual throttling as hardware errors
  2169. - icarus: Allow failure in case of reopen failure, now that the miner core
  2170. will retry on its own
  2171. - If a device dies, attempt to reinitialize it occasionally
  2172. - Bugfix: The REST flag is now preferred over WAIT, since the former might
  2173. trigger the latter
  2174. - Bugfix: modminer: Update temperature readings when disabled (fixes thermal
  2175. cutoff recovery)
  2176. - Bugfix: Move thermal cutoff to general watchdog code (fixes bitforce
  2177. recovery)
  2178. - Rename enable_device to register_device, since it only works for setting it
  2179. up at startup
  2180. - Move targettemp from ADL to cgpu_info, so all devices can readily use it
  2181. - Bugfix: "REST" flag had too much padding
  2182. - Bugfix: adl: Only warn and disable GPU due to thermal cutoff, if it's
  2183. actually enabled
  2184. - Bugfix: bitforce: Only warn and disable bitforce due to thermal cutoff, if
  2185. it's actually enabled
  2186. BFGMiner Version 2.8.1 - September 27, 2012
  2187. - Avoid strndup for Windows compatibility
  2188. - Bugfix: cairnsmore: Add missing compat.h include (for sleep)
  2189. - cairnsmore: Implement "identify" for supported firmware
  2190. - Adjust identify_device API to return a bool whether supported or not, for
  2191. runtime capability detection
  2192. - Bugfix: cairnsmore: Fix invalid share detection on LE
  2193. - Bugfix: icarus: Fix logging message to not assume "Icarus" always, and use
  2194. device driver name
  2195. - Bugfix: cairnsmore: Correct frequency scaling detection logic
  2196. - cairnsmore: When changing frequency, adjust Hs expectations accordingly
  2197. - cairnsmore: Detect availability of frequency scaling, and only enable it
  2198. when supported
  2199. - cairnsmore: Implement dynamic clocking support for Glasswalker's bitstream
  2200. - Update libblkmaker to 0.1.1
  2201. - Advertise BFGMiner in blocks found by default (without --coinbase-sig)
  2202. - RPC: Add "Coinbase-Sig" to config/setconfig
  2203. - New --coinbase-sig option to add arbitrary data to blocks you generate (GBT
  2204. only)
  2205. - opencl: Defer nonce validity checking to submit_nonce
  2206. - scrypt: Implement test_nonce2 and submit_nonce hw error check
  2207. - Bugfix: modminer: Convert nonce to native endian
  2208. - Interpret any attempts to submit a H-not-zero nonce as a hardware error
  2209. - make-release: Strip DLLs and EXE in Windows binary
  2210. - dynclock: Use consistent messages for frequency changes
  2211. - modminer: Port to dynclock
  2212. - dynclock: Split dynamic clocking algorithm out of Ztex driver
  2213. - Bugfix: When changing GPU memclock, adjust internal variable so it is
  2214. correctly saved to config file
  2215. - Bugfix: Re-probe longpoll header for each pool alive check, including
  2216. retries when a preferred protocol fails
  2217. - Bugfix: modminer: Bitstream binary filenames are *.bit
  2218. - modminer: Start frequency off at 200 Mhz
  2219. - Reorder libztex header include order to fix missing struct definition.
  2220. - Display share difficulty on log with a shortened hash display on submission.
  2221. - API stats add some pool getwork difficulty stats
  2222. - Ignore any pings pushed to the worker threads if the thread is still paused to
  2223. prevent it being enabled and disabled repeatedly.
  2224. - Test for sequential getwork failures on a pool that might actually be up but
  2225. failing to deliver work as we may end up hammering it repeatedly by mistake.
  2226. - reduce windows compile warnings
  2227. - util.c - bug - proxy - no data end condition
  2228. - API don't change 'Diff1 Shares' - backward compatability FTW
  2229. - miner.php highlighting correctly handling difficulty
  2230. - API - Add last share difficulty for devices and pool
  2231. - Store and report Accepted,Rejected,Stale difficulty in the summary and API
  2232. - WorkTime - display prevblock for scrypt
  2233. - api.c remove compile warnings
  2234. - Calculate work difficulty for each getwork and display with WorkTime debug
  2235. - FPGA - allow long or short device names in detect code + style police
  2236. - WorkTime - multiple nonce per work and identify the work source
  2237. - Optional WorkTime details with each Accepted/Rejected work item
  2238. - Icarus - ignore hardware errors in timing mode
  2239. - miner.php oops - mistype
  2240. - API pgaidentify - unsupported message should be a warning
  2241. - API/BFL identify a device - currently only BFL to flash the led
  2242. - BFL add throttle count to internal stats + API
  2243. - BFL: missing device id in log message
  2244. - Bugfix: ztex: Clear device_ztex before freeing it
  2245. - Bugfix: ztex: statline existence depends on whether the libztex structure
  2246. exists, not whether the cgpu is enabled
  2247. - Bugfix: README: Make usermod commands consistent, including important -a
  2248. option
  2249. - Bugfix: Address a couple of rare TQ leaks, and improve logging a bit
  2250. - Bugfix: Properly quote configure options
  2251. BFGMiner Version 2.8.0 - September 15, 2012
  2252. - Be specific about jansson version requirement
  2253. - Replace "Alive" in pool status with protocol in use (GBT or GWork)
  2254. - Remove copy of old jansson from source repository
  2255. - Honour block template expiry (BIP 23 Basic Pool Extensions "expires")
  2256. - Add --no-gbt option so getblocktemplate can be disabled if it causes
  2257. problems
  2258. - BIP 22 long polling
  2259. - Properly detect pool protocol
  2260. - Bugfix: Sort out work template refcounting by properly using work_free and
  2261. new workcpy
  2262. - Support for rolling extranonce in templates
  2263. - Initial libblkmaker integration, using a git submodule
  2264. - cairnsmore: There's no set hashrate like Icarus, so always use short timing
  2265. mode by default
  2266. - Bugfix: Include unistd.h needed for ssize_t type
  2267. - fpgautils: Don't try to scan serial at all anymore, if a device is claimed
  2268. - fpgautils: serial_claim function to politely ask other drivers not to try to
  2269. use device
  2270. - RPC: Update to work with Cairnsmore
  2271. - cairnsmore: Windows autodetect using FTDI library
  2272. - cairnsmore: Beginnings of new driver, with automatic upgrade from Icarus
  2273. detection
  2274. - icarus: Support disabling reopen quirk via --icarus-options
  2275. - proxy: Replace mess of encoding proxy into pool URI with a --pool-proxy
  2276. option, and use cURL's builtin proxy URI support
  2277. - save individual pool proxy settings to config
  2278. - API-README update for pools proxy info
  2279. - CURL support for individual proxy per pool and all proxy types
  2280. - Bugfix: Update current_block_id for fixed set_curblock
  2281. - miner.php by default don't display IP/Port numbers in error messages
  2282. - api.c all STATUS messages automatically escaped
  2283. - API add display of and setting queue,scantime,expiry
  2284. - README - FPGA device FAQ
  2285. - API add device diff1 work
  2286. - count device diff1 shares
  2287. - API-README update
  2288. - api.c Correct diff1 field name
  2289. - Bugfix: Sanitize block hash handling (including fixing on big endian)
  2290. - Bugfix: Print the (full) correct block hash when warning about work issued
  2291. against old blocks
  2292. - Bugfix: When comparing current block, only pay attention to the prevblock
  2293. header
  2294. - Allow mixing user+pass and userpass, so long as user+pass are balanced
  2295. before userpass options
  2296. - ztex: Include device serial number and FPGA number in cgpu name field
  2297. - ztex: Abstract common cgpu_info creation code
  2298. - ztex: Do thread initialization in thread_init rather than thread_prepare
  2299. - Bugfix: Tolerate working on old blocks when there is only one pool enabled
  2300. - Bugfix: ztex: Detect through fpgautils so -S noauto correctly inhibits
  2301. autodetection
  2302. - ztex: Workaround duplicate share submissions by doubling "backlog" size
  2303. - ztex: Use consistent device ids for logging
  2304. - Bugfix: ztex: Increment global hw_errors too
  2305. - Bugfix: free adhoc string elist element when removing it from list
  2306. - Bugfix: icarus: Initialize lret variable after work restart reentry
  2307. - Bugfix: ztex: Free lastnonce heap memory if backlog allocation fails
  2308. - icarus: Initialize epoll event structure in a way Valgrind is happier with
  2309. - Bugfix: Use strtok_r for parse_config since some options use strtok
  2310. themselves
  2311. - Import strtok_r from gnulib for Windows portability
  2312. - Bugfix: ztex: Don't try to destroy a mutex that was never created (single
  2313. FPGA Ztex devices)
  2314. - ztex: Clean up redundant dereferencing in ztex_shutdown
  2315. - API-README more debug parameter information
  2316. - API allow full debug settings control
  2317. - Sort the blocks database in reverse order, allowing us to remove the first
  2318. block without iterating over them. Output the block number to debug.
  2319. - Adjust opencl intensity when adjusting thread count to prevent it getting
  2320. pegged at a value below the minimum threads possible.
  2321. - miner.h max_hashes -> int64_t
  2322. - Keep the local block number in the blocks structs stored and sort them by
  2323. number to guarantee we delete the oldest when ageing the block struct entries.
  2324. - Use correct sdk version detection for SDK 2.7
  2325. - Bugfix: Align Ztex statline properly by removing redundant frequency
  2326. - make-release: Convert text files to DOS format for Windows ZIP
  2327. BFGMiner Version 2.7.5 - August 27, 2012
  2328. - Revert "Do a complete cgminer restart if the ATI Display Library fails, as
  2329. it does on windows after running for some time, when fanspeed reporting
  2330. fails."
  2331. - Stop special-casing worksize default to 256 for Cypress, since it incurs a 5
  2332. MH/s hit with stock config
  2333. - New "--scan-serial all" feature to probe all enumerated serial ports
  2334. - modminer: Revamp dynamic clocking algorithm per request from cablepair
  2335. - Test for lagging once more in queue_request to enable work to leak to backup
  2336. pools.
  2337. - There is no need to try to switch pools in select_pool since the current pool
  2338. is actually not affected by the choice of pool to get work from.
  2339. - Only clear the pool lagging flag if we're staging work faster than we're using
  2340. it.
  2341. - needed flag is currently always false in queue_request. Remove it for now.
  2342. - thr is always NULL going into queue_request now.
  2343. - Fix for non-ADL OpenCL device formatting issue
  2344. BFGMiner Version 2.7.4 - August 23, 2012
  2345. - Perform select_pool even when not lagging to allow it to switch back if needed
  2346. to the primary.
  2347. - Simplify macros in output kernels avoiding apparent loops and local variables.
  2348. - Carry the needed bool over the work command queue.
  2349. - Move the decision to queue further work upstream before threads are spawned
  2350. based on fine grained per-pool stats and increment the queued count immediately.
  2351. - Track queued and staged per pool once again for future use.
  2352. - OpenCL 1.0 does not have native atomic_add and extremely slow support with
  2353. atom_add so detect opencl1.0 and use a non-atomic workaround.
  2354. - Pools: add RollTime info to API 'stats' and 'Stats' button in miner.php
  2355. BFGMiner Version 2.7.3 - August 23, 2012
  2356. - Minimise the number of getwork threads we generate.
  2357. - Pick worksize 256 with Cypress if none is specified.
  2358. - Give warning with sdk2.7 and phatk as well.
  2359. - Whitelist sdk2.7 for diablo kernel as well.
  2360. - Only keep the last 6 blocks in the uthash database to keep memory usage
  2361. constant. Storing more is unhelpful anyway.
  2362. - Increase kernel versions signifying changed APIs.
  2363. - BFL flash - more FPGA-README
  2364. - Check we haven't staged work while waiting for a curl entry before proceeding.
  2365. - Use atomic ops to never miss a nonce on opencl kernels, including nonce==0,
  2366. also allowing us to make the output buffer smaller.
  2367. - Remove compile errors/warnings and document compile/usage in FPGA-README
  2368. - Ignore the submit_fail flag when deciding whether to recruit more curls or not
  2369. since we have upper bounds on how many curls can be recruited, this test is
  2370. redundant and can lead to problems.
  2371. - API-README update cgminer version number
  2372. - API-README fix groups P: example mistake
  2373. - API-README add COIN and other edits
  2374. - miner.php allow 'coin' is custom pages
  2375. BFGMiner Version 2.7.1 - August 22, 2012
  2376. - Update windows build instructions courtesy of sharky.
  2377. - Increase max curls to number of mining threads + queue * 2, accounting for up
  2378. and downstream comms.
  2379. - Queue enough requests to get started.
  2380. - There is no point trying to clone_work in get_work() any more since we clone
  2381. on every get_work_thread where possible.
  2382. - There is no point subtracting 1 from maxq in get_work_thread.
  2383. - miner.php allow page title to be defined in myminer.php
  2384. - Only set lagging flag once there are no staged work items.
  2385. - select_pool does not switch back to the primary once lagging is disabled.
  2386. - Increment total work counter under mutex lock.
  2387. - Increment the queued count after the curl is popped in case there's a delay
  2388. waiting on curls and we think we've queued work when in fact we're waiting on
  2389. curls.
  2390. - Do the dynamic timing in opencl code over a single pass through scanhash to
  2391. make sure we're only getting opencl times contributing to the measured
  2392. intervals.
  2393. - Increase curl reaping time to 5 minutes since comms between curl requests can
  2394. be 2 mins apart with lots of rolltime.
  2395. - No need for extra variable in hash_push.
  2396. - Remove short options -r and -R to allow them to be reused and remove readme
  2397. entries for deprecated options.
  2398. - Deprecate the opt_fail_pause parameter, leaving a null placeholder for
  2399. existing configurations.
  2400. - Free work before retrying in get_work_thread.
  2401. - Don't pause after failed getwork, set lagging flag and reassess.
  2402. - We should not be pausing in trying to resubmit shares.
  2403. - Get rid of the extending fail pause on failed connects since we discard work
  2404. after a period.
  2405. - get_work always returns true so turn it into a void function.
  2406. - get_work never returns false so get rid of fail pause loop.
  2407. - Get rid of pause and retry from get_upstream_work so we only do it from one
  2408. place.
  2409. - Remove all cases where --retries aborts BFGMiner, making it for submission
  2410. retries only, where it makes sense.
  2411. BFGMiner Version 2.7.0 - August 21, 2012
  2412. - Implement a new pool strategy, BALANCE, which monitors work performed per pool
  2413. as a rolling average every 10 minutes to try and distribute work evenly over all
  2414. the pools. Do this by monitoring diff1 solutions to allow different difficulty
  2415. target pools to be treated equally, along with solo mining. Update the
  2416. documentation to describe this strategy and more accurately describe the
  2417. load-balance one.
  2418. - fpga serial I/O extra debug (disabled by default)
  2419. - Getwork fail was not being detected. Remove a vast amount of unused variables
  2420. and functions used in the old queue request mechanism and redefine the getfail
  2421. testing.
  2422. - Consider us lagging only once our queue is almost full and no staged work.
  2423. - Simplify the enough work algorithm dramatically.
  2424. - Only queue from backup pools once we have nothing staged.
  2425. - Don't keep queueing work indefinitely if we're in opt failover mode.
  2426. - Make sure we don't opt out of queueing more work if all the queued work is
  2427. from one pool.
  2428. - Set lagging flag if we're on the last of our staged items.
  2429. - Reinstate clone on grabbing work.
  2430. - Grab clones from hashlist wherever possible first.
  2431. - Cull all the early queue requests since we request every time work is popped
  2432. now.
  2433. - Keep track of staged rollable work item counts to speed up clone_available.
  2434. - Make expiry on should_roll to 2/3 time instead of share duration since some
  2435. hardware will have very fast share times.
  2436. - Check that we'll get 1 shares' worth of work time by rolling before saying we
  2437. should roll the work.
  2438. - Simplify all those total_secs usages by initialising it to 1 second.
  2439. - Overlap queued decrementing with staged incrementing.
  2440. - Artificially set the pool lagging flag on pool switch in failover only mode as
  2441. well.
  2442. - Artificially set the pool lagging flag on work restart to avoid messages about
  2443. slow pools after every longpoll.
  2444. - Factor in opt_queue value into enough work queued or staged.
  2445. - Roll work whenever we can on getwork.
  2446. - Queue requests for getwork regardless and test whether we should send for a
  2447. getwork from the getwork thread itself.
  2448. - Get rid of age_work().
  2449. - Don't try to get bitforce temperature if we're polling for a result to
  2450. minimise the chance of interleaved responses.
  2451. - Fix harmless unused warnings in scrypt.h.
  2452. - Check we are not lagging as well as there is enough work in getwork.
  2453. BFGMiner Version 2.6.5 - August 20, 2012
  2454. - API new command 'coin' with mining information
  2455. - Add message to share if it's a resubmit.
  2456. - Add virtual adl mapping for when none is specified on the command line to
  2457. not crash without a map specified.
  2458. - Fix ADL gpu-map not working when there are more ADL devices than openCL.
  2459. Patch supplied and tested by Nite69.
  2460. - bitforce: Initial import of Linux-only bitforce-firmware-flash utility
  2461. - Revert stale-on-arrival failsafe, since it ends up needing exceptions for
  2462. everything
  2463. - Bugfix: opencl: Declare opencl_dynamic_cleanup in header
  2464. - Even if we want to submit stale shares, give up if we have more submissions
  2465. waiting on threads (even before failing)
  2466. - Even if we want to submit stale shares, give up if they've failed and we
  2467. have more submissions waiting on threads
  2468. - opencl: Use timeBeginPeriod on Windows to ensure gettimeofday has sufficient
  2469. precision for dynamic intensity
  2470. - Bugfix: opencl: Move ADL fanspeed warning messages to a new thread to get
  2471. around summary-update deadlocking
  2472. - README: Note that user groups don't get updated until re-login
  2473. - Initialise cnt in libztex.c
  2474. - Don't try to start devices that don't support scrypt when scrypt mining.
  2475. - Repeating on timeout in ztex could make the code never return.
  2476. - Offset libusb reads/writes by length written as well in ztex.
  2477. - Cope with timeouts and partial reads in ztex code.
  2478. - If there are more devices than nDevs, don't iterate over them as they may
  2479. overwrite devices mapped below that with the mapping option.
  2480. - Fix README faq on bfl auto-detect.
  2481. - Set memory clock based on memdiff if present from with engine changes,
  2482. allowing it to parallel manual changes from the menu as well.
  2483. - api.c typo
  2484. - API allow display/change failover-only setting
  2485. - API-README corrections
  2486. - miner.php documentation (in API-README) v0.1
  2487. - Bugfix: opencl: Show blank device-info statline area if GPU doesn't have
  2488. ADL, to fix column alignment
  2489. - README: Document usage of 0 to indicate "leave at default" for comma-
  2490. delimited GPU options
  2491. - Correct API-README versions to match when BFGMiner included them
  2492. - API-README update changelog
  2493. - Minimise locking and unlocking when getting counts by reusing shared mutex
  2494. lock functions.
  2495. - Avoid getting more work if by the time the getwork thread is spawned we find
  2496. ourselves with enough work.
  2497. - The bitforce buffer is cleared and hw error count incremented on return from a
  2498. failed send_work already so no need to do it within the send_work function.
  2499. - Don't make mandatory work and its clones last forever.
  2500. - modminer: Log debug info for nonces found
  2501. BFGMiner Version 2.6.4 - August 11, 2012
  2502. - Bugfix: Define my_cancellable_getch in miner.h
  2503. - Escape " and \ when writing json config file
  2504. - miner.php allow a custom page section to select all fields with '*' - e.g. to
  2505. create a STATS section on a custom page
  2506. - miner.php optional single rig totals (on by default)
  2507. - Bugfix: Initialize submitting mutex
  2508. - Bugfix: bitforce: Allocate enough space for FTDI description pointers
  2509. - Queue one request for each staged request removed, keeping the staged
  2510. request count optimal at all times.
  2511. - Bugfix: Avoid cancelling threads while locks are held
  2512. - Set recognizable names on threads for debugging
  2513. - Bugfix: Don't keep making new get_work threads if all pools are dead
  2514. - Enable configuring submission thread limit with --submit-threads option
  2515. - Bugfix: Limit active submission threads to 0x40 so we don't overflow
  2516. - Bugfix: Properly handle switching to pools that aren't on the latest block,
  2517. and warn if a pool actively switches to an old block
  2518. - Log more details of reasons in stale_work debug messages
  2519. - Failsafe against stale-on-arrival work: disable the pool
  2520. - Bugfix: Debug message should show "Work stale due to work restart" when it's
  2521. not a share
  2522. - windows-build: Remove APP SDK section since it is no longer needed
  2523. - modminer: HACK: Let last_work handle the end of the work, and start the next
  2524. one immediately
  2525. - Bugfix: modminer: Remove erroneous "else" statement, to fix hashrate
  2526. reporting
  2527. - README: Document user group required for FPGAs on Gentoo and Ubuntu
  2528. - BFGMiner-specific README adjustments
  2529. - Bugfix: opencl: Ignore error getting device ids from platforms unless they
  2530. are explicitly chosen
  2531. - New --debuglog option to include debug info in stderr logfile even if not in
  2532. the console
  2533. - Bumped down debhelper compatibility reqs so that this will build on Lucid.
  2534. - Updated to match packaging changes.
  2535. - Switched to native packages so we don't have to muck around creating fake
  2536. upstream tarballs, and can easily generate minor versions for upload to
  2537. Launchpad.
  2538. - Removed accidentally included debugging line.
  2539. - Minor version bump again because of launchpad. Will sort this out for next
  2540. release.
  2541. - Updated to patch bitforce module issue on Debian/Ubuntu.
  2542. - Added local quilt config dir to ignore.
  2543. - modminer: Check nonce against previous work, in case of race
  2544. - Bugfix: Enable --kernel-path option if ModMiner or Ztex is enabled (even if
  2545. no OpenCL)
  2546. - Bugfix: Escape backslashes and double-quotes in strings that rightfully may
  2547. have them, when writing JSON config file
  2548. - Clean object (.o) and dependency (.d) files out of source tree
  2549. - Bugfix: bitforce: Don't count hashes that never happened due to throttling
  2550. - Bugfix: Deal with serial_open timeout maximum (25.5s)
  2551. - - fpgautils: Linux only supports uint8_t decisecond values for timeouts, so
  2552. use uint8_t for timeout value; this gets smart compilers to throw warnings
  2553. when overflowed in some cases
  2554. - - bitforce: Reduce serial timeout to 25 seconds (was 30) and increase job
  2555. long timeout to 25 seconds (was 15) to handle throttling gracefully
  2556. - modminer: Add debug info to API extra device stats
  2557. - modminer: Raise clock speed when there's only good nonces for a while
  2558. - modminer: Only print clock speed adjustments when they actually change
  2559. - modminer: Increase tolerance for bad nonces to 2%
  2560. - modminer: Reset bad-nonce ratio measurement when the clock speed changes
  2561. - Bugfix: bitforce: Include the correct device id in "garbled response" warning
  2562. - ADL: Add attribution and disclaimer to interfaces
  2563. - Cleaned out refs to AMD SDKs.
  2564. - Updated README about debian packaging, changelog with minor version bump to
  2565. work around Launchpad reqs.
  2566. - Updated changelog with Ubuntu release specific version, needed to build for
  2567. multiple releases. Also stripped out ADL SDK stuff in the build rules.
  2568. - Initial work to adjust debian packaging from cgminer. Should build correctly
  2569. now with pbuilder/pdebuild, and include docs.
  2570. - Adapt miner code to free ADL structures
  2571. - Import free ADL interfaces
  2572. - Include scrypt.h in Makefile.
  2573. - Fix windows bitforce build.
  2574. - Convert the serial autodetect functions to use int instead of char to
  2575. enumerate devices.
  2576. - Uglify windows autodetect code for BFL.
  2577. - There is no point zeroing temperature in BFL if we fail to get a response, and
  2578. we should register it as a HW error, suggesting throttling.
  2579. - Update SCRYPT README with information about HW errors.
  2580. - Use the scrypt CPU code to confirm results from OCL code, and mark failures as
  2581. HW errors, making it easier to tune scrypt parameters.
  2582. - We may as well leave one curl still available per pool instead of reaping the
  2583. last one.
  2584. - Display reaped debug message outside mutex lock to avoid recursive locking.
  2585. - api.c update API start message and include port number
  2586. - miner.php ignore arg when readonly
  2587. - miner.php allow pool inputs: delete, addpool, poolpriority
  2588. - bitforce: Reopen on communication error
  2589. - Bugfix: Calculate hw err percent for the affected FPGA only
  2590. - make-release: Adapt to new autogen by using NOCONFIGURE var
  2591. BFGMiner Version 2.6.3 - August 6, 2012
  2592. - modminer: Relax no-nonces downclocking condition to be more reasonable
  2593. - README: Update scrypt configure option
  2594. - README: Update configure options
  2595. - Bugfix: Display --disable-modminer in configure --help now that it is
  2596. enabled by default
  2597. - Add specific information when ADL detects error -10 saying the device is not
  2598. enabled.
  2599. - modminer: Shorten upload warning message to fit better
  2600. - modminer: Sending a "ping" first, to workaround bug in new firmware betas
  2601. - modminer: Include Hardware Errors and Valid Nonces in extra device status
  2602. - Bugfix: modminer: Calculate bad-nonce percentage based only on the same
  2603. FPGA's hardware errors, accurately
  2604. - modminer: Show bitstream upload progress in statline, and only report to log
  2605. every 10%
  2606. - modminer: Be more verbose about why the clock is getting reduced
  2607. - Document how Icarus golden nonce is handled by other FPGAs
  2608. - Rewrite should_run for sched, to properly handle one-shot schedules spanning
  2609. midnight
  2610. - Bugfix: Check list_empty in pop_curl_entry after condition wait
  2611. - Bugfix: Only add new pools to array after completing basic structure
  2612. initialization
  2613. - If __BFGMINER_SEGFAULT_ERRQUIT is set in the environment, segfault on
  2614. non-zero quit()s
  2615. - Check against NULL pointers getting into curlring
  2616. - modminer: Finish a process results run with a nonce poll, rather than sleep
  2617. - modminer: Workaround Windows driver failures
  2618. - Count likely throttling episodes on bitforce devices as hardware errors.
  2619. - Bugfix: bitforce: Increase serial read timeout to 30 seconds during actual
  2620. mining, to tolerate more throttling
  2621. - Style cleanups.
  2622. - Make pool_disabled the first in the enums == 0, fixing the pool enabled count
  2623. which compares if value is not enabled before enabling it.
  2624. - Correct writing of scrypt parameters to config file based on command line
  2625. parameters only.
  2626. - Add scrypt support while writing conf
  2627. - Use different variables for command line specified lookup gap and thread
  2628. concurrency to differentiate user defined versus auto chosen values.
  2629. - Queue a request on pool switch in case we have no work from the new pool yet.
  2630. - API remove unused warning in non-GPU compile
  2631. - api.c in linux allow to open a closed socket in TIME_WAIT
  2632. - Display failover only mode in pool menu and allow it to be toggled live.
  2633. - Reinstate check for system queueing lag when the current pool's queue is maxed
  2634. out, there is no staged work, and the work is needed now.
  2635. - Fix harmless warnings.
  2636. - Check the current staged and global queued as well before queueing requests.
  2637. Discard stales before ageing work in the watchdog thread. Queue requests after
  2638. discarding and ageing work in watchdog thread. Display accurate global queued in
  2639. curses output. Reuse variable in age_work().
  2640. - The queueing mechanism has become a complex state machine that is no longer
  2641. predictable. Rewrite it from scratch watching only current queues in flight and
  2642. staged work available on a pool by pool basis.
  2643. - Update debian package configs to v2.6.2
  2644. - Queue an extra request whenever staged work drops below mining thread count in
  2645. hash_pop.
  2646. - Bugfix: Initialize logwin to 1 line high temporarily, to avert PDCurses crash
  2647. - Enable FPGA support by default, as long as their dependencies are met
  2648. - Bugfix: modminer: Search for *ModMiner* in udev ID_MODEL
  2649. - make-release: build with --enable-scrypt
  2650. - miner.php support custom report section joins
  2651. - ICA default fpga_count to work_division if specified
  2652. - FPGA-README document new hidden --icarus-options
  2653. - ICA support 57600 baud rate, up to 8 FPGA and partial working FPGA boards
  2654. - Scrypt mining does not support block testing yet so don't try to print it.
  2655. - Clear the bitforce buffer whenever we get an unexpected result as it has
  2656. likely throttled and we are getting cached responses out of order, and use the
  2657. temperature monitoring as a kind of watchdog to flush unexpected results.
  2658. - It is not critical getting the temperature response in bitforce so don't
  2659. mandatorily wait on the mutex lock.
  2660. - Check there is a cutoff temp actually set in bitforce before using it as a cut
  2661. off value otherwise it may think it's set to zero degrees.
  2662. - We dropped the temporary stopping of curl recruiting on submit_fail by
  2663. mistake, reinstate it.
  2664. - Make threads report in either side of the scanhash function in case we miss
  2665. reporting in when restarting work.
  2666. - Add debugging output when work is found stale as to why.
  2667. - Print the 3 parameters that are passed to applog for a debug line in
  2668. bitforce.c
  2669. - Clear bitforce buffer on init as previously.
  2670. - Add some headroom to the number of curls available per pool to allow for
  2671. longpoll and sendwork curls.
  2672. - Show the correct base units on GPU summary.
  2673. - Bugfix: bitforce: 1 decisecond timeout is unreasonably short, give it a
  2674. second
  2675. - Bugfix: Don't try to log abandon time, since we aren't keeping track
  2676. reasonably
  2677. - Import uthash 1.9.6
  2678. - Bugfix: bitforce: Pause after send_work failures
  2679. - Fix comm error handling to not consider work restarts an error condition
  2680. - comm error bug fix
  2681. - Bugfix: No endian.h on Windows
  2682. - Remove unused mkinstalldirs
  2683. - Display scrypt as being built in as well.
  2684. - Fix build warning about KL_SCRYPT when built without scrypt support.
  2685. - News update.
  2686. - More scrypt intensity information.
  2687. - Minor readme updates.
  2688. - Update README with more build instructions.
  2689. - Remove the low hash count determinant of hardware being sick. A low hash rate
  2690. can be for poor network connectivity or scrypt mining, neither of which are due
  2691. to sick hardware.
  2692. - Style
  2693. - API-README poolpriority changes
  2694. - api.c verify poolpriority parameters before changing pools
  2695. - api.c poolpriority changes
  2696. - Implement shared swap32(yes|tole|tobe) function to handle endian flipping
  2697. 32-bit chunks in blocks
  2698. - Use correct macros for endian handling code
  2699. BFGMiner Version 2.6.1 - July 29, 2012
  2700. - Autoselect --scrypt iff all pools send scrypt work
  2701. - Adapt SCRYPT-README to BFGMiner (directing Bitcoin donations the correct
  2702. direction to reach Con)
  2703. - Remove mentions of Litecoin specifically
  2704. - Bugfix: Fix build without OpenCL but with scrypt
  2705. - make-release: Add SCRYPT-README
  2706. - Bump version 2.6.0, adding SCRYPT README to makefile.
  2707. - Smarter autogen.sh script.
  2708. - Sleeping on intensity decrease is broken, remove it.
  2709. - Sleep only the extra amount of time we overran the dynamic interval in dynamic
  2710. mode.
  2711. - Add scrypt documentation in the form of a separate readme.
  2712. - Fix build error without scrypt enabled.
  2713. - Limit thread concurrency for scrypt to 5xshaders if shaders is specified.
  2714. - Simplify repeated use of gpus[gpu]. in ocl.c
  2715. - Find the nearest power of 2 maximum alloc size for the scrypt buffer that can
  2716. successfully be allocated and is large enough to accomodate the thread
  2717. concurrency chosen, thus mapping it to an intensity.
  2718. - Don't make opt_scrypt mandatory blocking with opencl code.
  2719. - Update kernel versions reflecting changes in the API.
  2720. - Make the thread concurrency and lookup gap options hidden on the command line
  2721. and autotune parameters with a newly parsed --shaders option.
  2722. - Fix target testing with scrypt kernel as it would have been missing shares
  2723. below target.
  2724. - Always create the largest possible padbuffer for scrypt kernels even if not
  2725. needed for thread_concurrency, giving us some headroom for intensity levels.
  2726. - Use the detected maximum allocable memory on a GPU to determine the optimal
  2727. scrypt settings when lookup_gap and thread_concurrency parameters are not given.
  2728. - Check the maximum allocable memory size per opencl device.
  2729. - Add debugging output if buffer allocation fails for scrypt and round up
  2730. bufsize to a multiple of 256.
  2731. - Nonce testing for btc got screwed up, leading to no accepted shares. Fix it.
  2732. - Display size of scrypt buffer used in debug.
  2733. - Allow intensities up to 20 if scrypt is compiled in.
  2734. - Add name to scrypt kernel copyright.
  2735. - Allow lookup gap and thread concurrency to be passed per device and store
  2736. details in kernel binary filename.
  2737. - Ignore negative intensities for scrypt.
  2738. - Change the scale of intensity for scrypt kernel and fix a build warning.
  2739. - Correct target value passed to scrypt kernel.
  2740. - Use 256 output slots for kernels to allow 1 for each worksize.
  2741. - Test the target in the actual scrypt kernel itself saving further
  2742. calculations.
  2743. - Reinstate GPU only opencl device detection.
  2744. - Decrease lookup gap to 1. Does not seem to help in any way being 2.
  2745. - Fix build.
  2746. - Make pad0 and pad1 local variable in scrypt kernel.
  2747. - Constify input variable in scrypt kernel.
  2748. - Send correct values to scrypt kernel to get it finally working.
  2749. - Create command queue before compiling program in opencl.
  2750. - Fix external scrypt algo missing.
  2751. - Limit scrypt to 1 vector.
  2752. - Handle KL_SCRYPT in config write.
  2753. - Get rid of stuff.
  2754. - Don't enqueuewrite buffer at all for pad8 and pass work details around for
  2755. scrypt in dev_blk.
  2756. - Set the correct data for cldata and prepare for pad8 fixes.
  2757. - Get rid of spaces in arrays in scrypt kernel.
  2758. - Start with smaller amount of hashes in cpu mining to enable scrypt to return
  2759. today sometime.
  2760. - Free the scratchbuf memory allocated in scrypt and don't check if CPUs are
  2761. sick since they can't be. Prepare for khash hash rates in display.
  2762. - Add cpumining capability for scrypt.
  2763. - Set scrypt settings and buffer size in ocl.c code to be future modifiable.
  2764. - Cope with when we cannot set intensity low enough to meet dynamic interval by
  2765. inducing a forced sleep.
  2766. - Make dynamic and scrypt opencl calls blocking.
  2767. - Fix nonce submission code for scrypt.
  2768. - Make sure goffset is set for scrypt and drop padbuffer8 to something
  2769. manageable for now.
  2770. - Set up buffer8 for scrypt.
  2771. - Build fix for opt scrypt.
  2772. - Don't check postcalc nonce with sha256 in scrypt.
  2773. - Don't test nonce with sha and various fixes for scrypt.
  2774. - Make scrypt buffers and midstate compatible.
  2775. - Use specific output array entries in scrypt kernel.
  2776. - Provide initial support for the scrypt kernel to compile with and mine scrypt
  2777. with the --scrypt option.
  2778. - Enable completely compiling scrypt out.
  2779. - Begin import of scrypt opencl kernel from reaper.
  2780. BFGMiner Version 2.5.3 - July 29, 2012
  2781. - Bugfix: Add zlib1.dll to Win32 release archive
  2782. - Bugfix: SICK low-hashrate is now determined by being under 1/3 the runtime
  2783. average hashrate
  2784. - Bugfix: cpu_set_t is never #defined, so use CPU_ZERO which is a macro
  2785. BFGMiner Version 2.5.2 - July 29, 2012
  2786. - Limit total number of curls recruited per pool to the number of mining threads
  2787. to prevent blasting the network when we only have one pool to talk to.
  2788. - Bugfix: Skip writing configuration of range-limited int options with negative
  2789. values
  2790. - Bugfix: Correctly attempt to load ~/.bfgminer/bfgminer.conf or
  2791. ~/.cgminer/cgminer.conf as defaults
  2792. - Send X-Minimum-Wait header on longpolls, to explicitly inform pools we will
  2793. handle a response with no delay
  2794. - bitforce: Abandon (only) stale searches for work restarts
  2795. - Keep a counter of enabled pools and use that instead of iterating over the
  2796. pool list. Use that value to ensure we don't set the last remaining active pool
  2797. to the rejecting state.
  2798. - bitforce: Skip out of sending work if work restart requested
  2799. - RPC: Writeup on poolpriority command usage
  2800. - Bugfix: API: Report errors from poolpriority command
  2801. - RPC: New "poolpriority" command to set the order of pool priorities
  2802. - strtok_ts: Thread-safe strtok that work on POSIX or Windows
  2803. - Bugfix: Supress "caught up" event when first switching to a pool
  2804. - Announce and restart work immediately when current pool has caught up to the
  2805. current block
  2806. - Bugfix: Don't consider work stale due to other pools' longpolls, if
  2807. --failover-only is active
  2808. - Refactor stale_work function to only flag actual stale shares
  2809. - stale_work: Don't factor getwork delay into expiry for shares (only for work
  2810. itself)
  2811. - Bugfix: Use pool number rather than numeric pointer to strict pool, in block
  2812. found notice
  2813. - Accept JSON Numbers in config file parameters
  2814. - Improve readability of OPT_HASARG in parse_config
  2815. - Allow JSON false as a valid value for strictly boolean options
  2816. - Include scan-serial in example configuration file
  2817. - fpgautils: add support for 57.6 kBd serial
  2818. - miner.php add a socket RCV timeout for if cgminer is hung and the API thread
  2819. is still running
  2820. - BFL force all code to timeout to avoid hanging
  2821. - Initialise mdplatform.
  2822. - Find the gpu platform with the most devices and use that if no platform option
  2823. is passed.
  2824. - Bugfix: It is not a hardware error if nonces returned from modminer don't
  2825. meet the pool target
  2826. - bitforce & icarus: Log detection failures at debug log level, so we don't
  2827. confuse users who have different devices (which is why these drivers are
  2828. failing detection!)
  2829. - Show "WAIT" (LIFE_WAIT status) if a cgpu is idle waiting for work (pool
  2830. slow/dead)
  2831. - Instead of quitting on failing N retries, just discard the share
  2832. - Bugfix: Don't discard stale shares after submission failure, if user or pool
  2833. wants stales submitted
  2834. - Bugfix: Record discard-during-retry shares in the sharelog
  2835. - Bugfix: Only show Algorithm in RPC summary if CPU mining is actually active
  2836. - OpenCL: Remove intensity from statline, since it overflowed
  2837. - Move "Q" (requested getworks) to second status line as "GW" to balance out
  2838. better
  2839. - Bugfix: Use a mutex to control non-curses output
  2840. - Simplify code to a single vprintf path for curses-less printing
  2841. - Move opt_quiet check to my_log_curses, so it works for curses-less builds
  2842. - Use log_generic for vapplog to cut down on code duplication
  2843. - Bugfix: Copy argv[0] given to dirname()
  2844. - Find the gpu platform with the most devices and use that if no platform
  2845. option is passed.
  2846. - Allow more platforms to be probed if first does not return GPUs.
  2847. - Detach pthread from within the api thread in case it is terminated due to not
  2848. being instantiated before pthread_cancel is called from main, leading to a
  2849. segfault.
  2850. - Debug output per thread hashrate is out by a factor of 1000.
  2851. - Don't check if CPUs are sick since they can't be.
  2852. - Calculate midstate in separate function and remove likely/unlikely macros
  2853. since they're dependent on pools, not code design.
  2854. - Display in debug mode when we're making the midstate locally.
  2855. - Bugfix: Document --no-adl and --gpu-platform
  2856. - Bugfix: Remove redundant documentation of --auto-fan and --auto-gpu (they
  2857. are in GPU-specific options)
  2858. - CPU mining may not be included in binaries, but it's not deprecated for
  2859. BFGMiner either
  2860. - Bugfix: Restore case-insensitivity to input
  2861. - Scroll the device list with up/down arrow keys, if it is overflowed
  2862. - Use select statement to handle input
  2863. - Bugfix: Actually check that the device fits in the individual summary window
  2864. before trying to print it
  2865. - Bugfix: Fix build without curses but with OpenCL
  2866. - Bugfix: Don't show a Temperature key if it isn't known
  2867. - BFGMiner-specific NEWS fix
  2868. BFGMiner Version 2.5.1 - July 13, 2012
  2869. - Replace CPU Algo in header with runtime
  2870. - Bugfix: Calculate diff-1 utility to fix utility-hashrate on pools with
  2871. diff!=1
  2872. - Add utility hashrate to curses display
  2873. - Show units in kh, Gh, Th, etc as needed to use at most 3 integer digits
  2874. - Use FTD2XX.DLL on Windows to autodetect BitFORCE SHA256 devices
  2875. - bitforce_get_result returns -1 on error now.
  2876. - Check return value of read in BFgets
  2877. - Bugfix: modminer: Count hashes done before work restart
  2878. - Bugfix: modminer: Adapt "get nonce" error condition to new scanhash=>-1
  2879. error API
  2880. - Bugfix: Make our Windows nanosleep/sleep replacements standards-compliant
  2881. (which fixes nmsleep) and include compat.h for bitforce (for sleep)
  2882. - miner.php fix rig # when miners fail
  2883. - Fix whitespace mangling.
  2884. - bitforce: Use "full work" vs "nonce range" for kernel name
  2885. - Abbrv. correction
  2886. - Remove superfluous ave_wait
  2887. - Put kname change for broken nonce-range back in
  2888. - Add average wait time to api stats
  2889. - Revert "Merge branch 'ave_time' of https://github.com/pshep/cgminer.git"
  2890. - Add average return time to api stats
  2891. - Missed one nonce-range disabling.
  2892. - Change timeouts to time-vals for accuracy.
  2893. - More BFL tweaks. Add delay between closing and reopening port. Remove buffer
  2894. clear in re-init Add kernel type (mini-rig or single)
  2895. - Revert "Change BFL driver thread initialising to a constant 100ms delay
  2896. between devices instead of a random arrangement."
  2897. - Only try to shut down work cleanly if we've successfully connected and started
  2898. mining.
  2899. - Fix spelling.
  2900. - modminer: Firmware returns 0xffffff00 immediately if we set clockspeed too
  2901. high
  2902. - Bugfix: modminer: Actually count good shares
  2903. - Bugfix: Adapt OpenCL scanhash errors to driver API change (errors are now -1,
  2904. not 0)
  2905. - Remove bitforce_thread_init The delay thing does nothing useful... when long
  2906. poll comes around, all threads restart at the same time anyway.
  2907. - fix API support for big endian machines
  2908. - Bugfix: Use const struct device_api* for mt_disable
  2909. - modminer: Show progress of bitstream upload
  2910. - Bugfix: Don't declare devices SICK if they're just busy initializing
  2911. - Bugfix: Calculate nsec in nmsleep correctly
  2912. - miner.php allow rig names in number buttons
  2913. - Change BFL driver thread initialising to a constant 100ms delay between
  2914. devices instead of a random arrangement.
  2915. - Spelling typo.
  2916. - Time opencl work from start of queueing a kernel till it's flushed when
  2917. calculating dynamic intensity.
  2918. - Modify te scanhash API to use an int64_t and return -1 on error, allowing zero
  2919. to be a valid return value.
  2920. - Check for work restart after the hashmeter is invoked for we lose the hashes
  2921. otherwise contributed in the count.
  2922. - Remove disabled: label from mining thread function, using a separate
  2923. mt_disable function.
  2924. - Style changes.
  2925. - Cope with signals interrupting the nanosleep of nmsleep.
  2926. - Use standard cfsetispeed/cfsetospeed to set baud rate on *nix
  2927. - miner.php split() flagged deprecated in PHP 5.3.0
  2928. - Bugfix: Use nmsleep instead of restart_wait, so we always wait the full time
  2929. - Make long timeout 10seconds on bitforce for when usleep or nanosleep just
  2930. can't be accurate...
  2931. BFGMiner Version 2.5.0 - July 7, 2012
  2932. - Fix BitFORCE driver to not silenty discard valid shares (bug introduced by
  2933. CGMiner merges)
  2934. - Fix --benchmark not working since the dynamic addition of pools and pool
  2935. stats.
  2936. - Make disabling BFL nonce range support a warning since it has to be explicitly
  2937. enabled on the command line now.
  2938. - miner.php allow renaming table headers
  2939. - Make bitforce nonce range support a command line option --bfl-range since
  2940. enabling it decrease hashrate by 1%.
  2941. - Add sanity checking to make sure we don't make sleep_ms less than 0 in
  2942. bitforce.
  2943. - The fastest minirig devices need a significantly smaller starting sleep time.
  2944. - Use a much shorter initial sleep time to account for faster devices and nonce
  2945. range working, and increase it if nonce range fails to work.
  2946. - Use nmsleep instead of usleep in bitforce.
  2947. - Provide a ms based sleep function that uses nanosleep to avoid the inaccuracy
  2948. of usleep on SMP systems.
  2949. - delay_time_ms is always set so need not be initialised in bitforce.
  2950. - Increase bitforce timeout to 10 seconds.
  2951. - Add more hysteresis and poll ~5 times to allow for timer delays in bitforce
  2952. devices.
  2953. - miner.php allow alternating line colours (off by default)
  2954. - Display the actual duration of wait when it is greater than the cutoff.
  2955. - Set nonce to maximum once we determine nonce range support is broken.
  2956. - Initial wait time is always known so no need to zero it beforehand in
  2957. bitforce.
  2958. - No point counting wait time until the work is actually sent to bitforce
  2959. devices.
  2960. - Use string comparison functions instead of explicit comparisons.
  2961. - Account for wait_ms time when nonce_range is in use on BFL.
  2962. - Split nonces up into 1/5 chunks when nonce range is supported.
  2963. - limit clear buffer iterations.
  2964. - Ad fd check to clear buffer.
  2965. - miner.php remove incorrect 'DATE' error message
  2966. - miner.php allow summary header in custom pages
  2967. - Disable nonce range support in BFL when broken support is detected.
  2968. - Restart_wait is only called with a ms value so incorporate that into the
  2969. function.
  2970. - Only try to adjust dev width when curses is built in.
  2971. - miner.php define custom sum fields as a simple array
  2972. - Fix off-by-one error in nonce increment in bfl.
  2973. - Use BE when setting nonce in bitforce nonce range work.
  2974. - Enable nonce range in the normal init sequence for bfl.
  2975. - Queue extra work at 2/3 differently depending on whether we're using nonce
  2976. range or not.
  2977. - Initially enable support for nonce range support on bfl, splitting nonces up
  2978. into 3/4 size and only disable it if it fails on work submit.
  2979. - Attempt to detect nonce range support in BFL by sending work requring its
  2980. support.
  2981. - Limit retrying on busy for up to BITFORCE_TIMEOUT_MS
  2982. - Attempt to initialise while bitforce device returns BUSY.
  2983. - Extend length of string that can be passed to BFL devices.
  2984. - Fix signedness warning.
  2985. - Adjust device width column to be consistent.
  2986. - Use cgpu-> not gpus[] in watchdog thread.
  2987. - Add api stats (sleep time)
  2988. - Timing tweaks Added long and short timeouts, short for detecting throttling,
  2989. long to give up totally. Reset sleep time when device re-initialised Still check
  2990. results after timeout Back up a larger time if result on first poll.
  2991. - Add API Notify counter 'Comms Error'
  2992. - Style police on api.c
  2993. - Do all logging outside of the bitforce mutex locking to avoid deadlocks.
  2994. - Remove applog call from bfwrite to prevent grabbing nested mutexes.
  2995. - Bitforce style changes.
  2996. - Minor style changes.
  2997. - Remove needless roundl define.
  2998. - Made JSON error message verbose.
  2999. - Fine-tune timing adjustment. Also remove old work_restart timing.
  3000. - Check for gpu return times of >= 0, not just 0, to fix intensity dropping to
  3001. -10.
  3002. - Restart is zeroed in the mining thread so no need to do it inside the bitforce
  3003. code.
  3004. - More improvements to comms. BFL return nothing when throttling, so should not
  3005. be considered an error. Instead repeat with a longer delay.
  3006. - Polling every 10ms there's not much point checking the pthread_cond_timedwait
  3007. as it just adds overhead. Simply check the value of work_restart in the bfl main
  3008. polling loop.
  3009. - Use a pthread conditional that is broadcast whenever work restarts are
  3010. required. Create a generic wait function waiting a specified time on that
  3011. conditional that returns if the condition is met or a specified time passed to
  3012. it has elapsed. Use this to do smarter polling in bitforce to abort work, queue
  3013. more work, and check for results to minimise time spent working needlessly.
  3014. - Add busy time to wait time.
  3015. - api.c put version up to 1.14
  3016. - Add tiny delay after writing to BFL Change BFL errors to something more human
  3017. readable Send work busy re-tries after 10ms delay
  3018. - Fix race condition in thread creation that could under some conditions crash
  3019. BFGMiner at startup
  3020. BFGMiner Version 2.4.4 - July 1, 2012
  3021. - Fix builds on non gnu platforms.
  3022. - api.c ensure old mode is always available when not using --api-groups + quit()
  3023. on param errors
  3024. - Implement rudimentary X-Mining-Hashrate support.
  3025. - Detect large swings in temperature when below the target temperature range and
  3026. change fan by amounts dependant on the value of tdiff.
  3027. - Adjust the fanspeed by the magnitude of the temperature difference when in the
  3028. optimal range.
  3029. - Revert "Restarting cgminer from within after ADL has been corrupted only leads
  3030. to a crash. Display a warning only and disable fanspeed monitoring."
  3031. - api.c fix json already closed
  3032. - implement and document API option --api-groups
  3033. - Put upper bounds to under 2 hours that work can be rolled into the future for
  3034. bitcoind will deem it invalid beyond that.
  3035. - define API option --api-groups
  3036. - api.c allow unwell devices to be enabled so they can be cured
  3037. - miner.php - fix/enable autorefresh for custom pages
  3038. - miner.php allow custom summary pages - new 'Mobile' summary
  3039. - Work around pools that advertise very low expire= time inappropriately as this
  3040. leads to many false positives for stale shares detected.
  3041. - Only show ztex board count if any exist.
  3042. - There is no need for work to be a union in struct workio_cmd
  3043. - fpgautils.c include a debug message for all unknown open errors
  3044. - Don't keep rolling work right up to the expire= cut off. Use 2/3 of the time
  3045. between the scantime and the expiry as cutoff for reusing work.
  3046. - Log a specific error when serial opens fail due to lack of user permissions
  3047. - Increase GPU timing resolution to microsecond and add sanity check to ensure
  3048. times are positive.
  3049. - Opencl code may start executing before the clfinish order is given to it so
  3050. get the start timing used for dynamic intensity from before the kernel is
  3051. queued.
  3052. - fpgautils.c - set BAUD rate according to termio spec
  3053. - fpgautils.c - linux ordering back to the correct way
  3054. - miner.php remove unneeded '.'s
  3055. - miner.php add auto refresh options
  3056. - miner.php add 'restart' next to 'quit'
  3057. - miner.php make fontname/size configurable with myminer.php
  3058. - Make the pools array a dynamically allocated array to allow unlimited pools to
  3059. be added.
  3060. - Make the devices array a dynamically allocated array of pointers to allow
  3061. unlimited devices.
  3062. - Dynamic intensity for GPUs should be calculated on a per device basis. Clean
  3063. up the code to only calculate it if required as well.
  3064. - Bugfix: Provide alternative to JSON_ENCODE_ANY for Jansson 1.x
  3065. - Use a queueing bool set under control_lock to prevent multiple calls to
  3066. queue_request racing.
  3067. - Use the work clone flag to determine if we should subtract it from the total
  3068. queued variable and provide a subtract queued function to prevent looping over
  3069. locked code.
  3070. - Don't decrement staged extras count from longpoll work.
  3071. - Count longpoll's contribution to the queue.
  3072. - Increase queued count before pushing message.
  3073. - Test we have enough work queued for pools with and without rolltime
  3074. capability.
  3075. - As work is sorted by age, we can discard the oldest work at regular intervals
  3076. to keep only 1 of the newest work items per mining thread.
  3077. - Roll work again after duplicating it to prevent duplicates on return to the
  3078. clone function.
  3079. - Abstract out work cloning and clone $mining_threads copies whenever a rollable
  3080. work item is found and return a clone instead.
  3081. - api.c display Pool Av in json
  3082. - Take into account average getwork delay as a marker of pool communications
  3083. when considering work stale.
  3084. - Work out a rolling average getwork delay stored in pool_stats.
  3085. - Getwork delay in stats should include retries for each getwork call.
  3086. - Walk through the thread list instead of searching for them when disabling
  3087. threads for dynamic mode.
  3088. - Extend nrolltime to support the expiry= parameter. Do this by turning the
  3089. rolltime bool into an integer set to the expiry time. If the pool supports
  3090. rolltime but not expiry= then set the expiry time to the standard scantime.
  3091. - When disabling fanspeed monitoring on adl failure, remove any twin GPU
  3092. association. This could have been leading to hangs on machines with dual GPU
  3093. cards when ADL failed.
  3094. - modminer: Don't delay 2nd+ FPGAs during work restart
  3095. - Disable OpenCL code when not available.
  3096. - Fix openwrt crashing on regeneratehash() by making check_solve a noop.
  3097. - Fix sign warning.
  3098. - Bugfix: icarus: properly store/restore info and work end times across longpoll
  3099. restarts
  3100. - Enable modminer for release builds
  3101. BFGMiner Version 2.4.3 - June 14, 2012
  3102. - Change device API "name" to reflect driver name abbreviation instead of device type name
  3103. - miner.php allow a separate user settings file
  3104. - modminer: Implement extended device stats to expose each Board to the RPC API
  3105. - Bugfix: Use new cgpu->thr for longpoll waking
  3106. - bitforce: Remove 4.5s delay before polling starts, since MiniRig finishes sooner
  3107. - FPGA - allow device detect override without an open failure
  3108. - Bugfix: Missing printf value in merge from cgminer
  3109. - Ensure C compiler is in C99 mode
  3110. - Add CPU core count detection for BSD/Mac
  3111. - Set CPU mining idle priority on Windows
  3112. - can_roll and should_roll should have no bearing on the cycle period within the
  3113. miner_thread so remove it.
  3114. - Check for strategy being changed to load balance when enabling LPs.
  3115. - Check that all threads on the device that called get_work are waiting on
  3116. getwork before considering the pool lagging.
  3117. - Iterate over each thread belonging to each device in the hashmeter instead of
  3118. searching for them now that they're a list.
  3119. - When using rotate pool strategy, ensure we only select from alive enabled
  3120. pools.
  3121. - Start longpoll from every pool when load balance strategy is in use.
  3122. - Add mandatory and block fields to the work struct. Flag any shares that are
  3123. detected as blocks as mandatory to submit, along with longpoll work from a
  3124. previously rejecting pool.
  3125. - Consider the fan optimal if fanspeed is dropping but within the optimal speed
  3126. window.
  3127. - Fix typo in some API messages (succeess/success)
  3128. - api.c MMQ stat bugs
  3129. - Bugfix: Fix warnings when built without libudev support
  3130. - Bugfix: slay a variety of warnings
  3131. - Bugfix: modminer: Fix unsigned/signed comparison and similar warnings
  3132. - API add ModMinerQuad support
  3133. - Bugfix: Honour forceauto parameter in serial_detect functions
  3134. - modminer: Temperature sensor improvements
  3135. - modminer: Make log messages more consistent in format
  3136. - Only adjust GPU speed up if the fanspeed is within the normal fanrange and
  3137. hasn't been turned to maximum speed under overheat conditions.
  3138. - ModMiner use valid .name
  3139. - New driver: BTCFPGA ModMiner
  3140. - Abstract generally useful FPGA code into fpgautils.c
  3141. - API add stats for pool getworks
  3142. - miner.php option to hide specific fields from the display
  3143. - miner.php add version numbers to the summary page
  3144. - Update debian configs to v2.4.2
  3145. - Add API and FPGA READMEs into Makefile to be included in source distribution.
  3146. - Icarus - fix unit64_t printf warnings
  3147. BFGMiner Version 2.4.2 - June 2, 2012
  3148. - Use epoll to immediately interrupt Icarus with new work on longpolls (Linux)
  3149. - API.class compiled with Java SE 6.0_03 - works with Win7x64
  3150. - miner.php highlight devs too slow finding shares (possibly failing)
  3151. - API update version to V1.11 and document changes
  3152. - API save default config file if none specified
  3153. - api.c save success incorrectly returns error
  3154. - api.c replace BUFSIZ (linux/windows have different values)
  3155. - Move RPC API content out of README to API-README
  3156. - Open a longpoll connection if a pool is in the REJECTING state as it's the
  3157. only way to re-enable it automatically.
  3158. - Use only one longpoll as much as possible by using a pthread conditional
  3159. broadcast that each longpoll thread waits on and checks if it's the current pool
  3160. before
  3161. - If shares are known stale, don't use them to decide to disable a pool for
  3162. sequential rejects.
  3163. - Restarting cgminer from within after ADL has been corrupted only leads to a
  3164. crash. Display a warning only and disable fanspeed monitoring.
  3165. - Icarus: fix abort calculation/allow user specified abort
  3166. - Icarus: make --icarus-timing hidden and document it in FPGA-README
  3167. - Icarus: high accuracy timing and other bitstream speed support
  3168. - add-MIPSEB-to-icarus-for-BIG_ENDIAN
  3169. - work_decode only needs swab32 on midstate under BIG ENDIAN
  3170. - add compile command to api-example.c
  3171. - save config bugfix: writing an extra ',' when no gpus
  3172. - Add dpkg-source commits
  3173. BFGMiner Version 2.4.1 - May 6, 2012
  3174. - Icarus: Calibrate hashrate yet even more accurately
  3175. - In the unlikely event of finding a block, display the block solved count with
  3176. the pool it came from for auditing.
  3177. - Display the device summary on exit even if a device has been disabled.
  3178. - Use correct pool enabled enums in api.c.
  3179. - Import Debian packaging configs
  3180. - Ensure we test for a pool recovering from idle so long as it's not set to
  3181. disabled.
  3182. - Fix pool number display.
  3183. - Give BFGMiner -T message only if curses is in use.
  3184. - Reinit_adl is no longer used.
  3185. - API 'stats' allow devices to add their own stats also for testing/debug
  3186. - API add getwork stats to BFGMiner - accesable from API 'stats'
  3187. - Don't initialise variables to zero when in global scope since they're already
  3188. initialised.
  3189. - Get rid of unitialised variable warning when it's false.
  3190. - Move a pool to POOL_REJECTING to be disabled only after 3 minutes of
  3191. continuous rejected shares.
  3192. - Some tweaks to reporting and logging.
  3193. - API support new pool status
  3194. - Add a temporarily disabled state for enabled pools called POOL_REJECTING and
  3195. use the work from each longpoll to help determine when a rejecting pool has
  3196. started working again. Switch pools based on the multipool strategy once a pool
  3197. is re-enabled.
  3198. - Removing extra debug
  3199. - Fix the benchmark feature by bypassing the new networking code.
  3200. - Reset sequential reject counter after a pool is disabled for when it is
  3201. re-enabled.
  3202. - ztex updateFreq was always reporting on fpga 0
  3203. - Trying harder to get 1.15y working
  3204. - Specifying threads on multi fpga boards extra cgpu
  3205. - Missing the add cgpu per extra fpga on 1.15y boards
  3206. - API add last share time to each pool
  3207. - Don't try to reap curls if benchmarking is enabled.
  3208. BFGMiner Version 2.4.0 - May 3, 2012
  3209. - Only show longpoll warning once when it has failed.
  3210. - Convert hashes to an unsigned long long as well.
  3211. - Detect pools that have issues represented by endless rejected shares and
  3212. disable them, with a parameter to optionally disable this feature.
  3213. - Bugfix: Use a 64-bit type for hashes_done (miner_thread) since it can overflow
  3214. 32-bit on some FPGAs
  3215. - Implement an older header fix for a label existing before the pthread_cleanup
  3216. macro.
  3217. - Limit the number of curls we recruit on communication failures and with
  3218. delaynet enabled to 5 by maintaining a per-pool curl count, and using a pthread
  3219. conditional that wakes up when one is returned to the ring buffer.
  3220. - Generalise add_pool() functions since they're repeated in add_pool_details.
  3221. - Bugfix: Return failure, rather than quit, if BFwrite fails
  3222. - Disable failing devices such that the user can attempt to re-enable them
  3223. - Bugfix: thread_shutdown shouldn't try to free the device, since it's needed
  3224. afterward
  3225. - API bool's and 1TBS fixes
  3226. - Icarus - minimise code delays and name timer variables
  3227. - api.c V1.9 add 'restart' + redesign 'quit' so thread exits cleanly
  3228. - api.c bug - remove extra ']'s in notify command
  3229. - Increase pool watch interval to 30 seconds.
  3230. - Reap curls that are unused for over a minute. This allows connections to be
  3231. closed, thereby allowing the number of curl handles to always be the minimum
  3232. necessary to not delay networking.
  3233. - Use the ringbuffer of curls from the same pool for submit as well as getwork
  3234. threads. Since the curl handles were already connected to the same pool and are
  3235. immediately available, share submission will not be delayed by getworks.
  3236. - Implement a scaleable networking framework designed to cope with any sized
  3237. network requirements, yet minimise the number of connections being reopened. Do
  3238. this by create a ring buffer linked list of curl handles to be used by getwork,
  3239. recruiting extra handles when none is immediately available.
  3240. - There is no need for the submit and getwork curls to be tied to the pool
  3241. struct.
  3242. - Do not recruit extra connection threads if there have been connection errors
  3243. to the pool in question.
  3244. - We should not retry submitting shares indefinitely or we may end up with a
  3245. huge backlog during network outages, so discard stale shares if we failed to
  3246. submit them and they've become stale in the interim.
  3247. BFGMiner Version 2.3.6 - April 29, 2012
  3248. - Shorten stale share messages slightly.
  3249. - Protect the freeing of current_hash under mutex_lock to prevent racing on it
  3250. when set_curblock is hit concurrently.
  3251. - Change default behaviour to submitting stale, removing the --submit-stale
  3252. option and adding a --no-submit-stale option.
  3253. - Make sure to start the getwork and submit threads when a pool is added on the
  3254. fly. This fixes a crash when a pool is added to running BFGMiner and then
  3255. switched to.
  3256. - Faster hardware can easily outstrip the speed we can get work and submit
  3257. shares when using only one connection per pool.
  3258. - Test the queued list to see if any get/submits are already queued and if they
  3259. are, start recruiting extra connections by generating new threads.
  3260. - This allows us to reuse network connections at low loads but recuit new open
  3261. connections as they're needed, so that BFGMiner can scale to hardware of any
  3262. size.
  3263. BFGMiner Version 2.3.5 - April 28, 2012
  3264. - Restarting BFGMiner leads to a socket that can't be bound for 60 seconds, so
  3265. increase the interval that API binding waits to 30 seconds to minimise the
  3266. number of times it will retry, spamming the logs.
  3267. - Give a longpoll message for any longpoll that detects a block change, primary
  3268. or backup, and also display which pool it was.
  3269. - Decrease utility display to one decimal place.
  3270. - Small cosmetic output alignment.
  3271. - Add pool number to stale share message.
  3272. - Add space to log output now that there is more screen real estate available.
  3273. - Indentation clean up.
  3274. - Remove thread id display from rejected shares as well.
  3275. - Merge pull request #185 from Diapolo/diakgcn
  3276. - add goffset support for diakgcn with -v 1 and update kernel version
  3277. - Set have_longpoll to true when there is at least one pool with longpoll.
  3278. - Don't display the thread ID since it adds no useful information over the
  3279. device number.
  3280. - Don't display the first 8 bytes of a share since they will always be zero at
  3281. >= 1 difficulty.
  3282. - work->longpoll is reset across test_work_current so we need to recheck what
  3283. pool it belongs to.
  3284. - Use longpolls from backup pools with failover-only enabled just to check for
  3285. block changes, but don't use them as work.
  3286. - Start longpoll only after we have tried to extract the longpoll URL.
  3287. - Check for submitold flag on resubmit of shares, and give different message for
  3288. stale shares on retry.
  3289. - Check for submitold before submitstale.
  3290. - Don't force fresh curl connections on anything but longpoll threads.
  3291. - Create one longpoll thread per pool, using backup pools for those pools that
  3292. don't have longpoll.
  3293. - Use the work created from the longpoll return only if we don't have
  3294. failover-enabled, and only flag the work as a longpoll if it is the current
  3295. pool.
  3296. - This will work around the problem of trying to restart the single longpoll
  3297. thread on pool changes that was leading to race conditions.
  3298. - It will also have less work restarts from the multiple longpolls received from
  3299. different pools.
  3300. - Remove the invalid entries from the example configuration file.
  3301. - Add support for latest ATI SDK on windows.
  3302. - Export missing function from libztex.
  3303. - miner.php change socktimeoutsec = 10 (it only waits once)
  3304. - Bugfix: Make initial_args a const char** to satisfy exec argument type warning
  3305. (on Windows only)
  3306. - miner.php add a timeout so you don't sit and wait ... forever
  3307. - Create discrete persistent submit and get work threads per pool, thus allowing
  3308. all submitworks belonging to the same pool to reuse the same curl handle, and
  3309. all getworks to reuse their own handle.
  3310. - Use separate handles for submission to not make getwork potentially delay
  3311. share submission which is time critical.
  3312. - This will allow much more reusing of persistent connections instead of opening
  3313. new ones which can flood routers.
  3314. - This mandated a rework of the extra longpoll support (for when pools are
  3315. switched) and this is managed by restarting longpoll cleanly and waiting for a
  3316. thread join.
  3317. - miner.php only show the current date header once
  3318. - miner.php also add current time like single rig page
  3319. - miner.php display rig 'when' table at top of the multi-rig summary page
  3320. - README - add some Ztex details
  3321. - api.c include zTex in the FPGA support list
  3322. - api.c ensure 'devs' shows PGA's when only PGA code is compiled
  3323. - miner.c sharelog code consistency and compile warning fix
  3324. - README correct API version number
  3325. - README spelling error
  3326. - api.c combine all pairs of sprintfs()
  3327. - api.c uncomment and use BLANK (and COMMA)
  3328. - Code style cleanup
  3329. - Annotating frequency changes with the changed from value
  3330. - README clarification of 'notify' command
  3331. - README update for API RPC 'devdetails'
  3332. - api.c 'devdetails' list static details of devices
  3333. - Using less heap space as my TP-Link seems to not handle this much
  3334. BFGMiner Version 2.3.4 - April 26, 2012
  3335. - New maintainership of code with modular FPGA/GPU focus, under BFGMiner name
  3336. - Complete working support for cross-compiling Windows builds on Linux.
  3337. - Fix usage of low --scan-time settings so it doesn't busy-loop
  3338. - JSON API: Add new 'devdetail' command to get fixed device information
  3339. - JSON API: Implement driver abstraction for extra device status
  3340. - Icarus: Use epoll to wait for serial port input properly, when available
  3341. - Icarus: Workaround buggy USB-UART that causes Icarus to stop mining rarely
  3342. - Icarus: Estimate mining hashrate correctly, calibrated from real-world data
  3343. - Icarus: Parallelize work setup with Icarus hash search improving performance
  3344. - Icarus: More reliable detection and runtime
  3345. - OpenCL: Move GPU-specific data fetching from JSON API to OpenCL driver
  3346. - OpenCL: Dynamically load OpenCL library, to be more vendor-independent and
  3347. allow use without actually having OpenCL (i.e. FPGA-only rigs).
  3348. CGMiner Version 2.3.4 - April 25, 2012
  3349. - Extensively document the cause of GPU device issues and the use of --gpu-map.
  3350. - Support for share logging
  3351. - Detect poorly performing combination of SDK and phatk kernel and add verbose
  3352. warning at startup.
  3353. - Icarus update to new add_cgpu()
  3354. - Icarus driver working with Linux and Windows
  3355. - api.c fix unused variable compile warning
  3356. - Display all OpenCL devices when -n is called as well to allow debugging of
  3357. differential mapping of OpenCL to ADL.
  3358. - Add a --gpu-map option which will allow arbitrarily mapping ADL devices to
  3359. OpenCL devices for instances where association by enumeration alone fails.
  3360. - Increase upper limit on number of extra items to queue as some FPGA code can't
  3361. yet reliably keep many devices busy.
  3362. - Display configuration file information when -c option is passed and only when
  3363. file exists on loading default config file.
  3364. - Display configuration file loaded, if any, and debug output if configuration
  3365. file parsing failed.
  3366. - Add missing ztex header to Makefile for distribution.
  3367. - Document long-form COM port device names on Windows, required to specify
  3368. serial ports above 9
  3369. - Include ztex bitstreams firmware in distribution and install if configured in.
  3370. - Style police on driver-ztex.c
  3371. - work_restart should only be changed by cgminer.c now
  3372. - Shut down the api cleanly when the api thread is cancelled. This should allow
  3373. the api socket to be closed successfully to next be reopened with app_restart.
  3374. - Make a union for cgpu device handles, and rename "device" to "device_ztex"
  3375. since it's Ztex-specific
  3376. - Initialise name variable.
  3377. - Remove unnecessary check for variable that always has memory allocated.
  3378. - Bugfix: Missing "break" no-op in default case
  3379. - Make the status window and log window as large as can fit on startup,
  3380. rechecking to see if it can be enlarged after the fact. This allows any number
  3381. of devices to be displayed provided the window is made long enough without
  3382. corrupting the output.
  3383. - Style police on libztex.c.
  3384. - API add removepool like the screen interface
  3385. - api.c escape required characters in return strings + pools returns the
  3386. username
  3387. - Set lp_path to NULL after free for consistency.
  3388. - Removing dmalloc import left behind by mistake
  3389. - Fixing leak in resp_hdr_cb
  3390. - miner.php warning highlight GPU stats if they are zero (e.g. ADL not enabled)
  3391. - miner.php highlight any device that isn't 'Enabled'
  3392. - miner.php highlight any Status that isn't 'Alive'
  3393. - miner.php optionally support multiple rigs
  3394. - Initial Ztex support 1.15x board.
  3395. CGMiner Version 2.3.3 - April 15, 2012
  3396. - Don't even display that cpumining is disabled on ./configure to discourage
  3397. people from enabling it.
  3398. - Do a complete cgminer restart if the ATI Display Library fails, as it does on
  3399. windows after running for some time, when fanspeed reporting fails.
  3400. - Cache the initial arguments passed to cgminer and implement an attempted
  3401. restart option from the settings menu.
  3402. - Disable per-device status lines when there are more than 8 devices since
  3403. screen output will be corrupted, enumerating them to the log output instead at
  3404. startup.
  3405. - Reuse Vals[] array more than W[] till they're re-initialised on the second
  3406. sha256 cycle in poclbm kernel.
  3407. - Minor variable alignment in poclbm kernel.
  3408. - Make sure to disable devices with any status not being DEV_ENABLED to ensure
  3409. that thermal cutoff code works as it was setting the status to DEV_RECOVER.
  3410. - Re-initialising ADL simply made the driver fail since it is corruption over
  3411. time within the windows driver that's responsible. Revert "Attempt to
  3412. re-initialise ADL should a device that previously reported fanspeed stops
  3413. reporting it."
  3414. - Microoptimise poclbm kernel by ordering Val variables according to usage
  3415. frequency.
  3416. CGMiner Version 2.3.2 - March 31, 2012
  3417. - Damping small changes in hashrate so dramatically has the tendency to always
  3418. make the hashrate underread so go back to gentle damping instead.
  3419. - Revert the crossover of variables from Vals to W in poclbm kernel now that
  3420. Vals are the first declared variables so they're used more frequently.
  3421. - Vals variables appearing first in the array in poclbm is faster.
  3422. - Change the preferred vector width to 1 for Tahiti only, not all poclbm
  3423. kernels.
  3424. - Use a time constant 0.63 for when large changes in hashrate are detected to
  3425. damp change in case the large change is an aliasing artefact instead of a real
  3426. chang
  3427. - Only increment stale counter if the detected stales are discarded.
  3428. - Attempt to re-initialise ADL should a device that previously reported fanspeed
  3429. stops reporting it.
  3430. - Move the ADL setup and clearing to separate functions and provide a reinit_adl
  3431. function to be used when adl fails while running.
  3432. - Use slightly more damping on the decay time function in the never-ending quest
  3433. to smooth off the hashmeter.
  3434. - Set the starting fanspeed to a safe and fairly neutral 50% when autofan is
  3435. enabled.
  3436. - Provide locking around updates of cgpu hashrates as well to prevent multiple
  3437. threads accessing data fields on the same device.
  3438. - Display the beginning of the new block in verbose mode in the logs.
  3439. - Reinstate old diablo kernel variable ordering from 120222, adding only goffset
  3440. and vector size hint. The massive variable ordering change only helped one SDK
  3441. on
  3442. - Change the version number on the correct kernels.
  3443. - api.c devicecode/osinfo incorrectly swapped for json
  3444. - Add extensive instructions on how to make a native windows build.
  3445. - Update version numbers of poclbm and diablo kernels as their APIs have also
  3446. changed.
  3447. - Use global offset parameter to diablo and poclbm kernel ONLY for 1 vector
  3448. kernels.
  3449. - Use poclbm preferentially on Tahiti now regardless of SDK.
  3450. - Remove unused constant passed to poclbm.
  3451. - Clean up use of macros in poclbm and use bitselect everywhere possible.
  3452. - Add vector type hint to diablo kernel.
  3453. - Add worksize and vector attribute hints to the poclbm kernel.
  3454. - Spaces for non-aligned variables in poclbm.
  3455. - Swap Vals and W variables where they can overlap in poclbm.
  3456. - More tidying of poclbm.
  3457. - Tidy up first half of poclbm.
  3458. - Clean up use of any() by diablo and poclbm kernels.
  3459. - Minor variable symmetry changes in poclbm.
  3460. - Put additions on separate lines for consistency in poclbm.
  3461. - Consolidate last use of W11 into Vals4 in poclbm.
  3462. - Change email due to SPAM
  3463. - api.c miner.php add a '*' to the front of all notify counters - simplifies
  3464. future support of new counters
  3465. - miner.php add display 'notify' command
  3466. - Small change to help arch's without processor affinity
  3467. - Fix bitforce compile error
  3468. - api.c notify should report disabled devices also - of course
  3469. - API returns the simple device history with the 'notify' command
  3470. - code changes for supporting a simple device history
  3471. - api.c Report an OS string in config to help with device issues
  3472. - api.c fix Log Interval - integer in JSON
  3473. - api.c config 'Device Code' to show list of compiled devices + README
  3474. - api.c increase buffer size close to current code allowable limit
  3475. - removed 8-component vector support from kernel, as this is not supported in
  3476. CGMINER anyway
  3477. - forgot to update kernel modification date, fixed ;)
  3478. - reordered an addition in the kernel, which results in less instructions used
  3479. in the GPU ISA code for GCN
  3480. - miner.php: option for readonly or check privileged access
  3481. - Ignore reduntant-with-build options --disable-gpu, --no-adl, and --no-restart
  3482. - miner.php: ereg_replace is DEPRECATED so use preg_replace instead
  3483. - Make curses TUI support optional at compile-time.
  3484. - Bugfix: AC_ARG_WITH provides withval instead of enableval
  3485. - miner.php split devs output for different devices
  3486. - api.c: correct error messages
  3487. - icarus.c modify (regular) timeout warning to only be debug
  3488. - icarus.c set the windows TODO timeout
  3489. - Allow specifying a specific driver for --scan-serial
  3490. - optimized nonce-check and output code for -v 2 and -v 4
  3491. - Bugfix: Check for libudev header (not just library) in configure, and document
  3492. optional dependency
  3493. - Add API support for Icarus and Bitforce
  3494. - Next API version is 1.4 (1.3 is current)
  3495. - README/api.c add "When" the request was processed to STATUS
  3496. - Bugfix: ZLX to read BitFORCE temp, not ZKX -.-
  3497. - Use libudev to autodetect BitFORCE GPUs, if available
  3498. - Use the return value of fan_autotune to set fan_optimal instead of passing it
  3499. as a pointer.
  3500. - Pass the lasttemp from the device we're using to adjust fanspeed in twin
  3501. devices.
  3502. - fix the name to 3 chars, fix the multi-icarus support
  3503. - Bugfix: "-S auto" is the default if no -S is specified, and there is no such
  3504. delay in using it
  3505. - README add information missing from --scan-serial
  3506. - Update README RPC API Version comment
  3507. - Bugfix: Allow enabling CPU even without OpenCL support
  3508. - Change failed-to-mine number of requested shares messge to avoid segfault on
  3509. recursive calling of quit().
  3510. - Get rid of extra char which is just truncated in poclbm kernel.
  3511. - only small code formating changes
  3512. - removed vec_step() as this could lead to errors on older SDKs
  3513. - unified code for generating nonce in kernel and moved addition of base to the
  3514. end -> faster
  3515. CGMiner Version 2.3.1 - February 24, 2012
  3516. - Revert input and output code on diakgcn and phatk kernels to old style which
  3517. worked better for older hardware and SDKs.
  3518. - Add a vector*worksize parameter passed to those kernels to avoid one op.
  3519. - Increase the speed of hashrate adaptation.
  3520. - Only send out extra longpoll requests if we want longpolls.
  3521. - API implement addpool command
  3522. - API return the untouched Total MH also (API now version 1.3)
  3523. - Add enable/disablepool to miner.php example and reduce font size 1pt
  3524. CGMiner Version 2.3.0 - February 23, 2012
  3525. - Consider extra longpoll work items as staged_extra so as to make sure we queue
  3526. more work if queueing regular work items as longpolls.
  3527. - Use diablo kernel on all future SDKs for Tahiti and set preferred vector width
  3528. to 1 on poclbm kernel only.
  3529. - Explicitly type the constants in diakgcn kernel as uint, to be in line with
  3530. poclbm kernel.
  3531. - Reset all hash counters at the same time as resetting start times to get
  3532. accurate hashrates on exiting which is mandatory for benchmarking.
  3533. - Report thread out before it starts to avoid being flagged as sick when waiting
  3534. for the first work item.
  3535. - Don't disable and re-enable devices as they may recover and in the meantime
  3536. have their status set to OFF.
  3537. - API new commands enablepool and disablepool (version already incremented)
  3538. - Tolerate new-format temperature readings for bitforce
  3539. - Modify cgminer.c pool control to allow API to call it
  3540. - Bugfix: Fix BitFORCE driver memory leak in debug logging
  3541. - Extra byte was being unused in poclbm leading to failure on some platforms.
  3542. - Explicitly type the constants in poclbm kernel as uint.
  3543. - Don't save 'include' when saving the configuration
  3544. - Allow configuration file to include another recursively
  3545. - Use the SDK and hardware information to choose good performing default
  3546. kernels.
  3547. - Move phatk kernel to offset vector based nonce bases as well.
  3548. - Add a --benchmark feature which works on a fake item indefinitely to compare
  3549. device performance without any server or networking influence.
  3550. - Allow writing of multiple worksizes to the configuration file.
  3551. - Allow writing of multiple vector sizes to the configuration file.
  3552. - Allow writing of multiple kernels to the configuration file.
  3553. - Allow multiple different kernels to be chosen per device.
  3554. - Allow the worksize to be set per-device.
  3555. - Allow different vectors to be set per device.
  3556. - If we're well below the target temperature, increase gpu engine speed back to
  3557. maximum in case we have gotten lost between profiles during an idle period.
  3558. - We should be setting the value of fan_optimal, not its address.
  3559. - As all kernels will be new versions it's an opportunity to change the .bin
  3560. format and make it simpler. Specifying bitalign is redundant and long can be l.
  3561. - Use any() in kernel output code.
  3562. - Put the nonce for each vector offset in advance, avoiding one extra addition
  3563. in the kernel.
  3564. - Reset times after all mining threads are started to make estimating hashrates
  3565. easier at startup.
  3566. - Bugfix: allow no-exec (NX) stack
  3567. - Fix minor warning.
  3568. - fix the bitforce.c code style follow 1TBS
  3569. - fix icarus.c compile warning
  3570. - small changes to speedup no vec for AMD 898.1 OCL runtime
  3571. - Update licensing to GPL V3.
  3572. - Reset the longpoll flag after it's been used once to prevent it restarting
  3573. work again.
  3574. - Begin import of DiabloMiner kernel.
  3575. - Modify API debug messages to say API instead of DBG
  3576. - When API shuts down cgminer don't kill itself
  3577. - Don't make rolled work from the longpoll be seen as other longpoll work items.
  3578. - API add 'privileged' command so can verify access level
  3579. - Set the lp_sent variable under lock since there will almost always be a race
  3580. on setting this variable, potentially leading to multiple LPs being sent out.
  3581. - API restrict access to all non display commands by default
  3582. - Update API version to 1.2 for new 'Log Interval'
  3583. - API add --log Interval to 'config' reply
  3584. - --api-allow special case 0/0 means all
  3585. CGMiner Version 2.2.7 - February 20, 2012
  3586. - Send out extra longpolls when we have switched pools and the longpoll thread
  3587. is still bound to the old one. This is particularly useful with p2pool where
  3588. longpolls do not correlate with main bitcoin block change and would have led to
  3589. high reject rates on failover.
  3590. - Store whether a work item is the result of a longpoll or not in struct work
  3591. and use it to help determine block changes directly from the work longpoll bool.
  3592. - Keep track of when a longpoll has been sent for a pool and if the current pool
  3593. is requesting work but has not sent a longpoll request, convert one of the work
  3594. items to a longpoll.
  3595. - Store the longpoll url in the pool struct and update it from the pool_active
  3596. test in case it changes. This is to allow further changes to longpoll management
  3597. on switching pools.
  3598. - Re-check for a longpoll supporting pool every 30 seconds if none is found
  3599. initially.
  3600. - Report threads as busy waiting on getwork on startup to avoid them being
  3601. flagged sick on startup during slow networking.
  3602. - Allow devices that are disabled due to overheating to be flagged as recovering
  3603. instead of disabling them and re-enable them if they're below ideal temperatures
  3604. - Tahiti prefers worksize 64 with poclbm.
  3605. - No need to expressly retain the opencl program now that the zero binary issue
  3606. is fixed. This actually fixes cgminer to work with the latest SDK included with
  3607. the ATI catalyst driver 12.2.
  3608. - Show error code on any opencl failure status.
  3609. - Add detection for version 898.1 SDK as well but only give SDK 2.6 warning once
  3610. on startup instead of with each device initialisation.
  3611. - Always use a fresh connection for longpoll as prolonged persistent connections
  3612. can fail for many reasons.
  3613. - Keep track of intended engine clock speed and only adjust up if it's higher
  3614. than the last intended speed. This avoids setting the clock speed to one
  3615. relative to a lower profile one by mistake.
  3616. - Use gpu-memdiff on startup if an engine clockspeed is set and a memdiff value
  3617. is set.
  3618. - Revert "Adjust engine speed up according to performance level engine setting,
  3619. not the current engine speed." - ineffectual.
  3620. - Freeze the queues on all threads that are sent the pause message to prevent
  3621. them trying to start up again with saved pings in their queues.
  3622. - Updates to diakgcn kernel/
  3623. - Consolidate all screen updates to the watchdog thread and touch both windows
  3624. before refresh.
  3625. - Curses will be disabled in clean_up so don't do it early in kill_work, and
  3626. disable_adl so that GPU settings may be restored to normal in case shutting down
  3627. curses leads to instability on windows.
  3628. - Stop the mining threads before trying to kill them.
  3629. - Plain refresh() does not give reliably screen updates so get rid of all uses
  3630. of it.
  3631. - First release with working diakgcn kernel.
  3632. CGMiner Version 2.2.6 - February 16, 2012
  3633. - Provide warning on each startup about sdk 2.6
  3634. - Fix unused warnings on win32.
  3635. - bitforce: Simplify BFopen WIN32 ifdef/else
  3636. - Fix initialization warning with jansson 1.3
  3637. - bitforce: Cleanup extraneous TODO that isn't needed
  3638. - Move tcsetattr (and new tcflush) into *nix BFopen to simplify things a bit
  3639. - Add message explaining 2nd thread disabling for dynamic mode and how to tune
  3640. it.
  3641. - Move logwindow down once number of devices is known.
  3642. - Automatically choose phatk kernel for bitalign non-gcn ATI cards, and then
  3643. only select poclbm if SDK2.6 is detected.
  3644. - Allow the refresh interval to be adjusted in dynamic intensity with a
  3645. --gpu-dyninterval parameter.
  3646. - Make curses display visible right from the beginning and fix the window sizes
  3647. so the initial messages don't get lost once the status window is drawn.
  3648. - The amount of work scanned can fluctuate when intensity changes and since we
  3649. do this one cycle behind, we increment the work more than enough to prevent
  3650. repeati
  3651. - bitforce: Set a 30 second timeout for serial port on Windows, since the
  3652. default is undefined
  3653. - Use PreVal4addT1 instead of PreVal4 in poclbm kernel.
  3654. - Import PreVal4 and PreVal0 into poclbm kernel.
  3655. - Import more prepared constants into poclbm kernel.
  3656. - Keep variables in one array but use Vals[] name for consistency with other
  3657. kernel designs.
  3658. - Replace constants that are mandatorily added in poclbm kernel with one value.
  3659. - Remove addition of final constant before testing for result in poclbm kernel.
  3660. - Hand optimise variable addition order.
  3661. - Hand optimise first variable declaration order in poclbm kernel.
  3662. - Radical reordering machine based first pass to change variables as late as
  3663. possible, bringing their usage close together.
  3664. - fix strcpy NULL pointer if env HOME unset.
  3665. - bitforce: Disable automatic scanning when at least one device is specified
  3666. manually
  3667. - Unroll all poclbm additions to enable further optimisations.
  3668. CGMiner Version 2.2.5 - February 13, 2012
  3669. - Make output buffer write only as per Diapolo's suggestion.
  3670. - Constify nonce in poclbm.
  3671. - Use local and group id on poclbm kernel as well.
  3672. - Microoptimise phatk kernel on return code.
  3673. - Adjust engine speed up according to performance level engine setting, not the
  3674. current engine speed.
  3675. - Try to load a binary if we've defaulted to the poclbm kernel on SDK2.6
  3676. - Use the poclbm kernel on SDK2.6 with bitalign devices only if there is no
  3677. binary available.
  3678. - Further generic microoptimisations to poclbm kernel.
  3679. - The longstanding generation of a zero sized binary appears to be due to the
  3680. OpenCL library putting the binary in a RANDOM SLOT amongst 4 possible binary
  3681. locations. Iterate over each of them after building from source till the real
  3682. binary is found and use that.
  3683. - Fix harmless warnings with -Wsign-compare to allow cgminer to build with -W.
  3684. - Fix missing field initialisers warnings.
  3685. - Put win32 equivalents of nanosleep and sleep into compat.h fixing sleep() for
  3686. adl.c.
  3687. - Restore compatibility with Jansson 1.3 and 2.0 (api.c required 2.1)
  3688. - Modularized logging, support for priority based logging
  3689. - Move CPU chipset specific optimization into device-cpu
  3690. CGMiner Version 2.2.4 - February 11, 2012
  3691. - Fix double definition of A0 B0 to zeroA zeroB.
  3692. - Retain cl program after successfully loading a binary image. May decrease
  3693. failures to build kernels at startup.
  3694. - Variable unused after this so remove setting it.
  3695. - BFI INT patching is not necessarily true on binary loading of files and not
  3696. true on ATI SDK2.6+. Report bitalign instead.
  3697. - Various string fixes for reject reason.
  3698. - Generalize --temp-cutoff and implement support for reading temperature from
  3699. BitFORCE FPGAs
  3700. - Change message from recovered to alive since it is used on startup as well as
  3701. when a pool has recovered.
  3702. - Start mining as soon as any pool is found active and rely on the watchpool
  3703. thread to bring up other pools.
  3704. - Delayed responses from testing pools that are down can hold up the watchdog
  3705. thread from getting to its device testing code, leading to false detection of
  3706. the GPU not checking in, and can substantially delay auto gpu/auto fan
  3707. management leading to overheating. Move pool watching to its own thread.
  3708. - Bugfix: BitFORCE index needs to be static to count correctly
  3709. - Space out retrieval of extra work according to the number of mining threads.
  3710. - Make shutdown more robust. Enable the input thread only after the other
  3711. threads exist. Don't kill off the workio thread and use it to exit main() only
  3712. if there is an unexpected problem. Use kill_work() for all anticipated shutdowns
  3713. where possible. Remove unused thread entry.
  3714. - Change poclbm version number.
  3715. - One array is faster than 2 separate arrays so change to that in poclbm kernel.
  3716. - Microoptimisations to poclbm kernel which increase throughput slightly.
  3717. - Import diablominer kernel. Currently disabled as not working.
  3718. - Import diapolo kernel. Currently disabled as not working.
  3719. - Conflicting entries of cl_kernel may have been causing problems, and
  3720. automatically chosen kernel type was not being passed on. Rename the enum to
  3721. cl_kernels and store the chosen kernel in each clState.
  3722. - Set cl_amd_media_ops with the BITALIGN flag and allow non-bitselect devices to
  3723. build.
  3724. - ALlow much longer filenames for kernels to load properly.
  3725. - Allow different kernels to be used by different devices and fix the logic fail
  3726. of overcorrecting on last commit with !strstr.
  3727. - Fix kernel selection process and build error.
  3728. - queue_phatk_kernel now uses CL_SET_VARG() for base-nonce(s), too
  3729. - added OpenCL >= 1.1 detection code, in preparation of OpenCL 1.1 global offset
  3730. parameter support
  3731. - Use K array explicitly to make it clear what is being added.
  3732. - Work items have a tendency to expire at exactly the same time and we don't
  3733. queue extra items when there are plenty in the queue, regardless of age. Allow
  3734. extra work items to be queued if adequate time has passed since we last
  3735. requested work even if over the limit.
  3736. - Discard work when failover-only is enabled and the work has come from a
  3737. different pool.
  3738. - Missing include to build on newer mingw32.
  3739. - Move from the thread safe localtime_r to regular localtime which is the only
  3740. one supported on newer pthread libraries on mingw32 to make it compile with the
  3741. newer ming. Thread safety is of no importance where localtime is used in this
  3742. code.
  3743. - Define in_addr_t in windows if required
  3744. - sys/wait.h not required in windows
  3745. - Allow API to restrict access by IP address
  3746. - Add pool switching to example miner.php
  3747. - Display X-Reject-Reason, when provided
  3748. - Remove the test for whether the device is on the highest profil level before
  3749. raising the GPU speed as it is ineffectual and may prevent raising the GPU
  3750. speed.
  3751. - Remove unnecessary check for opt_debug one every invocation of applog at
  3752. LOG_DEBUG level and place the check in applog().
  3753. CGMiner Version 2.2.3 - February 6, 2012
  3754. - Revert "Rewrite the convoluted get_work() function to be much simpler and roll
  3755. work as much as possible with each new work item." This seems to cause a race on
  3756. work in free_work(). Presumably other threads are still accessing the structure.
  3757. CGMiner Version 2.2.2 - February 6, 2012
  3758. - Provide support for the submitold extension on a per-pool basis based on the
  3759. value being detected in a longpoll.
  3760. - Don't send a ping to a dynamic device if it's not enabled as that will just
  3761. enable it for one pass and then disable it again.
  3762. - Rewrite the convoluted get_work() function to be much simpler and roll work as
  3763. much as possible with each new work item.
  3764. - Roll as much work as possible from the work returned from a longpoll.
  3765. - Rolling work on each loop through the mining thread serves no purpose.
  3766. - Allow to stage more than necessary work items if we're just rolling work.
  3767. - Replace divide_work with reuse_work function used twice.
  3768. - Give rolled work a new ID to make sure there is no confusion in the hashtable
  3769. lookups.
  3770. - Remove now-defunct hash_div variables.
  3771. - Remove unused get_dondata function.
  3772. - Silence ADL warnings.
  3773. - Silence unused parameter warnings.
  3774. - Stagger the restart of every next thread per device to keep devices busy ahead
  3775. of accessory threads per device.
  3776. - Deprecate the --donation feature. Needlessly complex, questionable usefulness,
  3777. depends on author's server and a central pool of some kind, and was not heavily
  3778. adopted.
  3779. - It's devices that report back now, not threads, update message.
  3780. - Continue auto-management of fan and engine speeds even if a device is disabled
  3781. for safety reasons.
  3782. - No need to check we're highest performance level when throttling GPU engine
  3783. speed.
  3784. - Abstract out tests for whether work has come from a block that has been seen
  3785. before and whether a string is from a previously seen block.
  3786. - Probe but don't set the timeout to 15 seconds as some networks take a long
  3787. time to timeout.
  3788. - Remove most compiler warnings from api.c
  3789. - Add last share's pool info in cgpu_info
  3790. - Allow the OpenCL platform ID to be chosen with --gpu-platform.
  3791. - Iterate over all platforms displaying their information and number of devices
  3792. when --ndevs is called.
  3793. - Deprecate main.c
  3794. - Some networks can take a long time to resolve so go back to 60 second timeouts
  3795. instead of 15.
  3796. - Only enable curses on failure if curses is desired.
  3797. - Fix warnings in bitforce.c
  3798. - Bugfix: Need to open BitForce tty for read-write
  3799. - Fix various build issues.
  3800. - Modularize code: main.c -> device-cpu + device-gpu
  3801. - Fix phatk kernel not working on non-bitalign capable devices (Nvidia, older
  3802. ATI).
  3803. - Update poclbm kernel for better performance on GCN and new SDKs with bitalign
  3804. support when not BFI INT patching. Update phatk kernel to work properly for non
  3805. BFI INT patched kernels, providing support for phatk to run on GCN and non-ATI
  3806. cards.
  3807. - Return last accepted share pool/time for devices
  3808. - Display accepted share pool/time for CPUs
  3809. - Bug intensity always shows GPU 0
  3810. - Update example web miner.php to use new API commands
  3811. CGMiner Version 2.2.1 - January 30, 2012
  3812. NOTE - The GPU Device reordering in 2.2.0 by default was considered a bad idea
  3813. so the original GPU ordering is used by default again unless reordering is
  3814. explicitly requested.
  3815. - Fix bitforce failing to build into cgminer.
  3816. - Add missing options to write config function.
  3817. - Add a --gpu-reorder option to only reorder devices according to PCI Bus ID
  3818. when requested.
  3819. - Fix for midstate support being broken on pools that supported no-midstate
  3820. work by ensuring numbers are 32 bits in sha2.c
  3821. - Set virtual GPUs to work when ADL is disabled or all mining will occur on GPU
  3822. 0.
  3823. - Add information about paused threads in the menu status.
  3824. - Disable all but the first thread on GPUs in dynamic mode for better
  3825. interactivity.
  3826. - Set the latest network access time on share submission for --net-delay even if
  3827. we're not delaying that submission for further network access.
  3828. - Clear adl on exiting after probing values since it may attempt to overclock.
  3829. - As share submission is usually staggered, and delays can be costly, submit
  3830. shares without delay even when --net-delay is enabled.
  3831. - Display GPU number and device name when ADL is successfully enabled on it.
  3832. - Display GPU ordering remapping in verbose mode.
  3833. - Don't fail in the case the number of ADL and OpenCL devices do not match, and
  3834. do not attempt to reorder devices unless they match. Instead give a warning
  3835. about
  3836. - Display error codes should ADL not return ADL_OK in the more critical function
  3837. calls.
  3838. - Fix unused warning.
  3839. - Fix compile warnings in api.c
  3840. - Add extensive ADL based device info in debug mode.
  3841. - Make --ndevs display verbose opencl information as well to make debugging
  3842. version information easier.
  3843. - Display information about the opencl platform with verbose enabled.
  3844. - Explicitly check for nvidia in opencl platform strings as well.
  3845. CGMiner Version 2.2.0 - January 29, 2012
  3846. NOTE: GPU Device order will change with this release with ATI GPUs as cgminer
  3847. now can enumerate them according to their Bus ID which means the values should
  3848. now correlate with their physical position on the motherboard.
  3849. - Default to poclbm kernel on Tahiti (7970) since phatk does not work, even
  3850. though performance is sub-standard so that at least it will mine successfully by
  3851. defau
  3852. - Retain cl program after every possible place we might build the program.
  3853. - Update ADL SDK URL.
  3854. - Fix potential overflow.
  3855. - Map GPU devices to virtual devices in their true physical order based on
  3856. BusNumber.
  3857. - Change the warning that comes with failure to init cl on a device to be more
  3858. generic and accurate.
  3859. - Advertise longpoll support in X-Mining-Extensions
  3860. - Detect dual GPU cards by iterating through all GPUs, finding ones without
  3861. fanspeed and matching twins with fanspeed one bus ID apart.
  3862. - Do not attempt to build the program that becomes the kernel twice. This could
  3863. have been leading to failures on initialising cl.
  3864. - Some opencl compilers have issues with no spaces after -D in the compiler
  3865. options.
  3866. - Allow intensity up to 14.
  3867. - Use calloced stack memory for CompilerOptions to ensure sprintf writes to the
  3868. beginning of the char.
  3869. - Whitelist 79x0 cards to prefer no vectors as they perform better without.
  3870. - Adjust fan speed gently while in the optimal range when temperature is
  3871. drifting to minimise overshoot in either direction.
  3872. - Detect dual GPU cards via the indirect information of - 1st card has a fan
  3873. controller. 2nd card does not have a fan controller, cards share the same device
  3874. name
  3875. - Instead of using the BFI_INT patching hack on any device reporting
  3876. cl_amd_media_ops, create a whitelist of devices that need it. This should enable
  3877. GCN architec
  3878. - Fixed API compiling issue on OS X
  3879. - Add more explanation of JSON format and the 'save' command
  3880. - Return an error if using ADL API commands when it's not available
  3881. - Read off lpThermalControllerInfo from each ADL device.
  3882. - Add ADL_Overdrive5_ThermalDevices_Enum interface.
  3883. - Add API commands: config, switchpool, gpu settings, save
  3884. - Implement socks4 proxy support.
  3885. - Fix send() for JSON strings
  3886. - Introduce a --net-delay option which guarantees at least 250ms between any
  3887. networking requests to not overload slow routers.
  3888. - Generalise locking init code.
  3889. - Allow invalid values to be in the configuration file, just skipping over them
  3890. provided the rest of the file is valid JSON. This will allow older configurat
  3891. - Allow CPU mining explicitly enable only if other mining support is built in.
  3892. - BitForce FPGA support
  3893. - Configure out building and support of all CPU mining code unless
  3894. --enable-cpumining is enabled.
  3895. - Allow parsed values to be zero which will allow 0 values in the config file to
  3896. work.
  3897. - Advertise that we can make our own midstate, so the pool can skip generating
  3898. it for us
  3899. - Refactor the CPU scanhash_* functions to use a common API. Fixes bugs.
  3900. - Don't consider a pool lagging if a request has only just been filed. This
  3901. should decrease the false positives for "pool not providing work fast enough".
  3902. - Invalidating work after longpoll made hash_pop return no work giving a false
  3903. positive for dead pool. Rework hash_pop to retry while finds no staged work u
  3904. - Remove TCP_NODELAY from curl options as many small packets may be contributing
  3905. to network overload, when --net-delay is enabled.
  3906. - Refactor miner_thread to be common code for any kind of device
  3907. - Simplify submit_nonce loop and avoid potentially missing FOUND - 1 entry.
  3908. Reported by Luke-Jr.
  3909. - Micro-optimisation in sha256_sse2 code courtesy of Guido Ascioti
  3910. guido.ascioti@gmail.com
  3911. - Refactor to abstract device-specific code
  3912. CGMiner Version 2.1.2 - January 6, 2012
  3913. - If api-description is specified, save it when writing the config file
  3914. - Adjust utility width to be constant maximum as well.
  3915. - Add percent signs to reject ratio outputs
  3916. - Should the donation pool fail, don't make the fallover pool behave as though
  3917. the primary pool is lagging.
  3918. - Use an alternative pool should the donation getwork fail.
  3919. CGMiner Version 2.1.1 - January 1, 2012
  3920. - Include API examples in distribution tarball.
  3921. - Don't attempt to pthread_join when cancelling threads as they're already
  3922. detached and doing so can lead to a segfault.
  3923. - Give more generic message if slow pool at startup is the donation pool.
  3924. - Continue to attempt restarting GPU threads if they're flagged dead at 1 min.
  3925. intervals.
  3926. - Don't attempt to restart sick flagged GPUs while they're still registering
  3927. activity.
  3928. - Make curl use fresh connections whenever there is any communication issue
  3929. in case there are dead persistent connections preventing further comms from
  3930. working.
  3931. - Display pool in summary if only 1 pool.
  3932. - Adjust column width of A/R/HW to be the maximum of any device and align them.
  3933. CGMiner Version 2.1.0 - December 27, 2011
  3934. - Major infrastructure upgrade with RPC interface for controlling via sockets
  3935. encoded with/without JSON courtesy of Andrew Smith. Added documentation for
  3936. use of the API and sample code to use with it.
  3937. - Updated linux-usb-cgminer document.
  3938. - Rewrite of longpoll mechanism to choose the current pool wherever possible to
  3939. use for the longpoll, or any pool that supports longpoll if the current one
  3940. does not.
  3941. - Display information about longpoll when the chosen server has changed.
  3942. - Fix the bug where longpoll generated work may have been sent back to the
  3943. wrong pool, causing rejects.
  3944. - Fix a few race conditions on closing cgminer which caused some of the crashes
  3945. on exit.
  3946. - Only adjust gpu engine speed in autotune mode if the gpu is currently at the
  3947. performance level of that being adjusted.
  3948. - Various fixes for parsing/writing of configuration files.
  3949. - Do not add blank lines for threads of unused CPUs.
  3950. - Show which pool is unresponsive on startup.
  3951. - Only show GPU management menu item if GPUs are in use.
  3952. - Align most device columns in the curses display.
  3953. CGMiner Version 2.0.8 - November 11, 2011
  3954. - Make longpoll do a mandatory flushing of all work even if the block hasn't
  3955. changed, thus supporting longpoll initiated work change of any sort and merged
  3956. mining.
  3957. - Byteswap computed hash in hashtest so it can be correctly checked. This fixes
  3958. the very rare possibility that a block solve on solo mining was missed.
  3959. - Add x86_64 w64 mingw32 target
  3960. - Allow a fixed speed difference between memory and GPU clock speed with
  3961. --gpu-memdiff that will change memory speed when GPU speed is changed in
  3962. autotune mode.
  3963. - Don't load the default config if a config file is specified on the command
  3964. line.
  3965. - Don't build VIA on apple since -a auto bombs instead of gracefully ignoring
  3966. VIA failing.
  3967. - Build fix for dlopen/dlclose errors in glibc.
  3968. CGMiner Version 2.0.7 - October 17, 2011
  3969. - Support work without midstate or hash1, which are deprecated in bitcoind 0.5+
  3970. - Go to kernel build should we fail to clCreateProgramWithBinary instead of
  3971. failing on that device. This should fix the windows problems with devices not
  3972. initialising.
  3973. - Support new configuration file format courtesy of Chris Savery which can write
  3974. the config file from the menu and will load it on startup.
  3975. - Write unix configuration to .cgminer/cgminer.conf by default and prompt to
  3976. overwrite if given a filename from the menu that exists.
  3977. CGMiner Version 2.0.6 - October 9, 2011
  3978. - Must initialise the donorpool mutex or it fails on windows.
  3979. - Don't make donation work interfere with block change detection allowing
  3980. donation to work regardless of the block chain we're mining on.
  3981. - Expire shares as stale with a separate timeout from the scantime, defaulting
  3982. to 120 seconds.
  3983. - Retry pools after a delay of 15 seconds if none can be contacted on startup
  3984. unless a key is pressed.
  3985. - Don't try to build adl features without having adl.
  3986. - Properly check shares against target difficulty - This will no longer show
  3987. shares when solo mining at all unless they're considered to be a block solve.
  3988. - Add altivec 4 way (cpu mining) support courtesy of Gilles Risch.
  3989. - Try to use SSL if the server supports it.
  3990. - Display the total solved blocks on exit (LOL if you're lucky).
  3991. - Use ADL activity report to tell us if a sick GPU is still busy suggesting it
  3992. is hard hung and do not attempt to restart it.
  3993. CGMiner Version 2.0.5 - September 27, 2011
  3994. - Intensity can now be set to dynamic or static values per-device.
  3995. - New donation feature --donation sends a proportion of shares to author's
  3996. account of choice, but is disabled by default!
  3997. - The hash being displayed and block detection has been fixed.
  3998. - Devices not being mined on will not attempt to be ADL managed.
  3999. - Intensity is now displayed per GPU device.
  4000. - Make longpoll attempt to restart as often as opt_retries specifies.
  4001. - We weren't rolling work as often as we could.
  4002. - Correct some memory management issues.
  4003. - Build fixes.
  4004. - Don't mess with GPUs if we don't have them.
  4005. CGMiner Version 2.0.4 - September 23, 2011
  4006. - Confused Longpoll messages should be finally fixed with cgminer knowing for
  4007. sure who found the new block and possibly avoiding a rare crash.
  4008. - Display now shows the actual hash and will say BLOCK! if a block is deemed
  4009. solved.
  4010. - Extra spaces, which would double space lines on small terminals, have been
  4011. removed.
  4012. - Fan speed change is now damped if it is already heading in the correct
  4013. direction to minimise overshoot.
  4014. - Building without opencl libraries is fixed.
  4015. - GPUs are autoselected if there is only one when in the GPU management menu.
  4016. - GPU menu is refreshed instead of returning to status after a GPU change.
  4017. CGMiner Version 2.0.3 - September 17, 2011
  4018. - Various modes of failure to set fanspeeds and adl values have been addressed
  4019. and auto-fan should work now on most hardware, and possibly other values
  4020. which previously would not have worked.
  4021. - Fixed a crash that can occur on switching pools due to longpoll thread races.
  4022. - Use ATISTREAMSDKROOT if available at build time.
  4023. - Fanspeed management is returned to the driver default on exit instead of
  4024. whatever it was when cgminer was started.
  4025. - Logging of events deemed WARNING or ERR now will display even during
  4026. periods where menu input is being awaited on.
  4027. CGMiner Version 2.0.2 - September 11, 2011
  4028. - Exit cleanly if we abort before various threads are set up or if they no
  4029. longer exist.
  4030. - Fix a rare crash in HASH_DEL due to using different mutexes to protect the
  4031. data.
  4032. - Flag devices that have never started and don't allow enabling of devices
  4033. without restarting them.
  4034. - Only force the adapter speed to high if we've flagged this device as being
  4035. managed.
  4036. - Flag any devices with autofan or autogpu as being managed.
  4037. - Use a re-entrant value to store what fanspeed we're trying to set in case the
  4038. card doesn't support small changes. Force it to a multiple of 10% if it
  4039. fails on trying to speed up the fan.
  4040. - Do not bother resetting values to old ones if changes to GPU parameters report
  4041. failure, instead returning a failure code only if the return value from get()
  4042. differs.
  4043. - Remove redundant check.
  4044. - Only display supported values from fanspeed on change settings.
  4045. - Missing bracket from output.
  4046. - Display fan percentage on devices that only support reporting percent and not
  4047. RPM.
  4048. - Properly substitute DLOPEN flags to build with ADL support when -ldl is needed
  4049. and not when opencl is not found.
  4050. CGMiner Version 2.0.1 - September 9, 2011
  4051. - Fix building on 32bit glibc with dlopen with -lpthread and -ldl
  4052. - ByteReverse is not used and the bswap opcode breaks big endian builds. Remove
  4053. it.
  4054. - Ignore whether the display is active or not since only display enabled devices
  4055. work this way, and we skip over repeat entries anwyay.
  4056. - Only reset values on exiting if we've ever modified them.
  4057. - Flag adl as active if any card is successfully activated.
  4058. - Add a thermal cutoff option as well and set it to 95 degrees by default.
  4059. - Change the fan speed by only 5% if it's over the target temperature but less
  4060. than the hysteresis value to minimise overshoot down in temperature.
  4061. - Add a --no-adl option to disable ADL monitoring and GPU settings.
  4062. - Only show longpoll received delayed message at verbose level.
  4063. - Allow temperatures greater than 100 degrees.
  4064. - We should be passing a float for the remainder of the vddc values.
  4065. - Implement accepting a range of engine speeds as well to allow a lower limit to
  4066. be specified on the command line.
  4067. - Allow per-device fan ranges to be set and use them in auto-fan mode.
  4068. - Display which GPU has overheated in warning message.
  4069. - Allow temperature targets to be set on a per-card basis on the command line.
  4070. - Display fan range in autofan status.
  4071. - Setting the hysteresis is unlikely to be useful on the fly and doesn't belong
  4072. in the per-gpu submenu.
  4073. - With many cards, the GPU summaries can be quite long so use a terse output
  4074. line when showing them all.
  4075. - Use a terser device status line to show fan RPM as well when available.
  4076. - Define max gpudevices in one macro.
  4077. - Allow adapterid 0 cards to enumerate as a device as they will be non-AMD
  4078. cards, and enable ADL on any AMD card.
  4079. - Do away with the increasingly confusing and irrelevant total queued and
  4080. efficiency measures per device.
  4081. - Only display values in the log if they're supported and standardise device log
  4082. line printing.
  4083. CGMiner Version 2.0.0 - September 6, 2011
  4084. Major feature upgrade - GPU monitoring, (over)clocking and fan control for ATI
  4085. GPUs.
  4086. New command line switches:
  4087. --auto-fan- Automatically adjust all GPU fan speeds to maintain a target
  4088. temperature
  4089. --auto-gpu- Automatically adjust all GPU engine clock speeds to maintain
  4090. a target temperature
  4091. --gpu-engine <arg> Set the GPU engine (over)clock in Mhz - one value for all or
  4092. separate by commas for per card.
  4093. --gpu-fan <arg> Set the GPU fan percentage - one value for all or separate
  4094. by commas for per card.
  4095. --gpu-memclock <arg> Set the GPU memory (over)clock in Mhz - one value for all
  4096. or separate by commas for per card.
  4097. --gpu-powertune <arg> Set the GPU powertune percentage - one value for all or
  4098. separate by commas for per card.
  4099. --gpu-vddc <arg> Set the GPU voltage in Volts - one value for all or separate
  4100. by commas for per card.
  4101. --temp-hysteresis <arg> Set how much the temperature can fluctuate outside
  4102. limits when automanaging speeds (default: 3)
  4103. --temp-overheat <arg> Set the overheat temperature when automatically managing
  4104. fan and GPU speeds (default: 85)
  4105. --temp-target <arg> Set the target temperature when automatically managing fan
  4106. and GPU speeds (default: 75)
  4107. - Implement ATI ADL support for GPU parameter monitoring now and setting later
  4108. (temp, fan, clocks etc.).
  4109. - Check for the presence of the ADL header files in ADL_SDK.
  4110. - Import adl_functions.h from amd overdrive ctrl.
  4111. - Implement a setup function that tries to detect GPUs that support the ADL and
  4112. link in the parameters into the gpus struct.
  4113. - Put a summary of monitoring information from the GPU menu.
  4114. - Implement changing memory speed and voltage on the fly.
  4115. - Implement fan speed setting.
  4116. - Minor corrections to set fan speed by percentage.
  4117. - Make sure to read off the value in RPM only.
  4118. - Implement auto fanspeed adjustment to maintain a target temperature and
  4119. fanspeed below 85%, with an overheat check that will speed the fan up to 100%.
  4120. - Add an --auto-fan command line option to allow all GPUs to have autofan
  4121. enabled from startup.
  4122. - Add a gpu autotune option which adjusts GPU speed to maintain a target
  4123. temperature within the bounds of the default GPU speed and any overclocking set.
  4124. - Avoid a dereference if the longpoll thread doesn't exist.
  4125. - Clean up by setting performance profiles and fan settings to startup levels on
  4126. exit.
  4127. - Add a small amount of hysteresis before lowering clock speed.
  4128. - Allow target, overheat and hysteresis temperatures to be set from command
  4129. line.
  4130. - Combine all stats collating into one function to avoid repeating function
  4131. calls on each variable.
  4132. - Add gpu statistics to debugging output via the watchdog thread.
  4133. - Implement menus to change temperature limits.
  4134. - Implement setting the GPU engine clock speed of all devices or each device as
  4135. a comma separated value.
  4136. - Implement setting the GPU memory clock speed of all devices or each device as
  4137. a comma separated value.
  4138. - Implement setting the GPU voltage of all devices or each device as a comma
  4139. separated value.
  4140. - Implement setting the GPU fan speed of all devices or each device as a comma
  4141. separated value.
  4142. - Add support for monitoring powertune setting.
  4143. - Implement changing of powertune value from the GPU change settings menu.
  4144. - Get the value of powertune in get_stats.
  4145. - Implement setting the GPU powertune value of all devices or each device as a
  4146. comma separated value.
  4147. - Remove the safety checks in speed setting since confirmation is done first in
  4148. the menu, then show the new current values after a short pause.
  4149. - Force the speed to high on startup and restore it to whatever the setting was
  4150. on exit.
  4151. - Add temperature to standard output where possible and use more compact output.
  4152. - Move and print at the same time in curses to avoid random trampling display
  4153. errors.
  4154. - Update the status window only from the watchdog thread, do not rewrite the top
  4155. status messages and only refresh once all the status window is complete,
  4156. clearing the window each time to avoid corruption.
  4157. - Set a safe starting fan speed if we're automanaging the speeds.
  4158. - Provide locking around all adl calls to prevent races.
  4159. - Lower profile settings cannot be higher than higher profile ones so link any
  4160. drops in settings.
  4161. - Add new needed text files to distribution.
  4162. - Queue requests ignoring the number of staged clones since they get discarded
  4163. very easily leading to false positives for pool not providing work fast enough.
  4164. - Include libgen.h in opt.c to fix win32 compilation warnings.
  4165. - Fix compilation warning on win32.
  4166. - Add the directory name from the arguments cgminer was called from as well to
  4167. allow it running from a relative pathname.
  4168. - Add a --disable-adl option to configure and only enable it if opencl support
  4169. exists.
  4170. - Retry before returning a failure to get upstream work as a failure to avoid
  4171. false positives for pool dead.
  4172. - Retry also if the decoding of work fails.
  4173. - Use the presence of X-Roll-Ntime in the header as a bool for exists unless N
  4174. is found in the response.
  4175. CGMiner Version 1.6.2 - September 2, 2011
  4176. - Add --failover-only option to not leak work to backup pools when the primary
  4177. pool is lagging.
  4178. - Change recommendation to intensity 9 for dedicated miners.
  4179. - Fix the bouncing short term value by allowing it to change dynamically when
  4180. the latest value is very different from the rolling value, but damp the change
  4181. when it gets close.
  4182. - Use the curses_lock to protect the curses_active variable and test it under
  4183. lock.
  4184. - Go back to requesting work 2/3 of the way through the current scantime with
  4185. CPU mining as reports of mining threads running out of work have occurred with
  4186. only 5 seconds to retrieve work.
  4187. - Add start and stop time scheduling for regular time of day running or once off
  4188. start/stop options.
  4189. - Print summary on quit modes.
  4190. - Put some sanity checks on the times that can be input.
  4191. - Give a verbose message when no active pools are found and pause before
  4192. exiting.
  4193. - Add verbose message when a GPU fails to initialise, and disable the correct
  4194. GPU.
  4195. - Cryptopp asm32 was not correctly updated to the incremental nonce code so the
  4196. hash counter was bogus.
  4197. - Get rid of poorly executed curl check.
  4198. - If curl does not have sockopts, do not try to compile the
  4199. json_rpc_call_sockopt_cb function, making it possible to build against older
  4200. curl libraries.
  4201. - Most people expect /usr/local when an unspecified prefix is used so change to
  4202. that.
  4203. - Rename localgen occasions to getwork fail occasions since localgen is
  4204. unrelated now.
  4205. CGMiner Version 1.6.1 - August 29, 2011
  4206. - Copy cgminer path, not cat it.
  4207. - Switching between redrawing windows does not fix the crash with old
  4208. libncurses, so redraw both windows, but only when the window size hasn't
  4209. changed.
  4210. - Reinstate minimum 1 extra in queue to make it extremely unlikely to ever have
  4211. 0 staged work items and any idle time.
  4212. - Return -1 if no input is detected from the menu to prevent it being
  4213. interpreted as a 0.
  4214. - Make pthread, libcurl and libcurses library checks mandatory or fail.
  4215. - Add a --disable-opencl configure option to make it possible to override
  4216. detection of opencl and build without GPU mining support.
  4217. - Confusion over the variable name for number of devices was passing a bogus
  4218. value which likely was causing the zero sized binary issue.
  4219. - cgminer no longer supports default url user and pass so remove them.
  4220. - Don't show value of intensity since it's dynamic by default.
  4221. - Add options to explicitly enable CPU mining or disable GPU mining.
  4222. - Convert the opt queue into a minimum number of work items to have queued
  4223. instead of an extra number to decrease risk of getting idle devices without
  4224. increasing risk of higher rejects.
  4225. - Statify tv_sort.
  4226. - Check for SSE2 before trying to build 32 bit SSE2 assembly version. Prevents
  4227. build failure when yasm is installed but -msse2 is not specified.
  4228. - Add some defines to configure.ac to enable exporting of values and packaging,
  4229. and clean up output.
  4230. - Give convenient summary at end of ./configure.
  4231. - Display version information and add --version command line option, and make
  4232. sure we flush stdout.
  4233. - Enable curses after the mining threads are set up so that failure messages
  4234. won't be lost in the curses interface.
  4235. - Disable curses after inputting a pool if we requested no curses interface.
  4236. - Add an option to break out after successfully mining a number of accepted
  4237. shares.
  4238. - Exit with a failed return code if we did not reach opt_shares.
  4239. - The cpu mining work data can get modified before we copy it if we submit it
  4240. async, and the sync submission is not truly sync anyway, so just submit it sync.
  4241. CGMiner Version 1.6.0 - August 26, 2011
  4242. - Make restarting of GPUs optional for systems that hang on any attempt to
  4243. restart them. Fix DEAD status by comparing it to last live time rather than
  4244. last attempted restart time since that happens every minute.
  4245. - Move staged threads to hashes so we can sort them by time.
  4246. - Create a hash list of all the blocks created and search them to detect when a
  4247. new block has definitely appeared, using that information to detect stale work
  4248. and discard it.
  4249. - Update configure.ac for newer autoconf tools.
  4250. - Use the new hashes directly for counts instead of the fragile counters
  4251. currently in use.
  4252. - Update to latest sse2 code from cpuminer-ng.
  4253. - Allow LP to reset block detect and block detect lp flags to know who really
  4254. came first.
  4255. - Get start times just before mining begins to not have very slow rise in
  4256. average.
  4257. - Add message about needing one server.
  4258. - We can queue all the necessary work without hitting frequent stales now with
  4259. the time and string stale protection active all the time. This prevents a
  4260. pool being falsely labelled as not providing work fast enough.
  4261. - Include uthash.h in distro.
  4262. - Implement SSE2 32 bit assembly algorithm as well.
  4263. - Fail gracefully if unable to open the opencl files.
  4264. - Make cgminer look in the install directory for the .cl files making make
  4265. install work correctly.
  4266. - Allow a custom kernel path to be entered on the command line.
  4267. - Bump threshhold for lag up to maximum queued but no staged work.
  4268. - Remove fragile source patching for bitalign, vectors et. al and simply pass it
  4269. with the compiler options.
  4270. - Actually check the value returned for the x-roll-ntime extension to make sure
  4271. it isn't saying N.
  4272. - Prevent segfault on exit for when accessory threads don't exist.
  4273. - Disable curl debugging with opt protocol since it spews to stderr.
  4274. CGMiner Version 1.5.8 - August 23, 2011
  4275. - Minimise how much more work can be given in cpu mining threads each interval.
  4276. - Make the fail-pause progressively longer each time it fails until the network
  4277. recovers.
  4278. - Only display the lagging message if we've requested the work earlier.
  4279. - Clean up the pool switching to not be dependent on whether the work can roll
  4280. or not by setting a lagging flag and then the idle flag.
  4281. - Only use one thread to determine if a GPU is sick or well, and make sure to
  4282. reset the sick restart attempt time.
  4283. - The worksize was unintentionally changed back to 4k by mistake, this caused a
  4284. slowdown.
  4285. CGMiner Version 1.5.7 - August 22, 2011
  4286. - Fix a crash with --algo auto
  4287. - Test at appropriate target difficulty now.
  4288. - Add per-device statics log output with --per-device-stats
  4289. - Fix breakage that occurs when 1 or 4 vectors are chosen on new phatk.
  4290. - Make rolltime report debug level only now since we check it every work
  4291. item.
  4292. - Add the ability to enable/disable per-device stats on the fly and match
  4293. logging on/off.
  4294. - Explicitly tell the compiler to retain the program to minimise the chance of
  4295. the zero sized binary errors.
  4296. - Add one more instruction to avoid one branch point in the common path in the
  4297. cl return code. Although this adds more ALUs overall and more branch points, the
  4298. common path code has the same number of ALUs and one less jmp, jmps being more
  4299. expensive.
  4300. - Explicitly link in ws2_32 on the windows build and update README file on how
  4301. to compile successfully on windows.
  4302. - Release cl resources should the gpu mining thread abort.
  4303. - Attempt to restart a GPU once every minute while it's sick.
  4304. - Don't kill off the reinit thread if it fails to init a GPU but returns safely.
  4305. - Only declare a GPU dead if there's been no sign of activity from the reinit
  4306. thread for 10 mins.
  4307. - Never automatically disable any pools but just specify them as idle if they're
  4308. unresponsive at startup.
  4309. - Use any longpoll available, and don't disable it if switching to a server that
  4310. doesn't have it. This allows you to mine solo, yet use the longpoll from a pool
  4311. even if the pool is the backup server.
  4312. - Display which longpoll failed and don't free the ram for lp_url since it
  4313. belongs to the pool hdr path.
  4314. - Make the tcp setsockopts unique to linux in the hope it allows freebsd et. al
  4315. to compile.
  4316. CGMiner Version 1.5.6 - August 17, 2011
  4317. - New phatk and poclbm kernels. Updated phatk to be in sync with latest 2.2
  4318. courtesy of phateus. Custom modified to work best with cgminer.
  4319. - Updated output buffer code to use a smaller buffer with the kernels.
  4320. - Clean up the longpoll management to ensure the right paths go to the right
  4321. pool and display whether we're connected to LP or not in the status line.
  4322. CGMiner Version 1.5.5 - August 16, 2011
  4323. - Rework entirely the GPU restart code. Strike a balance between code that
  4324. re-initialises the GPU entirely so that soft hangs in the code are properly
  4325. managed, but if a GPU is completely hung, the thread restart code fails
  4326. gracefully, so that it does not take out any other code or devices. This will
  4327. allow cgminer to keep restarting GPUs that can be restarted, but continue
  4328. mining even if one or more GPUs hangs which would normally require a reboot.
  4329. - Add --submit-stale option which submits all shares, regardless of whether they
  4330. would normally be considered stale.
  4331. - Keep options in alphabetical order.
  4332. - Probe for slightly longer for when network conditions are lagging.
  4333. - Only display the CPU algo when we're CPU mining.
  4334. - As we have keepalives now, blaming network flakiness on timeouts appears to
  4335. have been wrong. Set a timeout for longpoll to 1 hour, and most other
  4336. network connectivity to 1 minute.
  4337. - Simplify output code and remove HW errors from CPU stats.
  4338. - Simplify code and tidy output.
  4339. - Only show cpu algo in summary if cpu mining.
  4340. - Log summary at the end as per any other output.
  4341. - Flush output.
  4342. - Add a linux-usb-cgminer guide courtesy of Kano.
  4343. CGMiner Version 1.5.4 - August 14, 2011
  4344. - Add new option: --monitor <cmd> Option lets user specify a command <cmd> that
  4345. will get forked by cgminer on startup. cgminer's stderr output subsequently gets
  4346. piped directly to this command.
  4347. - Allocate work from one function to be able to initialise variables added
  4348. later.
  4349. - Add missing fflush(stdout) for --ndevs and conclusion summary.
  4350. - Preinitialise the devices only once on startup.
  4351. - Move the non cl_ variables into the cgpu info struct to allow creating a new
  4352. cl state on reinit, preserving known GPU variables.
  4353. - Create a new context from scratch in initCQ in case something was corrupted to
  4354. maximise our chance of succesfully creating a new worker thread. Hopefully this
  4355. makes thread restart on GPU failure more reliable, without hanging everything
  4356. in the case of a completely wedged GPU.
  4357. - Display last initialised time in gpu management info, to know if a GPU has
  4358. been re-initialised.
  4359. - When pinging a sick cpu, flush finish and then ping it in a separate thread in
  4360. the hope it recovers without needing a restart, but without blocking code
  4361. elsewhere.
  4362. - Only consider a pool lagging if we actually need the work and we have none
  4363. staged despite queue requests stacking up. This decreases significantly the
  4364. amount of work that leaks to the backup pools.
  4365. - The can_roll function fails inappropriately in stale_work.
  4366. - Only put the message that a pool is down if not pinging it every minute. This
  4367. prevents cgminer from saying pool down at 1 minute intervals unless in debug
  4368. mode.
  4369. - Free all work in one place allowing us to perform actions on it in the future.
  4370. - Remove the extra shift in the output code which was of dubious benefit. In
  4371. fact in cgminer's implementation, removing this caused a miniscule speedup.
  4372. - Test each work item to see if it can be rolled instead of per-pool and roll
  4373. whenever possible, adhering to the 60 second timeout. This makes the period
  4374. after a longpoll have smaller dips in throughput, as well as requiring less
  4375. getworks overall thus increasing efficiency.
  4376. - Stick to rolling only work from the current pool unless we're in load balance
  4377. mode or lagging to avoid aggressive rolling imitating load balancing.
  4378. - If a work item has had any mining done on it, don't consider it discarded
  4379. work.
  4380. CGMiner Version 1.5.3 - July 30, 2011
  4381. - Significant work went into attempting to make the thread restart code robust
  4382. to identify sick threads, tag them SICK after 1 minute, then DEAD after 5
  4383. minutes of inactivity and try to restart them. Instead of re-initialising the
  4384. GPU completely, only a new cl context is created to avoid hanging the rest of
  4385. the GPUs should the dead GPU be hung irrevocably.
  4386. - Use correct application name in syslog.
  4387. - Get rid of extra line feeds.
  4388. - Use pkg-config to check for libcurl version
  4389. - Implement per-thread getwork count with proper accounting to not over-account
  4390. queued items when local work replaces it.
  4391. - Create a command queue from the program created from source which allows us
  4392. to flush the command queue in the hope it will not generate a zero sized binary
  4393. any more.
  4394. - Be more willing to get work from the backup pools if the work is simply being
  4395. queued faster than it is being retrieved.
  4396. CGMiner Version 1.5.2 - July 28, 2011
  4397. - Restarting a hung GPU can hang the rest of the GPUs so just declare it dead
  4398. and provide the information in the status.
  4399. - The work length in the miner thread gets smaller but doesn't get bigger if
  4400. it's under 1 second. This could end up leading to CPU under-utilisation and
  4401. lower and lower hash rates. Fix it by increasing work length if it drops
  4402. under 1 second.
  4403. - Make the "quiet" mode still update the status and display errors, and add a
  4404. new --real-quiet option which disables all output and can be set once while
  4405. running.
  4406. - Update utility and efficiency figures when displaying them.
  4407. - Some Intel HD graphics support the opencl commands but return errors since
  4408. they don't support opencl. Don't fail with them, just provide a warning and
  4409. disable GPU mining.
  4410. - Add http:// if it's not explicitly set for URL entries.
  4411. - Log to the output file at any time with warnings and errors, instead of just
  4412. when verbose mode is on.
  4413. - Display the correct current hash as per blockexplorer, truncated to 16
  4414. characters, with just the time.
  4415. CGMiner Version 1.5.1 - July 27, 2011
  4416. - Two redraws in a row cause a crash in old libncurses so just do one redraw
  4417. using the main window.
  4418. - Don't adjust hash_div only up for GPUs. Disable hash_div adjustment for GPUs.
  4419. - Only free the thread structures if the thread still exists.
  4420. - Update both windows separately, but not at the same time to prevent the double
  4421. refresh crash that old libncurses has. Do the window resize check only when
  4422. about to redraw the log window to minimise ncurses cpu usage.
  4423. - Abstract out the decay time function and use it to make hash_div a rolling
  4424. average so it doesn't change too abruptly and divide work in chunks large enough
  4425. to guarantee they won't overlap.
  4426. - Sanity check to prove locking.
  4427. - Don't take more than one lock at a time.
  4428. - Make threads report out when they're queueing a request and report if they've
  4429. failed.
  4430. - Make cpu mining work submission asynchronous as well.
  4431. - Properly detect stale work based on time from staging and discard instead of
  4432. handing on, but be more lax about how long work can be divided for up to the
  4433. scantime.
  4434. - Do away with queueing work separately at the start and let each thread grab
  4435. its own work as soon as it's ready.
  4436. - Don't put an extra work item in the queue as each new device thread will do so
  4437. itself.
  4438. - Make sure to decrease queued count if we discard the work.
  4439. - Attribute split work as local work generation.
  4440. - If work has been cloned it is already at the head of the list and when being
  4441. reinserted into the queue it should be placed back at the head of the list.
  4442. - Dividing work is like the work is never removed at all so treat it as such.
  4443. However the queued bool needs to be reset to ensure we *can* request more work
  4444. even if we didn't initially.
  4445. - Make the display options clearer.
  4446. - Add debugging output to tq_push calls.
  4447. - Add debugging output to all tq_pop calls.
  4448. CGMiner Version 1.5.0 - July 26, 2011
  4449. - Increase efficiency of slow mining threads such as CPU miners dramatically. Do
  4450. this by detecting which threads cannot complete searching a work item within the
  4451. scantime and then divide up a work item into multiple smaller work items.
  4452. Detect the age of the work items and if they've been cloned before to prevent
  4453. doing the same work over. If the work is too old to be divided, then see if it
  4454. can be time rolled and do that to generate work. This dramatically decreases the
  4455. number of queued work items from a pool leading to higher overall efficiency
  4456. (but the same hashrate and share submission rate).
  4457. - Don't request work too early for CPUs as CPUs will scan for the full
  4458. opt_scantime anyway.
  4459. - Simplify gpu management enable/disable/restart code.
  4460. - Implement much more accurate rolling statistics per thread and per gpu and
  4461. improve accuracy of rolling displayed values.
  4462. - Make the rolling log-second average more accurate.
  4463. - Add a menu to manage GPUs on the fly allowing you to enable/disable GPUs or
  4464. try restarting them.
  4465. - Keep track of which GPUs are alive versus enabled.
  4466. - Start threads for devices that are even disabled, but don't allow them to
  4467. start working.
  4468. - The last pool is when we are low in total_pools, not active_pools.
  4469. - Make the thread restart do a pthread_join after disabling the device, only
  4470. re-enabling it if we succeed in restarting the thread. Do this from a separate
  4471. thread so as to not block any other code.This will allow cgminer to continue
  4472. even if one GPU hangs.
  4473. - Try to do every curses manipulation under the curses lock.
  4474. - Only use the sockoptfunction if the version of curl is recent enough.
  4475. CGMiner Version 1.4.1 - July 24, 2011
  4476. - Do away with GET for dealing with longpoll forever. POST is the one that works
  4477. everywhere, not the other way around.
  4478. - Detect when the primary pool is lagging and start queueing requests on backup
  4479. pools if possible before needing to roll work.
  4480. - Load balancing puts more into the current pool if there are disabled pools.
  4481. Fix.
  4482. - Disable a GPU device should the thread fail to init.
  4483. - Out of order command queue may fail on osx. Try without if it fails.
  4484. - Fix possible dereference on blank inputs during input_pool.
  4485. - Defines missing would segfault on --help when no sse mining is built in.
  4486. - Revert "Free up resources/stale compilers." - didn't help.
  4487. - Only try to print the status of active devices or it would crash.
  4488. - Some hardware might benefit from the less OPS so there's no harm in leaving
  4489. kernel changes that do that apart from readability of the code.
  4490. CGMiner Version 1.4.0 - July 23, 2011
  4491. - Feature upgrade: Add keyboard input during runtime to allow modification of
  4492. and viewing of numerous settings such as adding/removing pools, changing
  4493. multipool management strategy, switching pools, changing intensiy, verbosity,
  4494. etc. with a simple keypress menu system.
  4495. - Free up resources/stale compilers.
  4496. - Kernels are safely flushed in a way that allows out of order execution to
  4497. work.
  4498. - Sometimes the cl compiler generates zero sized binaries and only a reboot
  4499. seems to fix it.
  4500. - Don't try to stop/cancel threads that don't exist.
  4501. - Only set option to show devices and exit if built with opencl support.
  4502. - Enable curses earlier and exit with message in main for messages to not be
  4503. lost in curses windows.
  4504. - Make it possible to enter server credentials with curses input if none are
  4505. specified on the command line.
  4506. - Abstract out a curses input function and separate input pool function to allow
  4507. for live adding of pools later.
  4508. - Remove the nil arguments check to allow starting without parameters.
  4509. - Disable/enable echo & cbreak modes.
  4510. - Add a thread that takes keyboard input and allow for quit, silent, debug,
  4511. verbose, normal, rpc protocol debugging and clear screen options.
  4512. - Add pool option to input and display current pool status, pending code to
  4513. allow live changes.
  4514. - Add a bool for explicit enabling/disabling of pools.
  4515. - Make input pool capable of bringing up pools while running.
  4516. - Do one last check of the work before submitting it.
  4517. - Implement the ability to live add, enable, disable, and switch to pools.
  4518. - Only internally test for block changes when the work matches the current pool
  4519. to prevent interleaved block change timing on multipools.
  4520. - Display current pool management strategy to enable changing it on the fly.
  4521. - The longpoll blanking of the current_block data may not be happening before
  4522. the work is converted and appears to be a detected block change. Blank the
  4523. current block be
  4524. - Make --no-longpoll work again.
  4525. - Abstract out active pools count.
  4526. - Allow the pool strategy to be modified on the fly.
  4527. - Display pool information on the fly as well.
  4528. - Add a menu and separate out display options.
  4529. - Clean up the messy way the staging thread communicates with the longpoll
  4530. thread to determine who found the block first.
  4531. - Make the input windows update immediately instead of needing a refresh.
  4532. - Allow log interval to be set in the menu.
  4533. - Allow scan settings to be modified at runtime.
  4534. - Abstract out the longpoll start and explicitly restart it on pool change.
  4535. - Make it possible to enable/disable longpoll.
  4536. - Set priority correctly on multipools. Display priority and alive/dead
  4537. information in display_pools.
  4538. - Implement pool removal.
  4539. - Limit rolltime work generation to 10 iterations only.
  4540. - Decrease testing log to info level.
  4541. - Extra refresh not required.
  4542. - With huge variation in GPU performance, allow intensity to go from -10 to +10.
  4543. - Tell getwork how much of a work item we're likely to complete for future
  4544. splitting up of work.
  4545. - Remove the mandatory work requirement at startup by testing for invalid work
  4546. being passed which allows for work to be queued immediately. This also
  4547. removes the requirem
  4548. - Make sure intensity is carried over to thread count and is at least the
  4549. minimum necessary to work.
  4550. - Unlocking error on retry. Locking unnecessary anyway so remove it.
  4551. - Clear log window from consistent place. No need for locking since logging is
  4552. disabled during input.
  4553. - Cannot print the status of threads that don't exist so just queue enough work
  4554. for the number of mining threads to prevent crash with -Q N.
  4555. - Update phatk kernel to one with new parameters for slightly less overhead
  4556. again. Make the queue kernel parameters call a function pointer to select
  4557. phatk or poclbm.
  4558. - Make it possible to select the choice of kernel on the command line.
  4559. - Simplify the output part of the kernel. There's no demonstrable advantage from
  4560. more complexity.
  4561. - Merge pull request #18 from ycros/cgminer
  4562. - No need to make leaveok changes win32 only.
  4563. - Build support in for all SSE if possible and only set the default according to
  4564. machine capabilities.
  4565. - Win32 threading and longpoll keepalive fixes.
  4566. - Win32: Fix for mangled output on the terminal on exit.
  4567. CGMiner Version 1.3.1 - July 20, 2011
  4568. - Feature upgrade; Multiple strategies for failover. Choose from default which
  4569. now falls back to a priority order from 1st to last, round robin which only
  4570. changes pools when one is idle, rotate which changes pools at user-defined
  4571. intervals, and load-balance which spreads the work evenly amongst all pools.
  4572. - Implement pool rotation strategy.
  4573. - Implement load balancing algorithm by rotating requests to each pool.
  4574. - Timeout on failed discarding of staged requests.
  4575. - Implement proper flagging of idle pools, test them with the watchdog thread,
  4576. and failover correctly.
  4577. - Move pool active test to own function.
  4578. - Allow multiple strategies to be set for multipool management.
  4579. - Track pool number.
  4580. - Don't waste the work items queued on testing the pools at startup.
  4581. - Reinstate the mining thread watchdog restart.
  4582. - Add a getpoll bool into the thread information and don't restart threads stuck
  4583. waiting on work.
  4584. - Rename the idlenet bool for the pool for later use.
  4585. - Allow the user/pass userpass urls to be input in any order.
  4586. - When json rpc errors occur they occur in spits and starts, so trying to limit
  4587. them with the comms error bool doesn't stop a flood of them appearing.
  4588. - Reset the queued count to allow more work to be queued for the new pool on
  4589. pool switch.
  4590. CGMiner Version 1.3.0 - July 19, 2011
  4591. - Massive infrastructure update to support pool failover.
  4592. - Accept multiple parameters for url, user and pass and set up structures of
  4593. pool data accordingly.
  4594. - Probe each pool for what it supports.
  4595. - Implement per pool feature support according to rolltime support as
  4596. advertised by server.
  4597. - Do switching automatically based on a 300 second timeout of locally generated
  4598. work or 60 seconds of no response from a server that doesn't support rolltime.
  4599. - Implement longpoll server switching.
  4600. - Keep per-pool data and display accordingly.
  4601. - Make sure cgminer knows how long the pool has actually been out for before
  4602. deeming it a prolonged outage.
  4603. - Fix bug with ever increasing staged work in 1.2.8 that eventually caused
  4604. infinite rejects.
  4605. - Make warning about empty http requests not show by default since many
  4606. servers do this regularly.
  4607. CGMiner Version 1.2.8 - July 18, 2011
  4608. - More OSX build fixes.
  4609. - Add an sse4 algorithm to CPU mining.
  4610. - Fix CPU mining with other algorithms not working.
  4611. - Rename the poclbm file to ensure a new binary is built since.
  4612. - We now are guaranteed to have one fresh work item after a block change and we
  4613. should only discard staged requests.
  4614. - Don't waste the work we retrieve from a longpoll.
  4615. - Provide a control lock around global bools to avoid racing on them.
  4616. - Iterating over 1026 nonces when confirming data from the GPU is old code
  4617. and unnecessary and can lead to repeats/stales.
  4618. - The poclbm kernel needs to be updated to work with the change to 4k sized
  4619. output buffers.
  4620. - longpoll seems to work either way with post or get but some servers prefer
  4621. get so change to httpget.
  4622. CGMiner Version 1.2.7 - July 16, 2011
  4623. - Show last 8 characters of share submitted in log.
  4624. - Display URL connected to and user logged in as in status.
  4625. - Display current block and when it was started in the status line.
  4626. - Only pthread_join the mining threads if they exist as determined by
  4627. pthread_cancel and don't fail on pthread_cancel.
  4628. - Create a unique work queue for all getworks instead of binding it to thread 0
  4629. to avoid any conflict over thread 0's queue.
  4630. - Clean up the code to make it clear it's watchdog thread being messaged to
  4631. restart the threads.
  4632. - Check the current block description hasn't been blanked pending the real
  4633. new current block data.
  4634. - Re-enable signal handlers once the signal has been received to make it
  4635. possible to kill cgminer if it fails to shut down.
  4636. - Disable restarting of CPU mining threads pending further investigation.
  4637. - Update longpoll messages.
  4638. - Add new block data to status line.
  4639. - Fix opencl tests for osx.
  4640. - Only do local generation of work if the work item is not stale itself.
  4641. - Check for stale work within the mining threads and grab new work if
  4642. positive.
  4643. - Test for idle network conditions and prevent threads from being restarted
  4644. by the watchdog thread under those circumstances.
  4645. - Make sure that local work generation does not continue indefinitely by
  4646. stopping it after 10 minutes.
  4647. - Tweak the kernel to have a shorter path using a 4k buffer and a mask on the
  4648. nonce value instead of a compare and loop for a shorter code path.
  4649. - Allow queue of zero and make that default again now that we can track how
  4650. work is being queued versus staged. This can decrease reject rates.
  4651. - Queue precisely the number of mining threads as longpoll_staged after a
  4652. new block to not generate local work.
  4653. CGMiner Version 1.2.6 - July 15, 2011
  4654. - Put a current system status line beneath the total work status line
  4655. - Fix a counting error that would prevent cgminer from correctly detecting
  4656. situations where getwork was failing - this would cause stalls sometimes
  4657. unrecoverably.
  4658. - Limit the maximum number of requests that can be put into the queue which
  4659. otherwise could get arbitrarily long during a network outage.
  4660. - Only count getworks that are real queue requests.
  4661. CGMiner Version 1.2.5 - July 15, 2011
  4662. - Conflicting -n options corrected
  4663. - Setting an intensity with -I disables dynamic intensity setting
  4664. - Removed option to manually disable dynamic intensity
  4665. - Improve display output
  4666. - Implement signal handler and attempt to clean up properly on exit
  4667. - Only restart threads that are not stuck waiting on mandatory getworks
  4668. - Compatibility changes courtesy of Ycros to build on mingw32 and osx
  4669. - Explicitly grab first work item to prevent false positive hardware errors
  4670. due to working on uninitialised work structs
  4671. - Add option for non curses --text-only output
  4672. - Ensure we connect at least once successfully before continuing to retry to
  4673. connect in case url/login parameters were wrong
  4674. - Print an executive summary when cgminer is terminated
  4675. - Make sure to refresh the status window
  4676. CGMiner Versions -> 1.2.4
  4677. - Con Kolivas - July 2011. New maintainership of code under cgminer name.
  4678. - Massive rewrite to incorporate GPU mining.
  4679. - Incorporate original oclminer c code.
  4680. - Rewrite gpu mining code to efficient work loops.
  4681. - Implement per-card detection and settings.
  4682. - Implement vector code.
  4683. - Implement bfi int patching.
  4684. - Import poclbm and phatk ocl kernels and use according to hardware type.
  4685. - Implement customised optimised versions of opencl kernels.
  4686. - Implement binary kernel generation and loading.
  4687. - Implement preemptive asynchronous threaded work gathering and pushing.
  4688. - Implement variable length extra work queues.
  4689. - Optimise workloads to be efficient miners instead of getting lots of extra
  4690. work.
  4691. - Implement total hash throughput counters, per-card accepted, rejected and
  4692. hw error count.
  4693. - Staging and watchdog threads to prevent fallover.
  4694. - Stale and reject share guarding.
  4695. - Autodetection of new blocks without longpoll.
  4696. - Dynamic setting of intensity to maintain desktop interactivity.
  4697. - Curses interface with generous statistics and information.
  4698. - Local generation of work (xroll ntime) when detecting poor network
  4699. connectivity.
  4700. cpuminer Version 1.0.2
  4701. - Linux x86_64 optimisations - Con Kolivas
  4702. - Optimise for x86_64 by default by using sse2_64 algo
  4703. - Detects CPUs and sets number of threads accordingly
  4704. - Uses CPU affinity for each thread where appropriate
  4705. - Sets scheduling policy to lowest possible
  4706. - Minor performance tweaks
  4707. cpuminer Version 1.0.1 - May 14, 2011
  4708. - OSX support
  4709. cpuminer Version 1.0 - May 9, 2011
  4710. - jansson 2.0 compatibility
  4711. - correct off-by-one in date (month) display output
  4712. - fix platform detection
  4713. - improve yasm configure bits
  4714. - support full URL, in X-Long-Polling header
  4715. cpuminer Version 0.8.1 - March 22, 2011
  4716. - Make --user, --pass actually work
  4717. - Add User-Agent HTTP header to requests, so that server operators may
  4718. more easily identify the miner client.
  4719. - Fix minor bug in example JSON config file
  4720. cpuminer Version 0.8 - March 21, 2011
  4721. - Support long polling: http://deepbit.net/longpolling.php
  4722. - Adjust max workload based on scantime (default 5 seconds,
  4723. or 60 seconds for longpoll)
  4724. - Standardize program output, and support syslog on Unix platforms
  4725. - Suport --user/--pass options (and "user" and "pass" in config file),
  4726. as an alternative to the current --userpass
  4727. cpuminer Version 0.7.2 - March 14, 2011
  4728. - Add port of ufasoft's sse2 assembly implementation (Linux only)
  4729. This is a substantial speed improvement on Intel CPUs.
  4730. - Move all JSON-RPC I/O to separate thread. This reduces the
  4731. number of HTTP connections from one-per-thread to one, reducing resource
  4732. usage on upstream bitcoind / pool server.
  4733. cpuminer Version 0.7.1 - March 2, 2011
  4734. - Add support for JSON-format configuration file. See example
  4735. file example-cfg.json. Any long argument on the command line
  4736. may be stored in the config file.
  4737. - Timestamp each solution found
  4738. - Improve sha256_4way performance. NOTE: This optimization makes
  4739. the 'hash' debug-print output for sha256_way incorrect.
  4740. - Use __builtin_expect() intrinsic as compiler micro-optimization
  4741. - Build on Intel compiler
  4742. - HTTP library now follows HTTP redirects
  4743. cpuminer Version 0.7 - February 12, 2011
  4744. - Re-use CURL object, thereby reuseing DNS cache and HTTP connections
  4745. - Use bswap_32, if compiler intrinsic is not available
  4746. - Disable full target validation (as opposed to simply H==0) for now
  4747. cpuminer Version 0.6.1 - February 4, 2011
  4748. - Fully validate "hash < target", rather than simply stopping our scan
  4749. if the high 32 bits are 00000000.
  4750. - Add --retry-pause, to set length of pause time between failure retries
  4751. - Display proof-of-work hash and target, if -D (debug mode) enabled
  4752. - Fix max-nonce auto-adjustment to actually work. This means if your
  4753. scan takes longer than 5 seconds (--scantime), the miner will slowly
  4754. reduce the number of hashes you work on, before fetching a new work unit.
  4755. cpuminer Version 0.6 - January 29, 2011
  4756. - Fetch new work unit, if scanhash takes longer than 5 seconds (--scantime)
  4757. - BeeCee1's sha256 4way optimizations
  4758. - lfm's byte swap optimization (improves via, cryptopp)
  4759. - Fix non-working short options -q, -r
  4760. cpuminer Version 0.5 - December 28, 2010
  4761. - Exit program, when all threads have exited
  4762. - Improve JSON-RPC failure diagnostics and resilience
  4763. - Add --quiet option, to disable hashmeter output.
  4764. cpuminer Version 0.3.3 - December 27, 2010
  4765. - Critical fix for sha256_cryptopp 'cryptopp_asm' algo
  4766. cpuminer Version 0.3.2 - December 23, 2010
  4767. - Critical fix for sha256_via
  4768. cpuminer Version 0.3.1 - December 19, 2010
  4769. - Critical fix for sha256_via
  4770. - Retry JSON-RPC failures (see --retry, under "minerd --help" output)
  4771. cpuminer Version 0.3 - December 18, 2010
  4772. - Add crypto++ 32bit assembly implementation
  4773. - show version upon 'minerd --help'
  4774. - work around gcc 4.5.x bug that killed 4way performance
  4775. cpuminer Version 0.2.2 - December 6, 2010
  4776. - VIA padlock implementation works now
  4777. - Minor build and runtime fixes
  4778. cpuminer Version 0.2.1 - November 29, 2010
  4779. - avoid buffer overflow when submitting solutions
  4780. - add Crypto++ sha256 implementation (C only, ASM elided for now)
  4781. - minor internal optimizations and cleanups
  4782. cpuminer Version 0.2 - November 27, 2010
  4783. - Add script for building a Windows installer
  4784. - improve hash performance (hashmeter) statistics
  4785. - add tcatm 4way sha256 implementation
  4786. - Add experimental VIA Padlock sha256 implementation
  4787. cpuminer Version 0.1.2 - November 26, 2010
  4788. - many small cleanups and micro-optimizations
  4789. - build win32 exe using mingw
  4790. - RPC URL, username/password become command line arguments
  4791. - remove unused OpenSSL dependency
  4792. cpuminer Version 0.1.1 - November 24, 2010
  4793. - Do not build sha256_generic module separately from cpuminer.
  4794. cpuminer Version 0.1 - November 24, 2010
  4795. - Initial release.