NEWS 354 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412
  1. Version 4.12.0 - 16th September 2021
  2. - Handle gcc 7+ issues/warnings in main and gekko code
  3. - Pull in all Gekko code from https://github.com/vthoang/cgminer
  4. - Pull in all available avalon updates, Avalon8
  5. - Update miner.php v42.14
  6. - Update information for latest git source
  7. - Add Gekko linux support for BM1397 (GSF - compacf)
  8. - General Gekko code updates
  9. - New Windows 10 build instructions
  10. - Gekko now tested on Windows 10 also
  11. Version 4.11.1 - 16th August 2018
  12. - Alias T1factory option to noauto.
  13. - sem_timedwait needs to use CLOCK_REALTIME.
  14. - Conditional timedwaits need to use CLOCK_REALTIME.
  15. - Remove unused abstime.
  16. Version 4.11.0 - 15th August 2018
  17. - Disable implicit fallthrough warning for newer GCCs.
  18. - Alphabetical options.
  19. - Cope with abs timeouts not working on some OSs, fixing a logic error on
  20. cgsem_mswait.
  21. - hash table: use lookup instead of iteration
  22. - Do away with useless factory tune.
  23. - Keep diff low for accurate hashrates.
  24. - Take an optional fanspeed target allowing for quiet operation.
  25. - Change default pll back to 1332.
  26. - Set lastshare on successful reinit and sleep longer for each retry.
  27. - Allow much tighter temperature control if temperature is unchanged for a
  28. longer period, allowing temps to get to 75 degrees and have optimally low
  29. fanspeed.
  30. - Use clock_gettime instead of gettimeofday to not be burnt by ntp changes.
  31. - Remove useless variables.
  32. - Should be 390k.
  33. - Set lower spi speed to allow ultra low frequencies on shutdown.
  34. - Re-initialise chains first if possible instead of shutting down cgminer.
  35. - Abstract out prepare T1.
  36. - Abstract out start t1 chain.
  37. - More reliably shut down cgminer from the driver thread.
  38. - Import SPI fixes.
  39. - Import dev fixes.
  40. - Speed up mcompat_find_chain_vid since we are just going to lower voltage
  41. during tuning it doesn't need to be very accurate.
  42. - Fast start/restart with clean shutdown to lower power but powered on mode.
  43. - Import Dragonmint T1 driver and version rolling AKA asicboost support.
  44. - Do not give out API description to random probes to inappopriately open ports.
  45. - Use system provided uthash and libjansson if provided preferentially now.
  46. - Update uthash to version 2.0.2
  47. - Avoid potential buffer overflows in api.c
  48. - Fix write config with enable-icarus changes.
  49. - Sleep if btcd isn't immediately available and try again when attempting to
  50. decode a coinbase.
  51. - Elaborate what type of pool coinbase transactions to decode and do not print a
  52. warning if no devices are attached when decoding.
  53. - Add a --decode option that decodes a pool's coinbase transactions and exits.
  54. - Set up gbt_curl before setting gbt_solo flag to prevent gbt_curl deref in
  55. longpoll_thread.
  56. - remove cgminer-api libusb dependency
  57. - Update jasson library in gitignore
  58. - Fix compile guide for api-example.c
  59. - Cleanup libusb-1.0 in gitignore
  60. - Remove AVA7_FREQ_CUTOFF_MODE for Avalon7
  61. - Initialize default temp in detect_modules for Avalon7
  62. - Remove AVA7_FREQ_TEMPADJ_MODE for Avalon7
  63. - Fix build with disable-libcurl.
  64. Version 4.10.0 - 23rd January 2017
  65. - Silence warning.
  66. - Clean up compac driver.
  67. - Allocate appropriate memory size for PSECURITY_DESCRIPTOR
  68. - Remove jansson memory tricks.
  69. - Increase header size for gbt solo.
  70. - Increase header size.
  71. - Fix curl build on mingw
  72. - Windows build fixes.
  73. - Fix avalon4 warnings.
  74. - We can only change diff once per notify so assume successive diffs are stacked
  75. for successive notifies.
  76. - Enable avalon4 building with avalon7.
  77. - Move to system libusb.
  78. - Upgrade to jansson 2.9
  79. - display restart thread errno
  80. - String length sanity checks in config parsing.
  81. - Make pool_no and block height logging more consistent
  82. - Always clean swork when prev_hash changes
  83. - Add nonce mask to api for Avalon7
  84. - Add new options for Avalon7
  85. - Add a device table for Avalon7
  86. - Update AVA7_DEFAULT_MINER_CNT usage
  87. - Add frequency range support 100MHz - 500MHz
  88. - Added roll_work_ntime() to enchance performance
  89. - Revert "Set default ava7 nonce mask to 27 which empiric testing shows stable
  90. and more rapid rise in frequency without significant overshoot."
  91. - Remove useless code in avalon7
  92. - Detect avalon7 modules during ava7 init and only add the device if any modules
  93. exist.
  94. - Unplug avalon7 on failing to re-init AUC to allow a clean hotplug event which
  95. is more reliable.
  96. - Fix warning without ava4/7
  97. - Re-initialise libusb if there are no active devices before the next hotplug
  98. event.
  99. - Reset the tv_end variable before each libusb handle events call.
  100. - Fix Vo display for A741
  101. - Update AVA7_DEFAULT_ASIC_MAX for A741
  102. - Tweak ava7 fan control further.
  103. - Set default ava7 nonce mask to 27 which empiric testing shows stable and more
  104. rapid rise in frequency without significant overshoot.
  105. - Set ava7 starting fan to 1/3 speed between min and max.
  106. - Convert the avalon7 fan control to use a PID-like feedback mechanism for
  107. optimal fan speed and quasi-constant temperature. Change meaning of target
  108. temperature to actual desired temperature, setting it to 90C. Set minimum
  109. fanspeed to 5% as a safety fallback.
  110. - Inherit the diff from the original stratum in submit_nonce2_nonce, fixing
  111. wrong diff submits on avalon6/7.
  112. - Use diff1 and diff rejected to calculate hashrate in avalon7 for a more stable
  113. displayed hashrate.
  114. - Check for nodev errors after usb transfers to not change the err value.
  115. - There is no need for complicated locking in usb_reset; simply use the write
  116. lock and avoid locking risks.
  117. - Update nonce mask from 31 to 29
  118. - Send jobid when it's update
  119. - Flush useless works when new block was found
  120. - Update error polling count
  121. - Fix frequency mode for Avalon7
  122. - Added connection overload detection and API entry
  123. - Fixed some English mistakes
  124. - Fix display mm status when stratum pool is failed
  125. - Update api display
  126. - Reset usb devices if they fail to initialise.
  127. - TIMER_ABSTIME is not available on osx
  128. - Get rid of binary stratum work based on avalon7 define.
  129. - Remove impossible comparisons from avalon7.c
  130. - Style police.
  131. - Don't use the stratum work generator for Avalon7
  132. - Add STRATUM_USER_AGENT macro for utils
  133. - Update README and ASIC-README for Avalon7
  134. - Add Avalon7 support
  135. - Fix warning in AV4 driver
  136. - Update AVA4_DEFAULT_MODULARS
  137. - Update nonce2 start and range
  138. - Add more options for AVA4_FREQ_TEMPADJ_MODE
  139. - Double check data size when use avalon4_auc_xfer
  140. - Update AVA4_MM60_TEMP_FREQADJ
  141. - Fix xfer_err_cnt
  142. - Avoid thread block when use AV4 iic driver
  143. - Update check rules for AUC
  144. - Support AV4 miner detect through iic
  145. - Fix some settings for AvalonMiner 6.0
  146. - advertise segwit support for solo mining
  147. - add support for segwit commitment insertion
  148. - add bip9 support
  149. - Fix work update for hash_work
  150. - Fix various minor once-off memory leaks
  151. - Fix read beyond stack size issue
  152. - Reattach kernel driver to correct IF
  153. - Fix clobbered by ‘longjmp’ or ‘vfork’ warning
  154. - Fix unreachable code
  155. - allow for independent target freq so bad stick doesn't effect group
  156. - +1 freq hex alignment
  157. - tidy up naming to match general conventions
  158. - tidy up some unused vars
  159. - Add in ramp code. Untie compac detect from default icarus fallback detect to
  160. have a cleaner device detect path.
  161. - move over code to fit serial number on screen
  162. - changed a few spaces to tabs
  163. - Added GekkoScience Compac detection and support to the icarus driver.
  164. - Show Current Block Version under pools api
  165. - Show Current Block Height under pools api
  166. - Update avalon4 options
  167. - Update AVA4_DEFAULT_SMART_SPEED to AVA4_DEFAULT_SMARTSPEED_MODE3
  168. - Update avalon4_update process
  169. - Code cleanup
  170. - Minor update
  171. - Detach the duplicate dev when detect in xfer
  172. - Update mm count when scan hash
  173. - Check module if exits when detect
  174. - Update hashmeter for avalon devs
  175. - Fix i_5s usage
  176. - Update smart frequency for AVA4_DEFAULT_SMARTSPEED_MODE3
  177. - Add new smart speed mode (mode 3)
  178. - Update default value
  179. - Add more options for smartspeed
  180. - Don't label threads of devices that are paused as sick
  181. - Set avalon4 to cut off if thread should be paused
  182. - ASIC-README: Avalon6 will come up as AV6
  183. - Update the ASIC-README and help message of Avalon4/4.1/6
  184. - fix cgminer-api compilation on osx
  185. - Support low diffs like those on testnets
  186. - Restart being missed outside of block change
  187. - Set default frequencies for ava4/6 in the correct place if none is specified
  188. - Use a generic zero stats function for drivers that don't implement their own
  189. - The fan control for ava6 overshoots often so use a safer non-linear curve
  190. mechanism relative to the target temperature and remove inappropriate caps to
  191. opt_avalon4_overheat and opt_avalon4_temp_target
  192. - 450 would appear to be the most reliable startup speed for ava6 so revise it
  193. down further
  194. - Avoid double locking when checking if a block exists to prevent a further race
  195. between seeing it and adding it
  196. - AVA6 is more reliable starting up at the slightly slower speed of 470, making
  197. it internally start at 450 before working its way up
  198. - Set the freq array variables when setting default frequency as well
  199. - Set default frequency according to ava type if none is specified on the
  200. command line, choosing 475 as default for ava6
  201. - Use AV6 name for avalon6 in ava4 driver
  202. - Update copyright notices for ava4 driver
  203. - Fix warnings
  204. - Log blockheight when the pool changes to a new block.
  205. - Check for stratum clean message in test_work_current to not give false
  206. positive messages for missed pool notifications of block changes
  207. - Update AVA4_DEFAULT_SPEED_ERROR
  208. - Add new option for Avalon6
  209. - Update frequency process
  210. - Update AVA4_DEFAULT_TEMP_TARGET for Avalon6
  211. - Update voltage decode for Avalon6
  212. - Update temperature target and overheat
  213. - Update target temp settting
  214. - Update fan adjust
  215. - Update Vol api display
  216. - Update avalon4 option
  217. - Display stratum difficulty in pool api
  218. - Fix divide by zero
  219. - Fix nonce counter
  220. - Fix GHS display
  221. - Display total asics for Avalon6
  222. - Update max diff for Avalon4 and Avalon6
  223. - Update temperature check
  224. - Fix typo
  225. - By default we enable automatic frequency
  226. - Minor changes
  227. - Update display
  228. - Update api display
  229. - Fix GHSmm
  230. - Update api for Avalon6
  231. - Display pll infomation for Avalon6
  232. - Update frequency for Avalon6
  233. - Turn on avalon6 nonce check as default
  234. - Update convert voltage
  235. - Update voltage display
  236. - Display more status
  237. - Enable adjust frequency automatically
  238. - Update convert voltage
  239. - Update temperature display for Avalon6
  240. - Add more options for Avalon6
  241. - Update asic count for Avalon6
  242. - Update hashrate counter
  243. - Decode voltage and temperature for Avalon6
  244. - Support error code for Avalon6
  245. - Support 2 miners for Avalon6
  246. - Show ASCI status for Avalon6
  247. - Don't need config voltage for Avalon6
  248. - Update MM60 profile
  249. - Add nonce counter for Avalon6
  250. - Hide MW for Avalon6.0
  251. - Count hw for Avalon6
  252. - Increse stat buffer size
  253. - Fix job_idcmp when copy stratum
  254. - Add Avalon6 support
  255. - Apply immediately the first set_difficulty
  256. - store the next difficulty
  257. - Make pool fallback time configurable and default to 2 minutes instead of 5.
  258. Rework fallback mechanism to check pool status every 5 seconds and not miss a
  259. recovering pool.
  260. - Fix error message for pools such as p2pool that use no nonce1 in their stratum
  261. templates
  262. - Set work delay to 1 for AntS1 and AntS2
  263. - driver-bitmain default tempoverctrl off so it can be disabled
  264. - API add Work Difficulty to pools
  265. - remove some documention references to getwork
  266. - Support multiple modulars frequency setting
  267. - Decode frequency for Avalon nano 2.0
  268. - Decode adc status for Avalon nano 2.0
  269. - Display temperature in api (Avalon nano 2.0
  270. - Display asic match works for Avalon5
  271. - Support adjust frequency by asics
  272. - Display asic freq in status
  273. - Diplay moving average dh for Avalon5
  274. - Fix api display
  275. - Upgrade date/timestamp strings to millisecond accuracy
  276. - Support voltage adjustment automatically by modular
  277. - Support Avalon5
  278. - Increase AVAM_DEFAULT_ADJ_INTERVAL
  279. - Boundary check
  280. - Update AVAM_DEFAULT_VOLTAGE_MIN
  281. - Check the final freq
  282. - Support frequency adjust automatically
  283. - Add simple moving sum of the hardware errors
  284. - Add elapsed info for Avalon miner
  285. - Advise against building blockerupter driver
  286. - Move blockerupter driver to after icarus to not interfere with their detection
  287. if built in
  288. Version 4.9.2 - 12th June 2015
  289. - Only blacklist devices on iManufacturer if they don't have an iProduct
  290. - Simplify the pool work choice switching now that only local work generation is
  291. supported
  292. - Check for absense of stratum notify on stratum pools to see if they're usable
  293. - Remove getwork support
  294. - Remove test for localgen since all work will be
  295. - Deprecate failover only option in anticipation of removing getwork
  296. - Deprecate expiry option and fix it to 10 minutes, replacing all deprecated
  297. config calls in the API with a deprecated message
  298. - Deprecate scan-time which is irrelevant with ASIC speed mining
  299. - Deprecate opt_queue since all mining is now local work generation which is
  300. rapid and it serves no useful purpose to generate work that is potentially
  301. stale, increasing CPU usage to check it before using it
  302. - Change default au3 voltage to 775 to more reliably run at default frequency
  303. - Set correct timeout for AU3 in icarus_detect_one though it won't affect
  304. functioning
  305. - Blacklist LIX device which doesn't exist
  306. - Round up fail time to next highest integer on icarus
  307. - AntS3 - set default work delay
  308. - add pool block quality to api
  309. - AntS3 - redo work send/stats and add a tuning option - not yet tuned
  310. - Ant - ignore useless options in case they are passed
  311. - AntS3 - initial S3 merge basic support
  312. - Ant voltage isn't S1
  313. - API - restore IPv4 address .0 padding and update copyright dates
  314. - ants2 - separate freq from options
  315. - ants2 - make it compile :p
  316. - ants2 - add voltage
  317. - ants2 - remove libusb/udev dependency since it doesn't use USB
  318. - AntS1 ensure correct endian and correct wid
  319. - libsystemd: Notify watchdog
  320. - libsystemd: Notify run state and status line
  321. - Catch SIGABRT signal and exit gracefully
  322. - Add libsystemd configure option (default disabled)
  323. - Document --with-system-jansson configure option
  324. - SP30: Fix logging to use applog over printf calls
  325. - Allow building with system jansson
  326. - Set request ID in validateaddress JSON-RPC request.
  327. - Cope with reconnect being sent a port number as an integer or string
  328. - Added syslog mask to limit amount of output
  329. - regressed with "BAL" little-jalapenos
  330. - Add yet more whitelisting of BMA devices, removing the case insensitive match
  331. for manufacturer
  332. - Fix detection of no mining device configuration.
  333. - Remove LT_INIT from configure which breaks ltmain.sh detection for some
  334. automagic reason
  335. - Add missing hashtable_seed file
  336. - Add missing file
  337. - Speed up shutdown by decreasing usb poll time to 100ms and using no timeout on
  338. exit
  339. - Cope with attempted reuse of strings in input_pool
  340. - Manage failed URL entry at startup more gracefully, adding stratum+tcp://
  341. automatically if http:// isn't specified
  342. - Fix various symbol size change warnings
  343. - Import jansson updates from ckpool
  344. - Check for attempts to copy to/from null in cg_memcpy
  345. - Use cg_memcpy throughtout bitfury driver
  346. - Use cg_memcpy throughout cgminer.c and util.c
  347. - Use alloc helper in miner.h
  348. - Use alloc helpers in bitfury driver
  349. - Use alloc helpers in spondoolies drivers
  350. - Use alloc helpers in bflsc driver
  351. - Align_len in all alloc helper calls
  352. - Use align_len in all alloc helpers
  353. - Use alloc helpers in usbutils
  354. - Use alloc helpers in icarus driver
  355. - Use alloc helpers in avalon4 driver
  356. - Use alloc helpers in api.c
  357. - Use the alloc helpers in util.c
  358. - Convert all users of alloc to use the helpers in cgminer.c
  359. - Add helper functions to various alloc functions that automatically check for
  360. failure
  361. - Fix rare dereference error on pool stratum queue
  362. Version 4.9.1 - 3rd February 2015
  363. - Fix various unused warnings
  364. - Fix avalon4 warnings
  365. - Display notice if pool successfully negotiates stratum resume
  366. - Support auto adjust voltage individually
  367. - Don't keep retrying to connect to a pool that has been removed
  368. - Null the actual pointer used to call discard and free_work and safely handle
  369. being called with a null pointer, giving a verbose warning about the call site
  370. - Fix off by one error when running out of queued IDs in bflsc28_queue_full
  371. - Uninit BET driver when it fails to initialise any boards
  372. - Fix detection of butterfly labs sc 65nm devices with the addition of the 28nm
  373. device imanufacturers trumping their detection
  374. - Remove compilation warnings. Cast overly-specific #def'd values to the
  375. destination type, unsigned int.
  376. - Basic ability to compile and run on FreeBSD 10. Only tested compilation with
  377. avalon, avalon2, bflsc, and icarus; only tested functionality of bflsc and
  378. icarus.
  379. Version 4.9.0 - 16th December 2014
  380. - Minor fix
  381. - Fix MM41 voltage setting
  382. - Fix the default settings of new module
  383. - Count non matching stratum as a hw error on ava4
  384. - Fix ava4 build incompatibilites and missing write config parameters
  385. - Use strcasecmp for device matching in usbutils in case of subtle manufacturer
  386. changes
  387. - Add manufacturer and product definitions for ava4
  388. - Cosmetic ava4 change
  389. - Cosmetic ava4 message fixes
  390. - Add sanity check for NULL data being passed to usb_perform_transfer
  391. - All write errors should be treated as fatal for ava4 devices
  392. - Change initial fan start speed, mins and max for avalon4 to ensure fan starts
  393. spinning but can go lower RPM
  394. - Disable zero length packets on ava4 before trying to init
  395. - Add a cgpu device option to disable zero length packets and enable it for
  396. avalon4
  397. - Display ava4 stats consistent with other devices
  398. - Add ava4 to udev rules file
  399. - Fix build warnings on ava4
  400. - Fix ava4 build
  401. - Add Avalon4 support
  402. - Filter duplicate stratum shares from being submitted upstream
  403. - Do rudimentary detection of duplicate shares per device
  404. Version 4.8.0 - 25th November 2014
  405. - Allow forcing of building driver combinations with --enable-forcecombo
  406. - Put spaces between name and id in avalon2 and icarus
  407. - Relax detection of a failing ava2 to more than 1 minute and perform the test
  408. after polling for results
  409. - Cap maximum diff on ava2 in order to still get shares
  410. - Put space between device name and id to prevent device names with numbers in
  411. them confusing the display
  412. - USB write errors are always fatal so they should be treated as such on ava2
  413. - Issue a usb reset for ava2 that is not returning valid shares and then drop it
  414. if it persists for over a minute
  415. - Process share results without a result value
  416. - Damp out hashrate displayed for antminer USBs
  417. - Add voltage and speed where relevant to antminer USBs
  418. - Don't estimate time on any antminer usb during a timeout
  419. - Return icarus nonce ok only when the nonce size matches the device or more
  420. - Don't discard old workids until we cycle back to them on antusb and look for
  421. more nonces in the buffer
  422. - Adjust ant usb timing for queued work
  423. - Use a cyclical list for the ant queued work
  424. - Mask and limit workid for antusb and dont clear buffer
  425. - Check the nonce on the worked item, not the submitted work
  426. - Skip over unfinished work that we can't free in ant usb
  427. - Use a workid and array if possible for the small ant usb work queue
  428. - Create an array for antworks for antminer usb devices
  429. - On U3 calculate hashrate purely on shares, not timeouts
  430. - Add switches for AU3
  431. - Adjust icarus wait timeout according to device
  432. - Differentiate U3 from U1/2 as a separate driver with different parameters and
  433. adjust timing accordingly
  434. - Skip ANUs detected in rock detect
  435. - Try U3 after trying other icarus options
  436. - Add rudimentary ANU voltage setting support for U3
  437. - Fix ignoring unprefixed v6 address in api allow list
  438. - Fix minor typos in Spondoolies SP10 and SP30 drivers
  439. - Implement a basic rock_flush function to discard the base work we are rolling
  440. work from.
  441. - Task_no for rockminer from the nonce bin should simply be masked
  442. - Change rbox default correction times to 5 in a revised frequency order
  443. - Change default frequency on T1 to 330
  444. - Reinstate last received check and resend in rockminer, being more lenient at 2
  445. seconds to allow for dither errors at 1
  446. - Roll work for the rbox when possible
  447. Version 4.7.1 - 4th November 2014
  448. - Selectively yield on dropping a lock only on single CPU platforms
  449. - Make it impossible to configure in more than one device that is meant to be
  450. standalone. Add more information to configure help, along with comments for new
  451. drivers.
  452. - Add warning against system libusb in configure help
  453. - stratum_rthread sleep only 3s when all the pool have disconnected
  454. - Filter responses that don't have a result
  455. - Implement support for pool ping and json integers of zero in getversion and
  456. ping
  457. - Fix segfault when writing config with hashratio built in
  458. - Save pools in priority order at time of writing config
  459. - Set the correct flag for close on exec for sockets
  460. - Suspend stratum on removing a pool
  461. - Set CLOEXEC on sockets on linux
  462. - Drivers that take a diff should specify a max diff or it is assumed they don't
  463. support one so set max_diff to 1 if unset
  464. - Send hfa generic frame only if voltage was specified on the command line for
  465. that device
  466. - Set hashfast voltage settings only when really needed
  467. - Hashfast voltage support
  468. - Increase max diff on sp30 to 1024
  469. - Reset ipv6 flag to false in every api-allow loop
  470. - undeclared identifier 'IPV6_ADD_MEMBERSHIP' fix for apple
  471. - two back temps spondoolies2
  472. - two back temps spondoolies
  473. - correct suggest_difficulty json rpc call
  474. - Add more usb3 hub identifiers for windows
  475. - Set driver max diff to large value if unset
  476. - Wake gws on get queued
  477. - Implement blacklisting of attempting to match known products from ones without
  478. identifiers
  479. - Fix hfa driver building without libcurl
  480. - Enable building libusb without udev
  481. - Fix off by one calculation error in sp30 leading zeroes
  482. - Send correct diff work to sp30 for hashmeter to be correct
  483. - Do the sleep in spondoolies_queue_full_sp30 after dropping the lock
  484. - Minor tidy in sp30 driver
  485. - Fix sp30 warnings
  486. Version 4.7.0 - 14th October 2014
  487. - Implement generic inet_pton for windows
  488. - Fix warnings
  489. - Fix bulk of remaining style in blockerupter.c
  490. - Tidy style in blockerupter.h
  491. - Tidy bulk of style in blockerupter.c
  492. - Fix missing minimum diff setting for blockerupter
  493. - Fix unused variable warnings
  494. - remove unnecessary sleep; fix potenital div by 0 errs; use min_diff in driver
  495. definition
  496. - Fix coding style
  497. - Make the sp30 hashrate meter based on valid share generation
  498. - Change default max queue back to 1 in line with speed of most current asic
  499. controllers
  500. - Change diff limits to values suitable for sp30
  501. - Add pool number to response from addpool to the API
  502. - Make the restart and quit API commands valid json responses
  503. - Fix number of nos
  504. - Add option to set clock ('--bet-clk X' actual clock is (X+1)*10 )
  505. - compatible with X24 board
  506. - Fix error when using v6 without mask in api-allow
  507. - Support ipv6 multicast
  508. - Set min_diff to 1
  509. - Allow arbitrary clamping of lower device diffs for slow controllers by driver
  510. - Don't set default fan to max on hashratio
  511. - The 2nd read never gets anything on ava2 so remove it entirely and just return
  512. an error if we are out of sync
  513. - Implement support for mining.suggest_difficulty
  514. - Fix client ip address output
  515. - Free addrinfo garbage
  516. - Remove the brackets when using v6 pool address
  517. - Add ipv6 support for api listen
  518. - Avalon Nano: Add support Avalon Nano usb miner
  519. - fix bug in setdiff
  520. - limit minimum diff to 64
  521. - Add BlockErupter Driver
  522. - Avalon2: display currect max temperature on statline
  523. - Remove unused variable
  524. Version 4.6.1 - 20th September 2014
  525. - Throttle bflsc28 devices when they hit the overheat limit
  526. - Add whitelisting of firmware used in final bflsc28 products
  527. - API.java - remove lowercase of all data sent
  528. - Avalon2: Add 3 bytes nonce2 support
  529. - Avalon2: MM needs n2size length <= 4
  530. - Use fan min as fan speed when run with --avalon2-fixed-speed
  531. - Clear the pool submit fail bool after adding shares to the stratum hashtable
  532. to minimise window the share is not in the table
  533. - api-example unlimited socket works
  534. - Add custom strcasestr and use custom gnu type functions in bflsc
  535. - Fix windows build of bflsc driver
  536. - Fix possible deref in bflsc28
  537. Version 4.6.0 - 7th September 2014
  538. - We should not be checking for pool_unworkable in cnx_needed as it is keeping
  539. stratum connections open on unused pools
  540. - Properly handle lack of input when adding pool via menu
  541. - Allow workers without passwords
  542. - minion - increase max chip number
  543. - Avalon2: add more comments on Avalon2 options
  544. - Avalon2: add polling delay option, long coinbase support, LED status on API,
  545. change overheat from 88 to 98
  546. - minion - add a ' before non-zero core error counts
  547. - minion - hidden optional per core nonce stats
  548. - bflsc28 - clock is hex
  549. - bflsc28 - allow setting clock and volt from the API ascset command
  550. - bflsc28 - add chip count to stats
  551. - bflsc28 stats
  552. - Simplehacks to better serve bflsc28
  553. - Only use one hashtable for bflsc28 work queued
  554. - Copy back the buffer after we've stripped the inprocess field on bflsc
  555. - Parse results for BMA based on uid and remove work from the queue when found
  556. - Strip out the inprocess details from bflsc results if it exists
  557. - Create a hashtable of work by uid as it's accepted by BMA
  558. - Add some rudimentary values for BMA sleep times
  559. - Fix various errors in queueing work for bflsc28 and limit job queueing to 10
  560. to fit within a usb frame
  561. - Create preliminary work queueing for bflsc28 using jobs of up to 20 at a time
  562. by rolling work where possible
  563. - Convert all bflsc transfers to the full 512 bytes
  564. - Don't mistake bflsc28 for fpga
  565. - Do initial detection of bflsc28 devices
  566. Version 4.5.0 - 29th July 2014
  567. - Fix windows build for hashratio and ava2
  568. - Demote bad checksum message in cointerra driver but allow message to still be
  569. parsed since it won't allow existing firmwares to work otherwise
  570. - Reorder and document the configure options
  571. - Merge https://github.com/KnCMiner/cgminer into knc
  572. - Change default voltage on ava2 to 0.666V because Satan
  573. - Enable combined building of avalon2 and hashratio
  574. - Fix stratum embedded fpgas to not duplicate work with other devices
  575. - Implement smarter PID type fan control for ava2 allowing more generous
  576. temperatures and far lower fan speeds for optimal power and noise usage. Adjust
  577. default frequency to 450 as per recommendation.
  578. - Fix various warnings in ava2
  579. - Go back to polling design since async will not work for ava2 and fix various
  580. read design errors
  581. - Fix error in 2nd read functions for av2 and hro
  582. - Correct init and read sequence for ava2, and convert from a polling mechanism
  583. to a separate read thread
  584. - Initial commit of ava2 conversion to direct USB
  585. - Display frequency and voltage with ava2 on the statline
  586. - Store fan percentage and display temp and fan percent for ava2
  587. - Set avalon2 frequency and voltage to appropriate defaults if none are
  588. specified on the command line
  589. - Demote some ava2 messages that don't need to be errors and remove unused works
  590. array
  591. - Fix broken fan logic for ava2
  592. - Fix hexdump on 64bit
  593. - rockminer frequency is between 200 and 400 MHz
  594. - fix jansson include path in cgminer-api compile instructions
  595. - Remove requirement for ifndefs for avalon2 from the generic driver work
  596. function
  597. - Fix hashratio device name
  598. - Make submit_nonce2_nonce return whether the share was valid or not
  599. - Reinstate missing necessary init sequence for hashratio
  600. - Handle disconnected hashratio devices
  601. - Add hashratio frequency command line
  602. - Fix stratum updates not being passed to hashratio devices and clean up
  603. - Move to updated avalon2 type driver model for hashratio device
  604. - Initial import and conversion of hashratio driver to direct USB
  605. - Increase the internal buffer for API response, as "stats" command response
  606. can grow greater than 8K
  607. - Detach test pool thread only if we have a blocking startup
  608. Version 4.4.2 - 17th July 2014
  609. - Remove the use of the pthread_tryjoin_np which is currently unimplemented on
  610. many platforms
  611. - Fix processarg parameters loaded from a config file not being saveable
  612. - We only use the jansson in our source tree so no need for special case
  613. handling of older versions
  614. - Upgrade jansson to 2.6
  615. - Only clear sockbuf if it's been allocated
  616. - Fix missing osm-led-mode support in write config
  617. - Deal with nanosecond overflow in both directions on both addition and
  618. subtration of timespecs
  619. - Rename sp10 driver internally from spondoolies to sp10
  620. - minion - add a 2nd (optional - disabled) reset test
  621. - production stats added, reset queue added
  622. - minion - correct led ghs2 choice
  623. - minion - correct ghs2 display
  624. - minion - reset the led counter when doing a chip RSTN full reset
  625. - minion - don't reset the led counter for an SPI reset
  626. - minion - led per chip and use all time average
  627. - minion - report spi error counts and settings in stats
  628. - minion - undeclared fix
  629. - minion - chip power cycle option
  630. - minion - record 0xff error history and reduce screen output
  631. - minion - reset on result or fifo 0xff
  632. - minion - clarify the 0 value of spireset
  633. - minion - make SPI reset more configurable
  634. - minion - make the SPI reset ms sleep a parameter and API settable
  635. - sp10 sensors
  636. - sp30
  637. - minion - led+more api setting
  638. - Avoid blocking all pool testing if one pool fails to ever init
  639. - There is no point storing the hints addrinfo in struct pool
  640. - minion - 'reset' SPI when getting errors
  641. - initialise more pool values in benchmark
  642. - minion - auto adjust freq
  643. - merge upstream frequency changes
  644. - icarus - timing history in its own function
  645. - rbox - add lotsa stats, tidy up a bit more
  646. - Fix an off-by-one.
  647. - icarus - detect stat should be LOG_DEBUG
  648. - icarus - tidy up rbox code, remove statics, and add rocketbox
  649. - minion - do an early reset to clear the chip status
  650. - minion - use descriptive names for the list types
  651. - Avalon2: automatic adjust fan speed, using crc16 on job_id compare, turn on
  652. the led by API, detect twice when start, remember the last stratum message
  653. increase the hashrate, add cutoff option
  654. - fix AntS1 breakages from AntS2 changes
  655. - minion - disable dup nonce check
  656. - minion - add an ioseq number for each ioctl to simplify work ordering
  657. - minion - redo old work expiry based on txrx order
  658. - minion - more work stats, minimise queued work, free flushed queued work
  659. - minion - allow resetting a chip via the API
  660. - minion - correct 'WQue Count' in stats
  661. - minion - delay after reset, reset history also, add dups to api stats
  662. - noncedup - give access to the internal stats
  663. - minion - increase reset to 75%
  664. - minion - dup checking, disable reread by default and extra ioctl debugging
  665. - minion - always check the chip queue before queuing new work
  666. Version 4.4.1 - 21st June 2014
  667. - Move icarus driver to being seen as an asic
  668. - Clear usb reads on each pass through icarus detect to hopefully prevent false
  669. positives for detecting rboxes
  670. - Clean up pool failure and failover code for stratum
  671. Version 4.4.0 - 16th June 2014
  672. - Tidy unused rockminer variables
  673. - Tidy rockminer defines
  674. - Make rockminer driver compatible with other icarus drivers being present
  675. - Import basic rbox driver
  676. - minion - add optional (on) GPIO chip selection
  677. - Clear the pool idle flag in the pool test thread
  678. - CoreFmatch in cointerra should be a uint16
  679. - Display error message if we receive one on share rejects
  680. - Allow zero length strings to be passed to valid_hex
  681. - delete unused roundl definition
  682. Version 4.3.5 - 10th June 2014
  683. - Cointerra driver updates.
  684. - Sleep before retrying in the test pool thread after a pool has died
  685. - Use valid_ascii testing for job_id since it need not be hex only
  686. - Only show slow/down message till pool is flagged idle
  687. - Do some random sanity checking for stratum message parsing
  688. - Keep looking for when a pool comes to life at startup and touch the logwin so
  689. the message is not invisible
  690. - Fix no libcurl build
  691. - Added Drillbit Thumb to udev rules.
  692. - Avoid dereference on getting API stats on partially initialised HFA instances
  693. - A1: add support for updated product variants, small fixes
  694. - Add one more usbutils fix
  695. - Convert uses of usbutils memcpy to cg_memcpy
  696. - Add a sanity checking memcpy function which checks for overflows
  697. - minion - count force use reread
  698. - minion - add a disabled ioctl() test
  699. - minion - add more checking of SPI results for corruption
  700. - minion - optional (disabled) ioctl() debug
  701. - Increase S1 overheat to 75 degrees C
  702. - Add ruby api-example to API-README
  703. - minion - allow core selection at runtime
  704. - API - lcd all-in-one brief summary
  705. Version 4.3.4 - 25th May 2014
  706. - Add support for 2 nonces per block in spond driver
  707. - Increase timeout on reset in cta driver to 5 seconds
  708. - Increase max diff on spondoolies driver slightly to be well below spi comms
  709. limitations
  710. - Use the active contents lock and safe list iteration within the linux usbfs
  711. code
  712. - Add Ruby Api Example
  713. - Automatic detect the small miners
  714. - Update default modules from 3 to 4
  715. - Fix the temp max. we should use currect max temp
  716. - add avalon2-cutoff options
  717. - Enable the cutofftemp to Avalon2. ignore longer coinbase and longer merkles
  718. stratum
  719. - Fix the diff value used on MM firmware
  720. - Mark pool as idle if stratum restart is failed
  721. - Add hacky workaround for double list removal race in libusb
  722. - Make the work given in benchmark mode deterministic on a per-device basis
  723. - Rework the benchmarking code to use a deterministic set of work items with a
  724. known number of diff share nonces at regular spaced intervals
  725. - minion - restrict nonce read result size to ioctl() limit
  726. - minion - must check temp when overheated
  727. - minion - idle chips that hit >100C until back to 80C
  728. - minion - report the chip/reg when aborting due to an invalid ioctl() size
  729. - minion - all freq in Mhz but only convert when used
  730. - minion - remove unused ioctl debug
  731. - minion - command queue is now larger
  732. - minion - check rolled in stale work cleanup
  733. - Work stats should be based on device_diff not work_difficulty since non-shares
  734. haven't been filtered out yet
  735. - Prevent a segfault when writing a config file containing 'rotate' option
  736. - minion - comment out HW debug message
  737. - minion - roll work to reduce CPU
  738. - minion - report init_freq in stats
  739. - api - howoldsec is only used for USB
  740. - minion - allow setting the frequency
  741. - minion - disable iostats by default since it slows down mining
  742. - minion - define frequency value table
  743. - minion - report temp/cores/freq and handle temp formatting
  744. - minion - item is undefined
  745. - Rationalise diffs stored in the work struct and document them to avoid further
  746. confusion
  747. - Add basic API stats for nfu drivers to see how many submits each chip returns
  748. - Add output direction for the EN0 pin on nfu driver
  749. - Support power management optimisations in newer nf* firmware
  750. - Support variable numbers of chips with NFU and BXM drivers
  751. - Identify number of chips in nanofury devices and change name accordingly
  752. - Rename nf1 driver to nfu in anticipation of support for more chips
  753. - Make hashfast reset counter rise on old instances when inheriting the value on
  754. new ones
  755. Version 4.3.3 - 3rd May 2014
  756. - Fix typo
  757. - Work should be freed when aged, fixing a massive memory leak for bxf devices
  758. - miner.php fix single rig summary/config field formatting
  759. - miner.php fix single rig total formatting
  760. Version 4.3.2 - 2nd May 2014
  761. - Fix accounting bug with nrolltime drivers
  762. Version 4.3.1 - 2nd May 2014
  763. - upgrade some int to int64_t to avoid overflows in reporting
  764. - Make reconnection messages more explanatory
  765. - Stratum client.reconnect require matching URL
  766. - Fix memory leak in submit_noffset_nonce
  767. - Clean up any work that may not have been used in the work scheduler
  768. - Avoid unnecessary deref now that it's done within discard_work
  769. - Clean work pointers after one way usage functions
  770. - Avoid unnecessary total_work_inc in generating local work
  771. - Cosmetic fixes
  772. - Fix idle bug, when redirected client can't auth
  773. - Rename spond temp rate to asics total rate
  774. - Build fixes
  775. - Set the unique id only for usb devices with serial strings longer than 4 chars
  776. long
  777. - Use usb serial strings as unique id if devices have them
  778. - Discretely identify the onestring miners as OSM
  779. - Add bxf debugging option and osm led modes
  780. - A1: modularize board selector / add initial CCR support
  781. - A1: cleanup tca9535 logging
  782. - A1: fix and extend PLL parameters
  783. - A1: clean up compile warnings
  784. - A1: use real level in hexdump
  785. - Add identification for onestring miner variants
  786. - Avalon2: Parser the power good signal
  787. - driver-avalon2: this functions used on detect, which don't have thr setup yet
  788. Version 4.3.0 - 18th April 2014
  789. - Put sleep in spond hash instead of queue full function
  790. - Remove unused function for when compiled without curses
  791. - Fix typo
  792. - Add temperature rate, front, rear and device temperature to spond API output
  793. - Limit bxf sleep in bxf_scan to 100ms minimum for strings of many chips
  794. - -Werror=format-security error on driver-bitmain.c
  795. - Fix parameters passed with getblockhash
  796. - Check the block hash with the proper command when looking for orphan chains
  797. - syslog requires a facility ... in more than one place
  798. - Shuffle windows headers included
  799. - Adjust the bxf sleep time according to the number of chips detected
  800. - Fix off by one error in bxf chip count when adjusting device size
  801. - Recalloc correct pointer
  802. - Make instructions associated with winusb error even more explicit
  803. - Add midsing headers to cgminer source in Makefile
  804. - Trivial style changes to mg proto parser
  805. - Trivial style and warning clean ups on spondoolies driver
  806. - Merge spondoolies driver patch
  807. - Call any BXF device with 3-6 chips reported HXF
  808. - Avoid derefrence when calling statline before on hfa device during init
  809. sequence
  810. - Calloc the info structures even on failed hfa reset to prevent later possible
  811. dereference
  812. - Load all hfa devices based on identification alone and defer init sequence
  813. till mining thread init sequence to allow all devices to be recognised rapidly
  814. but each device initialisation not delay others
  815. - Do not do thread shutdown unless thread init succeeded
  816. - Remove unnecessary check for thread_prepare function
  817. - Recognise variations on BXF based on chip value returned in responses
  818. - Provide helper function for recallocing memory
  819. - syslog requires a facility
  820. Version 4.2.3 - 3rd April 2014
  821. - Decay the per device hashrates when only the watchdog is calling the hashmeter
  822. - Fix parsing of config files failing on custom parsing
  823. - Allow an arbitrary number of chips in the BXF driver, showing results from
  824. each chip in the API and identify the hexfury, naming it HXF
  825. - Disable toggling display by default and offer a --widescreen option to have
  826. all the information on an extra wide display.
  827. - Use OPT_WITH_CBARG for all custom parsing functions to allow their values to
  828. be written generically when writing the config file from the menu.
  829. - Provide a ccan variant OPT_WITH_CBARG that assigns the arguments passed as a
  830. string and then performs the callback function on the string.
  831. - Define strings to store special option parsing parameters leaving no
  832. OPT_WITH_ARG missing args
  833. - Correct the writing of special case options to the config file
  834. - Provide support for writing anu freq from menu write option
  835. - Update to diver-avalon2.c
  836. - Generalise a lot more of the command line options simplifying the write config
  837. function and making it write far more values unaided
  838. - Use the general opt_set_charp functions for setting api parameters
  839. - Json escape any strings written to the config file
  840. - Store standard charp options when writing config files
  841. - Add support for all the integer range options when writing the config file
  842. from the menu
  843. - Remove the --device and --remove-disabled options which don't work in a
  844. meaningful way any more
  845. - Make the bxf bits configurable on the command line
  846. - Provide a --btc-sig option to optionally add a custom signature to the solo
  847. mining coinbsae
  848. - Compact gbt solo extra data and store the length, allowing it to be variable,
  849. leaving room for a signature
  850. - miner.php - Kano summary Pool Acc/Rej should be only work submitted
  851. - miner.php add best share and gen formatting for pool summary
  852. - miner.php - remove BGEN/GEN eval() errors from the web log
  853. - miner.php allow optional fields when gen is disabled
  854. - miner.php dont format missing gen fields
  855. - miner.php make Summary a custompage
  856. - miner.php allow uers and system lists of customsummarypages and add more
  857. examples
  858. - Fix getwork share submission
  859. - Cosmetic fix to udev rules
  860. - Put WU on the hashrate status to compact lines further
  861. - miner.php show api/rig errors at the top of a customsummarypage
  862. Version 4.2.2 - 29th March 2014
  863. - Minor correctness fix for unnecessary free
  864. - Clean up various curl build issues
  865. - allow url based config files
  866. - Frequency only needs 3 digits for cointerra statline
  867. - Use the serial number as unique_id for cta display
  868. - Make it possible to enable/disable the status window from switching via the
  869. display menu
  870. - We should not update the tv hashmeter time unless we're updating the hashrates
  871. - Add cointerra devices to udev rules.
  872. - Use hashfast unique id instead of number since the unique id is displayed
  873. - Remove displayed space
  874. - Left align the displayed unique id
  875. - Use the hashfast opname as its unique identifier
  876. - Display BF1 serial number as its unique identifier
  877. - Display a unique identifier instead of a number if the device has one
  878. - Use an alternating status display to return to a compact width of 80
  879. characters, allowing more information to be displayed.
  880. - No need for looking for khash hashrates in summary any more
  881. - Fix two potential minor mem leaks
  882. - Fix memory leaks in setup and generate work for gbt solo.
  883. - Fix off by one malloc size error
  884. - Fix memory leak in update_gbt_solo
  885. - Put sanity check on decay_time to prevent updates with no time
  886. - Add 3 rolling average hashrates to API output for summary and devs.
  887. - Use the extra status screen real estate better, displaying rolling 1/5/15min
  888. average hashrates as well.
  889. - Revamp the ageing crufty hashmeter code to have proper exponential decaying
  890. values and store rolling 1/5/15min hashrates.
  891. - Increment total_work under control lock.
  892. - Trivial variable reuse
  893. - Add support for other usb3 hubs on windows
  894. Version 4.2.1 - 24th March 2014
  895. - Fix various ava2 build issues generically
  896. - Minimise the amount of heap memory allocations/frees when submitting gbt
  897. shares.
  898. - Make varint in gbt submission a stack object.
  899. - Fix big endian problems with gbt submissions.
  900. - Fix 32bit overflow on relative diff shown.
  901. - ants1 - stop results read hard looping
  902. - ants1 - slow down mining if overheat occurs
  903. - miner.php allow gen before (bgen) and after (gen) grouping
  904. - Change default solo mining to failing when no btc address is specified.
  905. - Use upgrade cglock variants in get_gbt_curl
  906. - Provide a cg_uilock to unlock the intermediate variant of cglocks.
  907. - Use the one curl instance for all gbt solo operations, protecting its use with
  908. a bool set under gbt lock.
  909. - Only start block detection with gbt solo if setup succeeded
  910. - One less block detection message
  911. - Toss out the curl handle after each solo poll
  912. - Don't reuse any curl handles for solo mining and break out of the lp thread if
  913. the pool is removed.
  914. - Make sure to only start the lognpoll thread once on gbt solo.
  915. - Don't keep RPC connections open for solo mining since bitcoind doesn't like
  916. having many persistent connections.
  917. - GBT solo pools should be considered localgen pools.
  918. - miner.php - speed up formatting and allow calc on gen fields
  919. - Always show the address we're solo mining to to avoid confusion for when no
  920. address is set.
  921. Version 4.2.0 - 18th March 2014
  922. - Fix missing htobe16 on windows and meaningless >u32 string warning.
  923. - Software ntime roll for all hashfast devices.
  924. - Silence harmless warning.
  925. - Drop a failed restart icarus device to allow it to be rehotplugged if
  926. possible.
  927. - Work with more than one transaction.
  928. - Kill gbt solo pools that don't respond to the gbt request 5 times
  929. sequentially.
  930. - Fix ser_number for no remaining val byte.
  931. - Create a work item and stage it when updating the gbt solo template to allow
  932. new block detection and restart code to work.
  933. - Test block hash as well as block height when solo mining to ensure we haven't
  934. been mining on an orphan branch.
  935. - Fix transaction processing for gbt solo.
  936. - Encode height using integer varint format.
  937. - Make new block detection message not show in gbt solo from test_work_current
  938. - Add block detection via getblockcount polling in gbt solo and update gbt
  939. template every 60 seconds.
  940. - Iterate over transactions twice to malloc only once when copying all the
  941. transaction data.
  942. - Update solo coinbase regularly and submit as gbt work
  943. - Only show merkle hashes for solo mining in debug mode.
  944. - Set correct flag for solo work.
  945. - Generate gbt solo work emulating stratum work construction.
  946. - Set the diff as a double sdiff from gbt solo data.
  947. - Move swork.diff out of the stratum work section to be shared as sdiff.
  948. - Generate a header bin from gbt solo as per the cached stratum one.
  949. - Store strings similar to stratum's when decoding gbt solo
  950. - Avoid allocing and freeing stratum strings that should be fixed length.
  951. - Run parser through detect_stratum after stratum+tcp:// is force added
  952. - Remove unnecessary header length calculation for stratum header binary and
  953. only binary convert the correct length of the header.
  954. - Share more fields between stratum and gbt
  955. - Share coinbase_len variable b/w stratum and gbt and setup more gbt solo
  956. parameters.
  957. - Generate a valid coinbase and set nonce2offset for gbt solo
  958. - Move scriptsig header bin conversion to setup gbt solo
  959. - Create our own custom scriptsig base.
  960. - Add helper functions for creating script signature templates and beging
  961. building template.
  962. - Do gbt solo decoding under gbt lock.
  963. - Add more gbt variable decoding from gbt solo information.
  964. - Store all the transaction data in binary form when using GBT
  965. - When setting up solo mining, check validity of bitcoin address against
  966. bitcoind
  967. - Make pooled GBT mining use merkle bin optimisations slated for solo mining.
  968. - Abstract out the merkle bin calculation for gbt solo
  969. - Implement efficient merkle tree base from solo GBT information.
  970. - miner.php custom formatting and row counter '#'
  971. - Drillbit: Fix for underestimating hash rate from Bitfury devices
  972. - Send per-core hashrates at regular ~5min intervals back to cta devices.
  973. - Calculate the cta per core hashrate at 5 minute intervals.
  974. - Check the bits of the correct core in cta bit count.
  975. - Display the bit count along with the bitmap for each cta core in the API stats
  976. output.
  977. - Store and display the per core hashrate on cta relative to each work restart.
  978. - Decrease the time we wait for unsetting a core on the cta bitmap to correspond
  979. with the lower max diff of 32.
  980. - Set max diff on cointerra devices to 32 which is still only 11 shares per
  981. second but allows for earlier confirmation of per core hashrates.
  982. - Keep track of when the last restart and work updates were triggered and
  983. provide helper functions for knowing the time since then.
  984. - hashfast make api stats field names unique
  985. - Fix gcc longjmp warning in api.c
  986. - Add a per-core hashrate to the cta API stats.
  987. - miner.php support edevs and estats
  988. - API - put edevstatus where it was supposed to be
  989. - Icarus - allow timing mode to work with ANU and not slow it down
  990. - drillbit - remove warnings
  991. - drillbit - minor code tidy up
  992. - Drillbit: Change language around 'void' to warning about limiter disabled
  993. - Drillbit: Fix accidental over-counting of HW errors
  994. - Drillbit: --drillbit-auto parameter for tweakable custom tuning of ASIC speeds
  995. - Drillbit: Output warning if board reports void warranty
  996. - Drillbit: Add Avalon & drillbit-autotune notes to ASIC-README
  997. - Drillbit: Limit work sent out to 8 units in a single pass, was DoSing a full
  998. double scroll
  999. - Drillbit: Move drillbit_empty_buffer calls to only when errors occur, were
  1000. limiting performance on Windows
  1001. - Fix Windows bug with libusb_reset_device returning SUCCESS for disconnected
  1002. device
  1003. - Drillbit: Fix some warnings
  1004. - Drillbit: Add --drillbit-autotune option for device to dynamically alter clock
  1005. speed
  1006. - Drillbit: Fix typo in previous commit
  1007. - Drillbit: Remove default config in cgminer, rely on defaults in firmware
  1008. - Drillbit: Combine split USB transfer for sending new work, reduce overhead
  1009. - Drillbit: Add support for protocol V4, with device-agnostic board
  1010. configuration data
  1011. - Drillbit driver: Add support for Avalon-based Drillbit miners
  1012. - API - add edevs and estats - to only show enabled devices
  1013. - Check device data exists on a hfa instance before trying to reinit it.
  1014. - Print off what quadrant regulator failed if known in hfa driver.
  1015. - Reset all the stats on autovoltage complete in cta driver.
  1016. - Use correct diff instead of diffbits in cta driver.
  1017. - Whitelist all firmwares <= 0.5 on hfa for software rolling of ntime.
  1018. - Avoid a memory leak by reusing the ntime field when rolling stratum work.
  1019. - Clear the pipe bitmap on cta only when no share has occurred for 2 hours
  1020. instead of 1.
  1021. - Cta share_hashes should be added, and we can base it on device wdiff instead
  1022. of pool work difficulty for more accurate hashrates.
  1023. - Since the device runtime is now reset, the Raw hashrate entry in the cta API
  1024. output is no longer meaningful.
  1025. - Look for autovoltage returning to zero on cta driver and reset stats at that
  1026. point since the hashrate is unreliable till then.
  1027. - ants1 - cgminerise applog calls
  1028. - Default to stratum+tcp:// on any urls that don't have a prefix instead of
  1029. http.
  1030. - Trivial cta style changes.
  1031. - ants1 - fix/enable temperature checking and remove unneeded temp_old
  1032. - ants1 - move local cgpu variables to info structure
  1033. - ants1 use a klist to store work and copied work
  1034. - Simplify dramatically the cross-process cgminer locking through use of flock
  1035. instead of sysv semaphores.
  1036. Version 4.1.0 - 8th March 2014
  1037. - Correct fix for dev start time being adjusted for stat zeroing.
  1038. - Make per device stats work for average after a stat zeroing.
  1039. - Add an hfa-options command line that allows the clockspeed to be chosen per
  1040. device by name comma separated, with a function that can be expanded with more
  1041. options in the future.
  1042. - Off by one drv_rolllimit check against jobs
  1043. - Free the work that may be lost, leaking memory, in a failed hfa_send_frame
  1044. - Roll the ntime for work within the hfa driver for firmware we know doesn't do
  1045. it internally as an optimisation.
  1046. - Export the roll_work function to be usable by driver code and make it
  1047. compatible with rolling stratum work.
  1048. - Make opt_queue be respected as a maximum value for staged items.
  1049. - Disable mistakenly enabled lock tracking.
  1050. - api version update for HEX32
  1051. - api.c - HEX32 type needs quotes
  1052. - Disable the MAX_CLOCK_DIFF check for newer hashfast firmwares since it's not
  1053. required.
  1054. - Store the hardware and firmware revision in the info struct for easy use in
  1055. the hfa driver.
  1056. - Only decrease the hfa clock rate if the device has been running for less than
  1057. an hour before dying.
  1058. - Change lack of op name response message in hfa driver
  1059. - Check for lost devices at every write/read in hfa_detect_common
  1060. - Make bxm bits configurable.
  1061. - Move avalon2 options to ~alphabetic position in help.
  1062. - Do a shutdown routine on bxm close.
  1063. - Provide support for 2 chips in libbitfury sendhashdata and enable the 2nd chip
  1064. on BXM devices.
  1065. - Remove unnecessary opayload and newbuf members of bitfury info struct.
  1066. - Add an spi add fasync command.
  1067. - Cope with older hfa firmware not even responding to op_name.
  1068. - Forcibly kill everything silently with an exit code of 1 should we fail to
  1069. cleanly shut down and use a completion timeout for the __kill_work in
  1070. app_restart.
  1071. - Make __kill_work itself also be a completion timeout.
  1072. - Generalise more of libbitfury for more reuse in both nf1 and bxm drivers.
  1073. - Remove redundant init components of bxm driver.
  1074. - Set default osc6 bits on bxm to 50
  1075. - Enable the transaction translator emulator for bxm devices and use a dummy spi
  1076. tx the size of a normal payload.
  1077. - Store usb11 and tt flags as booleans in cgusbdev allowing them to be
  1078. discretely enabled as well as detected by the device data.
  1079. - Add bxm scan function and check spi txrx returns only as much as sent.
  1080. - Add init sequence to bxm detect one.
  1081. - Add a bxm specific txrx function for spi transfers.
  1082. - Add bxm close to bitfury shutdown switch.
  1083. - Add reset/purge/cshigh/low sequence to bxm init
  1084. - Add bitmode init to bxm open sequence.
  1085. - Add initial bxm opening sequence for detect one.
  1086. - Add identifiers for bxm bitfury devices.
  1087. - Clean up parse_method
  1088. - More gracefully break out of parse_notify on a corrupted hex string error,
  1089. checking the return value of all hex2bin conversions and being consistent with
  1090. using stack memory. Fix an unlocking error in cases of failure.
  1091. - AntS1 - add detection information to usbutils
  1092. - Enable Bitmain Ant S1 code and make it conform to cgminer requirements
  1093. - Make the cointerra displayed hashrate based on valid share generation.
  1094. - Convert and update values shown in the cointerra api output.
  1095. - Export the api_add_int16 function.
  1096. - Use a custom mystrstr function in cointerra driver.
  1097. - Add api_add_int16 to API functions.
  1098. - Add support for Bitmain Multi Chain and Single Chain and optimize the
  1099. efficiency
  1100. - Add support for bitmain devices
  1101. - Perfect function of BitMain Multi Chain
  1102. - Add support for Bitmain Multi Chain and Single Chain and optimize the
  1103. efficiency
  1104. - Add support for bitmain devices
  1105. Version 4.0.1 - 28th February 2014
  1106. - Refresh the log window on pool failure message at startup.
  1107. - Rework the pool fail to connect at startup to not get stuck indefinitely
  1108. repeatedly probing pools with new threads and to exit immediately when any key
  1109. is pressed.
  1110. - Use an early_quit function for shutting down when we have not successfully
  1111. initialised that does not try to clean up.
  1112. - Add more information to a hfa bad sequence tail event.
  1113. - Increase the work queue at the top end if we've hit the bottom as well.
  1114. - Set the work generation thread high priority, not the miner threads.
  1115. - Bringing each hfa device online takes a lot of work generation so only ever do
  1116. one at a time.
  1117. - Increase the opt_queue if we can hit the maximum amount asked for but are
  1118. still bottoming out.
  1119. - Keep the old hfa device data intact with a clean thread shutdown to allow it
  1120. to be re-hotplugged with the old information.
  1121. - Cope with the API calling hfa on partially initialised devices having no info.
  1122. - Show only as many digits as are required to display the number of devices.
  1123. - Cold plug only one hashfast device to get started, and then hotplug many to
  1124. minimise startup delays and possible communication delays causing failed first
  1125. starts.
  1126. - Send a shutdown and do a usb_nodev if hfa_reset fails.
  1127. - Null a device driver should thread prepare fail.
  1128. - Add a function for making all driver functions noops.
  1129. - Don't try to reinit a device that's disabled.
  1130. - Disable a device that fails to prepare.
  1131. - Check for lack of thread in watchdog thread for a failed startup.
  1132. - Make all device_data dereferences in the hfa driver safe by not accessing it
  1133. in statline before when it's non-existent.
  1134. - Add an option to disable dynamic core shedding on hashfast devices.
  1135. - Do not remove the info struct on a failure to hfa prepare.
  1136. - Detect an hfa device purely on the basis of getting a valid header response to
  1137. an OP_NAME query, leaving init to hfa_prepare which will allow multiple devices
  1138. to start without holding each other up at startup.
  1139. - Store the presence and validity of opname in the hfa info.
  1140. - api - buffer size off by 1 for joined commands
  1141. - minion - clean up statline
  1142. - Only break out of usb_detect_one when a new device is found.
  1143. - Use usb_detect_one in the hfa driver.
  1144. - Provide a usb_detect_one wrapper which only plugs one device at a time,
  1145. breaking out otherwise.
  1146. - Issue a usb_nodev on a bad work sequence tail in hfa
  1147. - Read in hfa stream until we get a HF_PREAMBLE
  1148. - Add shed count to hfa API stats output.
  1149. - Display the base clockrate for hfa devices with a different name to per die
  1150. clockrates to be able to easily distinguish them.
  1151. - Use op_name if possible first with hfa devices to detect old instances and be
  1152. able to choose the starting clockspeed before sending an init sequence,
  1153. reverting to setting op name and serial number as fallbacks.
  1154. - Make hfa resets properly inherit across a shutdown.
  1155. - Don't break out of hfa_old_device early if there's no serial number.
  1156. - Fix harmless warning.
  1157. - Allow the drop in MHz per hfa failure to be specified on the command line.
  1158. - Icarus - ignore HW errors in hash rate ... and fix detection of them
  1159. - Enable the hfa shed supported feature by default.
  1160. - Add to udev rules hfa devices for firmware writing.
  1161. - Remove ENV from hashfast udev rules.
  1162. - Add a --hfa-name command that allows one to specify the unique opname for a
  1163. hashfast device.
  1164. - Ava2 decode the voltage, get the temp_max
  1165. - Set the clock rate with a work restart instead of an init when changing to old
  1166. clocks for hfa
  1167. - Set opname on hfa devices without a serial number to a hex value based on time
  1168. to not overflow the field.
  1169. - Add op name to hfa API stats output if it exists.
  1170. - Set the actual op_name in hfa devices if cgminer is choosing it itself due to
  1171. it being invalid.
  1172. - Re-init an hfa device to its old data before setting up info structures as
  1173. their sizes may change.
  1174. - Remove the usb device whenever we do a running shutdown on hfa and do a
  1175. shutdown as the imitated reinit to allow it to hotplug again.
  1176. - Reset opt hfa dfu boot after it's used.
  1177. - Comment out windows only transfer on hfa startup.
  1178. - Clean up structures unused in case of all failures in hfa detect common
  1179. - Clear all structures should we fail to hfa reset on adjusting clock on a
  1180. hotplug.
  1181. - Set master and copy cgpu hash clock rate for hfa when dropping it on a
  1182. restart.
  1183. - Set the master hfa clock speed to lower when shutting down a copy.
  1184. - Do a clear readbuf on any hfa reset in case the device has not yet cleanly
  1185. shut down.
  1186. - Increase hfa fanspeed slightly more when it's rising in the optimal range than
  1187. falling.
  1188. - Always decrease hfa clock speed on a running shutdown and don't try sending an
  1189. init frame since it will be dropped regardless.
  1190. - Match hfa devices to old ones based on OP_NAME values before serial numbers if
  1191. possible.
  1192. - Read off the OP_NAME if it exists and is supported on hfa devices, setting it
  1193. to the device serial number or a timestamp if it is invalid.
  1194. - Updated hf protocol
  1195. - Check for an amount along with no error in hfa clear readbuf
  1196. - Hfa clear readbuf can return a nonsense amount when there's a return error so
  1197. ignore the amount.
  1198. - Running resets always cause a shutdown on hfa meaning the device will
  1199. disappear with modern firmware so always kill off the threads to allow
  1200. re-hotplugging.
  1201. - Reset the hfa hash clock rate to the old one if we find an old instance, only
  1202. setting the device id in hfa_prepare
  1203. - Keep the device_id on the original zombie thread for HFA in case of further
  1204. resets.
  1205. - Break out of hfa inherit if there is no device data.
  1206. - Inherit the hfa zombie instance after the device id has been allocated.
  1207. - The list_for_each_cgpu macro will dereference when there are no mining threads
  1208. yet.
  1209. - Make hfa hotplug inherit some parameters from a previous instance if the
  1210. serial number exists and is matching, avoiding dropping the clock on all
  1211. devices.
  1212. - Per device last getwork won't work if the device stops asking for work.
  1213. - Use the share_work_tdiff function in the driver watchdogs.
  1214. - Provide a helper function for determining time between valid share and getwork
  1215. per device.
  1216. - Store last_getwork time on a per-device basis.
  1217. - Limit the decrease of hfa clock rate on reset to the default clockrate.
  1218. - Base the hfa failure time on the current expected hashrate instead of a static
  1219. 15 seconds.
  1220. - We shouldn't be trying to read from the hfa_send_shutdown function itself.
  1221. - Reset the icarus failing flag only when a valid nonce is found.
  1222. - Transferred value is corrupt on a NODEV error in usbutils.
  1223. - Set each miner thread last valid work just before starting its hash loop in
  1224. case there are delays at startup.
  1225. - Only memcopy *transferred data in usbutils if we have received only success or
  1226. a non-fatal error.
  1227. - Increase to 25 nonce ranges on icarus fail detect.
  1228. - Set icarus device fail time to be dependent on device speed to avoid falsely
  1229. detecting failure on slower AMU devices.
  1230. - Updated hf protocol header.
  1231. - Updated BE hf protocol header.
  1232. - Take into account shed cores on hfa devices when determining how many jobs to
  1233. send.
  1234. - Fix compilation error with two avalon types.
  1235. - Fix missing A1 files from distribution.
  1236. Version 4.0.0 - 21st February 2014
  1237. - Check for error from setfloatval
  1238. - Halfdelay cannot be larger than 255.
  1239. - Allow any arbitrary frequency to be specified for ANU devices and try to find
  1240. the nearest frequency when initialising it, reporting if the frequency is not
  1241. exactly as requested.
  1242. - Only show system libusb warning when appropriate during configure.
  1243. - Merge branch 'avalon2' of https://github.com/xiangfu/cgminer into
  1244. xiangfu-avalon2
  1245. - Hfa cooling remains satisfactory down to a minimum fanspeed of 5%
  1246. - Give a nodev error if we have already set nodev in hfa clear readbuf to avoid
  1247. further usb comms attempts.
  1248. - Fix missing include
  1249. - Move bitmine options to alphabetic positioning.
  1250. - bab - missed a few 'DEAD's in last commit
  1251. - bab - use 'bad' instead of 'dead' as per the screen B:
  1252. - bab - roll work if possible to reduce CPU
  1253. - Update the per die hash clock data on a running reset on hfa devices.
  1254. - Set the per die clock on hfa to the known starting base clock instead of our
  1255. requested clock rate.
  1256. - Hfa device failure can be detected within 15 seconds so we should try
  1257. restarting it sooner to avoid tripping the device's own watchdog.
  1258. - Check return result of hfa clear readbuf to minimise error messages on device
  1259. failure.
  1260. - Put MHz into cta statline description.
  1261. - Send a work restart with every shutdown message to hfa devices to clear any
  1262. work that might be stale on the next restart.
  1263. - Store the hfa hash_clock rate and display it in the statline.
  1264. - Store the maximum board temperature for hfa devices and take that into
  1265. consideration when calculating the highest temperature as well as the dies.
  1266. - A1: CoinCraft-Desk driver variant
  1267. - Initial import of Bitmine.ch A1 SPI driver
  1268. - klondike ensure stats type matches
  1269. - avalon, bab, drillbit, klondike use more screen space rather than truncating
  1270. info
  1271. - Add hashfast fanspeed% to statline display.
  1272. - Move driver statline padding to cgminer.c, expanding width of maximum
  1273. displayable statistics and window width to add more info.
  1274. - Prune old stratum shares that we've seen no response for over 2 minutes to
  1275. avoid memory leaks for pools that don't respond about some shares.
  1276. - Add warning if system libusb is being added.
  1277. - Only run ./configure with autogen.sh if extra parameters are passed to it.
  1278. - Updated cointerra features.
  1279. - Add le16toh defines for platforms that may be missing it.
  1280. - Remove modminer bitstreams from distribution and replace with a README saying
  1281. what file needs to be added if modminer build is still desired.
  1282. - Use the simplelog function from usb_list()
  1283. - Add a simplelog function that does not log date and time.
  1284. - Use a unique usb_list function displaying only pertinent information when
  1285. listing usb devices from the menu.
  1286. - Abstract out the _in_use function to take different linked lists.
  1287. - Break out of linked list loop in remove_in_use in case we've gone over the
  1288. whole list.
  1289. - Check for hfa invalid hash clockrate after other error messages.
  1290. - Detect non-responsive icarus devices and attempt a usb reset before killing
  1291. them after 2 minutes of no hashes.
  1292. - Detect non-responsive bitfury devices and try a usb reset on them before
  1293. killing their instances off after 2 minutes of no activity.
  1294. - Allow hotplug interval to be changed from the USB menu.
  1295. - Prevent recursive loop in __is_in_use linked list walking.
  1296. - Add the ability to whitelist previously blacklisted usb devices from the menu.
  1297. - Use a bool in struct cgpu to know when a usb device has been blacklisted,
  1298. avoiding blacklisting it more than once.
  1299. - bab - ensure disabled chips are counted in the screen dead chip counter
  1300. - bab - only disable the chip once ...
  1301. - bab - short work list skip disabled chips
  1302. - api.c avoid incorrect gcc warning
  1303. - cgminer -h crash fix
  1304. - Add blacklisting as an option to the USB menu.
  1305. - Add a mechanism to blacklist a usb device from its cgpu.
  1306. - Add an option to the USB menu to list all known devices.
  1307. - Add an option to send a USB reset via the USB menu.
  1308. - Add a usb_reset by cgpu function to usbutils.
  1309. - Add warning for attempting to unplug a usb device that is already removed.
  1310. - Add USB Unplug option to USB management device management menu.
  1311. - Add enable and disable USB device functions to the menu.
  1312. - Add a [U]SB menu item, initially with just statistics per device, adding
  1313. device number to the device status window display.
  1314. - Reuse the cgpu temp entry for avalon and bitfury devices, changing avalon to a
  1315. damped value.
  1316. - Store the cointerra maximum temperature in the cgpu struct as an exponentially
  1317. changing value based on the maximum temperature.
  1318. - Reuse the cgpu->temp entry for max temperature in hfa driver.
  1319. - bab - disable chips that return only bad results
  1320. - Add driver for cointerra devices.
  1321. - Add Avalon2 (2U size machine) support
  1322. - miner.php - define a default rigport (that can be changed) and don't require a
  1323. port number in the rigs array
  1324. - miner.php allow links for rig buttons in tables and allow using the 4th IP
  1325. octet if no rig name - default disabled for both
  1326. - format fix and bad variable usage fix for --benchfile
  1327. - Allow running cgminer in benchmark mode with a work file --benchfile
  1328. - ANU frequency is in MHz, not hex.
  1329. - Remove bitfury devices from the usb list on shutdown in case they have stopped
  1330. responding but have not had a fatal usb error.
  1331. Version 3.12.3 - 8th February 2014
  1332. - Put the hashfast temperature into the cgpu structure so that it shows up in
  1333. the devs API call.
  1334. - We shouldn't block on no work situations directly from the getwork scheduler
  1335. itself.
  1336. - Revert "Make the pthread cond wait in the getwork scheduler a timed wait in
  1337. case we miss a wakeup."
  1338. Version 3.12.2 - 8th February 2014
  1339. - Adjust antminer U1 timing according to command line frequency set, fixing the
  1340. need for icarus timing on the command line.
  1341. - Read pipe errors that don't clear are worth attempting to reset the usb.
  1342. - Revert "Do away with usb resets entirely since we retry on both pipe and io
  1343. errors now and they're of dubious value."
  1344. - Make the pthread cond wait in the getwork scheduler a timed wait in case we
  1345. miss a wakeup.
  1346. Version 3.12.1 - 7th February 2014
  1347. - Document new features for antminer U1 and hfa devices.
  1348. - Add support for ANU overclocking.
  1349. - Increase hfa fanspeed by more if we're rising in temp above the target than if
  1350. the temp is staying the same.
  1351. - Add debug output when get_work() is blocked for an extended period and add
  1352. grace time to the device's last valid work to prevent false positives for device
  1353. failure.
  1354. - Issue a shutdown prior to a reset command for hfa devices and lock access to
  1355. reads awaiting the response if the device is already running.
  1356. - Do not register as successful a hfa init sequence that reports the clockrate
  1357. as zero.
  1358. - Show device info in noffset nonce share above target message.
  1359. - Widen lines in top menu to fit extra large share values.
  1360. - Only show one decimal place if pool diff is not an integer.
  1361. - Show serial number as a hex value in hfa verbose startup.
  1362. - Slowly remove work even if it's not being used to keep the getwork counter
  1363. incrementing even if work is not used and as a test that pools are still
  1364. working.
  1365. - Increase the maximum diff between hfa dies to 100Mhz.
  1366. - Show which hfa die is bringing down all the others when decreasing all the
  1367. clock speeds.
  1368. - Increase the decrease when temp has increased more and we want to decrease it
  1369. on hfa.
  1370. - Give device info with share above target message.
  1371. - Allow throttling of hfa dies more frequently and increasing of speeds less
  1372. frequently.
  1373. - Wait after sending a hfa shutdown to allow the device to properly shut down
  1374. before possibly sending it more commands.
  1375. - Minimise the die clock differences in hfa to no more than 50Mhz.
  1376. - Check for when errno is set on windows as well as the windows variant for
  1377. errors.
  1378. - Revert "Update to libusb-1.0.18"
  1379. - Disable fan/die clock control in hfa if the firmware does not support it, with
  1380. notification.
  1381. - Add ability to enter ANU frequency as a multiple of 25 from 150-500.
  1382. - Decrease hfa clock by 10 if a reset is attempted due to the device remaining
  1383. idle.
  1384. - ifdef out icarus options unused without icarus built in.
  1385. - Reorder command line options alphabetically.
  1386. - Add no matching work to hfa API output.
  1387. - Change various logging message levels in the hfa driver.
  1388. - Only adjust clocks if there is no restart in hfa to avoid 2 restarts back to
  1389. back.
  1390. - Ensure we iterate over all dies adjusting temperate for hfa by starting
  1391. iterating after the last die modified.
  1392. - Clamp initial hfa fanspeed to min/max if passed as parameters.
  1393. - Allow hfa fanspeed to be set via command line.
  1394. - Further relax the target temperatures on hfa driver, targetting 88 degrees.
  1395. - Try one more time to get the hfa header on init since it can take 2 seconds
  1396. for all 3 boards on a sierra.
  1397. - Update authors for removal of gpu/scrypt.
  1398. - Wait for 5 temperature updates in hfa before adjusting fanspeed.
  1399. - Have some leeway before starting to throttle hfa dies.
  1400. - Use increments of 10 when increasing hfa clock since it may not have 5 MHz
  1401. granularity internally.
  1402. - Only perform a hfa fan speed update if we have new temps to work with.
  1403. - Correctly measure the hfa max temp and smooth out the changes in its value.
  1404. - Choose better defaults for min/max/default fan settings for hfa driver.
  1405. - bab - reduce def speed, fix speed staying in ranges and report bank/chips in
  1406. ioctl() errors
  1407. - bab - add info about number of boards/chips to each Dead Chain
  1408. - These may not be longs (eg: OSX)... fo a safe cast to ensure.
  1409. - bab - add dead boards and dead chains to stats
  1410. - Add fanspeed to hfa api output and set initial fanspeed to 10%
  1411. - Add hfa fanspeed control to try and maintain a target temperature.
  1412. - API-README correct new text format documentation
  1413. - API allow multiple commands/replies in one request
  1414. - Add op commands necessary to control hfa fanspeeds.
  1415. - Add OP_FAN to hf protocol header.
  1416. - Always show the stratum share lag time in debug mode.
  1417. - Add stratum share response lag time to verbose output if it's greater than 1
  1418. second.
  1419. - Add stratum share submission lag time to verbose information if it's over 1
  1420. second.
  1421. - Check for more interrupted conditions in util.c and handle them gracefully.
  1422. - Send a ping to hfa devices if nothing is sent for over 5 seconds.
  1423. - Add OP_PING to hfa commands
  1424. - Display the hfa serial number as a hexadecimal value.
  1425. - Add the ability to display a hexadecimal 32 bit unsigned integer to the API.
  1426. - Limit all hfa restarts for temperature control to no closer than 15 seconds
  1427. apart.
  1428. - Allow the hfa temp target to be disabled by setting it to zero.
  1429. - Handle interruptions to various select calls in util.c
  1430. - Add sanity check for silly overflows in hfa die temperature readings.
  1431. - Add per-die throttling control for hfa driver based on each die's temperature,
  1432. issuing a suitable reset to maintain the temperature below a configurable target
  1433. temperature.
  1434. - Update hf protocol
  1435. - Do not memcpy in usbutils unless data was transferred.
  1436. - Send a full allotment of jobs to the hfa device after a restart instead of
  1437. reading the status.
  1438. - Export the flush_queue function for use by drivers.
  1439. - Remove wrong goto
  1440. - Remove the unqueued work reference when we discard work from get queued as
  1441. well.
  1442. - Wake the global work scheduler when we remove a work item from the unqueued
  1443. work pointer.
  1444. - Discard work that is stale in the get_queued() function, returning NULL
  1445. instead.
  1446. - Add a call to a driver specific zero stats function when zero stats is called
  1447. to allow each driver to reset its own stats as well if desired.
  1448. Version 3.12.0 - 29th January 2014
  1449. - Add support for AntminerU1 devices with the icarus driver.
  1450. - Add antminer U1 to comment in udev rules.
  1451. - Do away with usb resets entirely since we retry on both pipe and io errors now
  1452. and they're of dubious value.
  1453. - Retry on usb IO errors instead of faking success.
  1454. - Check that we've cleared the pipe error after a clear request, not the err
  1455. value which is unchanged.
  1456. - Update to libusb-1.0.18
  1457. - Change hfa overheat limit to 90 degrees.
  1458. - Relax timeout in hf get header to 500ms to match the usb timeout.
  1459. - Minion - check/clear interrupts for all chips
  1460. - Set info work to null after it is freed in nf1 after a restart to prevent
  1461. double free later.
  1462. - The second_run bool in libbitfury should be per device. Microoptimise its and
  1463. job_switched usage, removing the unused results array for NF1 devices.
  1464. - Fix displayed diff when solo mining at >2^32 diff.
  1465. - bab - stop stale work accumulating
  1466. - bab - set the default SPI speed back to 96000
  1467. Version 3.11.0 - 25th January 2014
  1468. - Add hashfast documentation to ASIC README
  1469. - Support the variable HFA naming throughout the driver notices.
  1470. - Set the global hfa hash clock rate to equal the lowest if we are lowering it
  1471. for a device reset since it may be re-hotplugged after failing reset.
  1472. - Decrease the hfa clock rate if it is overclocked and we have had to try
  1473. resetting it.
  1474. - Put a sanity check on the measured temperature in the hfa driver for obviously
  1475. wrong values.
  1476. - Avoid calling applog from within hfa statline before to avoid a deadlock.
  1477. - Add throttling control to hfa driver, configurable at command line, nominally
  1478. set to 85 degrees.
  1479. - Reset hfa device if no valid hashes are seen for 1 minute from the last work.
  1480. - Store when the last getwork was retrieved and display it in the API summary.
  1481. - bab - also report dead chip count screen
  1482. - Count share based hashes in the hfa driver with the device diff to get more
  1483. frequent updates.
  1484. - Only count 2/3 of the accumulated hashes on each pass through the hfa scan
  1485. work loop to smooth out displayed hashrate.
  1486. - bab add total history HW% to API stats
  1487. - Test valid nonces in the hashfast driver allowing us to check against the
  1488. target when trying to submit them.
  1489. - No point casting a double to a uint64
  1490. - Convert the hfa hashmeter to one based on successful share return and display
  1491. the raw and calculated hash totals in the API.
  1492. - bab - remove libbitfury dependency since it requires USB
  1493. - Add description to hfa hash clock command.
  1494. - Add hfa board temperatures to API output.
  1495. - Wait for up to 0.5 seconds in the hashfast scanwork loop if no jobs are
  1496. required.
  1497. - Label HFA devices as B or S when their configuration matches babyjet or
  1498. sierra.
  1499. - Fix libbitfury being compiled in always by mistake.
  1500. - bab - spelling
  1501. - Add bab-options
  1502. - bab - tune the chip speed based on error rates
  1503. - bab record/report spie and miso errors
  1504. - Win32 falsely comes up as big endian pulling in the wrong hf protocol header.
  1505. - Remove unused components in hashfast driver.
  1506. - Check in all usb communication places for hashfast driver that the device
  1507. still exists.
  1508. - Do not send a usb reset on a usb read pipe error.
  1509. - Don't replace usb pipe errors with the pipe reset return code.
  1510. - Updated hf protocol header.
  1511. - The search for extra nonce is not worth performing in the hashfast driver.
  1512. - Add core address to hfa parse nonce debugging.
  1513. - Retry sending a frame once if it has failed in hfa_send_frame
  1514. - Add extra hfa usb init errors.
  1515. - Quiet now unused variable warning in hfa detect.
  1516. - Remove unused variable.
  1517. - Add board temperature to hfa debug
  1518. - Make submit_tested_work return a bool about whether it meets the work target
  1519. or not.
  1520. - Provide a helper function for determining dev runtime and use it in the
  1521. hashmeters used.
  1522. - Look for hfa usb init header for 2 seconds, then resend the init twice more
  1523. before failing.
  1524. - Really only set up the hfa crc table once.
  1525. - Generically increase the queue if we are mining on a pool without local work
  1526. generation each time we run out of work.
  1527. - Change new block detection message since longpoll is rarely relevant today.
  1528. - Change the default clockspeed bits on nanofury devices to 50 and add a command
  1529. line option to allow it to be changed.
  1530. - Use unused line at the top of the log window which often gets stuck
  1531. unchanging.
  1532. - Clear pool work on a stratum reconnect message.
  1533. - bab record/report spie and miso errors
  1534. - bab - cleanup old work for dead chips also
  1535. - bab add avg fail tests to API stats
  1536. - bab report bank/board/chip for dead and v.slow chips
  1537. - bab process all nonce replies per chip together
  1538. - bab reduce work delays
  1539. - bab record the number of E0s discarded
  1540. - bab - modified result parsing
  1541. - bab restore removed unused flag
  1542. - configure - correct minion name
  1543. - bab only scan valid nonce offsets
  1544. - bab record continuous (and max) bad nonces
  1545. - bab display Banks/Boards/Chips in the device window
  1546. - Modify thread naming to make them easier to identify
  1547. - bab reduce the work send delay
  1548. - bab remove results polling
  1549. - bab report SPI wait in seconds
  1550. - bab report missing chips at start and API
  1551. - bab ensure there's enough space for the nonce reply
  1552. - bab correct stats 'Send Max'
  1553. - bab allow long enough wait on ioctl() per board
  1554. - bab more I/O stats
  1555. - api.c 2014
  1556. - api allow any size stats data
  1557. - bab add processed links which excludes expired links skipped
  1558. - bab report chips per bank, hw% and ghs per chip
  1559. - bab lock access to new_nonces to ensure correct reporting
  1560. - bab report V2 banks/boards during initialisation
  1561. - bab expire chip work
  1562. - bab use only k_lists and make work handling more refined
  1563. - klist - allow adding to tail
  1564. - bab remove old unused #define
  1565. - bab correct for master git
  1566. - correct klist reallocs
  1567. - klist lists for bab
  1568. - api.c correct DEVICECODE and ordering
  1569. - Maxchips should be 384 (16 chips/board 24 boards/controller)
  1570. - bab more detailed stats and delay less when waiting for a buffer
  1571. - api add data type AVG float 3 decimal
  1572. - bab - add V2 detect with bug fix in detect
  1573. - api.c set the actual version number to 3.0
  1574. - API V3.0 unlimited socket reply size
  1575. - README update --usb
  1576. - Check for loss of device in usb read before any other code on the usbdev
  1577. - Change stratum strings under stratum_lock in reconnect and free old strings.
  1578. - Add mcp2210 compilation to want_libbitfury configs.
  1579. - Fix HF driver typo.
  1580. Version 3.10.0 - 9th January 2014
  1581. - Set the mcp2210 transfer setting only when it changes.
  1582. - Buffer sizes in nanofury device data are unnecessarily large.
  1583. - Only perform spi reset on init, not with each transaction.
  1584. - Remove spi_detect_bitfury at nanofury startup and fix incorrect refresh time.
  1585. - Use a simple serialised work model for nanofury
  1586. - Use bitfury_checkresults to avoid hashing results twice in nanofury.
  1587. - Export bitfury_checkresults in libbitfury
  1588. - Pass extra parameters for later use in libbitfury_sendHashData
  1589. - Avoid double handling bswap of the nonce value in nanofury
  1590. - Avoid unnecessary rehashing in nanofury nonce checking.
  1591. - Remove the unused portions of atrvec in the nanofury driver
  1592. - Age work in nf1_scan to avoid risk of losing a work item and leaking memory.
  1593. - bitfury_work_to_payload is double handling the data unnecessarily
  1594. - Default bitrate on nanofury should be 200kHz
  1595. - localvec should be only 80 bytes not 80 words
  1596. - Wrong init value for nanofury
  1597. - Remove unused rehash values from nanofury driver.
  1598. - Only update info work in nanofury driver when it's empty.
  1599. - Fill the appropriate type of usb transfer when we know if it's an interrupt
  1600. transfer instead of a bulk one.
  1601. - Use the internal knowledge of the usb epinfo to determine whether we should be
  1602. doing an interrupt instead of a bulk transfer, and do not send a ZLP if so, and
  1603. limit read transfer to expected size automatically.
  1604. - Avoid bin2hex memleak when we start getting nanofury nonces
  1605. - Set atrvec only once and use a local array for each device's work.
  1606. - Cancel any spi transfers on nf1 close
  1607. - Add bitfury detection loop to nanofury startup
  1608. - Move spi init code to libbitfury
  1609. - Remove inappropriate extra config reg in nanofury setup.
  1610. - Status 0x30 should never happen with spi transfers.
  1611. - Fix spi transfer data size transmission mistakes.
  1612. - Minor correctness change in spi_add_data
  1613. - spi_txrx should always send and receive the same size message
  1614. - Random libbitfury changes.
  1615. - Set value of gpio pins to low on closing nanofury.
  1616. - Fix more init sequence for nanofury.
  1617. - Add basic initialisation for nf1 devices
  1618. - Add basic nf1_scan function.
  1619. - Basic import of libbitfury functions from nanofury branch
  1620. - Import functions from nanofury fork for libbitfury
  1621. - Meter out spi sends to only 2 bytes at a time, offsetting according to how
  1622. much data returns.
  1623. - Use the usb read limit function for mcp2210 reads.
  1624. - Provide a way for usb reads to just read the size asked for with a limit bool.
  1625. - Get pin value after an nf1 spi reset.
  1626. - Make sure what we send in the buffer doesn't change during spi reset for
  1627. nanofury
  1628. - Remove all standalone gpio setting change functions in mcp2210 and just use
  1629. the one global setting function.
  1630. - Set gpio values in the one function with all values for nanofury.
  1631. - Provide a helper function for setting all mcp2210 gpio settings.
  1632. - Add a helper function for getting all mcp2210 gpio settings.
  1633. - Set all pin designations and directions in one call for nanofury and don't
  1634. bother storing their values in the info struct.
  1635. - Provide helper functions for setting all pins and dirs on mcp2210
  1636. - Set all nanofury pin designations in one call
  1637. - Provide a helper function for setting all pin designations on mcp2210
  1638. - Store the spi settings in a struct for nanofury devices.
  1639. - Check the received status in mcp2210 spi transfers and repeat a zero byte send
  1640. if it's in progress.
  1641. - Set the bytes per spi transfer prior to each mcp2210 transfer.
  1642. - Separate out the send and receive functions for mcp2210 and check response
  1643. value in return.
  1644. - Check that mcp2210 spi settings have taken and check the value of the pin
  1645. during nanofury setup.
  1646. - Don't set GPIO pin designations after initial setting in nanofury since the
  1647. direction and values will be changed.
  1648. - Provide an mcp 2210 set gpio input helper function that sets a pin to gpio and
  1649. input.
  1650. - Move the set gpio output function to a generic mcp2210 version from nanofury
  1651. which also sets the pin to gpio.
  1652. - Implement a nanofury txrx with a larger buffer and cycling over data too large
  1653. to send.
  1654. - Implement magic spi reset sequence for nanofury.
  1655. - Add more spi magic to the nanofury init sequence.
  1656. - Add lots of magic spi initialisation to nanofury.
  1657. - Export reused components of bitfury management into a libbitfury and use for
  1658. bab and bitfury drivers.
  1659. - More init sequence for nanofury and implement a close function that sets all
  1660. pins to input.
  1661. - Reword offset header handling in hfa_get_header
  1662. - Sanity check in hfa_get_header
  1663. - Add more checks in hashfast driver for lost devices.
  1664. - Change spimode and send more data in nanofury setup.
  1665. - Add basic setup comms to nanofury.
  1666. - Implement an mcp2210 spi transfer function.
  1667. - Set the initial spi settings for nanofury driver.
  1668. - Provide a helper function for gettings mcp2210 spi settings.
  1669. - Implement an mcp2210 set spi transfer settings function.
  1670. - Cancel any SPI transfers in progress in nanofury after initial setup.
  1671. - Implement an mcp2210 spi cancel function.
  1672. - Return only binary values for mcp2210 GPIO values.
  1673. - Set GPIO LED and power to high in nanofury driver.
  1674. - Implement initial part of nanofury init sequence for GPIO pin settings and add
  1675. output debugging of set values.
  1676. - Add helper functions for getting and setting mcp2210 gpio pin designations.
  1677. - Don't return an error in usb read if we've managed to get the whole read
  1678. length we've asked for.
  1679. - Use correct endpoint order for nanofury devices and read with a short timeout
  1680. on return loop from send_recv.
  1681. - Add mcp2210 helper functions for getting and setting one GPIO pin val and
  1682. direction.
  1683. - Create a generic gpio pin struct and add helpers for mcp get pin val and dirs.
  1684. - Check the receive msg of a send/receive cycle on mcp2210 matches the send
  1685. message.
  1686. - Add a set of usb commands to the usbutils defines for mcp2210 comms, and use
  1687. the same command name for send and receive.
  1688. - Create a generic mcp2210 send_rcv function.
  1689. - Include mcp header for bitfury and fix extra params in macro.
  1690. - Add basic SPI comms defines for mcp2210 and build rules for bitfury.
  1691. - Minion set some core defaults similar to final requirements
  1692. - minion compile warnings
  1693. - move driver-minion.c to main directory
  1694. - Minion with ioctl() stats, settings to attempt to emulate 21TH/s
  1695. - minion driver with results interrupt working
  1696. - tested working driver-minion.c without interrupts
  1697. - Working driver-minion.c v0.1
  1698. - driver-minion.c compilable untested
  1699. - minion driver - incomplete
  1700. - Add minion driver into cgminer
  1701. - Add basic device detection and updated udev rules for nanofury devices.
  1702. - Remove GPU from share logging example.
  1703. - Don't keep resetting BXF clockspeed to default.
  1704. - If no pools are active on startup wait 60s before trying to reconnect since we
  1705. likely have the wrong credentials rather than all the pools being out.
  1706. - Discard bad crc packets for hashfast driver instead of trying to process them.
  1707. - Update documentation for modified avalon options syntax and document relevant
  1708. 55nm details.
  1709. - Modify the auto tuning sequence to work with the 50MHz changes required to
  1710. work with 55nm Avalon.
  1711. - 55nm avalon requires the delays between writes reinstated for stability.
  1712. - Use an equation instead of a lookup table to set the frequency for 55nm avalon
  1713. allowing arbitrary values to be used.
  1714. - Make the result return rate low detection on avalon less trigger happy.
  1715. - Always send the bxf device a clockspeed after parsing the temperature in case
  1716. the device has changed the clockspeed itself without notification.
  1717. - Fix BXF being inappropriately dependent on drillbit.
  1718. Version 3.9.0 - 23rd December 2013
  1719. - drillbit asic - enable in api.c
  1720. - Fix trivial warnings in knc driver.
  1721. - Reinstate work utility based hashmeter for knc.
  1722. - drillbit format %z not valid on windows
  1723. - drillbit more formatting changes
  1724. - usbutils remove old code added back
  1725. - Memset the spi tx buffer under lock in knc driver.
  1726. - drillbit fix temp display to fit in standard space
  1727. - Drillbit formatting
  1728. - drillbit - use one drvlog and display dname before add_cgpu
  1729. - Keep orginal naming for the bitfury driver
  1730. - knc: Bugfix - good shares wrongly reported as HW errors. Root cause of the
  1731. problem: several work items were assigned the same work_id in the active works
  1732. queue of the knc driver. Thus when good nonce report arrived from the FPGA,
  1733. wrong work item was picked up from the queue, and submit_nonce evaluated that
  1734. as an error. Fix: Limit the work_id counter update rate. Update it only to the
  1735. number of works actually consumed by the FPGA, not to the number of works
  1736. send.
  1737. - Store per-chip submit information for bxf device and show them in the API.
  1738. - Check for removed bxf devices before trying to update work or send messages.
  1739. - api.c no decref if not json
  1740. - Minimise risk of nonce2 overflow with small nonce2 lengths by always encoding
  1741. the work little endian, and increasing the maximum size of nonce2 to 8 bytes.
  1742. - Change default hashfast timeout to 500ms.
  1743. - Ensure we can look up the work item in the hashfast driver or print out an
  1744. error if we don't.
  1745. - Drillbit source formatting - reindent and retabify
  1746. - Add ASIC count, temperature status to drillbit API output (closes #1)
  1747. - Many warning fixes
  1748. - knc: Do not include variable "last minute" data into the "last hour" per-core
  1749. stats
  1750. - knc: Make per-core statistics available through API
  1751. - Implement command line control of the bxf target temperature.
  1752. - Add a simple PID-like controller to bi*fury devices to dynamically alter the
  1753. clock setting to maintain a nominal target temperature set to 82 degrees.
  1754. - Add data to BXF API output.
  1755. - Add support for newer protocol bi*fury commands job, clock and hwerror,
  1756. setting clock to default 54 value, turning parsing into a compact macro.
  1757. - Look for the thermal overload flag in the gwq status message in the hashfast
  1758. driver and send it a shutdown followed by an attempted reset.
  1759. - Log message fixups
  1760. - Fix for "Timing out unresponsive ASIC" for pools which send early reconnect
  1761. requests, and then take a short time to send work (ie BTCGuild)
  1762. - Shorten initial config line, win32/pdcurses doesn't like long lines during
  1763. early logging
  1764. - Pull back the very long timeouts set in fe478953cf50
  1765. - Fix bug where work restart during results scan could lead to bad device state
  1766. - Align device status lines same regardless of number of temp status or >10
  1767. ASICs
  1768. - Tag log lines from brand new devices as DRB-1 until they are initialised
  1769. - Tag log lines as 'DRB0' rather than 'DRB 0', same as other places in cgminer
  1770. - Print a summary of the device settings at level NOTICE during initialisation
  1771. - Allow chosing device settings based on 'short' product names shown in status
  1772. line
  1773. - Allow per-device settings to use "DRBnn" as an identifier instead
  1774. - Issue an ASIC restart during a work_restart, removes spurious timeout messages
  1775. from ASICs and probably some rejected shares
  1776. - Check all results against all work instead of just taking the first match
  1777. (avoids some rejected submissions to the pool, ASIC can produce multiple
  1778. candidate results.)
  1779. - Fix memory leak caused by unnecesarily copied work
  1780. - Fix bug with find_settings not returning default value
  1781. - Set timeouts on write, set very long timeouts
  1782. - Merge drillbit driver
  1783. Version 3.8.5 - 10th December 2013
  1784. - Increase the BFLSC overtemp to 75 for fanspeed to maximum.
  1785. - Set bflsc cutoff temperature to 85 degrees and throttle 3 degrees below the
  1786. cutoff temperature.
  1787. - Only set LIBUSB_TRANSFER_ADD_ZERO_PACKET for libusb versions we know include
  1788. support for.
  1789. - Provide a helper function that can reset cgsems to zero.
  1790. - Add to cgminer_CPPFLAGS instead of redefining them.
  1791. - Attempt a libusb reset device on usb devices that have stopped responding.
  1792. - Replace deprecated use of INCLUDES with _CPPFLAGS.
  1793. - Remove more unused GPU code.
  1794. - Attempt USB device resets on usb read/write errors that will normally cause
  1795. the device to drop out.
  1796. - Quieten down jansson component of build.
  1797. - Cache the bool value for usb1.1 in _usb_write
  1798. - Initialise usb locks within usbutils.c instead of exporting them.
  1799. - Imitate a transaction translator for all usb1.1 device writes to compensate
  1800. for variable quality hubs and operating system support.
  1801. - Rationalise variables passed to usb_bulk_transfer.
  1802. - Unlink files opened as semaphores on releasing them.
  1803. - Remove user configuration flag from pll bypass enabling in hashfast driver.
  1804. - Provide an hfa-dfu-boot option for resetting hashfast devices for
  1805. reprogramming.
  1806. - Fixed one byte stack overflow in mcast recvfrom.
  1807. - Having changed C_MAX means we don't calloc enough for usb stats, off by one.
  1808. - Don't free the info struct on hashfast shutdown since it's still accessed
  1809. after a device is removed.
  1810. Version 3.8.4 - 1st December 2013
  1811. - Deprecate the usb usecps function and just split up transfers equal to the
  1812. maxpacketsize on usb1.1 devices.
  1813. - Retry sending after successfully clearing a pipe error.
  1814. - Drop logging of timeout overrun message to verbose level.
  1815. - Use a much longer callback timeout for USB writes on windows only as a last
  1816. resort since cancellations work so poorly.
  1817. - Use vcc2 in bflsc voltage displayed.
  1818. - Increment per core errors on false nonces in bflsc and add per core statistics
  1819. to api stats, removing debugging.
  1820. - Store a per-core nonce and hw error count for bflsc.
  1821. - Fix json parsing in api.c
  1822. - Add debugging to hfa driver for how many jobs are being sent.
  1823. - Shut down the hfa read thread if the device disappears.
  1824. - Add debug output saying what frame command is being sent in hfa driver.
  1825. - Revert "Disable USB stats which were not meant to be enabled by default and
  1826. add extra memory for a memory error when stats are enabled."
  1827. - Reset work restart flag in hfa driver since we may check for it again in
  1828. restart_wait.
  1829. - Add more op usb init errors for hfa driver.
  1830. - Perform basic displaying of hfa notices received.
  1831. - Add hfa op usb notice macros.
  1832. - Update hf protocol header.
  1833. - Use sync usb transfers in lowmem mode.
  1834. - Go back to allowing timeout errors on USB writes to be passed back to the
  1835. driver without removing the device in case the driver wishes to manage them.
  1836. - Initialise more values for the hfa data structures.
  1837. - A USB control error must be < 0
  1838. - Simplify USB NODEV error checking to success only for writes and control
  1839. transfers, and success and timeout for reads.
  1840. - libusb error IO should be fatal as well if it gets through usb read and write.
  1841. - Allow IO errors in usb reads/writes to be ignored up to retry max times.
  1842. - Use correct padding for bxf temperature display.
  1843. - Initialise devices before attempting to connect to pools to allow their thread
  1844. prepare function to be called before having to connect to pools.
  1845. - Add hidden hfa options to set hash clock, group ntime roll and pll bypass,
  1846. fixing frame sent on reset to include extra data.
  1847. - Relax the timeouts for the slower usb devices on linux.
  1848. - Add big endian hf protocol header to Makefile
  1849. - Check for correct big endian macro in hf_protocol
  1850. - Use an absolute timeout in hfa_get_header to cope with buffered usb reads
  1851. returning instantly confusing the 200ms counter.
  1852. - Update hfa_detect_one to use the new detect function API.
  1853. Version 3.8.3 - 23rd November 2013
  1854. - Set the bitfury device start times from when we first get valid work.
  1855. - Fix stack corruption of zeroing too much in bf1 driver.
  1856. - Make usb_detect return the cgpu associated with it to check if it succeeds to
  1857. decide on whether to increment the device count or not.
  1858. - Set tv work start time for bxf driver.
  1859. - Age the bxf work items over 90 seconds, not the bf1 work items.
  1860. - Zero the read buffer in _usb_read to avoid stale data and only use stack
  1861. memory instead of using the bulkbuf since it is only used in _usb_read.
  1862. - Leave room for temperatures above 100 degrees and pad consistently for bxf
  1863. statline.
  1864. - Drop json stratum auth failed message log level to verbose.
  1865. - Change the processed value not the bufsiz in response to an end of message
  1866. marker.
  1867. - Don't lose data beyond the end of message in a usb read.
  1868. - Silence irrelevant warning.
  1869. - Only check strlen on end if end exists.
  1870. - Simplify the end of message detection in _usb_read and allow it to return
  1871. without doing another read if the message is already in the buffer.
  1872. - Increase work ageing time to 90 seconds for bxf driver to account for firmware
  1873. changes.
  1874. - Use the age_queued_work function in the bitfury driver.
  1875. - Provide a function to discard queued work based on age.
  1876. - The json_val in api.c is a borrowed reference, not a new one so don't decref
  1877. it.
  1878. - Decrement json references in api.c to not leak memory.
  1879. - line 2913 added urlencode
  1880. - With reliable writes to the avalon there is no need for the sleep delays
  1881. between writes.
  1882. - There is no need to limit usb write transfers to maxpacketsize and it's
  1883. harmful for large transfers on slow devices such as wrt routers.
  1884. - Disable USB stats which were not meant to be enabled by default and add extra
  1885. memory for a memory error when stats are enabled.
  1886. - Set limit and count to integers to not overflow during failed hotplug attempts
  1887. and then not trying again.
  1888. - Update api example compilation instructions.
  1889. Version 3.8.2 - 16th November 2013
  1890. - Add more verbose documentation to the readme files for windows users.
  1891. - Add more information on libusb failure to init telling users to check README
  1892. file.
  1893. - Add information on unloading cdc drivers on osx to README
  1894. - Prevent a deadlock with use of restart_threads by spawning a thread to send
  1895. the driver flush work messages.
  1896. - Set priority of various threads if possible.
  1897. - Add bxf data to api output.
  1898. - Do not hold the mining thread lock in restart_threads when calling the driver
  1899. flush work commands.
  1900. - Send extra work regularly to the bxf device and parse the needwork command by
  1901. sending the amount of work it requests.
  1902. - Allow messages to have arbitrary offsets in the bxf parser in case we have
  1903. lingering buffered data.
  1904. - Send the maxroll command to the bxf driver and store the value to see if we
  1905. need to update it.
  1906. - Add sending of flush command to bxf on flush_work
  1907. - Add flush and version commands to bxf start up, flush buffer and try to parse
  1908. version response string.
  1909. - Abstract out bxf recv message.
  1910. - Add extra bxf commands to usbutils
  1911. - Abstract out bxf send message to allow us to easily add extra commands.
  1912. - Don't run device restart code if the device is not enabled.
  1913. - Expand size of bitfury statline
  1914. - Various driver fixes for bitfury devices, including a flag from when first
  1915. valid work appears.
  1916. - Look up work results in bxf driver from correct variable.
  1917. - Correct incorrect error code in bxf driver for usb writes and add debugging.
  1918. - Add bxf details to usbutils.
  1919. - Implement a statline showing temperature for bxf
  1920. - Add api data for bxf device, sharing the hashrate function with bf1.
  1921. - Count no matching work as a hw error on bxf
  1922. - Add BXF to udev rules.
  1923. - Work id should be hexadecimal in bxf messages.
  1924. - Add unrecognised string debugging to bxf driver.
  1925. - Implement the main scanloop for bxf, trying to prevent it from ntime rolling
  1926. work if the work protocol does not allow it.
  1927. - Parse bxf work submits fully, submitting the results.
  1928. - Provide a function for setting the work ntime.
  1929. - Implement a skeleton parse bxf submit function.
  1930. - Use the bxf read thread to set the device target and send its first work item.
  1931. - Implement a bxf send work function and set update and restart functions to
  1932. sending new work since that's the equivalent for that device.
  1933. - Add temperature parsing to bxf driver
  1934. - Create and destroy a basic bxf read thread.
  1935. - Remove the buffer from bitfury info since it is only used on one pass in the
  1936. bf1 device.
  1937. - Add a rudimentary bxf detect one function.
  1938. - Rename all bf1 specific functions in the bitfury driver, using a switch to
  1939. choose correct function.
  1940. - Rename bitfury_getinfo to bf1_getinfo since it's unique to bf1 devices.
  1941. - Separate out the bf1 reset from bitfury reset.
  1942. - Store the bitfury identity in the info struct.
  1943. - BaB - updated tested OS comment
  1944. - Uniquely identify the BF1 and BXF bitfury devices.
  1945. - Remove the default libusb WinUsb pipe policies that don't suit us.
  1946. - Only set the winusb pipe policy if it doesn't match our requirements instead
  1947. of every transfer.
  1948. - klondike - dont try to flush if not initialised
  1949. - api.c trylock() add missing locklock
  1950. - Use our new zero length packet support directly in windows.
  1951. - Enable support for zero length packet on windows and auto clear pipe stalls.
  1952. - util.c: Decreasing reference count on allocated JSON obects to prevent memory
  1953. leak
  1954. - api.c: Release apisock on error in api()
  1955. - api.c: Release io_data->ptr when releasing io_data in io_free()
  1956. - We can't connect to a GBT pool at all with fix protocol enabled.
  1957. - Initialise the stgd lock mutex earlier to prevent dereferences when pool
  1958. testing occurs before it.
  1959. - Klondike support I2C USB layout also - as KLI
  1960. - Return error codes in avalon_read() if they're not timeouts.
  1961. - Break out of the avalon idle loop if we get a send error.
  1962. - Set avalon ftdi latency to just less than the time it would take to fill the
  1963. ftdi buffer at 115200 baud
  1964. - Update example.conf
  1965. - Only limit packetsize on usb out writes.
  1966. - We must chop up every 64 bytes returned on an ftdi chip, not just the first 2
  1967. bytes so revert to parsing the data internally in the avalon instead of using
  1968. usbutils' simple ftdi parser.
  1969. - Only retry 3 times in hfa_reset.
  1970. - Only add_cgpu in hashfast driver once we have a real driver set up.
  1971. - Clean up properly if hfa_detect_common fails in the hashfast driver.
  1972. - --shares should be scaled to diff1 not absolute number of shares
  1973. Version 3.8.1 - 11th November 2013
  1974. - Revert "Send a zero length packet at the end of every usb transfer on windows
  1975. in case libusb internally has batched them into one maxpacket sized."
  1976. Version 3.8.0 - 10th November 2013
  1977. - api update version to 2.0 and remove GPU form API-README
  1978. -Remove now unused scrypt files.
  1979. - api.c remove all GPU/gpu references and correct code as required
  1980. - Rudimentary removal of GPU OpenCL and Scrypt features from api.c
  1981. - Reorder configure alphabetically for devices to compile and fail if no support
  1982. is selected to be compiled in.
  1983. - BaB update/format some comments
  1984. - BlackArrowBitfury early GPIO V1 driver
  1985. - Fine tune the reading of results in bitfury driver to not lose any across work
  1986. restarts or corrupt due to store results not parsed during restart.
  1987. - Send a zero length packet at the end of every usb transfer on windows in case
  1988. libusb internally has batched them into one maxpacket sized.
  1989. - Framework for ntime rolling, keep looking for OP_USB_INIT replies when other
  1990. packets received
  1991. - Configure source for a new BaB driver
  1992. - sha2 allow external access to some macros and the K array
  1993. - Fixed a math issue when reporting fan speed on the status line.
  1994. - Use the main hashlist to store work done in the bitfury driver and remove work
  1995. from the list by time, thereby fixing the duplicates at startup. Count hardware
  1996. errors for when no match occurs.
  1997. - Add a get and queue helper work function.
  1998. - Remove GPU mining code.
  1999. - Use libusb's own zero length packet support unless we have to emulate it on
  2000. windows since only libusb knows for sure if it's needed.
  2001. - Unlock the avalon qlock while sending tasks to not hold the lock for an
  2002. extended period.
  2003. - Sleep in avalon send task on return to the function to allow other code to
  2004. work during the sleep period.
  2005. - Send zero length packets when terminating a usb write aligned to
  2006. maxpacketsize.
  2007. - Do the driver flush in avalon code lockless since it can lead to deadlocks.
  2008. - Reset the work_restart bool after the scanwork loop in case the driver flushes
  2009. work synchronously.
  2010. - Only check for the stratum clean message if we have had a valid message.
  2011. - Get rid of the stage thread since all work can be asynchronously added now via
  2012. hash_push anyway.
  2013. - Remove the now incorrect faq entry regarding scrypt difficulty.
  2014. - Check for fatal read errors and break out of the read loop in avalon.
  2015. - Send errors are basically fatal in avalon driver so break out of the send
  2016. tasks loop.
  2017. - Make the avalon driver return -1 for hash count when usb fails, allowing the
  2018. main loop code to send it the shutdown flag.
  2019. - Break out of the hash work loops when a failure is detected instead of
  2020. dropping into mt disable.
  2021. - Use usbutils' own ftdi parser for avalon and the ftdir's own latency for
  2022. managing timeouts since we can wait on reads with completely asynchronous
  2023. reads+writes.
  2024. - Use usbutils' own cps function for slowing rate of usb writes on avalon.
  2025. - Fix build for no libcurl
  2026. - Check length before submitting sync transfers
  2027. Version 3.7.2 - 5th November 2013
  2028. - Clean up completely on avalon shutdown.
  2029. - Use cgsem timed waits in avalon driver to not miss any queued wake ups to
  2030. account for async messages coming during a flush work.
  2031. - Statline before is too long on icarus that doesn't have monitoring.
  2032. - Different windows+usb combinations respond with varying levels of reliability
  2033. wrt timeouts so use a nominal extra 40ms before cancelling transfers that fail
  2034. to time out on their own.
  2035. - Do all hotplug_process under the write mining_thr_lock
  2036. - Fix for opt_worktime on big endian machines.
  2037. - Correct set_blockdiff for big endian machines.
  2038. - Make sure cgpu exists in the restart threads loop in cases of hotplug etc.
  2039. - Treat usb write timeout errors as unrecoverable.
  2040. - Transfer errors are filtered out in usbutils now so no need to look for them
  2041. in NODEV checks.
  2042. - Remove now unused entries from struct cg_usb_device
  2043. - Do not double up with checking for end of timeout measurements in usb
  2044. read/write.
  2045. - Do get_work in fill_queue without holding other locks.
  2046. - Initialise usb after all the locks and conditionals are initialised.
  2047. - Use only a trylock in flush queue to prevent deadlocks.
  2048. - Add a wr_trylock wrapper for pthread rw lock write trylock.
  2049. - Scale diff for scrypt when testing for block solves.
  2050. - Fix for non curses build.
  2051. Version 3.7.0 - 4th November 2013
  2052. - Use WRITEIOERR macro check for all usb writes.
  2053. - Always use a usb read buffer instead of having to explicitly enable it.
  2054. - Force unlocking of the console lock on restart to avoid corrupting the console
  2055. state when we finally quit.
  2056. - Never wait indefinitely for a pthread conditional in the hash_pop loop in case
  2057. the work scheduler misses the last wakeup.
  2058. - Make hash_pop signal the work scheduler each time it waits on the conditional
  2059. that it should look for more work.
  2060. - Discriminate between libusb transfer errors and regular libusb errors and make
  2061. sure to capture them all.
  2062. - Always read a full sized transfer for bulk reads.
  2063. - Deprecate preferred packet size functions in usbutils since they're unhelpful.
  2064. - Copy known transferred amount back to buffer for usb reads instead of
  2065. requested length.
  2066. - Treat timeout errors on usb writes as IO errors.
  2067. - Ignore iManufacturer from bitfury devices to support bluefury as well as
  2068. redfury.
  2069. - Add more debugging info for when usb details don't match.
  2070. - Look for timeout overruns in usb read/write.
  2071. - Use an int for usb_read/write to identify overruns.
  2072. - Use the callback timeout as a safety mechanism only on windows.
  2073. - Instead of using complicated sleeps to emulate characters per second on usb
  2074. writes, submit only as many characters as can be transferred per usb poll of
  2075. 1ms, and use timeouts in bulk transfers, cancelling transfers only as a
  2076. failsafe.
  2077. - Remove discarded work from quota used.
  2078. - Display works completed in summary and API data.
  2079. - Store how many work items are worked on per pool.
  2080. - Make each pool store its on reference for what the most current block is and
  2081. fine tune management of block change in shared pool failover strategies using
  2082. the information.
  2083. - Rationalise use of current_hash to a single hex string the length of the
  2084. previous block and display only the first non zero hex chars of the block in the
  2085. status window.
  2086. - Update uthash to latest.
  2087. - show_hash doesn't know the size of the string so hard code the max size.
  2088. - Remove as many initial zeroes as exist on share display, abstracting out a
  2089. hash show function to use across different submission mechanisms.
  2090. - Add missing endian swap functions for 64bits.
  2091. - Sanity check for absurd target setting and divide by zero.
  2092. - Abstract out conversion of a 256 bit endian number to a double, correcting
  2093. errors and use it for determining any magnitude share diff.
  2094. - Avoid the extra generation of a byte flipped hash2 in struct work and directly
  2095. use the LE work hash.
  2096. - Add a sanity check to avoid divide by zero crashes in set_target
  2097. - Calculate diff from target accurately for all 256 bits.
  2098. - Set a true 256bit binary target based on any diff value in set_target()
  2099. - Provide a copy_work_noffset function for copying a work struct but changing
  2100. its ntime.
  2101. - Make calls to flush queue and flush work asynchronous wrt to the main work
  2102. loops.
  2103. - Share is also above target for submit noffset nonce.
  2104. - Use round for displaying current pool diff.
  2105. - Use round for stratum share diff display instead of floor.
  2106. - Use round instead of floor for displayed pool difficulty.
  2107. - Allow arbitrary diffs to be tested against nonces via a test_nonce_diff
  2108. function.
  2109. - Abstract out the rebuilding of hash2 in work.
  2110. - Share is above, not below target, when it doesn't meet it.
  2111. - Add the ability to add uint8 and uint16 entities to api data.
  2112. - Use a non blocking connect with a 1 second select timeout when initiating
  2113. stratum to allow us to iterate over all IPs returned by getaddrinfo in round
  2114. robin DNS pools.
  2115. - Minor style changes to output.
  2116. - Revert two different hash_sequence(_head)'s to one variable, use
  2117. HF_SEQUENCE_DISTANCE in both places
  2118. - Remove duplicate HF_SEQUENCE_DISTANCE() macro, and duplicate hash_sequence
  2119. from info structure
  2120. - Change SEQUENCE_DISTANCE() macro to HF_SEQUENCE_DISTANCE()
  2121. - Structure changes for OP_NONCE, add big endian header
  2122. - klondike - initialise stat_lock
  2123. - klondike - better to unlock locks than to lock them twice :)
  2124. - Add copyright notice to knc driver.
  2125. - Trivial style changes to knc driver.
  2126. - Improve performance of work generation by optimizing hex2bin and bin2hex
  2127. - klondike - change options to clock and temptarget only
  2128. - klondike - fix another uninit dev warning
  2129. - klondike - downgrade 'late update' but add an idle detect - and correct error
  2130. levels
  2131. - klondike - fix isc uninit warning
  2132. - Use a mutex to protect data in the knc structure, to prevent loading more work
  2133. during a flush, and unlock and return to main between calls to get_queued_work.
  2134. - Use the existing device_data for knc state data.
  2135. - Only count successful nonces as hashrate in the knc driver.
  2136. - Fix trivial warnings in knc driver.
  2137. - Add KNC to api
  2138. - klondike - drop the device for hotplug if it's unresponsive
  2139. - usbutils - usb_nodev() allow a driver to drop a device
  2140. - klondike - single 'shutdown' and ensure it happens
  2141. - klondike remove SCNu8 - unsupported on windows
  2142. - Correctly calculate sleep_estimate in usbutils that may have been preventing
  2143. usecps from working.
  2144. - Use a sanity check on timeout on windows.
  2145. - Better HW error count; disable permanently those cores which fail often
  2146. - KnC driver: knc-spi-fpga ASIC driver
  2147. - Fixup jansson & libusb include paths when using separate build directory
  2148. - 'llround' is more suitable here than 'roundl'
  2149. - Silence warning if MAX/MIN is already defined
  2150. - Remove prebuild ccan/opt dependencies
  2151. - Reinstate block solve testing.
  2152. - Dramatically simplify the calculation of blockdiff.
  2153. - Simplify the set_target function, allowing it to work properly for fractional
  2154. diffs.
  2155. - Merge hashfast driver
  2156. - Merge KnC driver
  2157. Version 3.6.6 - 26th October 2013
  2158. - Remove inappropriate extra locking in _usb_transfer_read
  2159. Version 3.6.5 - 26th October 2013
  2160. - klondike - fix uninitialised dev bug
  2161. - Adjust the binary ntime data in submit_noffset_nonce even when there is no hex
  2162. ntime string for eg. gbt.
  2163. - Put an entry into the work struct telling drivers how much they can roll the
  2164. ntime themselves.
  2165. - Only set libusb cancellable status if the transfer succeeds.
  2166. - Remove the applog on miner threads dying to prevent deadlocks on exit.
  2167. - Do one extra guaranteed libusb event handling before testing if there are any
  2168. pending async usb transfers.
  2169. - Use a linked list for all usb transfers instead of just cancellable ones.
  2170. - Provide a mechanism for informing drivers of updated work templates for
  2171. stratum and gbt mining.
  2172. - Add cancellable transfers correctly to the ct_list
  2173. - Check for presence of thr in icarus get nonce for startup nonce testing to
  2174. work.
  2175. - Use cancellable usb transfers in the icarus driver to avoid having to loop and
  2176. poll when waiting for a response and to speed up work restart response time.
  2177. - Add a usb_read_ii_timeout_cancellable wrapper
  2178. - Add usb transfer cancellation on shutdown and documentation regarding where
  2179. cancellable transfers are suitable.
  2180. - Use cancellable transfers on bitfury device.
  2181. - Cancel cancellable usb transfers on work restart messages.
  2182. - Don't bother having a separate cancellable transfer struct for usb transfers,
  2183. simply include the list in the usb_transfer struct.
  2184. - Add wrappers for usb_read_cancellable and usb_read_timeout_cancellable
  2185. - Specifically set the cancellable state for it to not be uninitialised in the
  2186. usb transfer struct.
  2187. - Alter the usb cancellable list only under cgusb_fd_lock write lock.
  2188. - Pass the cancellable option to _usb_read options to decide on whether to add
  2189. usb transfers to the list of cancellable transfers.
  2190. - Create a linked list of potentially cancellable usb transfers.
  2191. - Don't attempt to disable curses or print a summary during an app restart to
  2192. prevent deadlocks.
  2193. - Keep the libusb event handle polling thread active until there are no async
  2194. usb transfers in progress.
  2195. - Keep a global counter of how many async usb transfers are in place.
  2196. - Perform libusb_submit_transfer under the write variant of cgusb_fd_lock
  2197. - klondike - error condition handling
  2198. - Avoid entering static libusb directory if --with-system-libusb is enabled.
  2199. - Minor opencl build corrections.
  2200. - Enable dynamic linking against system libusb --with-system-libusb
  2201. - Modify Makefile to only include opencl related code when configured in.
  2202. - Convert opencl to need to be explicitly enabled during build with
  2203. --enable-opencl
  2204. - Implement a cglock_destroy function.
  2205. - Implement a rwlock_destroy function.
  2206. - Implement a mutex_destroy function.
  2207. - Add usb command name to critical libusb error reporting.
  2208. - Use windows' own higher resolution time and handlers allowing us to have
  2209. higher precision absolute timeouts.
  2210. - Fix lldiv error in windows cgminer_t calculation.
  2211. - miner.php correct sort gen field names largest to smallest
  2212. - api ... the code related to device elapsed
  2213. - api add device elapsed since hotplug devices Elapsed is less than cgminer
  2214. Elapsed
  2215. - Drop usb buffering message to debug logging level.
  2216. - Do the ntime binary modification to the work struct when submitting an ntime
  2217. offset nonce within submit_noffset_nonce
  2218. - Code cleanup and improved documentation
  2219. - Improvements to support for BitBurner boards
  2220. - Convert libusb transfer errors to regular libusb error messages to allow for
  2221. accurate message reporting.
  2222. Version 3.6.4 - 18th October 2013
  2223. - Fixing the memory leak for remaining semaphores means we can go back to using
  2224. async transfers on other OSes with our own timeout management again.
  2225. - Use the forcelog function on shutdown to cope with indeterminate console lock
  2226. states due to killing of threads.
  2227. - Add a forcelog variant of applog which invalidates any console lock to force
  2228. output.
  2229. - Send pthread_cancel to failed completion_timeout that has timed out.
  2230. - Simplify queued hashtable by storing unqueued work separately in a single
  2231. pointer.
  2232. - bflsc use getinfo chip parallelization if it is present
  2233. - bflsc - fix brackets so [Chips] isn't always null
  2234. - Remove unused variables.
  2235. - Use cgcompletion timeouts for the unreliable shutdown functions on kill_work.
  2236. - Fix cgcompletion return code and free on successful completion.
  2237. - Provide a cg_completion_timeout helper function for unreliable functions that
  2238. takes arbitrary functions and parameters and reliably returns.
  2239. - Perform sync transfers on shutdown to allow final transfers to complete.
  2240. - Destroy cgsems used after transfers to not leave open files on osx.
  2241. - klondike rewrite work control
  2242. - allow __work_complete() access
  2243. - miner.h allow devices to tv_stamp work
  2244. Version 3.6.3 - 17th October 2013
  2245. - API add 'MHS %ds' to 'summary'
  2246. - Optional lock tracking and stats via the API
  2247. - Speed up polling repeat again in usb poll thread and handle async after the
  2248. message to disable polling is complete.
  2249. - Revert to using timeouts on !linux since libusb leaks memory without them.
  2250. - Revert to libusb instead of libusbx
  2251. Version 3.6.2 - 17th October 2013
  2252. - Remove unused components of jansson
  2253. - Remove unused parts of libusb
  2254. - Work around older libtoolize that fails without top ltmain.sh not being
  2255. present during autogen
  2256. - Fix open coded use of autoreconf in autogen
  2257. - Update jansson to only build parts we require and suited to our build
  2258. environment.
  2259. - Initial import of jansson-2.5
  2260. - Prevent further USB transfers from occurring once the shutdown signal has been
  2261. sent to prevent transfers getting stuck and libusb failing to shut down.
  2262. - Make the USB polling thread poll every second to potentially aid longer
  2263. timeout transfers.
  2264. - Set device_diff on work in get_work to not be missed with drivers that use
  2265. get_work directly.
  2266. - Convert icarus driver to hash_driver_work model.
  2267. - bflsc - also allow ' 0' in DEVICES IN CHAIN
  2268. - bflsc - allow a 0 in DEVICES IN CHAIN
  2269. - Add needed EXTRA_DIST for libusbx.
  2270. - Update libusbx configure.ac changes.
  2271. - Revert libusb Makefile changes from going to libusbx.
  2272. - Fix trivial libusbx warnings.
  2273. - Convert libusb-1.0.16-rc10 to libusbx-1.0.17
  2274. Version 3.6.1 - 14th October 2013
  2275. - Emulate the libusb_control_transfer sync setup in our async variant.
  2276. - usbutils - make all libusb_error_name messages the same
  2277. Version 3.6.0 - 14th October 2013
  2278. - increasing max miners for avalon driver
  2279. - using separate identifier for bitburner fury boards
  2280. - changes to bitburner driver for bitburner fury boards
  2281. - hexstr is too small in test_work_current
  2282. - Windows uses errno for WSAETIMEDOUT
  2283. - Convert the usb callback function to using cgsem_t timed waits to avoid race
  2284. conditions with conditionals/mutexes.
  2285. - Give correct return code in cgsem_mswait
  2286. - Check for correct timeout error in cgsem_mswait
  2287. - Fix util.h exports for cgsem_mswait
  2288. - Implement a generic cgsem_mswait similar to sem_timedwait
  2289. - Use the one LIBUSB_ERROR_TIMEOUT for cancelled transactions since this error
  2290. is explicitly tested for in various drivers.
  2291. - Do not use locking on usb callback function pthread signalling to prevent
  2292. deadlock with libusb's own event lock.
  2293. - Use a write lock when performing any USB control transfers to prevent
  2294. concurrent transfers.
  2295. - Free a libusb transfer after we have finished using it to avoid a dereference
  2296. in usb_control_transfer
  2297. - Do not perform bfi int patching for opencl1.2 or later.
  2298. - Although async transfers are meant to use heap memory, we never return before
  2299. the transfer function has completed so stack memory will suffice for control
  2300. transfers, fixing a memory leak in the process.
  2301. - klondike - correct/reverse min/max stats
  2302. - api incorrect message name
  2303. - klondike - use a link list queue rather than a circular buffer - and add
  2304. timing stats
  2305. - Use a timeout with usb handle events set to a nominal 200ms and wait for the
  2306. polling thread to shut down before deinitialising libusb.
  2307. - Use stack memory for hex used in stratum share submissions.
  2308. - Use stack memory in test_work_current, avoiding a malloc/free cycle each time.
  2309. - Provide a lower level __bin2hex function that does not allocate memory itself.
  2310. - Convert the bitfury driver to use the hash_driver_work version of hash_work.
  2311. - Add a hash_driver_work function to allow for drivers that wish to do their own
  2312. work queueing and management.
  2313. - Convert all usb control transfers to asynchronous communication with our own
  2314. timeout management as well.
  2315. - Klondike - increase circular read buffer size
  2316. - Klondike - extra zero value and range checking in temp conversion
  2317. - klondike - display MHz also
  2318. - Make pthread conditional timeouts handle all bulk usb transfer timeouts
  2319. performing libusb_cancel_transfer, disabling timeouts within libusb itself.
  2320. - Avoid calling get_statline_before on exit to avoid trying to use it on drivers
  2321. in an indeterminate state.
  2322. - Avoid calling get_statline on exit.
  2323. - Add a small amount to the usb timeout before cancelling to allow for a regular
  2324. usb polling interval to pass.
  2325. - Do not attempt to clear a usb halt before sending the cancel message since all
  2326. transfers should normally be cancelled before attempting to clear a halt
  2327. condition, and only change the return message to a timeout if it's consistent
  2328. with a cancellation.
  2329. - Retry up to USB_RETRY_MAX times to clear a halt condition before failing.
  2330. - Show the error number as well as the description in erroring bulk transfers.
  2331. - Drop logging level for failed to connect to stratum to verbose mode only since
  2332. we hit it regularly.
  2333. - We are always dependent on libusb handling events so use the blocking
  2334. libusb_handle_events in the polling thread and use a bool to know if we should
  2335. continue polling.
  2336. - Use fractional hashrate return values in bitfury_scanhash to minimise the
  2337. number of times we return 0 based on hashrate so far to further damp out
  2338. displayed hashrate.
  2339. - Check for presence of driver name in DRIVER_COUNT_FOUND to prevent strcmp on a
  2340. null pointer when a driver is not built in.
  2341. - CMR allow sending flash and clock commands
  2342. - Kill off threads that have failed using hash_sole_work instead of just
  2343. disabling them.
  2344. - Make the bf1 getinfo size a macro
  2345. - Failing to add_cgpu in bitfury should be a terminal failure.
  2346. - Check return values when attempting to open a BF1 device and set the msg size
  2347. as a macro.
  2348. - Display errors on failed usb read and write and consider sequential IO errors
  2349. a permanent failure.
  2350. - Use libusb's own error name function instead of hand coding the error names.
  2351. - Limit ms_tdiff to 1 hour as a sanity check.
  2352. - Enable the usb buffer in avalon driver.
  2353. - Check for async transfer variants of error messages.
  2354. - Remove unused variables.
  2355. - Try switching pools if for some reason we end up with only idle pools and have
  2356. ended up current_pool set to an idle one.
  2357. - Check a pool is stable for >5 mins before switching back to it.
  2358. - Minimise the time between dropping the read devlock and grabbing the write
  2359. devlock to avoid tons of logging spam in the interim.
  2360. - Check for libusb transfer stall error to be consistent with async IO errors
  2361. returned for a halt condition.
  2362. - Check for continuous IO errors on USB and consider the device inactive if more
  2363. than retry max.
  2364. - Make the devlock a cglock in usbutils and only grab the write lock for
  2365. fundamental changes allowing us to send and receive transfers concurrently
  2366. without lock contention.
  2367. - Prevent overflows in us_tdiff and ms_tdiff.
  2368. - Change second initialise message on bitfury verbose mode.
  2369. - Submitting an ntime offset nonce needs to be done on a copy of the work
  2370. instead of the original so abstract out shared components as much as possible,
  2371. minimising strdups in copy_work and make submit_work_async work take copied
  2372. work, cleaning up code in the process.
  2373. - Provide a way for drivers to submit work that it has internally rolled the
  2374. ntime value by returning the amount it has ntime rolled to be added.
  2375. - Typo in configure.ac
  2376. - Remove unmaintained broken ztex driver.
  2377. - Icarus - use a data structure for I/O rather than magic numbers
  2378. - delete old tracked ccan/opt/*.o files
  2379. - klondike correct cvtKlnToC() temperature calculation
  2380. - klondike - correct 1st reply debug based on define
  2381. - klondike - debug dump structured replies
  2382. - klondike - avoid division by zero if maxcount is unexpectedly zero
  2383. - klondike store and report errorcount and noise
  2384. - klondike - fix chipstats api stats buffer overrun with 16 chips
  2385. - klondike add new nonecount only once
  2386. - klondike - report mh/s based on nonces found + put old estimate into API stats
  2387. - klondike use a memcpy
  2388. - klondike fix bracket tabs indenting
  2389. - api.c missing Klondike from ASIC list
  2390. - Klondike update code to current git
  2391. - Add 2nd CMR to 01-cgminer.rules
  2392. - Add Klondike to 01-cgminer.rules
  2393. - Klondike to main directory
  2394. - Klondike consistent code spacing
  2395. - Klondike update driver code to current git
  2396. - update firmware for 16 chips, add dist files
  2397. - beta final 0.3.0 release
  2398. - updated firmware, IOC method
  2399. - prevent nonces when not state W
  2400. - added driver config option support
  2401. - fixes for 300 MHz, fix K1 parts list
  2402. - update driver, docs
  2403. - update firmware & utils
  2404. - updated cgminer driver for 3.3.1
  2405. - update firmware and driver, create new cgminer fork
  2406. - update klondike driver
  2407. - add cgminer driver file as-is
  2408. - Add API output displaying USB cancellations.
  2409. - Store statistics on how often we have to cancel async bulk transfers and add a
  2410. debug message whenever we do.
  2411. - Treat any unexpected timeouts waiting for async transfers as though there may
  2412. be a usb halt condition and attempt to clear the halt before cancelling the
  2413. tranfer.
  2414. - Remove zero packet flag on usb as it's unsupported outside linux and
  2415. unnecessary.
  2416. - Fake the libusb transfer timed out message if we force cancel it with our own
  2417. async functions.
  2418. - Use asynchronous transfers for all bulk transfers, allowing us to use our own
  2419. timers and cancelling transfers that take too long.
  2420. - Add libusb error warning message when significant error occurs.
  2421. - Icarus CMR2 detect FPGA setup
  2422. - Disable bitfury device thread on it disappearing.
  2423. Version 3.5.0 - 29th September 2013
  2424. - Add magic init sequence required on BF1 devices to get them mining on windows.
  2425. - usbinfo.devlock is only ever write locked so convert it to a mutex
  2426. - Icarus remove unneeded opt_debug tests due to applog being a macro
  2427. - Icarus - CMR shouldn't wait the full timeout due to handle sharing
  2428. - We should only yield once in cg_wunlock
  2429. - Provide a function to downgrade a cglock from a write lock to an intermediate
  2430. variant.
  2431. - Deuglify use of _PARSE_COMMANDS macro expansions.
  2432. - Deuglify use of usb parse commands macro in usbutils.
  2433. - Use the driver add commands macros in api.c to avoid individually listing
  2434. them.
  2435. - Separate out asic fpga and opencl drivers in the driver parse commands macro
  2436. for use individually as needed.
  2437. - Use macro expansion in usb_find_devices to avoid explicitly listing them all.
  2438. - Use macro expansion to iterate over all the drivers without explicitly writing
  2439. them out in usbutils.c
  2440. - Iterate over the bitfury offsets in order of decreasing likelihood.
  2441. - Reattach the kernel driver on linux on usb_uninit.
  2442. - Attach the kernel driver on failure to usb init on linux.
  2443. - libusb kernel driver operations are only available on linux.
  2444. - There is no need to get the external prototypes for drivers in cgminer.c any
  2445. more.
  2446. - Remove unnecessary gpu_threads initialisation.
  2447. - Put avalon last in the sequence of adding drivers to prevent it trying to
  2448. claim similar chip devices on startup.
  2449. - Use macro expansion to iterate over all device drivers without needing to
  2450. explicitly code in support in all places. Pass a hotplug bool to the detect()
  2451. function to prevent opencl trying to hogplug GPUs.
  2452. - Forward declare all device drivers in miner.h avoiding the need to export them
  2453. everywhere else.
  2454. - Add a noop function for driver detect when it's missing.
  2455. - Reuse the DRIVER_ macros to avoid having yet another definition for DRV_
  2456. - Use macro expansion to generate extern device_drv prototypes.
  2457. - Create a macro list of drivers to enable easier addition of further drivers.
  2458. - There is no point setting the BF1 preferred packet size to the maximum since
  2459. it will do so automatically.
  2460. - icarus ensure all cmr interfaces are initialised properly
  2461. - usbutils - fix USBDEBUG warnings
  2462. - Remove unnecessary steps in communicating with BF1 and just use USB interface
  2463. 1.
  2464. - usbutils - usb_bulk_transfer fix the buf/data fix
  2465. - usb_bulk_transfer - use the allocated buffer
  2466. - Set preferred packet sizes per interface on BF1.
  2467. - usbutils allow PrefPacketSize per endpoint
  2468. - Remove magic control sequences on open/close on BF1 and just flush the read
  2469. buffers.
  2470. - Check return codes in getinfo and reset and fail as needed in BF1.
  2471. - Check return code for bitfury_open and release resources properly on failed
  2472. initialisation.
  2473. - Abstract out flushing of interrupt reads in BF1 devices.
  2474. - Perform interrupt read after close message on BF1 as per serial close.
  2475. - Perform interrupt read flush as per serial open on BF1 devices.
  2476. - Add information for 2nd USB interface on BF1 devices and choose interface 1
  2477. for bulk transfers.
  2478. - usbutils - bulk transfer copy test fix
  2479. - usbutils - add USBDEBUG for usb_bulk_transfer
  2480. - Add more read_ii variants to usbutils.
  2481. - Name remainder of BFU usb commands used.
  2482. - Use submit_tested_work in bitfury driver to avoid unnecessarily re-testing the
  2483. work for validity.
  2484. - Abstract out work submission once it's been tested, to be used by drivers that
  2485. do their own internal validity testing.
  2486. - Store the hash2 array in struct work for further reuse.
  2487. - usbutils - which_intinfo not requried
  2488. - Use the test_nonce function within submit_nonce and store the uint32
  2489. corresponding to hash2 37 for further use.
  2490. - usbutils - interfaces must all be on one handle - ep implies the interface
  2491. - avalon stats use exact type
  2492. - Only set share diff if we've confirmed it's a share first.
  2493. - Update ASIC-README for bitfury devices.
  2494. - Use an array of offsets when checking nonces in bitfury_checkresults
  2495. - Limit the duration we wait for reads in BF1 based on time already elapsed to
  2496. account for other delays such as work restart messages or out of work.
  2497. - Minimise size of serial string we copy in BF1 stats to avoid overflow.
  2498. - Implement basic API stats for BF1 and increase array of results to check for
  2499. the rare straggling result.
  2500. - Space debug output for bf1 to separate from numerals.
  2501. - Abstract out the bitfury open close and reset functions and use them on
  2502. reinit.
  2503. - Rename BF1 devices BF1
  2504. - Check for work restart, breaking out early after usb reads in BF1.
  2505. - Do not lose the first sets of results from BF1.
  2506. - There is no point checking for results from the next round of work on BF1.
  2507. - Last result returned by BF1 is an end of results marker so ignore it.
  2508. - restart_wait should return 0 if thr_restart is true.
  2509. - Remove unused code by bitfury driver since current driver uses serialised
  2510. scanhash.
  2511. - Meter out return of estimated hashes in BF1 to smooth out visible hashrate.
  2512. - Optimise inner scanhash loop for bf1.
  2513. - Add yet another backup work for triple buffering of work in bf1 to account for
  2514. extra late results returned and don't check nonce offsets which appear to never
  2515. return.
  2516. - Name the work request and result usb commands for BF1
  2517. - Define a mandatory upper limit to waiting for reset and data on BF1 based on
  2518. full nonce duration.
  2519. - Decrease usb buffering to verbose logging.
  2520. - Add in first draft for a serialised work model sending/receiving data for BF1
  2521. devices.
  2522. - Add complete close sequence to bf1 as it happens on serial.
  2523. - Provide a bitfury identify function for bf1.
  2524. - Reliably extract BF1 information at startup and reset the device.
  2525. - Add commands for getting BF1 bitfury info
  2526. - Add magic BF1 bitfury open and close control sequences.
  2527. - Add BF1 detection code to bitfury driver.
  2528. - Create basic placeholders for bitfury driver code.
  2529. - Add bf1 device information to usbutils to enable device detection.
  2530. - Add basic defines for building for bitfury devices.
  2531. - Add redfury device to udev rules.
  2532. - avalon: display the FPGA controller version on API
  2533. - pool_active uninitialised_var rolltime
  2534. - Use macro expansion to only need to define usb enums and commands in one
  2535. place.
  2536. - usbutils saving incorrect overflow buffer
  2537. - ignore libusb.la and *.lo on linux
  2538. - icarus support CMR with no extensions
  2539. - usbtils - interfaces dont work yet in libusb windows so disable for that only
  2540. - Provide a --disable-libcurl config option to build support for stratum mining
  2541. only.
  2542. - Fix the api-example.c compile under Linux
  2543. - usbutils - only release the device once - for the first intinfo
  2544. - usbutils set_interface is no longer valid
  2545. - ubsutils interfaces much each have their own handle
  2546. - usbutils kernel_detach should use the interface number
  2547. - usbutils - allow the driver to change which_intinfo
  2548. - Reset quotas on load balance for all pools at the same time to avoid running
  2549. out during selection and unintentionally dropping to fallback.
  2550. - Break out of select pool from a common point for appropriate debug messages
  2551. and to avoid further tests.
  2552. - usbutils correct/reverse CMR product numbers
  2553. - usbutils specifically track handles and interfaces
  2554. - change drivers to use usb_interface() - required for multi interface change
  2555. - usbutils - allow a device to use multiple interfaces (and better var names)
  2556. - Cast -1 to (char) to cope with different default char types on ARM.
  2557. Version 3.4.3 - 13th September 2013
  2558. - Put corefoundation and iokit separate in ldflags for darwin.
  2559. - Add rules for libusb Makefile.am building on osx
  2560. - Add flags for building libusb statically on osx.
  2561. - Find the greatest common denominator in quotas and use the smallest number of
  2562. consecutive work items per pool in quota load balance mode to smooth hashrate
  2563. across pools with large quotas. Give excess quota to priority pool 0 instead of
  2564. pool 0.
  2565. - Avoid dynamically adding stack memory for nonce2 in the stratum send thread
  2566. and check the pool's nonce2_len will not cause an overflow.
  2567. - Add subdir-objects to automake options.
  2568. - Use inet_addr instead of inet_network to fix windows build.
  2569. - Remove unused pbase variable.
  2570. - Add support for socks4/4a proxies with stratum, and drop back to socks4
  2571. support via the global --socks-proxy command to not break previous
  2572. configurations.
  2573. - Fix warning on mingw build.
  2574. - Only show long-poll message in pool summary if it's not using stratum.
  2575. - Increase the time for the waiting for work message to be given to be greater
  2576. than that required for a pool swap in the scheduler which is set to 5s.
  2577. - Change message in status when using a balanced pool strategy to notify if
  2578. there's a stratum pool as well.
  2579. - Use the --failover-only flag to have special meaning in combination with
  2580. load-balance mode to distribute any unused quota back to pool 0 to maintain
  2581. ratios amongst other pools.
  2582. - Display quota and allow it to be modified via the pool menu.
  2583. - Add API commands and modify output to support pool quota displaying and
  2584. changing.
  2585. - Change message in status when using a balanced pool strategy to notify if
  2586. there's a stratum pool as well.
  2587. - Add quota support to configuration files.
  2588. - Rotate pools on all failures to set a pool in select_pool.
  2589. - Use quotas for load-balance pool strategy.
  2590. - Provide a mechanism for setting a pool quota to be used by load-balance.
  2591. - Use the --socks-proxy option with stratum, changing it to defaulting to socks5
  2592. and give appropriate message should it fail to connect.
  2593. - Cope with trailing slashes in stratum urls.
  2594. - Add more debugging messages when negotiating with proxies for stratum.
  2595. - Test specifically for socks5h in socks support for stratum.
  2596. - Add support for socks5 proxy with stratum
  2597. - Provide support for negotiating a stratum connection via http proxies.
  2598. - Connect to the proxy URL and port if specified for stratum sockets instead of
  2599. the pool directly.
  2600. - Extract any proxy url and port to be used by sockaddr if possible using
  2601. extract_sockaddr.
  2602. - Make extract_sockaddr set variables passed to it rather than pool struct
  2603. members.
  2604. - miner.php sort the mcast rigs so they are always in the same relative order
  2605. - miner.php allow sending the muticast message multiple times
  2606. - miner.php mcast ignore duplicate replies
  2607. Version 3.4.2 - 3rd September 2013
  2608. - take_queued_work_bymidstate should use a write lock.
  2609. - miner.php coding warning
  2610. - miner.php disable 'gen' by default
  2611. - miner.php allow formula generation of new fields
  2612. - miner.php add doctype
  2613. - miner.php remove incorrect echo
  2614. - miner.php optional error if not enough mcast rigs are found
  2615. Version 3.4.1 - 31st August 2013
  2616. - API mcast add a description option with miner.php
  2617. - Always use a maxpacketsize buffer in usb_bulk_transfer
  2618. - bflsc ensure getinfo cannot overflow it's storage buffer
  2619. - Don't decref json values in stratum parsing due to memory corruption.
  2620. - Use 64 bytes for all libusb control transfers.
  2621. - Skip dissecting opt->names in parse_config if it doesn't exist.
  2622. - Use an internal buffer in _usb_transfer_read in case the read is larger than
  2623. the buffer passed to it.
  2624. - ICA optional limit timing with short=N or long=N
  2625. - Revert to old custom tolines function since strtok_r is not portable.
  2626. - bflsc remove unused commented out code
  2627. - logging - code mistake
  2628. - logging - applogsiz() for large messages
  2629. - Provide base structures for getaddrinfo.
  2630. - Include string.h in bflsc driver.
  2631. - Get rid of linear removal of spaces in bflsc text parsing and use strstr
  2632. throughout instead.
  2633. - Use reentrant strtok in tolines() function in bflsc to avoid racing on
  2634. contextless calls.
  2635. - Show how small a too small result in bflsc is.
  2636. - Duplicate the buffer in process_results in bflsc since strtok modifies it
  2637. making debugging output limited to one line.
  2638. - Only process nonces in bflsc if the breakdown function succeeds.
  2639. - Ignore zero count messages in bflsc instead of trying to parse them.
  2640. - Return ok in tolines when it doesn't match inprocess message for bflsc.
  2641. - Remove inprocess line instead of deleting all following responses in bflsc.
  2642. - Change ok testing logic in breakdown() in bflsc and return if not ok at any
  2643. stage.
  2644. - Check the return value of tolines in bflsc driver.
  2645. - Use strtok to parse lines in bflsc driver.
  2646. - Add libusb-1.0 m4 directory and gitignore file.
  2647. - Properly convert from ranlib to lt_init in configure.ac
  2648. - Make autoconf always build for libusb.
  2649. - More autoconf fixes.
  2650. - Unconditionally build jansson statically from the cgminer source tree.
  2651. - Only test for all usb devices once in configure.ac
  2652. - Fix various libusb warnings and possible bugs on linux build.
  2653. - Add make clean and maintainer-clean to autogen
  2654. - Remove examples from libusb Makefile and generated autoconf files.
  2655. - Fix libusb subdirectory builds.
  2656. - Remove cached files from libusb autoconf on running autogen.sh
  2657. - Remove unused HAVE_LISBUSB macro and use USE_USBUTILS everywhere.
  2658. - Use direct auto* files to avoid failure of autoreconf
  2659. - Remove unused and maintainer cleaned files
  2660. - Show RT_LIBS in ./configure output.
  2661. - First import of libusb-1.0
  2662. - bflsc xlinkstr use snprintf
  2663. - Fix win32 build.
  2664. - Use take_queued_work_bymidstate in the bflsc driver to avoid the rare chance
  2665. repeated results come back from the same work item.
  2666. - Provide a funcion that looks up queued work by midstate and then removes it
  2667. from the device hash database.
  2668. - Fix no -rt library on darwin.
  2669. - Update included jansson to v2.4
  2670. - Fix OSX build.
  2671. - Provide an osx fix for cgtimers and a fallback to timevals for all other
  2672. platforms !linux !win32 !osx.
  2673. - Move two more timer functions out of define macros to enable them to be used
  2674. by future osx code.
  2675. - cgtimer_sub is now the same since cgtimer_t should be the same on all
  2676. platforms.
  2677. - miner.php fix missing global
  2678. - Only count submitted nonces as diff1shares if they're valid.
  2679. - Substantially raise the maximum avalon frequency for water-cooled, over-volted
  2680. designs.
  2681. - Compile MCast.java with an old java
  2682. - API Multicast sample MCast.java+MCast.class
  2683. - BTB show C/MHz/mV for device
  2684. - api.c remove unused reply string
  2685. - api.c fix mcast debug message bug
  2686. - miner.php implement API Multicast handling to automatically find your local
  2687. net miners
  2688. - API mcast only reply to remote IP's that are allowed access
  2689. - Initial API Multicast response v0.1 to find cgminer APIs
  2690. - Use timespecs on windows as cgtimer_t to capitalise on the higher resolution
  2691. clock changes.
  2692. - Abstract out the conversion of system time to an lldiv_t in decimicroseconds.
  2693. - Use our own gettimeofday implementation on windows for it to be consistent
  2694. across ming builds and higher resolution.
  2695. Version 3.4.0 - 21st August 2013
  2696. - Use stack data for HW error% in avalon stats.
  2697. - Add avalon HW error% to stats and only show BTB variables if avalon is a BTB.
  2698. - Check for cnx_needed on each loop through wait_lp_current.
  2699. - Return positive for cnx_needed when no_work is true.
  2700. - Stratum is used more often so test for it first.
  2701. - Reorder support names alphabetically.
  2702. - Only display the no pool work message once if there are multiple waiters in
  2703. hash_pop
  2704. - Provide a message and set a bool when no work is available from any pools and
  2705. when it resumes again.
  2706. - We don't want to continue into the hash_pop function if the getq is frozen.
  2707. - Only report threads in and out in queued work devices across a get work since
  2708. the rest happens asynchronously and the get work is what the device might be
  2709. waiting on.
  2710. - Thread reportin and out can be static non inline.
  2711. - usbutils cps sleep_estimate is not an underestimate
  2712. - usbutils add cps stats estimates
  2713. - Provide cgtimer_sub helper functions.
  2714. - Provide cgtimer_to_ms helper functions.
  2715. - Rename cgsleep_prepare_r as cgtimer_time to get time in cgtimer_t format and
  2716. call cgsleep_prepare_r as a macro for cgtimer_time
  2717. - Use the reentrant cgsleep functions for usecps in usbutils.
  2718. - TimeBeginPeriod and TimeEndPeriod do not add significant overhead when run the
  2719. entire time for cgminer so avoid trying to maintain balanced numbers of them for
  2720. specific time calls to simplify code.
  2721. - Replace all references to the old n*sleep functions with the equivalent
  2722. cgsleep_*s replacements.
  2723. - timeGetTime uses huge resources on windows so revert to using timevals for its
  2724. implementation of cgtimer_t
  2725. - Quotient/remainder error in ms division.
  2726. - Only grab a queued work item if we successfully grab the lock to submit work
  2727. in bflsc_send_work
  2728. - BTB get version from Firmware
  2729. - Carve out the unused portions of sha2 implementation.
  2730. - Import Aaron D. Gifford's fast sha256 implementation.
  2731. - Increase the que_low watermarks on BFLSC for they are too low to keep the
  2732. device busy on scanwork loops.
  2733. - Provide cgtimer_to_timeval helper functions.
  2734. - Provide a timeval_to_cgtime helper function to reuse values.
  2735. - Check for thr->work_restart in restart_wait.
  2736. - We should be using que_low to decrease scan sleep time in bflsc.
  2737. - Prepare sleep time on bflsc if no dev needs work yet to avoid busy waiting.
  2738. - Simplify cgsleep code for windows by using a typedef for cgtimer_t that
  2739. resolves to clock resolution, using that internally.
  2740. - On windows use the higher accuracy timegettime function to really get 1ms
  2741. clock and timer accuracy.
  2742. - Use the cgsleep reentrant function to sleep for bflsc between read results to
  2743. account for time taken to perform reads.
  2744. - Use 100ms delay between checking for results on all bflsc devices as the
  2745. buffering of results mean checking more frequently just wastes CPU and causes
  2746. more lock contention for only marginally better latencies.
  2747. - Fix missed endtimeperiod in overrun timer on windows.
  2748. - Make cgsleep_us_r take an int64_t for us.
  2749. - Make the cgsleep functions build on windows.
  2750. - Use the cgsleep reentrant function in avalon_send_task.
  2751. - Use the reentrant cgsleep functions within the avalon_send_tasks function.
  2752. - Set high resolution timing on windows within the cgsleep functions.
  2753. - Use the reentrant cgsleep function to time sleeps on reading from avalon.
  2754. - Provide reentrant versions of cgsleep functions to allow start time to be set
  2755. separately from the beginning of the actual sleep, allowing scheduling delays to
  2756. be counted in the sleep.
  2757. - Make the nmsleep and nusleep functions use the new cgsleep functions
  2758. internally till functions are migrated to the new cgsleep API.
  2759. - Add a ms_to_timespec helper function, and create a cgsleep_ms function that
  2760. uses absolute timers with clock_nanosleep to avoid overruns.
  2761. - Add rt lib linkage to enable use of clock_nanosleep functions with older
  2762. glibc.
  2763. - Add necessary time header include to avalon driver.
  2764. - Do a sleep of the full duration it would take to do all the work using
  2765. clock_nanosleep in avalon_send_tasks to avoid sleep overruns before polling to
  2766. see if it's ready.
  2767. - Add a timeraddspec helper function.
  2768. - Provide a us_to_timespec helper function.
  2769. - Use the us_to_timeval helper function in the avalon driver.
  2770. - Provide a us_to_timeval helper function.
  2771. - Use timeval_to_spec helper in avalon driver.
  2772. - Add helper functions to convert timespec to timeval and vice versa.
  2773. - simplifying buffer full check
  2774. - forking bitburner write thread function
  2775. - making sure original Avalon is unaffected by BitBurner changes
  2776. - changes to queueing strategy for BitBurner boards
  2777. - Do not poll in avalon_get_results without sleeping if we have finished parsing
  2778. a full result.
  2779. - Add c to ambient temperature display for avalon driver.
  2780. - BTB allow up to 1400mV as per firmware limits
  2781. - avalon for timeout allow d='calculate it' and fix uninitialised
  2782. - Use cloned work when finding avalon results since another thread can discard
  2783. the work item while it's in use.
  2784. - Provide a variant of find_work_bymidstate that returns a clone of the found
  2785. work.
  2786. Version 3.3.4 - 14th August 2013
  2787. - API/miner.php add some % fields
  2788. - Nonce2 stratum submission is not working with nonce2 lengths >4, revert the
  2789. buggy __bin2hex function and use bin2hex.
  2790. - The write thread in avalon is only ever actually woken up by timeout so remove
  2791. the write semaphore and use a simple sleep poll.
  2792. - Fix warning.
  2793. - Interrupting reads on the avalon to start writes loses data so remove the
  2794. cgsem_post in the read code.
  2795. - Add room for the null byte at the end of the nonce2 string on stratum share
  2796. submission and zero the allocated ram.
  2797. Version 3.3.3 - 13th August 2013
  2798. - Only perform the bin2hex on nonce2 data if it's required for stratum
  2799. submission, thereby removing the last conversion of that type from stratum work
  2800. generation.
  2801. - Create a work data template when receiving stratum notification, allowing a
  2802. simple memcpy of the merkle root avoiding more hex2bin conversions on each work
  2803. generation.
  2804. - Export the workpadding char in miner.h
  2805. - Avoid a potential overflow should a pool specify a large nonce2 length with
  2806. stratum.
  2807. - Avoid one more hex2bin in gen stratum work.
  2808. - Rename work gbt_coinbase to coinbase to be in line with pool variable name.
  2809. - Perform merkle bin hex2bin on stratum notify to avoid doing it on each work
  2810. generation.
  2811. - Reuse just the one pool coinbase variable in stratum, avoiding more string
  2812. functions and storage in gen_stratum_work on each work generation.
  2813. - Rename pool gbt_coinbase variable to coinbase to combine it with the stratum
  2814. coinbase data.
  2815. - Use a nonce2 offset variable for both gbt and stratum to consolidate
  2816. requirements on work generation.
  2817. - Merge pull request #474 from kanoi/master
  2818. - util.c update quit call for new functions
  2819. - use correct define for OSX in util.c
  2820. - miner.h inline semaphores increase information on failure
  2821. - util.c expand quit to show file/func/line
  2822. - Merge remote-tracking branch 'conman/master'
  2823. - Cache as much of the gbt coinbase as possible to avoid doing unnecessary
  2824. hex2bin conversion on every work generation with gbt.
  2825. - We should be using a cg_wlock initially in generating stratum and gbt work
  2826. before downgrading the lock.
  2827. - Add the ability to downgrade a write variant of the cglocks.
  2828. - Fix --scrypt being required before scrypt intensities on command line or not
  2829. working at all via config files.
  2830. - Cache the hex2bin of pool nonce1 in stratum, avoiding hex2bin on each work
  2831. generation.
  2832. - Cache the binary generation of coinbase1 and 2 on stratum, avoiding a hex2bin
  2833. of coinbase1 and 2 on each work generation.
  2834. - cgsem - increase information on failure
  2835. - avalon init write_sem before use
  2836. - 3.3.2 - 9th August 2013
  2837. - Fix uninit variable warnings.
  2838. - usbutils - force check every combination
  2839. - Fix warning.
  2840. - Recreate curses windows on windows when a device is hotplugged to allow window
  2841. resizing without crashing.
  2842. - Update copyright notice.
  2843. - Limit intensity range according to whether scrypt is in use or not.
  2844. - Do not allow benchmark mode to be used with scrypt.
  2845. - Add a --bflsc-overheat command which allows you to set the throttling
  2846. temperature for BFLSC devices or disable it.
  2847. - Move bflsc defines to a header file.
  2848. - avalon allow frequency to be set via the API
  2849. - BTB voltage management via the API - and set default on startup
  2850. - Avalon BTB allow partial work to be transferred
  2851. - avalon_cts use correct buffer
  2852. - miner.php format Best Share
  2853. - remove unnecessary memcpy
  2854. - using more concise description
  2855. - using usb_ident
  2856. - forgot a return
  2857. - changes to Avalon driver for BitBurner boards
  2858. - Revert "Sleep after sending icarus work to emulate working at 115200 baud."
  2859. - api correct timeout stat display
  2860. - usb timeouts - min/max also
  2861. - log USB timeouts in API stats
  2862. - usbutils report failed timeouts
  2863. - usbutils ensure stats macros are using the macro arguments
  2864. - Check for negative wait time in socket_full.
  2865. - Fix extra argument passed to statline before.
  2866. - Adjust socket wait timeout in recv_line according to how long we've already
  2867. waited to avoid a 60 second wait dropping to 1 second due to a blocked socket.
  2868. - usbutils use a heap buffer for bulk read rather than stack
  2869. - usbutils only one bulk transfer call per stat
  2870. - set device_drv function noops when first add_cgpu
  2871. - usbutils - in init only change the config if needed
  2872. - bflsc nonce per work item stats
  2873. - bflsc increase flush count to handle parallel work
  2874. - force type checking on curses
  2875. - logging - size check sprintf
  2876. - usbutils - size check all sprintf
  2877. - cgminer - size check all sprintf
  2878. - size check get_datestamp/get_timestamp and remove unused cgpu->init
  2879. - make all statline overflow safe
  2880. - WU only needs +2 width
  2881. - Check for a timeout in avalon_scanhash and post to the write sem if we receive
  2882. one.
  2883. - Decay result count in avalon more slowly to not falsely detect idle periods as
  2884. low result return rates.
  2885. - Count the number of miners idled in avalon to account more accurately for when
  2886. its result return rate is too low.
  2887. - Fix potential dereference when starting avalon with all new work.
  2888. - Convert the decay_time function into one that truly creates an exponentially
  2889. decaying average over opt_log_interval.
  2890. - Only throttle avalon clockspeed in avalon_auto in non optimal temperature
  2891. settings if the fanspeed has reached maximum.
  2892. - Reinstate more aggressive <2% HW error target for avalon-auto
  2893. - Set avalon fan min and fan max to PWM values instead of percentage.
  2894. - Provide an --avalon-freq command line to give a valid range of frequencies for
  2895. avalon in auto mode.
  2896. - Set the avalon idle frequency to lowest if avalon auto is enabled and we have
  2897. an overheat condition.
  2898. - Decrease avalon frequency in auto mode if we are unable to maintain the
  2899. temperature in the optimal range.
  2900. - Don't count invalid nonces as hashrate for bflsc.
  2901. - Use a more conservative upper limit of 1% for hardware errors with avalon auto
  2902. frequency.
  2903. - Allow the avalon fanspeed range to be passed as parameter on the command line,
  2904. default to 20-100%
  2905. - Just display A: and R: for difficulty accepted and rejected to preserve screen
  2906. real estate and decrease decimal places for WU.
  2907. - correct device DR: and remove global U:
  2908. - Update all screen A/R to instead use DA/DR and device U to WU
  2909. - miner.php add ASC fields
  2910. - GPU fan rpm display 9999 when it overflows
  2911. - bflsc get volts stats needs its own GETVOLTS
  2912. - Support all avalon frequencies on the command line.
  2913. - Move to slightly more relaxed timeouts for avalon.
  2914. - MMQ turn on cps delays
  2915. - bflsc x-link header different to documentation
  2916. - Reset the other auto counters in avalon when idling a device.
  2917. - usbutils/icarus include more locking to usbdev access
  2918. - Icarus turn on cps delays by default
  2919. - usbutils cps correct time measurement
  2920. Version 3.3.1 - 25th June 2013
  2921. - Add an avalon-auto option which enables dynamic overclocking based on hardware
  2922. error rate for maximum effective hashrate.
  2923. - Add an --avalon-cutoff feature which puts the avalon idle should it reach this
  2924. temperature, defaulting to 60, re-enabling it when it gets to target
  2925. temperature.
  2926. - Change default avalon target temperature to 50 degrees.
  2927. - usbutils - incorrect test for * in bus:dev
  2928. - Redo +1 fix in bflsc.
  2929. Version 3.3.0 - 24th June 2013
  2930. - Add an --avalon-temp option to allow a user specified target temperature.
  2931. - Demote no matching work message to verbose logging only on avalon.
  2932. - Make the fan control on the avalon a simple PID controller with a target
  2933. temperature of 45.
  2934. - Demote bflsc hw error messages to verbose logging only.
  2935. - bflsc - handle xlink timeouts by having generic IO functions
  2936. - Demote the invalid nonce warning to log info.
  2937. - Ignore iManufacturer for BFLSC devices since the device name will still match
  2938. and some unbinned chips are missing it.
  2939. - sc_count shouldn't be +1 in bflsc.
  2940. - Use the info timeout for read_nl in getidentify bflsc.
  2941. - Add a usb_read_nl_timeout macro.
  2942. - bflsc try getinfo twice
  2943. - set MSG_ASCUSBNODEV always defined
  2944. - Hard code the preferred packet size for AMU, BLT and ICA.
  2945. - API V1.26 update ASIC support
  2946. - Icarus enable the read buffer for the detect nonce
  2947. - Support new overclocking speeds for avalon: 325, 350 and 375
  2948. - undo icarus show errno, put it as debug in ubsutils
  2949. - icarus add errno to rerr and werr
  2950. - Sleep after sending icarus work to emulate working at 115200 baud.
  2951. - Use the nusleep function for sleeping after sending work in avalon.
  2952. - Show an integer only for diff if it is one.
  2953. - Set the avalon preferred packet size to 512.
  2954. - Reinstate the maxPacketSize determined by the end descriptor but allow the
  2955. driver to override it.
  2956. - Only update hashmeter if we have done hashes or haven't updated longer than
  2957. the log interval, fixing a us/ms error.
  2958. - Use only one cgsem in avalon signalling when the write thread should commit
  2959. work by reading the status bytes off during an avalon_read, minimising the
  2960. number of usb calls and resetting from only one place.
  2961. - Change avalon no valid work message to no matching work to match API
  2962. terminology.
  2963. - Use low latency usb transfers on the avalon, sleeping up to half a buffer's
  2964. worth only if no data is returning to increase hashrate, abolish lost work and
  2965. decrease CPU.
  2966. - Minimise the sleep times in avalon read to avoid result loss.
  2967. - Use a half nonce range before cycling through avalon's scanwork to ensure it
  2968. gets a chance to fill work if time is tight for the write thread to signal a
  2969. wakeup.
  2970. - Temporarily limit usb transfer sizes to 512 till we provide a way for each
  2971. driver to choose the upper limit.
  2972. - Increase watchdog sick time to longer than it takes for a pool to be detected
  2973. dead.
  2974. - Limit USB transfers to the max size reported by the descriptors.
  2975. - Increase the BFLSC timeout to allow the maximum number of results to be
  2976. returned for BAS in time.
  2977. - Decrease BAL and BAS latency to be just larger than one result read.
  2978. - disable curses device resize that crashes on windows
  2979. - BFLSC latest firmware has its own thermal cutoff set to 90, so use the same
  2980. value in case we have an old firmware that isn't throttling by itself.
  2981. - Drop watermark low limits for bflsc.
  2982. - Set the fanspeed on bflsc to max if we don't know the temperature.
  2983. - Use a low watermark for queueing mandatory work on bflsc instead of zero.
  2984. - Only mandatorily grab the bflsc mutex on submitting work when the queue is
  2985. empty.
  2986. - Adjust bflsc v2 watermarks.
  2987. - Only increase sleep time on bflsc if the queue isn't emptying at all over the
  2988. sleep duration.
  2989. - Fix warning.
  2990. - bflsc yet more API stats
  2991. - bflsc add some more API stats
  2992. - bflsc correct firmware matching
  2993. - bflsc correct comment
  2994. - Fixed Commands with No params
  2995. - bflsc driver support for v2 firmware
  2996. - Odd Issues
  2997. - Fixed Python Example
  2998. - Added Python Api Example
  2999. - Added Python Api Example
  3000. - Multiplier fail for microseconds vs milliseconds when updating hashmeter in
  3001. hash_queued_work.
  3002. - Only make threads report in/out across the actual driver code and update their
  3003. status on reporting out as well as in.
  3004. - usbutils initialise close key/sem
  3005. - usbutils cleanup linux semaphores on release
  3006. - Difficulty should be unconditionally byteswapped, not swapped to big endian.
  3007. - We should be setting cancelstate, not canceltype when disabling it for usb
  3008. locking.
  3009. - Pthread cancel state should be set to disable on usb DEVLOCK.
  3010. - Fanauto on bflsc is Z9X according to the source code, not 5 as per the draft
  3011. protocol document.
  3012. Version 3.2.2 - 16th June 2013
  3013. - Record and report USB pipe errors via API stats
  3014. - Suspend stratum connections when we know they've failed and don't try to recv
  3015. data from them once the socket no longer exists.
  3016. - Pipe error is quite common on usb3 so drop logging to verbose level only.
  3017. - ocl.c fix applog warnings on windows
  3018. - applog/quit fix GPU errors created
  3019. - usbutils - DEVLOCK other usbdev access
  3020. - applog usb device list can be > LOGBUFSIZ
  3021. - fix windows log warnings
  3022. - logging remove extra added <LF>
  3023. - remove varargs from logging/quit/in general as much as possible
  3024. - Don't yield when downgrading a cg ilock.
  3025. - Don't yield on grabbing the read lock variant of cglocks.
  3026. - Off by one error in device count for display.
  3027. - Don't display devices beyond the most_devices count in the curses status.
  3028. - Only display as many device rows as the maximum live existed at any time.
  3029. - usb lock out use cg locks
  3030. - usb lock out transfers during open/close
  3031. - Add error message to libusb pipe error
  3032. - Differentiate libusb control transfer pipe errors from transfer errors since
  3033. they're not fatal.
  3034. - Create a usb_bulk_transfer wrapper for libusb_bulk_transfer to cope with pipe
  3035. errors.
  3036. - Only show efficiency in pool information for pools that don't support local
  3037. work generation.
  3038. - Create a pool_localgen bool function for testing when a pool can generate work
  3039. locally.
  3040. - ignore file that is generated on Macs
  3041. - compile unix code on Mac OS X fixes not finding the config file in $HOME
  3042. - Use mining start time for device MH/U calculations
  3043. - Decrease the sleep duration before reading in avalon to not let the read
  3044. buffer overflow.
  3045. - Failure to read and write on pseudo semaphores on apple happens routinely on
  3046. shut down so should not be a quit error, just a warning.
  3047. - Unlock usb dev lock in the same place in usbutils.
  3048. - Sleep if the avalon buffer is empty and we've requested a read to allow the
  3049. write thread to take precedence.
  3050. - Yield after releasing a lock in case we are on a device with limited CPU
  3051. resources.
  3052. - Add the cgpu_info structure before avalon reset.
  3053. - Tidy up DEVLOCK/UNLOCK to have consistent use of the pstate variable without
  3054. needing brace level match.
  3055. - Icarus driver elaspsed timeout shouldn't be just USB I/O
  3056. - usbutils avoid leaving devlock locked when thread cancelled
  3057. - MMQ fix nodev failure caused by changes
  3058. - ubsutils lock all access to nodev and cgusb
  3059. - USB make device_path handled by usbutils
  3060. - tidy up free in device detect functions
  3061. - USB control creation and free of cgpu
  3062. - Add FAQ regarding Work Utility.
  3063. - Throttling the BFLSC at 80 seems to prevent generating garbled responses of
  3064. higher temps.
  3065. - Return after failed bin2hex conversion in bflsc.
  3066. - Demote failed hex2bin result to LOG_INFO and check return result in
  3067. driver-bflsc to avoid doing find_work_by_midstate.
  3068. - Set BFLSC fan speed coarsely to keep it under 60 or auto as per specs saying
  3069. it tries to stay below 60.
  3070. - Limit usbutils LATENCY_STD to 32ms to keep transfers under 512 bytes.
  3071. - Move macro definition to bflsc driver
  3072. - Use a longer timeout for retrieving bflsc details.
  3073. - Add a usb_read_ok_timeout wrapper to cope with slow init'ing devices.
  3074. - cgsem_post after creating the thread info
  3075. - Fix build.
  3076. - Use cgsem structures instead of the flaky pings in the work queue to start
  3077. mining threads and remove the unused thr_info_freeze function.
  3078. Version 3.2.1 - 7th June 2013
  3079. - Shorten the avalon statline to fit in the curses interface and show the lowest
  3080. speed fan cooling the asic devices.
  3081. - Set usbdev in usbutils after checking for nodev to avoid trying to access a
  3082. dereferenced value.
  3083. - AMU usbstatus correct name from enable UART
  3084. - Icarus AMU enable the UART
  3085. - Only libusb close if libusb release succeeds.
  3086. - Failed reads and writes on cgsem_post and cgsem_wait should be extremely rare.
  3087. - Implement cgminer specific cgsem semaphores to imitate unnamed semaphore
  3088. behaviour on osx which does not support them.
  3089. - Set cgusb->buffer to NULL when doing usb_buffer_disable.
  3090. - Temporarily fix apple not having semtimedop by ignoring the timeout value.
  3091. - BFLSC enable buffered USB reading
  3092. - Icarus use buffered USB reading
  3093. - bflsc & icarus use usb_ftdi_set_latency
  3094. - usb_ftdi_set_latency LOG_ERRs if called incorrectly
  3095. - add usb_ftdi_set_latency
  3096. - usbutils optional read buffering
  3097. - Set the avalon read transfer latency to avoid sleeping when no data is
  3098. returned after very short latency settings.
  3099. - correct bflsc BFLSC_BUFSIZ max calculation
  3100. - Fix build for !curses
  3101. - restore max code - since timeout is unsigned
  3102. - compile warning - remove unused max
  3103. - usb set FTDI latency higher to minimise status bytes
  3104. - Check for zero timeout on _usb_write.
  3105. - Check for zero timeout in usb read.
  3106. - Define a minimum polling time based on frequency of mandatory updates of ftdi
  3107. responses at 40ms.
  3108. - Sleep right up to the timeout instead of the first half if we find ourselves
  3109. polling in _usb_read
  3110. - Enforce half timeout sized sleeps in usb_read if we find the device is not
  3111. respecting libusb timeouts to avoid polling frequently.
  3112. - Add more ASIC documentation.
  3113. - Update README
  3114. - Remove start device limitation on log window size to allow it to get larger
  3115. with hotplugged devices.
  3116. - Switch logsize after hotplugging a device.
  3117. - Change switch_compact function name to switch_logsize to be used for other
  3118. changes.
  3119. - Only adjust cursor positions with curses locked.
  3120. - devs display - fix GPU duplicate bug
  3121. - Do not hotplug enable a device if devices have been specified and the hotplug
  3122. device falls outside this range.
  3123. - Change the --device parameter parsing and configuration to use ranges and
  3124. comma separated values.
  3125. - basic copyright statement in API.java
  3126. - devs display - show ZOMBIEs after all others
  3127. - Modify scrypt kernel message.
  3128. - Check for pool_disabled in wait_lp_current
  3129. - usbutils semun use proper def for linux which fixes OSX also
  3130. - Check for pool enabled in cnx_needed.
  3131. - Icarus add delays during intialisation
  3132. - Update documentation.
  3133. - Update copyrights of modified files.
  3134. Version 3.2.0 - 31st May 2013
  3135. - Add FAQ about windows USB keyboards and hotplug interactions.
  3136. - Fix mingw build warnings in icarus driver.
  3137. - Make usb_ftdi_cts use the _usb_transfer_read function.
  3138. - Update ASIC-README with avalon info regarding default behaviour.
  3139. - Break out of idling loop in avalon_idle if the buffer is full.
  3140. - Provide some defaults for avalon if none are specified and do not try to claim
  3141. the device if it fails to reset with them and no options are specified.
  3142. - usbutils automatically track IO errors
  3143. - usbutils allow a short wait for resources to be released
  3144. - correct semaphore timeout comment
  3145. - Set the fanspeed to the nominal chosen for GPUs.
  3146. - Inverted sem_init logic.
  3147. - Document avalon options in ASIC-README
  3148. - Do avalon driver detection last as it will try to claim any similar device and
  3149. they are not reliably detected.
  3150. - Clamp initial GPU fanspeed to within user specified range.
  3151. - Use a counting semaphore to signal the usb resource thread that it has work to
  3152. do.
  3153. - Avalon fan factor is already multiplied into the info values.
  3154. - Get rid of zeros which corrupt display.
  3155. - Logic fail on minimum fanspeed reporting.
  3156. - Provide a workaround for fan0 sensor not being used on avalon and pad fan RPM
  3157. with zeros.
  3158. - Add ambient temp and lowest fan RPM information to avalon statline.
  3159. - Display max temperature and fanspeed data for avalon.
  3160. - Set devices to disabled after they exit the hashing loops to prevent the
  3161. watchdog thread from trying to act on them.
  3162. - Add avalon driver to hotplug.
  3163. - Shut down the avalon mining thread if the device disappears.
  3164. - Check for no usb device in usb_ftdi_cts
  3165. - Check for valid usbdev in _usb_read in case the device has been unplugged.
  3166. - Scanhash functions perform driver shutdown so don't repeat it.
  3167. - Change the opencl shutdown sequence.
  3168. - Send the shutdown message to threads and do the thread shutdown functions
  3169. before more forcefully sending pthread_cancel to threads.
  3170. - Use the cgpu_info shutdown to determine when to stop the avalon read and write
  3171. threads.
  3172. - Use semaphores to signal a reset to pause the read thread while the write
  3173. thread does the actual reset, making all writes come from the same place.
  3174. - Remove now unneeded fgpautils.h include from avalon.
  3175. - usb_transfer_read should also not play with the endianness.
  3176. - Use the USB wrappers for avalon, telling usbutils that we want the raw data.
  3177. - Use separate ep for avalon tasks vs avalon reset and do not loop in write
  3178. indefinitely.
  3179. - Remove unneeded function and checks in avalon write code.
  3180. - CMR handle baud options
  3181. - work_restart is reset within the queued hash work loop.
  3182. - Fix avalon shutdown sequence.
  3183. - Execute driver shutdown sequence during kill_work.
  3184. - Use nusleep in avalon_get_results in place of nmsleep.
  3185. - Provide an nusleep equivalent function to nmsleep.
  3186. - usb/ica add more (incomplete) CMR settings
  3187. - Give a buffer of perceived results in avalon during idle periods to allow for
  3188. results once it becomes active again.
  3189. - libusb_control_transfer are meant to be endian specific, but host endianness
  3190. so no conversion is needed.
  3191. - Reuse old MTX Handle
  3192. - usbutils check all memory allocation
  3193. - usb separate thread for resource locking and modified windows locking code
  3194. - Icarus report data direction with comms errors
  3195. - Set the read and write threads for avalon to not cancel within libusb
  3196. functions and wait for the threads to pthread_join on shutdown.
  3197. - Offset needs to be incremented after avalon reads.
  3198. - Make the avalon_read function parse the ftdi responses appopriately.
  3199. - Use the avalon read timeout to completion if no data has been read.
  3200. - wait_avalon_ready should only be used before writes.
  3201. - Ask for the correct amount to read in avalon get results.
  3202. - Spawn the avalon read thread first with info->reset set to discard any data
  3203. till work is adequately queued.
  3204. - Use direct usb read commands to avoid ftdi data being automatically cut off in
  3205. avalon reads.
  3206. - Do a simple usb_read_once for the avalon result from a reset command.
  3207. - Make sure avalon is ready to receive more usb commands before sending them.
  3208. - Implement avalon_ready and avalon_wait_ready functions for when usb is ready
  3209. to receive commands.
  3210. - avalon_read should not loop but just return whatever it has succeeded in
  3211. reading.
  3212. - Set avalon_info to device data void struct.
  3213. - Specify avalon in avalon_reset.
  3214. - First pass rewriting serialdev into direct usb dev for avalon driver.
  3215. - Define a cts equivalent for direct usb and use it for avalon driver full.
  3216. - Compile usbutils into avalon driver.
  3217. - Check results come in at least at 2/3 the rate they should be on avalon and if
  3218. not, reset it.
  3219. - Give a warning but don't reset if the avalon buffer is full early.
  3220. - Discard any reads obtained from the avalon get results thread during a reset.
  3221. - Differentiate initial reset in avalon from subsequent ones.
  3222. - Perform a mandatory reset if the avalon buffer signals it's full before it has
  3223. queued its normal quota of work.
  3224. - Wait till buffer is cleared after sending idle tasks to avalon before
  3225. returning from avalon_idle.
  3226. - Lock qlock mutex during reset from read thread in avalon to prevent more work
  3227. being sent till the reset is over.
  3228. - Reset avalon if we continue to be unable to send all the work items.
  3229. - Add avalon reset response to debugging output.
  3230. - Do a wait_avalon_ready before sending a reset code.
  3231. - Iterate over spare bytes in the avalon result returned from a reset request
  3232. trying to find the beginning of the reset.
  3233. - Idle avalon after reset.
  3234. - Check for nothing but consecutive bad results on avalon and reset the FPGA if
  3235. it happens.
  3236. - Make submit_nonce return a bool for whether it's a valid share or not.
  3237. - Unset the work restart flag sooner in avalon_flush_work to avoid re-entering
  3238. the flush work function and just reset the queued counter instead of rotating
  3239. the array to avoid runs of no valid work.
  3240. - Implement an avalon_flush_work function for work restarts.
  3241. - Shut down avalon read and write threads and idle the miners on closing it.
  3242. - Tighter control over work submissions in avalon allows us to use a smaller
  3243. array.
  3244. - Rotate avalon array to reset the queued count before releasing the lock so
  3245. work will always be available on next pass.
  3246. - Move avalon read thread start till after conditional wait, store idle status
  3247. in avalon_info and use it to determine whether an error is appropriate or not.
  3248. - Wait till the avalon_send_tasks thread has filled the avalon with idle work
  3249. before starting the avalon_get_results thread.
  3250. - Use AVA_GETS_OK macro in avalon_read.
  3251. - Do all writes on avalon with a select() timeout to prevent indefinite blocking
  3252. and loop if less than desired is written.
  3253. - Check explicitly that ava_buffer_full equals the macro.
  3254. - Send initial reset as an avalon task to remove avalon_write function.
  3255. - avalon_clear_readbuf is no longer required.
  3256. - Check for 2 stray bytes on avalon reset.
  3257. - Create a separate thread for handling all work and idle submission to the
  3258. avalon which messages the scanhash function it has completed to update
  3259. statistics.
  3260. - usbutils ensure it compiles without stats
  3261. - usbutils include transfer mode in usbstats
  3262. - Give the avalon get results thread name the device number as well.
  3263. - Make sure we're not adjusting temps on every successful work retrieval on
  3264. avalon.
  3265. - Count missing work items from behind a successful work read in avalon as well.
  3266. - Change message for work not found in avalon parser.
  3267. - usbutils handle bulk_transfer partial writes
  3268. - Simplify debugging and only discard from avalon read buffer if at least one
  3269. full result has been discarded.
  3270. - Only display discarded bytes in avalon if they're not used as nonces.
  3271. - Only loop once through avalon_parse_results, but do so after timeouts as well.
  3272. - Only debug and move ram if spare bytes exist in avalon buffer.
  3273. - Remove off by one error.
  3274. - Inverted logic.
  3275. - Add more debugging to avalon reads.
  3276. - Convert unsigned size_ts to ints for parsing avalon messages.
  3277. - Cope with not finding nonces in avalon parsing gracefully by not overflowing
  3278. buffers.
  3279. - Adjust avalon temp values on one lot of valid nonces from the parser.
  3280. - Created a threaded message parser for avalon reads.
  3281. - Avalon_wait_write is not effective during resets so do it after going idle.
  3282. - Send only a single byte reset.
  3283. - Repeat going idle after avalon reset, and wait for write ready before sending
  3284. each reset request instead of some arbitrary sleep time.
  3285. - Timeouts on avalon_read and avalon_write should be 100ms.
  3286. - Don't close avalon after detecting it until we're cleaning up, instead using
  3287. reset for comms failures.
  3288. - Check for avalon_wait_write before sending reset command.
  3289. - Sleep in avalon_write_ready.
  3290. - Make avalon_wait_write a bool function and check its return value.
  3291. - Show how many idle tasks are sent to avalon if it aborts on buffer full.
  3292. - Reset avalon->device_fd after it is closed.
  3293. - Create an avalon_wait_write function that is used before sending avalon idle
  3294. command.
  3295. - Avoid repeating avalon_idle in do_avalon_close and extra sleep.
  3296. - Pass fd to avalon_idle.
  3297. - Do avalon_reset after info structure is set up.
  3298. - Rework avalon reset sequence to include idling of chips and waiting for them
  3299. to go idle followed by 2nd reset and then checking result.
  3300. - Do a non-blocking read of anything in the avalon buffer after opening the
  3301. device.
  3302. - Assign the avalon info data to the device_data in cgpu_info.
  3303. - thread shutdown is different on windows
  3304. - usbutils make all windows timeouts 999ms
  3305. - usb add another Cairnsmore1 USB chip
  3306. - icarus do the full detect test twice if required
  3307. - CMR usb config guess
  3308. - usb add transfer_read and commented out in icarus
  3309. - usbutils allow unrounded control transfers
  3310. - icarus ICA initialisation
  3311. - icarus report err on read failure
  3312. - icarus correct device_id and use device_data for icarus_info
  3313. - miner.h remove unused device_file and add device_data
  3314. - miner.h icarus no long uses fd
  3315. - icarus AMU config transfers
  3316. - Create a logwin_update function which mandatorily updates the logwin and use
  3317. it when input is expected to prevent display refresh delays.
  3318. - usbutils force an unknown IDENT for zero
  3319. - icarus set default options/timing based on device
  3320. - Must unlock curses as well in logwin_update.
  3321. - Create a logwin_update function which mandatorily updates the logwin and use
  3322. it when input is expected to prevent display refresh delays.
  3323. - icarus report usb write error information
  3324. - Add name to icarus copyright notice.
  3325. - Check for *pth dereference on pthread_join
  3326. - usbutils name latency correctly
  3327. - Check for restart before buffering more reads in Icarus.
  3328. - Icarus should timeout if it's greater than the timeout duration even if it's
  3329. receiving data.
  3330. - We should check for amount buffered in icarus get_nonce against amount already
  3331. received.
  3332. - Make mining threads report out during work submission.
  3333. - submit_work_async is no longer used directly by driver code.
  3334. - Fix first read timeout on icarus get nonce.
  3335. - Retry icarus_initialise if the first read attempt fails.
  3336. - Properly pthread_join miner threads on shutdown.
  3337. - Properly pthread_join miner threads on shutdown.
  3338. - Use a persistent single separate thread for stratum share submission that uses
  3339. workqueues since all stratum sends are serialised.
  3340. - All stratum calls to recv_line are serialised from the one place so there is
  3341. no need to use locking around recv().
  3342. - Only allow the mining thread to be cancelled when it is not within driver
  3343. code, making for cleaner shutdown and allowing us to pthread_join the miner
  3344. threads on kill_work().
  3345. - Only allow the mining thread to be cancelled when it is not within driver
  3346. code, making for cleaner shutdown and allowing us to pthread_join the miner
  3347. threads on kill_work().
  3348. - Set pool->probed to true after an attempt to resolve the url via stratum code.
  3349. - icarus test nodev everywhere
  3350. - usbutils/icarus separate FTDI transfer values and more debug
  3351. - add icarus to hotplug
  3352. - usbutils add rest of icarus
  3353. - simple serial-USB python test script
  3354. - icarus->USB v0.1 incomplete - missing initialise()
  3355. - README spelling
  3356. - Update documentation for icarus switch to USB
  3357. - Add USB rules for supported USB devices
  3358. - switch icarus configuration to usb
  3359. - usbutils new command for icarus
  3360. - usb add a numeric sub-indentity for each name
  3361. - usbutils - make FTDI handling automatic
  3362. - fix duplicate name
  3363. - usbutils set Black Arrow Lancelot's as BAL and match the lot->llt name
  3364. - usbutils identify Icarus devices
  3365. - libusb_control_transfer 16 bit words are endian specific.
  3366. - usb_applog separate amt display
  3367. - Show pool difficulty more verbosely if it changes via stratum.
  3368. - Attribute whatever stats we can get on untracked stratum shares based on
  3369. current pool diff.
  3370. - Provide a --lowmem option which does not cache shares on failed submission to
  3371. prevent low memory hardware (eg Avalon) from crashing.
  3372. - Update util.c
  3373. Version 3.1.1 - May 11th, 2013
  3374. - Use a discrete device target for scrypt that dynamically changes to ensure we
  3375. still report a work utility even if no shares are submitted such as in solo
  3376. mining.
  3377. - Make set_work_target a function to set a specified char as target for use
  3378. elsewhere.
  3379. - Further consolidate the hash regeneration between sha and scrypt doing it only
  3380. once and always checking the share diff for both before submission.
  3381. - Regenerate the hash before checking the share diff in hashtest().
  3382. - Minor typo.
  3383. - Use a scantime of 30 seconds for scrypt if none is specified.
  3384. - Support more shares to be returned for scrypt mining.
  3385. - Update the write config to properly record device entries and remove disabled
  3386. option.
  3387. - Show a different warning and loglevel for failure to resolve a URL on first or
  3388. subsequent testing of stratum pool URLs.
  3389. - Fix the problem of seting up termio of ttyUSB0 for icarus. the CSIZE is the
  3390. mask of CS2/4/8 From: navyxliu <navy.xliu@gmail.com>
  3391. - Set all stratum sockets to nonblocking to avoid trying to use MSG_DONTWAIT on
  3392. windows.
  3393. - Fix warnings on win32 build.
  3394. - Only use MSG_NOSIGNAL for !win32 since it doesn't exist on windows.
  3395. - Use MSG_NOSIGNAL on stratum send()
  3396. - Set TCP_NODELAY for !linux for raw sockets.
  3397. - Use TCP_NODELAY with raw sockets if !opt_delaynet
  3398. - Make raw sockets compile on windows
  3399. - Recheck select succeeds on EWOULDBLOCK for stratum.
  3400. - usbutils/mmq fixed size usb_read default to wait for all data
  3401. - usbutils optional (disabled by default) dev debug
  3402. - Add an ftdi usb read macro without newline
  3403. - Avalon usb interface should be 0.
  3404. - Add more debug for failure to USB init.
  3405. - Recv() should all be non-blocking for raw sockets in stratum.
  3406. - Change verbosity and error for getaddrinfo warnings in setup stratum socket.
  3407. - Free servinfo after p is checked in setup stratum socket.
  3408. - Use raw sockets without curl for stratum communications.
  3409. - Sacrifice curl handle memory on stratum disconnects on all versions of libcurl
  3410. to avoid curl corruption.
  3411. - Don't use TCP_NODELAY if opt_delaynet is enabled with stratum.
  3412. - Fix warnings in avalon driver.
  3413. - Make FULLNONCE an ULL to fix a warning on 32 bit.
  3414. - ztx correct applog typing
  3415. - ocl correct applog typing
  3416. - util correct applog typing
  3417. - api correct applog typing
  3418. - cgminer correct applog typing
  3419. - scrypt correct applog typing
  3420. - bfl correct applog typing
  3421. - ica correct applog typing
  3422. - mmq correct applog typing
  3423. - adl fix trailing %
  3424. - usbutils correct applog typing
  3425. - applog - force type checking
  3426. - Simplify the many lines passed as API data in the avalon driver now that the
  3427. API does not need persistent storage for the name.
  3428. - Duplicate the name string always in api_add_data_full to not need persistent
  3429. storage for names passed to it.
  3430. - Add extra matching work count data in API for Avalon with 4 modules.
  3431. Version 3.1.0 - April 28th, 2013
  3432. - va_copy is meant to be matched by a va_end in log_generic.
  3433. - usbutils remove_in_use break
  3434. - usbutils remove_in_use missing prev
  3435. - usbutils missing add_in_use
  3436. - Clean up summary slightly better on exit.
  3437. - Make the scan sleep time after scanwork in bflsc dynamic to keep queues
  3438. between watermark levels.
  3439. - Remove unused temp counts in bflsc.
  3440. - Calculate a rolling 5 min average set of temperatures for bflsc.
  3441. - Damp the display of voltage for BFLSC devices.
  3442. - Damp the temperature display measurement for bflsc since it fluctuates so
  3443. wildly.
  3444. - bflsc add volt stats
  3445. - Handle failed tolines command in bflsc driver.
  3446. - Can use a read lock instead of a write lock in bflsc scanwork.
  3447. - Since we are filling a queue on the bflsc devices, there is no need to run
  3448. through scanwork frequently provided we use the restart_wait function to abort
  3449. early during a block change.
  3450. - Remove flushed work in bfl scanwork from the hash table.
  3451. - Set correct device in process_nonces in bflsc driver.
  3452. - bflsc add work reply INPROCESS: missing from the spec
  3453. - bflsc put in some error messages not yet written
  3454. - bflsc get completed hashes as late as possible
  3455. - Fix potential memory leak with unused work items in bflsc_queue_full
  3456. - Reverse bools in bflsc_queue_full
  3457. - Avoid recursive loop calling correct function instead.
  3458. - bflsc fix details identification
  3459. - Differentiate BFLSC device from regular bitforce and give warning if no
  3460. support is compiled in.
  3461. - util.c str_text make a fully text readable version of str
  3462. - BFLSC fix FPGA identity overlap
  3463. - Locking error in bflsc_send_work
  3464. - Use htobe32 function for converting nonce in bflsc.
  3465. - Replace deprecated bzero with memset in bflsc driver.
  3466. - Fix compilation of bflsc driver without opencl.
  3467. - Check for realloc failures in bflsc driver.
  3468. - Check for failure to calloc in bflsc driver.
  3469. - Trivial style change
  3470. - Use copy_time function in bflsc driver.
  3471. - Use cgtime in bflsc driver and update copyright notice.
  3472. - Use a separate function for bfl initialise that doesn't require locking.
  3473. - Fix BFLSC building.
  3474. - bflsc v0.1
  3475. Version 3.0.1 - April 25th, 2013
  3476. - Bypass attempting to read and save binary files on OSX to avoid crashes on >1
  3477. GPU.
  3478. - Receive failures in recv_line should unconditionally fail.
  3479. - Use sock_blocks in api.c
  3480. - Use sock_blocks function for stratum send and receive.
  3481. - Create an OS specific sock_blocks function.
  3482. Version 3.0.0 - April 22nd, 2013
  3483. - Further fix distdir for hexdump.c
  3484. - Fix build and distdir.
  3485. - Remove all CPU mining code.
  3486. - compile on win32
  3487. - Update SCRYPT README with improved hashrates for 7970.
  3488. - Use copy_time helper throughout cgminer.c
  3489. - Provide wrappers for commonly used timer routines with API stats.
  3490. - Avoid one cgtime call in sole_hash_work.
  3491. - Fulltest is true if value is <= target.
  3492. - Use system host to endian functions for clarity in fulltest.
  3493. - Provide endian_flipX functions to avoid special casing big endian in cgminer.c
  3494. - Provide a flip128 helper to simplify big endian flipping.
  3495. - Use flip helpers to simplify code for calculation of midstate.
  3496. - Use flip32 function instead of open coding it in gen_stratum_work.
  3497. - Move util.c exports to util.h
  3498. - Fix warning on building avalon on win32
  3499. - Use cgtime in driver-avalon.c
  3500. - Use cgtime in driver-icarus.c
  3501. - Use cgtime in driver-bitforce.c
  3502. - Use cgtime in logging.c
  3503. - Use cgtime in usbutils.c
  3504. - Use cgtime in driver-opencl.c
  3505. - Use cgtime wrapper in driver-modminer.c
  3506. - Use cgtime in driver-ztex.c
  3507. - Use cgtime in compat.h
  3508. - Use cgtime instead of gettimeofday in fpgautils.c
  3509. - Replace gettimeofday usage in cgminer.c with cgtime
  3510. - Create a cgminer specific gettimeofday wrapper that is always called with tz
  3511. set to NULL and increases the resolution on windows.
  3512. - Add high resolution to nmsleep wrapper on windows.
  3513. - Set default ocl work size for scrypt to 256.
  3514. - define le32toh if needed
  3515. - fliter out the wrong result from adjust fan code
  3516. - compile avalon driver on win32 and win64
  3517. - Restart threads on the rare chance we found the block ourselves.
  3518. - Add more FAQs about crossfire.
  3519. - Set last device valid work on adding device.
  3520. - Increment last device valid work count in submit_nonce to cover scrypt.
  3521. - Set opt_scrypt drv max diff for correctness.
  3522. - Make scrypt submission use the submit_nonce code, with nonces matching
  3523. endianness.
  3524. - Do testing for HW errors on submit nonce for both scrypt and sha.
  3525. - Increment hardware error count from the one site.
  3526. - Rename scrypt regenhash function for consistency.
  3527. - Add new best share info to verbose logging.
  3528. - Add notice for when network diff is changed.
  3529. - Convert error getting device IDs in ocl code to info log level only since
  3530. multiple platforms may be installed and the error is harmless there.
  3531. - Unnecessary extra array in ocl code.
  3532. - Further driver FAQs.
  3533. - Add MAC FAQ.
  3534. - Add more FAQ details.
  3535. - Check for work restart after disable in the hash queued work loop since it may
  3536. be a long time before we re-enable a device.
  3537. - Unconditionally test for many wrong results on avalon and reset to avoid
  3538. passing a corrupt avalon result to temperature code.
  3539. - build out of source dir
  3540. - Set device_diff for queued work or there will be no diff1 share count.
  3541. - Only reset an avalon device with no results when there are no results
  3542. consecutively.
  3543. - More FAQs.
  3544. - More FAQs.
  3545. - Cleanup when stratum curl fails to initialise.
  3546. - Avoid applog in recalloc_sock.
  3547. - Avoid applog under stratum_lock in recv_line.
  3548. - Avoid applog under stratum_lock in __stratum_send.
  3549. - Put spacing around locking in util.c for clarity.
  3550. - Avoid applog under cg_wlock.
  3551. - Put spacing around locking code for clarity.
  3552. - Avoid applog under pool_lock.
  3553. - Avoid more recursive locks.
  3554. - Avoid applog while ch_lock is held.
  3555. - Avoid recursive locks in fill_queue.
  3556. - Variable is already initialised in global scope.
  3557. - More GPU faqs.
  3558. - More README faqs.
  3559. - Yet more README faqs.
  3560. - Add more faqs to README.
  3561. - Wrap result wrong tests in avalon scanhash in unlikely() and only consider a
  3562. hash count of zero wrong if a restart wasn't issued.
  3563. - avalon: if result_wrong >= get_work_count jump out the read loop
  3564. - Fix warning on 32bit.
  3565. - Fix warning on 32bit.
  3566. - Avoid curl_easy_cleanup on old curl versions in setup_stratum_curl as well.
  3567. - fix the fan control on max temp2/3
  3568. - for some reason network down. one simple cgminer command: "cgminer -o
  3569. 127.0.0.1:8888 -O fa:ke --avalon-options 115200:32:10:50:256" can idle the
  3570. avalon for safe power and protect chip
  3571. - if hash_count == 0; reinit avalon, fix the 0MHS bug use the max value of temp1
  3572. and temp2 for fan control
  3573. - Reinstate the matching_work_count per subdevice on avalon based on the work
  3574. subid.
  3575. - Avalon driver is missing the drv_id.
  3576. - Rationalise and simplify the share diff and block solve detection to a common
  3577. site.
  3578. - Rationalise and simplify the share diff and block solve detection to a common
  3579. site.
  3580. - Make the avalon array size a macro.
  3581. - Use replacement of work items in the avalon buffer as needed instead of
  3582. flushing them.
  3583. - Reinstate wrong work count to reset avalon regardless and display number of
  3584. wrong results.
  3585. - Revert "The result_wrong measurement for avalon is continually leading to
  3586. false positives so remove it."
  3587. - select() on serial usb in avalon does not work properly with zero timeout.
  3588. - The result_wrong measurement for avalon is continually leading to false
  3589. positives so remove it.
  3590. - Revert "Use only 2 queued work arrays in avalon."
  3591. - Use no timeout on further reads in avalon_gets
  3592. - Do sequential reads in avalon_get_reset to cope with partial reads.
  3593. - Show read discrepancy in avalon_get_reset.
  3594. - Reuse avalon_get_work_count variable.
  3595. - Check for AVA_GETS_RESTART when deciding if avalon has messed up.
  3596. - Make the detection of all wrong results on avalon much more conservative to
  3597. avoid false positives on work restarts.
  3598. - Show error codes on select and read fail in avalon.
  3599. - If we get a restart message in avalon_gets still check if there's a receive
  3600. message to parse first without a timeout before returning AVA_GETS_RESTART.
  3601. - Use only 2 queued work arrays in avalon.
  3602. - avalon_gets is always called from the one call site so inline it.
  3603. - The read_count is unused by the avalon get result code and no longer required
  3604. for avalon reset so simplify code removing it.
  3605. - Use a separate avalon_get_reset function for resetting avalon instead of using
  3606. avalon_get_result.
  3607. - The current hash count returned by avalon scanhash is just an obfuscated
  3608. utility counter so make it explicit.
  3609. - Check for a restart before a timeout in message parsing code in avalon.
  3610. - We should check for a restart message before checking for a timeout in avalon
  3611. scanhash.
  3612. - Store the subid for the work item in avalon.
  3613. - usbutils more stats for bflsc
  3614. - Fix record_temp_fan function in avalon driver. Patch by Xiangfu
  3615. <xiangfu@openmobilefree.net>
  3616. - Remove inappropriate memset of struct avalon result which was corrupting fan
  3617. values.
  3618. - Fix warning with no curses built in.
  3619. - Bump version to 2.11.4
  3620. - Add API support for Avalon.
  3621. - Only do_avalon_close once on multiple errors.
  3622. - Reset the result_wrong count on block change in avalon scanhash to prevent
  3623. false positives for all nonces failed.
  3624. - Small timeouts on select() instead of instant timeout increase reliability of
  3625. socket reads and writes.
  3626. - Only get extra work in fill_queue if we don't have any unqueued work in the
  3627. list.
  3628. - Small timeouts on select() instead of instant timeout increase reliability of
  3629. socket reads and writes.
  3630. - Rotate the avalon work array and free work on AVA_SEND_BUFFER_EMPTY as well.
  3631. - Only get extra work in fill_queue if we don't have any unqueued work in the
  3632. list.
  3633. - Don't get any work if our queue is already full in avalon_fill.
  3634. - Differentiate socket closed from socket error in recv_line.
  3635. - Differentiate socket closed from socket error in recv_line.
  3636. - Free avalon->works in the event we call avalon_prepare on failure to
  3637. initialise.
  3638. - Fix warnings.
  3639. - Create an array of 4 lots of work for avalon and cycle through them.
  3640. - Remove unused per unit matching work count for avalon.
  3641. - Rename the confusing avalon_info pointer.
  3642. - Simplify avalon scanhash code using the new find_queued_work_bymidstate
  3643. function. Partially works only.
  3644. - Members of cgpu_info for avalon are not meant to be in the union.
  3645. - Use correct struct device_drv for avalon_drv.
  3646. - cgminer.c -S help to only say Icarus
  3647. - Check enough work is queued before queueing more in avalon_fill.
  3648. - Actually put the work in the avalon queue.
  3649. - Rneame avalon_api to avalon_drv.
  3650. - First draft of port of avalon driver to new cgminer queued infrastructure.
  3651. - Add Makefile entry for driver-avalon.
  3652. - Add configure support for avalon.
  3653. Version 2.11.4 - April 5th, 2013
  3654. - Remove bfl-sc option from configure for 2.11 branch.
  3655. - Only update hashrate calculation with the log interval.
  3656. - Update the total_tv_end only when we show the log to prevent failure to update
  3657. logs.
  3658. - Minor README updates.
  3659. - Add example 7970 tuning for scrypt in readme.
  3660. - Update driver recommendations.
  3661. - Add extensive GPU FAQs for the flood of new Scrypt miners.
  3662. - Remove help option for cpumining in build environment.
  3663. - Remove scripts that make it too easy to compile CPU mining support.
  3664. - Win32 and win64 build updates
  3665. - Remove references to CPU mining from README.
  3666. - Show share hash as little endian as needed.
  3667. - usbutils extra message requirements
  3668. - Make hashmeter frequency for hash_queued_work match sole_work.
  3669. - Update links and recommended SDKs.
  3670. - Update scrypt readme re drivers and sdk.
  3671. - usbutils.c usb_cmdname() usb_cmds -> string name
  3672. - BFL FPGA Windows timeout set to 999ms
  3673. - AUTHORS - spam update time (one year since the last)
  3674. - Update README for x970 memdiff values.
  3675. - Update README to match changes to display.
  3676. - Remove increasingly irrelevant discarded work from status lines.
  3677. - Remove increasingly irrelevant queued and efficiency values from status and
  3678. move WU to status line.
  3679. - Allow cgminer to start if usb hotplug is enabled but no devices yet exist.
  3680. - Do not scan other gpu platforms if one is specified.
  3681. - Update README for sync objects on windows.
  3682. - Update README about intensity.
  3683. - Add information for setting gpu max alloc and sync parameters for windows with
  3684. scrypt.
  3685. - If the hashmeter is less than the log interval and being updated by the
  3686. watchdog, don't update the hashrate.
  3687. Version 2.11.3 - March 17, 2013
  3688. - Update docs and reorder README to show executive summary near top.
  3689. - Update the hashmeter at most 5 times per second.
  3690. - Usbutils use its own internal read buffer
  3691. - Calculate work utility for devices that support target diffs of greater than
  3692. 1, and update scrypt code to use it.
  3693. - usbutils allow read termination match to be a string
  3694. - Set default GPU threads to 1 for scrypt.
  3695. - Connect backup stratum pools if the primary pool cannot deliver work.
  3696. - Use a new algorithm for choosing a thread concurrency when none or no shader
  3697. value is specified for scrypt.
  3698. - Do not round up the bufsize to the maximum allocable with scrypt.
  3699. - Remove the rounding-up of the scrypt padbuffer which was not effectual and
  3700. counter-productive on devices with lots of ram, limiting thread concurrencies
  3701. and intensities.
  3702. - bufsize is an unsigned integer, make it so for debug.
  3703. - Update the hashmeter once per second but only display the extra logs every
  3704. opt_log_inteval.
  3705. - add a dummy ztex to usbutils so cgminer -n lists ztex also
  3706. - nDevs required for -n with usb
  3707. - USB device list - convert some common error numbers to messages
  3708. - USB -n 'known' text only without ---usb-list-all
  3709. - USB modify -n and --usb-dump to only show known devices or use new
  3710. --usb-list-all option to see all
  3711. - Make pool adding while running asynchronous, using the pool test thread
  3712. functionality.
  3713. - Only curl easy cleanup a stratum curl if it exists.
  3714. - Sacrifice the ram of curl handles in stratum disconnects when we have built
  3715. with old libcurl to avoid crashes.
  3716. - cgminer -n to include a USB device list
  3717. - usbutils allow call of usb_all() from other code
  3718. - Convert gbt_lock to a cg_lock.
  3719. - Add intermediate variants of cglocks that can be up or downgraded to read or
  3720. write locks and use them for stratum work generation.
  3721. - Move the stratum and GBT data to be protected under a new cg_lock data_lock.
  3722. - Convert the ch_lock to cg_lock.
  3723. - Convert the control_lock to a cg_lock.
  3724. - Remove unused qd_lock.
  3725. - Implement cg_lock write biased rwlocks.
  3726. - do usb_initialise() after the started message so we see it
  3727. - --usb-dump display brief dump if value = 0
  3728. - USB add --usb options to limit USB device selection v0.1
  3729. Version 2.11.2 - March 9, 2013
  3730. - Whitelist AMD APP SDK 2.8 for diablo kernel.
  3731. - Cope with the highest opencl platform not having usable devices.
  3732. - Fix memory leak with share submission on GPU work structures as discovered by
  3733. twobitcoins.
  3734. - usb_cleanup() without locking.
  3735. - Use curl_easy_cleanup to close any open stratum sockets.
  3736. - Show pool number in switch message
  3737. - Don't start testing any pools with the watchpool thread if any of the test
  3738. threads are still active.
  3739. - Set sockd to false should curl setup fail on stratum.
  3740. - Close any open sockets when reusing a curl handle and reopen the socket
  3741. whenever we're retrying stratum.
  3742. - Set pool died on failed testing to allow idle flag and time to be set.
  3743. - Remove unused pthread_t typedefs from struct pool.
  3744. - Perform pool_resus on all pools that are found alive with the test pool
  3745. threads.
  3746. - Use pool_unworkable in select_balanced as well.
  3747. - Differentiate pool_unusable from pool_unworkable.
  3748. - Keep a connection open on higher priority stratum pools to fail back to them.
  3749. - Rename threads according to what pool they're associated with as well.
  3750. - Set the wrong bool in pool_active
  3751. - Start the stratum thread only if we successfully init and authorise it,
  3752. otherwise unset the init flag.
  3753. - Make the initialisation of the stratum thread more robust allowing the
  3754. watchpool thread safe access to it after the stratum thread is started.
  3755. - API no longer ignore send() status
  3756. - API make the main socket non-static
  3757. Version 2.11.1 - March 7, 2013
  3758. - Shorten the time before keepalive probes are sent out and how frequently
  3759. they're sent with stratum curls.
  3760. - Only set stratum auth once to prevent multiple threads being started.
  3761. - Display select return value on select fail in stratum thread.
  3762. - Clear the socket of anything in the receive buffer if we're going to retry
  3763. connecting.
  3764. - Allow pools to be resuscitated on first startup by the watchpool thread.
  3765. - Check all pools simultaneously at startup switching to the first alive one to
  3766. speed up startup.
  3767. - Clear just the socket buffer when we don't care what is left in a stratum
  3768. socket.
  3769. - Clear the stratum socket whenever we are closing it since the buffer is going
  3770. to be reused.
  3771. - Do not continue work from a stratum pool where the connection has been
  3772. interrupted.
  3773. - Reset stratum_notify flag on suspend_stratum as well.
  3774. - Close any sockets opened if we fail to initiate stratum but have opened the
  3775. socket.
  3776. - Close any existing stratum socket if we are attempting to restart stratum so
  3777. the pool knows the connection has gone.
  3778. - Show mechanism of stratum interruption if select times out.
  3779. - Make stratum connection interrupted message higher priority to be visible at
  3780. normal logging levels.
  3781. - Implement client.show_message support for stratum.
  3782. - API add 'Network Difficulty' to 'coin'
  3783. - Setup BFLSC support
  3784. - API use control_lock when switching pools
  3785. - Make sure to retry only once with noresume support for stratum.
  3786. - Instead of keeping track of when the last work item was generated to keep
  3787. stratum connections open, keep them open if any shares have been submitted
  3788. awaiting a response.
  3789. - usbutils.c copy full size to 'Last Command'
  3790. - configure - set USE_USBUTILS when usbutils is required and use it in the code
  3791. - Clear last pool work on switching pools if the current pool supports local
  3792. work generation or we are in failover only mode.
  3793. - make rw locks: mining_thr_lock and devices_lock
  3794. - Release MMQ device only once (not 4 times)
  3795. - api.c fix MSG overlap
  3796. - Hotplug - allow setting interval via --hotplug or API
  3797. - curses - fix - put a dev_width inside #ifdef
  3798. - usb_cleanup() use correct locking mechanism
  3799. - Implement and use usb_cleanup() on shutdown or restart
  3800. - miner.php report 'Last Valid Work' as time before request
  3801. - API - return Last Valid Work
  3802. - api -> drv
  3803. - ZTX bug set missing drv_id
  3804. Version 2.11.0 - March 2, 2013
  3805. - Update kernel file names signifying changes.
  3806. - Update a pool's last work time when the work is popped as well as staged.
  3807. - API always report failed send() replies
  3808. - Update diff stale: total and pools when stratum throws away shares
  3809. - Keep stratum connections open for 2 minutes after the last work item was
  3810. staged to allow stray shares to be submitted on pool switching.
  3811. - Try to extract the sessionid associated with mining.notify on 3rd level array
  3812. and submit it along with the userid to support mining resume, failing gracefully
  3813. and restarting if the pool rejects it.
  3814. - Speed up watchdog interval and therefore display updates to 2 seconds.
  3815. - Update copyright dates.
  3816. - Cope with misread sessionid on stratum for now.
  3817. - Use constants from the array of __constants throughout the diablo kernel.
  3818. - Create a __constant array for use within diablo kernel.
  3819. - Fix --benchmark generating valid work for cgminer.
  3820. - Use the sessionid as passed on stratum connect to attempt to resume a
  3821. connection once and then clear it if it fails, to use a new connection.
  3822. - Move to storing the nonce1 in the work struct instead of the sessionid for the
  3823. now defunct first draft mining.resume protocol.
  3824. - Use global constant arrays for all other constants used in scrypt kernel.
  3825. - Use global __constants for sha functions in scrypt kernel.
  3826. - Use constants for endian swap macros.
  3827. - Revise scrypt kernel copyright notice.
  3828. - Separate out additions in scrypt kernel.
  3829. - Reuse some Vals[] variables that can be assigned to constants earlier in the
  3830. poclbm kernel, making for fewer ops.
  3831. - Put all constants used in poclbm kernel into __const memory array to speed up
  3832. concurrent reads on the wavefront.
  3833. - BFL stop 1st init command if no device
  3834. - Add a get_queued function for devices to use to retrieve work items from the
  3835. queued hashtable.
  3836. - Bugfix: Duplicate stratum sessionid when copying work, to avoid double-free
  3837. - Bugfix: Missing pool_no parameter to applog for no-stratum-sessionid debug
  3838. message
  3839. - Add the choice of hash loop to the device driver, defaulting to hash_sole_work
  3840. if none is specified.
  3841. - Add comments.
  3842. - Add a driver specific flush_work for queued devices that may have work items
  3843. already queued to abort working on them on the device and discard them.
  3844. - Flush queued work on a restart from the hash database and discard the work
  3845. structs.
  3846. - Create a central point for removal of work items completed by queued device
  3847. drivers.
  3848. - Create a fill_queue function that creates hashtables of as many work items as
  3849. is required by the device driver till it flags the queue full.
  3850. - Create the hash queued work variant for use with devices that are fast enough
  3851. to require a queue.
  3852. - Update copyright year.
  3853. - Fix tv_lastupdate being made into tv_end and update the hashmeter on cycle,
  3854. not opt_log_interval.
  3855. - Fix tv_lastupdate being made into tv_end and update the hashmeter on cycle,
  3856. not opt_log_interval.
  3857. - Only continue submitting shares with mining.resume support on stratum when the
  3858. session id matches.
  3859. - Provide support for mining.resume with stratum, currently re-authorising after
  3860. successful resumption pending finalising of the protocol process.
  3861. - Provide basic framework for restarting stratum depending on whether resume
  3862. support exists or not.
  3863. - Abstract out the setting up of the stratum curl socket.
  3864. - Free sessionid in clean_work and remove redundant setting of strings to NULL
  3865. since the whole work struct is zeroed.
  3866. - Only clear stratum shares mandatorily on stratum dropouts when the pool does
  3867. not support resume.
  3868. - Try resubmitting stratum shares every 5 seconds for up to 2 minutes if the
  3869. pool session id exists and matches on failure to submit.
  3870. - Do as much outside of mutex locking of sshare_lock as possible.
  3871. - Remove last reference to struct work used outside the sshare_lock in
  3872. submit_work_thread
  3873. - Unlock the sshare_lock in submit_work_thread when all references to work and
  3874. sshare are complete.
  3875. - Add timestamps to stratum_share structs as they're generated and copy the
  3876. stratum sessionid if it exists to stratum work generated.
  3877. - Store session id for stratum if the pool supports it for future mining.resume
  3878. support.
  3879. - API.java allow partial reads
  3880. - debug_cb buffer type warning
  3881. - MMQ rewrite the last of the old scanhash loop and drastically reduce CPU
  3882. - hash_sole_work can be static
  3883. - Make the numbuf larger to accept larger scrypt parameters.
  3884. - Keep the unique id of each work item across copy_work to prevent multiple work
  3885. items having the same id.
  3886. - Abstract out the main hashing loop to allow us to use a separate loop for
  3887. devices that are fast enough to require queued work.
  3888. - Provide a noop thread_enable function for drivers that don't support it.
  3889. - Provide a noop thread_shutdown function for drivers that don't support it.
  3890. - Provide a noop hw_error function for drivers that don't support it.
  3891. - Provide a noop prepare_work for drivers that don't support it.
  3892. - Provide a noop thread_init for drivers that don't support it.
  3893. - Provide a noop can_limit_work for devices that don't support it.
  3894. - Provide a noop thread_prepare function for drivers that don't use
  3895. thread_prepare.
  3896. - Use blank_get_statline_before for GPU devices that don't support adl
  3897. monitoring.
  3898. - Provide a noop get_stats function for drivers that don't support it.
  3899. - Provide a blank get_statline for drivers that don't support it.
  3900. - Provide a blank get_statline_before function for drivers that don't have one.
  3901. - Fill drivers missing reinit_device with a noop version.
  3902. - add 'count' to cumstomsummarypage 'calc'
  3903. - hotplug use get_thread() where appropriate
  3904. - convert sleep(const) to nmsleep()
  3905. - remove empty #ifdef
  3906. - call a separate get_devices() with locking, as required
  3907. - usbutils - avoid free cgusb twice
  3908. - usbutils hotplug v0.1
  3909. - Report USB nodev as ZOMBIE on the screen
  3910. - Change file modes.
  3911. Version 2.10.5 - February 7, 2013
  3912. - Fix logic fail on partial writes with stratum send that was leading to corrupt
  3913. message submissions.
  3914. - Do not consider every call to stratum_resumed a pool recovery unless it was
  3915. actually idle.
  3916. - Do not enable the pool disable on reject feature unless explicitly enabled
  3917. with --disable-rejecting.
  3918. - Stratum disconnect shares - count total against stale
  3919. - Use sanity checking to prevent a possible overflow with invalid data being
  3920. given by the pool for difficulty as reported by luke-Jr.
  3921. - Check for calloc failure for completeness in gen_stratum_work.
  3922. - Cache the coinbase length to speed up stratum work generation.
  3923. - Cache the header length when generating stratum work to avoid calculating it
  3924. on every work generation, and to only need one alloc+sprintf, speeding up work
  3925. generation.
  3926. - Use heap ram for coinbase in gen_stratum_work, zeroing it before use.
  3927. - Provide a wrapper for aligning lengths of size_t to 4 byte boundaries.
  3928. - Fix memory leak on stratum share submission.
  3929. - Zero the best share string memory when zeroing stats.
  3930. Version 2.10.4 - December 29, 2012
  3931. - Change the pool stratum socket buffer to be dynamically allocated to
  3932. accomodate any size coinbase and keep receiving data in recv line for up to 60s
  3933. if no end of line has been received.
  3934. - Differentiate socket full from sock full.
  3935. - Allow stratum to startup without notify but check it is valid before creating
  3936. stratum work.
  3937. - Do not try to generate stratum work unless the notify command has succeeded.
  3938. - Reset total diff1 shares when zeroing stats as well to show correct work
  3939. utility.
  3940. Version 2.10.3 - December 26, 2012
  3941. - Do not give the share submission failure message on planned stratum
  3942. disconnects.
  3943. - Parse anything in the stratum socket if it's full without waiting. Empty the
  3944. socket even if a connection is not needed in case there are share returns.
  3945. - Provide a mechanism to zero all the statistics from the menu.
  3946. - Display the current pool diff in the status line.
  3947. - Display block diff in status line.
  3948. - Generalise the code for solving a block to enable block solve detection with
  3949. scrypt mining.
  3950. - Generate the output hash for scrypt as well and use the one function to set
  3951. share_diff.
  3952. - Use the flip80 function in regeneratehash and the correct sized hash array.
  3953. - Use one size for scratchbuf as a macro in scrypt.c
  3954. - Stage work outside of the stgd lock to prevent attempted recursive locking in
  3955. clone_available.
  3956. - share_diff needs to be performed on a BE version of the output hash to work,
  3957. leading to false best_share values as spotted by luke-Jr.
  3958. - Remove the unused sha224 functions.
  3959. - Use the flip functions in hashtest.
  3960. - Simplify the setting of the nonce data field in work on submitting nonces.
  3961. - Scrypt code does not enter the hashtest function.
  3962. - Go back to cloning available work under staged lock.
  3963. - Updated links to AMD APP SDK
  3964. - Updated link to ADL SDK
  3965. - scrypt_diff uses a uint64_t as well.
  3966. - Correct target for stratum support with scrypt mining.
  3967. - libztex: fixed a typo
  3968. - libztex: check returnvalue of libusb_claim_interface() and release the
  3969. interface in case of early exit
  3970. Version 2.10.2 - December 19, 2012
  3971. - Stop all work from the current pool if it's a stratum pool once it is
  3972. disconnected since it will be invalid upon reconnecting.
  3973. - Discard all staged work from stratum pools as well as the shares upon
  3974. disconnection since all the work becomes invalid.
  3975. - Use correct cbreak after 15 second delay when no pool is found alive.
  3976. - MMQ missing firmware -> ERR not DEBUG
  3977. - Allow stratum to work with scrypt.
  3978. - MMQ ensure delta clock can never exceed limits
  3979. - MMQ lowercase new string constants
  3980. - MMQ add api pgaset for clock
  3981. - API V1.23 - new pgaset command, to be used soon
  3982. - Protect the best_share/best_diff values under control lock.
  3983. - MMQ style police
  3984. - MMQ count work check timeout failures
  3985. - MMQ allow partial work replies and count them
  3986. - Check a stratum pool hasn't gone dead while being a backup pool and missed
  3987. having its idle flag cleared.
  3988. - MMQ overheat: remove clockdown (doesn't help) + ensure no lost shares
  3989. - API-README grammar
  3990. - API-README explain custom page extensions in miner.php
  3991. - miner.php add a sample group pool report
  3992. - miner.php allow where,group,having on cumstom pages
  3993. Version 2.10.1 - December 14, 2012
  3994. - Check for EWOULDBLOCK when supported in send and recv as well.
  3995. - Use the raw send() command instead of curl_easy_send since curl raw socket
  3996. usage introduces random bugs on windows.
  3997. - Use raw recv() command in place of curl_easy_recv since the curl
  3998. implementation introduces random bugs on windows builds when the recv fails.
  3999. - miner.php when displaying a single rig, add prev/next rig buttons if they
  4000. exist, next to refresh
  4001. - miner.php allow custom page joins for STATS
  4002. - API show if pool has GBT (so people know not to use that pool)
  4003. - miner.php - include windows easyphp link
  4004. - driver-ztex: use the correct size for the swap array
  4005. - API stats - display pool byte transfer stats
  4006. - Pool store data transfer stats
  4007. - README ModMiner dependency
  4008. - Benchmark incorrect work size
  4009. - ChangeLog refer to NEWS
  4010. - MMQ handle over temp differently and hash longer
  4011. - driver-ztex: search the complete noncerange based on the actual speed
  4012. - README - update ModMiner details
  4013. - API-README update
  4014. - api use a dynamic io buffer, truncated before it reaches the current ~64k
  4015. limit
  4016. Version 2.10.0 - December 10, 2012
  4017. - Include prctl header for thread renaming to work.
  4018. - Set tv_idle time if a pool is not active when input from the menu.
  4019. - usb display message when device is in use/another cgminer
  4020. - libztex: avoid the use of libusb_error_name()
  4021. - minor unlikely zero pointer test
  4022. - BeaverCreek doesn't like BFI INT patching.
  4023. - Only stratum pools that are idle need to be kicked via cnx_needed.
  4024. - mmq - abbreviate the temperature numbers
  4025. - Do not do any setup if opt_api_listen is disabled in api.c.
  4026. - usbutils.c uninitialised usbstat for non-primary mmqs
  4027. - Only set the lagging flag for select_pool() on failed getwork if we're not in
  4028. opt_fail_only mode.
  4029. - libztex: in case the selectFpga() failed set the selected fpga to unknown
  4030. - Modified windows-build.txt to update git instructions.
  4031. - libztex: use a function for the twice called firmware reset code
  4032. - libztex: removed an unused struct member (ztex->valid)
  4033. - driver-ztex: support for broken fpga on a multifpga board
  4034. - Set the pool lagging flag on startup to avoid it being shown initially, and
  4035. only unset it once the maximum number of staged work items has been reached.
  4036. - Avoid recursive locking of the stgd lock.
  4037. - Return value of keep_sockalive is no longer used.
  4038. - Remove dependency on mstcpip.h for windows build by making curl version >=
  4039. 7.25.0 mandatory on windows builds, and use curl functions for keepalive
  4040. whenever possible instead.
  4041. - Make main() the getwork scheduler once everything is set up, so that all app
  4042. exits use the kill_work and quit paths.
  4043. - ztex: more style and whitespace fixes
  4044. - libztex: silenced another warning
  4045. - Set successful connect to true on auth stratum to allow summary on exit from
  4046. single stratum pool.
  4047. - Only consider work stale for stratum of different job_id if it's not a share.
  4048. - Increment version preempting changed version signifying different codebase to
  4049. 2.9
  4050. - Hash_pop should signal further waiters on its own pthread conditional in case
  4051. there are multiple waiters.
  4052. - Check the job_id has not changed on stratum work when deciding if the work is
  4053. stale as might occur across disconnections.
  4054. - Perform pool_resus on getwork pool that generates work in getwork_thread.
  4055. - Set pool lagging message for getwork pool that falls to zero staged in getwork
  4056. thread.
  4057. - Stage extra work when the primary pool is a getwork pool without rolltime.
  4058. - Do not try to clean up twice if kill message is given.
  4059. - Only recalculate total_staged in getwork thread if required.
  4060. - Include the correct config header in libztex and include it before other
  4061. includes.
  4062. - Implement a completely new getwork scheduler. Stage all work from the one
  4063. thread, making it possible to serialise all requests minimising the number of
  4064. getworks requested or local work generated. Use a pthread conditional to wake up
  4065. the thread whenever work is removed to generate enough work to stay above the
  4066. watermark set by opt_queue. Remove all remnants of the old queueing mechanism,
  4067. deleting the now defunct queued count.
  4068. - libztex: fixed some warnings and removed some whitespaces
  4069. - libztex: silenced some warnings
  4070. - Remove all references to the now unused workio_cmd structure.
  4071. - Remove the old workio command queue thread, replacing it with a kill
  4072. conditional to exit the program.
  4073. - Remove getwork command from workio_cmd queues and do them directly from
  4074. queue_request.
  4075. - Begin tearing down the old workio command queues by removing submit commands
  4076. from there and submit them asynchronously via their own threads.
  4077. - Update windows build instructions.
  4078. - Set pool probed to true on successful authorisation with stratum to avoid it
  4079. being pinged later with pool_getswork.
  4080. - driver-ztex: libztex_setFreq() must be called before ztex_releaseFpga()
  4081. - driver-ztex: changed two pairs of malloc()/memset() to calloc()
  4082. - libztex: Read bitstream file in 2kb blocks with simpler and faster code
  4083. - Added the binary versions of ztex_ufm1_15d4.ihx and ztex_ufm1_15y1.ihx
  4084. - Trivial space removal.
  4085. - libztex: Add firmware download support for ZTEX 1.15d and 1.15x
  4086. - libztex: Factor out local version of libusb_get_string_descriptor_ascii()
  4087. - Shut up some boring old cpu warnings.
  4088. - Style changes.
  4089. - Allow pool active to be called on stratum or disabled pools in the watchpool
  4090. thread if the pool has not been probed.
  4091. - libztex: Make log messages say bitstream when refering to bitstreams
  4092. - libztex: Don't return error when a bitstream was already configured
  4093. - libztex: Read bitstream file in 64kb blocks with simpler and faster code
  4094. - libztex: Verify that the mining firmware is not a dummy firmware
  4095. - libztex: Match mining firmware ZTEX descriptor against the dummy firmware
  4096. - Combine shared padding into one char.
  4097. - libztex: Start download sequence only after reading in the new firmware
  4098. - libztex: Download mining firmware to all devices with dummy firmware
  4099. - lock (most of) the threaded statistics updates
  4100. - README stats don't add up
  4101. - usbutils.c remove compiler warning
  4102. - Make need connection return true if a pool is idle.
  4103. - API add Best Share to summary
  4104. - Check on creating new GBT work if the structures are up to date and update
  4105. them as required rather than regularly.
  4106. - Update windows build instructions.
  4107. - Enable backup stratum connections for getwork when the primary pool doesn't
  4108. have longpoll aka solo mining.
  4109. - Check for correct absence of opt_fail_only in cnx_needed.
  4110. - Remove unused variable.
  4111. - The specification for stratum has been elaborated to say that a changed diff
  4112. applies only to new work so do not retarget when submitting shares.
  4113. - Use a variable length string array in submit_upstream_work to cope with
  4114. massive GBT submissions.
  4115. - API lock access to some summary statistics (and copy them)
  4116. - Suspend stratum connections to backup pools when there is no requirement to
  4117. potentially grab work from them.
  4118. - Fix missing export for RenameThread.
  4119. - enumerate the mining threadnames
  4120. - MMQ avoid possible number overrun crashes
  4121. - mmq usb v0.4 + api usb stats
  4122. - setting the name of the threads for linux,freebsd,openbsd and osx code is
  4123. borrowed from bitcoins util.c, so it is already tested
  4124. - Don't show broken WU value with scrypt mining.
  4125. - Style police.
  4126. - Remove unused getwork times in getswork.
  4127. - Fix readme wordwrap.
  4128. Version 2.9.6 - December 2, 2012
  4129. - Make gen_stratum_work more robust by using a dynamically allocated array for
  4130. the header in case bogus data is sent by the pool to avoid overflowing a static
  4131. array.
  4132. - scrypt_diff now returns a uint64_t
  4133. - Support monitoring and reporting much higher diffs for scrypt mining,
  4134. truncating irrelevant zeroes from displayed hash.
  4135. - Pass ostate values around in scrypt to be able to extract full hashes if
  4136. needed later on.
  4137. - Since we will be using calloc_str to put a string into it, convert the
  4138. function to calloc_strcat which does it automatically.
  4139. - Revert "Handle crash exceptions by trying to restart cgminer unless the
  4140. --no-restart option is used."
  4141. - Count longpoll and GBT decodes as queued work since the count otherwise
  4142. remains static.
  4143. - Use the string helper functions to create gbt blocks of any length.
  4144. - Provide helper functions calloc_str and realloc_strcat to create and extend
  4145. arbitrary length arrays based on string length.
  4146. Version 2.9.5 - November 25, 2012
  4147. - fixes target calc for mips openwrt
  4148. - openwrt needs roundl
  4149. - Get rid of unused last_work in opencl thread data.
  4150. - Do away with the flaky free_work api in the driver code which would often lose
  4151. the work data in opencl and simply flush it before exiting the opencl scanhash.
  4152. - Use base_work for comparison just for cleanness in __copy_work
  4153. - Remove all static work structs, using the make and free functions.
  4154. - Add pool no. to stale share detected message.
  4155. - Add info about which pool share became stale while resubmitting.
  4156. -b Copy the work on opencl_free_work
  4157. - Add an extra slot in the max backlog for ztex to minimise dupes.
  4158. - Do not use or count the getworks submitted which are simply testing that pools
  4159. are still up. This was increasing share leakage and making stats not reflect
  4160. real work.
  4161. - Track all dynamically allocated memory within the work struct by copying work
  4162. structs in a common place, creating freshly allocated heap ram for all arrays
  4163. within the copied struct. Clear all work structs from the same place to ensure
  4164. memory does not leak from arrays within the struct. Convert the gbt coinbase and
  4165. stratum strings within the work struct to heap ram. This will allow arbitrary
  4166. lengths without an upper limit for the strings, preventing the overflows that
  4167. happen with GBT.
  4168. - libztex: Work around ZTEX USB firmware bug exposed by the FreeBSD libusb
  4169. - opencl: Use new dev_error function for REASON_DEV_NOSTART
  4170. Version 2.9.4 - November 18, 2012
  4171. - Provide rudimentary support for the balancing failover strategies with stratum
  4172. and GBT by switching pools silently on getwork requests.
  4173. - Convert remaining modminer and bfl uses of usleep to nmsleep.
  4174. - Convert libztex to nmsleep where possible.
  4175. - Convert unreliable usleep calls to nmsleep calls in ztex driver.
  4176. - Support workid for block submission on GBT pools that use it.
  4177. - Provide rudimentary support for literal ipv6 addresses when parsing stratum
  4178. URLs.
  4179. - Work around libcurl cflags not working on hacked up mingw installations on
  4180. windows.
  4181. - Only increase gpu engine speed by a larger step if the temperature is below
  4182. hysteresis instead of increasing it to max speed.
  4183. - Convert pool not responding and pool alive message on backup pools to verbose
  4184. level only since they mean a single failed getwork.
  4185. - Update work block on the longpoll work item before calling restart threads to
  4186. ensure all work but the longpoll work item gets discarded when we call
  4187. discard_stale from restart_threads.
  4188. - Do not attempt to remove the stratum share hash after unsuccessful submission
  4189. since it may already be removed by clear_stratum_shares.
  4190. - Check against a double for current pool diff.
  4191. - Support for fractional diffs and the classic just-below-1 share all FFs diff
  4192. target.
  4193. Version 2.9.3 - November 11, 2012
  4194. - Make header larger on gen stratum work to accomodate \0 at the end.
  4195. Version 2.9.2 - November 11, 2012
  4196. - Use stratum block change from backup pools as an alternative to longpoll for
  4197. pools that don't support LP.
  4198. - Check share target diff for best_share to be calculated when solo mining.
  4199. - Round some more static string arrays to 4 byte boundaries.
  4200. - There is no need for the static arrays to be larger than required, so long as
  4201. they're 4 byte aligned to appease ARM.
  4202. - Store the full stratum url information in rpc_url for correct configuration
  4203. file saving.
  4204. - Put in a hack to prevent dud work from sneaking into test_work_current being
  4205. seen as a new block.
  4206. - Reset the work->longpoll flag where it will affect stratum work items as well.
  4207. - Check for both coinbase/append and submit/coinbase support before using GBT
  4208. protocol.
  4209. - First pass through testing for GBT should not set probed to true since we are
  4210. about to probe again.
  4211. - Hash1 is only used by the deprecated cpu mining code and never changes so
  4212. remove it from the work struct and bypass needing to process the value for all
  4213. other mining.
  4214. - Get a work item once per minute for all getwork and GBT pools to test they're
  4215. still alive and to maintain a current GBT template.
  4216. - Get a fresh block template with GBT pools on switching to them.
  4217. Version 2.9.1 - November 6, 2012
  4218. - Reset work flags to prevent GBT shares from being submitted as stratum ones
  4219. after switching.
  4220. Version 2.9.0 - November 6, 2012
  4221. - Add endian swap defines for where missing.
  4222. - Only retarget stratum shares to new pool diff if diff has dropped.
  4223. - Remove resetting of probed variable when detecting GBT.
  4224. - Count lost stratum share submits and increase message priority to warning.
  4225. - Only retrieve a new block template for GBT pools that are the current pool.
  4226. - Show which pool untracked share messages have come from.
  4227. - Add management for dead GBT pools.
  4228. - Count lost shares with stratum as submit stale lost.
  4229. - Discard record of stratum shares sent and report lost shares on disconnection
  4230. since they will never be reported back.
  4231. - Swab, don't just swap the bytes in the GBT target.
  4232. - Change status window message for GBT connected pools versus LP.
  4233. - Generate a gbt work item from longpoll when required to set new block and
  4234. message appropriately.
  4235. - Use existing pool submit_old bool from gbt data.
  4236. - Retrieve a new block template if more than 30 seconds has elapsed since the
  4237. last one to keep the data current and test the pool is still alive.
  4238. - Update GBT longpollid every time we request a new longpoll.
  4239. - Manage appropriate response codes for share submission with GBT.
  4240. - Allow the longpoll thread to start with GBT and only set the longpollid once.
  4241. - Correct last few components of GBT block generation courtesy of Luke-jr.
  4242. - Use correct length for offsetting extra nonce and remaining data.
  4243. - Flip all 80 bytes in the flip function which was wrongly named flip256 for its
  4244. purpose.
  4245. - Calculate midstate for gbt work and remove now unused variable.
  4246. - Use a standard function for flipping bytes.
  4247. - Insert the extra nonce and remaining data in the correct position in the
  4248. coinbase.
  4249. - Remove txn size debugging and enlarge gbt block string to prevent overflow.
  4250. - Remove varint display debugging.
  4251. - Build varint correctly for share submission and sleep 5 seconds before
  4252. retrying submit.
  4253. - Make gbt_coinbase large enough for submissions, swap bytes correctly to make a
  4254. header from GBT and encode the number of transactions in share submission.
  4255. - Store the fixed size entries as static variables in GBT in binary form,
  4256. byteswapping as is required.
  4257. - 32 bit hex encoded variables should be in LE with GBT.
  4258. - Target and prevblockhash need to be reversed from GBT variables.
  4259. - Construct block for submission when using GBT.
  4260. - Use same string for debug as for submission and make string larger to cope
  4261. with future GBT messages.
  4262. - Skip trying to decipher LP url if we have GBT support.
  4263. - Store all the transaction hashes in pool->txn_hashes instead of separating
  4264. txn0 and correct generation of merkle root, fixing memory overwrites.
  4265. - Hook into various places to generate GBT work where appropriate.
  4266. - Create extra work fields when generating GBT work.
  4267. - Generate header from correct hashing generation of the merkle root for GBT.
  4268. - Generate the merkle root for gbt work generation.
  4269. - Create a store of the transactions with GBT in the minimum size form required
  4270. to generate work items with a varied coinbase.
  4271. - Create a function that generates a GBT coinbase from the existing pool
  4272. variables.
  4273. - Extract and store the various variables GBT uses when decoding gbt work.
  4274. - Check for invalid json result in work_decode.
  4275. - Decode work in separate functions for getwork vs gbt.
  4276. - Check for the coinbase/append mutable in GBT support to decide whether to use
  4277. it or not.
  4278. - Add a gbt mutex within the pool struct for protecting the gbt values.
  4279. - Convert work decode function to prepare for decoding block templates.
  4280. - Check for GBT support on first probing the pool and convert to using the GBT
  4281. request as the rpc request for that pool.
  4282. - Make the rpc request used with getwork a pool variable to allow it to be
  4283. converted to/from gbt requests.
  4284. - Changes to build prototypes to support building on FreeBSD 9.1-RC2 amd64
  4285. - Free old stratum_work data before replacing it
  4286. - There is no need for addrinfo any more.
  4287. - server and client sockaddr_in are no longer used in struct pool.
  4288. - Merge pull request #322 from luke-jr/bugfix_stratum_tmpwork
  4289. - Set sshare id and swork_id within the sshare mutex to avoid multiple share
  4290. submits with the same id.
  4291. - Initialize temporary stratum work
  4292. Version 2.8.7 - October 29, 2012
  4293. - Fail on select() failing in stratum thread without needing to attempt
  4294. recv_line.
  4295. - Add share to stratum database before sending it again in case we get a
  4296. response from the pool before it's added.
  4297. Version 2.8.6 - October 29, 2012
  4298. - Shorten the initiate stratum connect timeout to 30 seconds.
  4299. - Shorten the stratum timeout on read to 90 seconds to detect unresponsive pool.
  4300. - Display best share difficulty on exit.
  4301. - Make stratum socket fail more robust on windows by disabling the send buffer.
  4302. - Reuse the same curl handle forcing a new connection instead of risking
  4303. derefencing.
  4304. - Add information about submission failure to stratum send.
  4305. - Only add stratum share to database if we succeeded in submitting it, with a
  4306. debug output saying it succeeded.
  4307. - Use keepalive with stratum sockets to improve its ability to detect broken
  4308. connections.
  4309. - Show only the URL in the status bar to avoid long prefixes making for extra
  4310. long lines.
  4311. - Display compact status in menu and update README to reflect current menu
  4312. entries.
  4313. - Add a compact display mode that does not list per device statistics in the
  4314. status window.
  4315. - Add blank spaces after best share displayed.
  4316. - Round a few static string arrays up to 4 byte boundaries for ARM.
  4317. - Display best share diff for scrypt as well.
  4318. - Show the best diff share as "best share" and add info to the README.
  4319. - Display the best diff share submitted so far.
  4320. - Redundant check.
  4321. - The work struct pointer in struct pc_data in findnonce is never freed yet
  4322. there is no need to allocate it separately so make struct work a static part of
  4323. the struct pc_data. s
  4324. Version 2.8.5 - October 23, 2012
  4325. - Handle crash exceptions by trying to restart cgminer unless the --no-restart
  4326. option is used.
  4327. - Switch queued count when choosing a different pool from a failed stratum pool
  4328. in getwork thread.
  4329. - Put a mandatory 5s wait between reattempting a getwork on failure to avoid
  4330. hammering requests.
  4331. - The ATI stream / AMD APP SDK environment variables appear to only interfere
  4332. with win32 builds so bypass them.
  4333. - Make sure to check pool stratum curl exists under lock before attempting any
  4334. recv to not risk dereferencing upon attempting to reinitiate stratum.
  4335. - Avoid redefining macros and align to 4 byte boundaries.
  4336. - API - add Stratum information to pools
  4337. - update FPGA-README for MMQ
  4338. Version 2.8.4 - October 18, 2012
  4339. - Time for dynamic is in microseconds, not ms.
  4340. - x86_64 builds of mingw32 are not supported directly and should just configure
  4341. as generic mingw32 builds since they're NOT 64 bit.
  4342. - Cope with both ATI stream and AMD APP SDK roots being set when building.
  4343. - Use 3 significant digits when suffix string is used and values are >1000.
  4344. - MMQ new initialisation (that works) and clocking control
  4345. - Get rid of unused warning for !scrypt.
  4346. - Use select on stratum send to make sure the socket is writeable.
  4347. - Cope with dval being zero in suffix_string and display a single decimal place
  4348. when significant digits is not specified but the value is greater than 1000.
  4349. - Pad out the suffix string function with zeroes on the right.
  4350. - Failure to calloc in bin2hex is a fatal failure always so just check for that
  4351. failure within the function and abort, simplifying the rest of the code.
  4352. - Provide locking around the change of the stratum curl structures to avoid
  4353. possible races.
  4354. - Bump opencl kernel version numbers.
  4355. - Remove atomic ops from opencl kernels given rarity of more than once nonce on
  4356. the same wavefront and the potential increased ramspeed requirements to use the
  4357. atomics.
  4358. - Clear the pool idle flag in stratum when it comes back to life.
  4359. - Display correct share hash and share difficulty with scrypt mining.
  4360. - Use explicit host to BE functions in scrypt code instead of hard coding
  4361. byteswap everywhere.
  4362. - Show work target diff for scrypt mining.
  4363. - Ease the checking on allocation of padbuffer8 in the hope it works partially
  4364. anyway on an apparently failed call.
  4365. - Watch for buffer overflows on receiving data into the socket buffer.
  4366. - Round target difficulties down to be in keeping with the rounding of detected
  4367. share difficulties.
  4368. - Dramatically simplify the dynamic intensity calculation by oversampling many
  4369. runs through the opencl kernel till we're likely well within the timer
  4370. resolution on windows.
  4371. - String alignment to 4 byte boundaries and optimisations for bin<->hex
  4372. conversions.
  4373. - In opencl_free_work, make sure to still flush results in dynamic mode.
  4374. - Align static arrays to 4 byte boundaries to appease ARM builds for stratum.
  4375. Version 2.8.3 - October 12, 2012
  4376. - Left align values that are suffix_string generated.
  4377. - Share_diff should not be converting the work data to hex.
  4378. - Off by one error.
  4379. - Prevent overflows of the port char array in extract_sockaddr.
  4380. - Disable stratum detection with scrypt.
  4381. - Use the suffix string function when displaying device hashrates.
  4382. - Be consistent with the get_statline function.
  4383. - Use the suffix string function for displaying hashrate with 4 significant
  4384. digits.
  4385. - Display the actual share diff next to the pool required diff, using a suffix
  4386. creation function to prevent values of >1000 being shown in their entirety.
  4387. - Fix 4 * 0 being 0 that would break dynamic intensity mode.
  4388. - Fix wrong byteswap macro being used on mingw32 which was breaking target
  4389. generation on stratum.
  4390. Version 2.8.2 - October 11, 2012
  4391. - Reinstate the history on dynamic intensity mode to damp fluctuations in
  4392. intensity but use an upper limit on how much the value can increase at any time
  4393. to cope with rare overflows.
  4394. - Create a fix-protocol option which prevents cgminer from switching to stratum
  4395. if it's detected.
  4396. - Simplify target generation code.
  4397. - Add support for client.get_version for stratum.
  4398. - Use a 64 bit unsigned integer on the diff target to generate the hex target.
  4399. - Update reconnect message to show whole address including port.
  4400. - Look for null values and parse correct separate array entries for url and port
  4401. with client reconnect commands for stratum.
  4402. - The command for stratum is client.reconnect, not mining.reconnect.
  4403. - Only copy the stratum url to the rpc url if an rpc url does not exist.
  4404. - Implement rudimentary mining.reconnect support for stratum.
  4405. - Ignore the value of stratum_active on calling initiate_stratum and assume
  4406. we're always trying to reinitiate it, and set the active flag to false in that
  4407. function.
  4408. - stratum auth can be unset if we fail to authorise on subsequent calls to
  4409. auth_stratum which undoes the requirement of setting it in one place so set it
  4410. in pool_active.
  4411. Version 2.8.1 - October 8, 2012
  4412. - Use the stratum url as the rpc url advertised if we switch to it.
  4413. - Count an invalid nonce count as a hardware error on opencl.
  4414. - Count each stratum work item as local work.
  4415. - Cope with one stratum pool being the only active pool when it dies by sleeping
  4416. for 5 seconds before retrying to get work from it instead of getting work
  4417. indefinitely.
  4418. - Detect stratum outage based on either select timing out or receiving an empty
  4419. buffer and properly re-establish connection by disabling the stratum_active
  4420. flag, coping with empty buffers in parse_stratum.
  4421. Version 2.8.0 - October 7, 2012
  4422. - Major upgrade - support for the stratum mining protocol.
  4423. - Fix various modminer warnings on mingw.
  4424. - Fix sign warning on windows build for bitforce.
  4425. - Cast socketfail to integer since SOCKET is an unsigned int on windows.
  4426. - Use strtod not strtol for bitforce temp backup.
  4427. - Cope with broken drivers returning nonsense values for bitforce temperatures.
  4428. - Minor warning fixes.
  4429. - Use the stratum thread to detect when a stratum pool has died based on no
  4430. message for 2 minutes.
  4431. - Only set the stratum auth flag once and once the stratum thread is started,
  4432. use that to set/unset the stratum active flag.
  4433. - Only hand off to stratum from getwork if we succeed in initiating the
  4434. protocol.
  4435. - Target should only be 32 bytes copied.
  4436. - Use a static array for work submission data instead of stack memory.
  4437. - Clear the buffer data before sprinting to it.
  4438. - Clear work stratum strings before setting them and add them to debug output.
  4439. - Drop stratum connect failed message to verbose level only since it's a regular
  4440. probing message.
  4441. - TCP Keepalive in curl is only in very recent versions and not required with
  4442. regular messages on stratum anyway.
  4443. - Move stratum sockets to curl infrastructure with locking around send+recv to
  4444. begin support for proxies and ssl.
  4445. - Make detect stratum fail if a proxy has been set up.
  4446. - Stratum does not currently have any proxy support so do not try to switch to
  4447. stratum if a proxy has been specified.
  4448. - Windows doesn't work with MSG_PEEK on recv so move to a continuously updating
  4449. buffer for incoming messages.
  4450. - Alloca is unreliable on windows so use static arrays in util.c stratum code.
  4451. - Begin support for mingw stratum build.
  4452. - Add space to reject reason.
  4453. - Parse the reject reason where possible from stratum share submission.
  4454. - Pass json error value to share result function to be able to parse reject
  4455. reason in stratum.
  4456. - Don't try to parse unneeded parameters in response to mining.subscribe.
  4457. - Remove the sshare hash entry if we failed to send it.
  4458. - Change notify message to info level to avoid spamming repeatedly when a pool
  4459. is down.
  4460. - Check the stratum pool difference has not changed compared to the work diff
  4461. when testing whether a share meets the target or not and retarget if necessary.
  4462. - Bit error in target calculation for stratum.
  4463. - Set work_block in gen_stratum_work for when work is reused to avoid thinking
  4464. it's all stale.
  4465. - Offset the current block detection to the prev block hash.
  4466. - We should be testing for id_val, not id in parse stratum response.
  4467. - Make target on stratum scale to any size by clearing sequential bits according
  4468. to diff.
  4469. - Correct target calculation in gen_stratum_work.
  4470. - If a share result has an error code but still has an id, it is likely a
  4471. reject, not an error.
  4472. - Initiate stratum the first time in pool_active only, allowing us to switch to
  4473. it on getting a failed getwork and detecting the presence of stratum on the url
  4474. at that time.
  4475. - Use 5 second timeout on sock full for now as a temporary workaround.
  4476. - If no stratum url is set by the end of the detect stratum routine, copy the
  4477. sockaddr url.
  4478. - Make all buffers slightly larger to prevent overflow.
  4479. - Make the stratum recv buffer larger than the recvsize.
  4480. - Userpass needs to be copied to user and pass earlier to allow stratum
  4481. authorisation to work with it.
  4482. - Store a sockaddr url of the stripped url used in determining sockaddr to not
  4483. confuse it with the stratum url and fix build warnings.
  4484. - Decrease the queued count with stratum work once it's staged as well.
  4485. - Allow the stratum retry to initiate and auth stratum in pool_alive to make
  4486. sure the stratum thread is started.
  4487. - Avoid duplicating pool->rpc_url and setting pool->stratum_url twice to itself.
  4488. - Detect if a getwork based pool has the X-Stratum header on startup, and if so,
  4489. switch to the stratum based pool.
  4490. - Comment update.
  4491. - Minor message change.
  4492. - Create a work item from a "clean" request from stratum allowing the new block
  4493. to be detected and the appropriate block change message to be given.
  4494. - Use statically allocated stratum strings in struct work to cope with the
  4495. inability to safely deallocate dynamically allocated ram.
  4496. - Use the current pool when deciding whether to reuse work from a stratum source
  4497. rather than the work's previous pool.
  4498. - Copy the stratum url to the rpc url to avoid none being set.
  4499. - Provide locking around stratum send operations to avoid races.
  4500. - Submit shares from stratum through the abstracted submit share function
  4501. detecting what message they belong to and showing the data from the associated
  4502. work, and then deleting it from the hash.
  4503. - Use a more robust mechanism to obtain a \n terminated string over a socket.
  4504. - Abstract out share submit as a function to be useable by stratum.
  4505. - Rename parse_stratum to parse_method as it is only for stratum messages that
  4506. contain methods.
  4507. - Display stratum as mechanism in status line when current pool is running it.
  4508. - Count each stratum notify as a getwork equivalent.
  4509. - Correct nonce submitted with share.
  4510. - Extranonce2 should be added before coinbase2.
  4511. - We should be hashing the binary coinbase, not the hex one.
  4512. - Fix endianness of nonce submitted for stratum.
  4513. - Check that stratum is already active in initiate_stratum to avoid
  4514. de-authorising ourselves by subscribing again.
  4515. - Begin implementing a hash database of submissions and attempt sending results.
  4516. - Copy parameters from stratum work required for share submission.
  4517. - Set lagging flag on first adding a pool to prevent pool slow warning at
  4518. startup.
  4519. - Fix work->target being a 32 byte binary in gen_stratum_work.
  4520. - Store and display stripped url in its own variable.
  4521. - Create machinery to divert work requests to stratum.
  4522. - Generate the work target in gen_stratum_work, setting default diff to 1 in
  4523. case it is not yet set.
  4524. - Generate work data, midstate and hash1 in gen_stratum_work.
  4525. - Generate header created from stratum structures in gen_stratum_work.
  4526. - Generate merkle root hash in gen_stratum_work.
  4527. - Generate the coinbase for generation of stratum based work.
  4528. - The number of transactions is variable so make merkle a variable length
  4529. dynamically allocated array and track how many there are for stratum.
  4530. - Rename nonce2 to n2size reflecting that it's a size variable and not the
  4531. actual nonce.
  4532. - Provide rudimentary support for stratum clean work command in the stratum
  4533. thread.
  4534. - Cope with pools being removed in the stratum thread.
  4535. - Use the pool sock value directly in the stratum thread in case it changes
  4536. after reconnecting.
  4537. - Create a stratum thread per pool that has stratum that monitors the socket and
  4538. serves received data.
  4539. - Check return value of stratum_parse.
  4540. - Complete authorisation in stratum.
  4541. - Implement stratum parsing of notify parameters and storing them in the pool
  4542. stratum work structure.
  4543. - Create helper functions for duplicating json strings to avoid keeping json
  4544. references in use.
  4545. - Append \n in the sock_send function instead of adding it when constructing
  4546. json in stratum.
  4547. - Don't keep any json references around with stratum structures.
  4548. - Create parse_stratum function that hands off stratum parameters to other
  4549. functions to manage pool stratum work struct variables. Implement mining
  4550. difficulty setting.
  4551. - Create helper functions for checking when a socket is ready to read on and
  4552. receive a single line at a time. Begin stratum authorisation process.
  4553. - Provide a helper function for reading a single \n terminated string from a
  4554. socket.
  4555. - Create a stratum work structure to store current work variables.
  4556. - Test specifically for stratum being active in pool_active.
  4557. - Detect stratum in common place when adding urls, and use a bool to tell us
  4558. when it's active.
  4559. - Fix warnings.
  4560. - Extract and store various parameters on stratum init confirming successful
  4561. mining notify.
  4562. - Use existing socket macros and close the socket on failure in init stratum.
  4563. - Initiate stratum and grab first json result.
  4564. - Get detailed addressinfo from the parsed URL for future raw socket usage when
  4565. possible. IPV4 only for now.
  4566. - Prepare for getaddrinfo call.
  4567. - Add data structures to pool struct for socket communications.
  4568. - Put all socket definitions in util.h to allow reusing by added socket
  4569. functions to be used in util.c.
  4570. Version 2.7.7 - October 7, 2012
  4571. - Fix unused warnings on ming build.
  4572. - Fix sign warning in ocl.c
  4573. - fds need to be zeroed before set in modminer.
  4574. - Put scrypt warning on separate line to avoid 0 being shown on windows as
  4575. bufsize.
  4576. - Display correct pool number when block is found.
  4577. - Prevent corrupt values returned from the opencl code from trying to read
  4578. beyond the end of the buffer by masking the value to a max of 15.
  4579. - Icarus USB write failure is also a comms error
  4580. - api.c DEBUG message has no paramter
  4581. - Icarus catch more USB errors and close/reopen the port
  4582. - API-README update cgminer verison number
  4583. - hashmeter fix stats kh/s on 32bit windows
  4584. Version 2.7.6 - September 24, 2012
  4585. - Reorder libztex header include order to fix missing struct definition.
  4586. - Display share difficulty on log with a shortened hash display on submission.
  4587. - API stats add some pool getwork difficulty stats
  4588. - Ignore any pings pushed to the worker threads if the thread is still paused to
  4589. prevent it being enabled and disabled repeatedly.
  4590. - README - FAQ - usermod group - shouldn't remove other groups
  4591. - Test for sequential getwork failures on a pool that might actually be up but
  4592. failing to deliver work as we may end up hammering it repeatedly by mistake.
  4593. - reduce windows compile warnings
  4594. - util.c - bug - proxy - no data end condition
  4595. - As we average gpu time over 5 work intervals for dynamic GPU intensity, there
  4596. is no need to maintain a rolling average and it avoids the potential long term
  4597. corruption of a single overflow value.
  4598. - Test for the now-automatically exported variable AMDAPPSDKROOT when looking
  4599. for the presence of the OpenCL headers.
  4600. - API don't change 'Diff1 Shares' - backward compatability FTW
  4601. - miner.php highlighting correctly handling difficulty
  4602. - API - Add last share difficulty for devices and pool
  4603. - Store and report Accepted,Rejected,Stale difficulty in the summary and API
  4604. - WorkTime - display prevblock for scrypt
  4605. - api.c remove compile warnings
  4606. - Calculate work difficulty for each getwork and display with WorkTime debug
  4607. - remove MMQ unused variable warning
  4608. - FPGA - allow long or short device names in detect code + style police
  4609. - WorkTime - multiple nonce per work and identify the work source
  4610. - Optional WorkTime details with each Accepted/Rejected work item
  4611. - Icarus - ignore hardware errors in timing mode
  4612. - miner.php oops - mistype
  4613. - miner.php by default don't display IP/Port numbers in error messages
  4614. - api.c all STATUS messages automatically escaped
  4615. - api.c add missing escape for comma in MSG_PGAUNW
  4616. - API add display of and setting queue,scantime,expiry
  4617. - HW: dont submit bad shares
  4618. - save individual pool proxy settings to config
  4619. - --default-config - allow command line to define the default configuration file
  4620. for loading and saving
  4621. - API-README update for pools proxy info
  4622. - README URL proxy must use quote so show in the example
  4623. - bug: remove proxy: from the front of the proxy used
  4624. - CURL support for individual proxy per pool and all proxy types
  4625. - README spelling/etc
  4626. - README - FPGA device FAQ
  4627. - HW: error counter auto for all devices - ztex code not fixed
  4628. - API pgaidentify - unsupported message should be a warning
  4629. - API/BFL identify a device - currently only BFL to flash the led
  4630. - BFL add throttle count to internal stats + API
  4631. - BFL: missing device id in log message
  4632. - miner.php correct to new Diff1 Work field names
  4633. - API add device diff1 work
  4634. - API-README update
  4635. - api.c Correct diff1 field name
  4636. - count device diff1 shares
  4637. - API-README more debug parameter information
  4638. - API allow full debug settings control
  4639. Version 2.7.5 - August 31, 2012
  4640. - Adjust opencl intensity when adjusting thread count to prevent it getting
  4641. pegged at a value below the minimum threads possible.
  4642. - miner.h max_hashes -> int64_t
  4643. - Keep the local block number in the blocks structs stored and sort them by
  4644. number to guarantee we delete the oldest when ageing the block struct entries.
  4645. - Use correct sdk version detection for SDK 2.7
  4646. - Revert "Pick worksize 256 with Cypress if none is specified."
  4647. - Test for lagging once more in queue_request to enable work to leak to backup
  4648. pools.
  4649. - There is no need to try to switch pools in select_pool since the current pool
  4650. is actually not affected by the choice of pool to get work from.
  4651. - Only clear the pool lagging flag if we're staging work faster than we're using
  4652. it.
  4653. - needed flag is currently always false in queue_request. Remove it for now.
  4654. - thr is always NULL going into queue_request now.
  4655. Version 2.7.4 - August 23, 2012
  4656. - Perform select_pool even when not lagging to allow it to switch back if needed
  4657. to the primary.
  4658. - Simplify macros in output kernels avoiding apparent loops and local variables.
  4659. - Carry the needed bool over the work command queue.
  4660. - Move the decision to queue further work upstream before threads are spawned
  4661. based on fine grained per-pool stats and increment the queued count immediately.
  4662. - Track queued and staged per pool once again for future use.
  4663. - OpenCL 1.0 does not have native atomic_add and extremely slow support with
  4664. atom_add so detect opencl1.0 and use a non-atomic workaround.
  4665. - Pools: add RollTime info to API 'stats' and 'Stats' button in miner.php
  4666. Version 2.7.3 - August 22, 2012
  4667. - Minimise the number of getwork threads we generate.
  4668. Version 2.7.2 - August 22, 2012
  4669. - Pick worksize 256 with Cypress if none is specified.
  4670. - Give warning with sdk2.7 and phatk as well.
  4671. - Whitelist sdk2.7 for diablo kernel as well.
  4672. - Only keep the last 6 blocks in the uthash database to keep memory usage
  4673. constant. Storing more is unhelpful anyway.
  4674. - BFL Flash - always distribute source
  4675. - Increase kernel versions signifying changed APIs.
  4676. - BFL flash - include source in builds and more FPGA-README
  4677. - Check we haven't staged work while waiting for a curl entry before proceeding.
  4678. - Use atomic ops to never miss a nonce on opencl kernels, including nonce==0,
  4679. also allowing us to make the output buffer smaller.
  4680. - Remove compile errors/warnings and document compile/usage in FPGA-README
  4681. - bitforce-firmware-flash.c by Luke-jr
  4682. - Ignore the submit_fail flag when deciding whether to recruit more curls or not
  4683. since we have upper bounds on how many curls can be recruited, this test is
  4684. redundant and can lead to problems.
  4685. - API-README update cgminer version number
  4686. - API-README fix groups P: example mistake
  4687. - API-README add COIN and other edits
  4688. - gpu->hit should be reset on new work as well.
  4689. - Do not add time to dynamic opencl calculations over a getwork.
  4690. - miner.php allow 'coin' is custom pages
  4691. Version 2.7.1 - August 21, 2012
  4692. - Update windows build instructions courtesy of sharky.
  4693. - Increase max curls to number of mining threads + queue * 2, accounting for up
  4694. and downstream comms.
  4695. - Queue enough requests to get started.
  4696. - There is no point trying to clone_work in get_work() any more since we clone
  4697. on every get_work_thread where possible.
  4698. - There is no point subtracting 1 from maxq in get_work_thread.
  4699. - Only set lagging flag once there are no staged work items.
  4700. - select_pool does not switch back to the primary once lagging is disabled.
  4701. - miner.php allow page title to be defined in myminer.php
  4702. - Free work before retrying in get_work_thread.
  4703. - Increment total work counter under mutex lock.
  4704. - Increment the queued count after the curl is popped in case there's a delay
  4705. waiting on curls and we think we've queued work when in fact we're waiting
  4706. - API new command 'coin' with mining information
  4707. - Do the dynamic timing in opencl code over a single pass through scanhash to
  4708. make sure we're only getting opencl times contributing to the measured inte
  4709. - Increase curl reaping time to 5 minutes since comms between curl requests can
  4710. be 2 mins apart with lots of rolltime.
  4711. - No need for extra variable in hash_push.
  4712. - Remove short options -r and -R to allow them to be reused and remove readme
  4713. entries for deprecated options.
  4714. - Avoid attempting to recursively lock the console mutex by disabling warnings
  4715. in gpu_fanpercent when fanspeed monitoring fails on windows. Debugged by l
  4716. - Deprecate the opt_fail_pause parameter, leaving a null placeholder for
  4717. existing configurations.
  4718. - Don't pause after failed getwork, set lagging flag and reassess.
  4719. - Add message to share if it's a resubmit.
  4720. - We should not be pausing in trying to resubmit shares.
  4721. - Get rid of the extending fail pause on failed connects since we discard work
  4722. after a period.
  4723. - get_work always returns true so turn it into a void function.
  4724. - get_work never returns false so get rid of fail pause loop.
  4725. - Get rid of pause and retry from get_upstream_work so we only do it from one
  4726. place.
  4727. - Deprecate the opt_retries feature as no one wants cgminer to automatically
  4728. abort. Leave a null placeholder for configurations that still have it.
  4729. - Reinstate fix ADL gpu-map not working when there are more ADL devices than
  4730. openCL patch by Nite69. Add virtual adl mapping for when none is specified o
  4731. - miner.php show summary Diff1 Shares total
  4732. - miner.php fix Work Utility totals
  4733. - miner.php format new Work Utility and Diff1 Shares
  4734. - API V1.17 show Work Utility and Diff1 Shares
  4735. Version 2.7.0 - August 18, 2012
  4736. - Introduce a new statistic, Work Utility, which is the number of difficulty 1
  4737. shares solved per minute. This is useful for measuring a relative rate of work
  4738. that is independent of reject rate and target difficulty.
  4739. - Implement a new pool strategy, BALANCE, which monitors work performed per pool
  4740. as a rolling average every 10 minutes to try and distribute work evenly over all
  4741. the pools. Do this by monitoring diff1 solutions to allow different difficulty
  4742. target pools to be treated equally, along with solo mining. Update the
  4743. documentation to describe this strategy and more accurately describe the
  4744. load-balance one.
  4745. - Getwork fail was not being detected. Remove a vast amount of unused variables
  4746. and functions used in the old queue request mechanism and redefine the getfail
  4747. testing.
  4748. - Don't try to start devices that don't support scrypt when scrypt mining.
  4749. - 0 is a valid return value for read so only break out if read returns -1.
  4750. - Consider us lagging only once our queue is almost full and no staged work.
  4751. - Simplify the enough work algorithm dramatically.
  4752. - Only queue from backup pools once we have nothing staged.
  4753. - Don't keep queueing work indefinitely if we're in opt failover mode.
  4754. - Make sure we don't opt out of queueing more work if all the queued work is
  4755. from one pool.
  4756. - Set lagging flag if we're on the last of our staged items.
  4757. - Reinstate clone on grabbing work.
  4758. - Grab clones from hashlist wherever possible first.
  4759. - Cull all the early queue requests since we request every time work is popped
  4760. now.
  4761. - Keep track of staged rollable work item counts to speed up clone_available.
  4762. - Make expiry on should_roll to 2/3 time instead of share duration since some
  4763. hardware will have very fast share times.
  4764. - Do the cheaper comparison first.
  4765. - Check that we'll get 1 shares' worth of work time by rolling before saying we
  4766. should roll the work.
  4767. - Simplify all those total_secs usages by initialising it to 1 second.
  4768. - Overlap queued decrementing with staged incrementing.
  4769. - Artificially set the pool lagging flag on pool switch in failover only mode as
  4770. well.
  4771. - Artificially set the pool lagging flag on work restart to avoid messages about
  4772. slow pools after every longpoll.
  4773. - Factor in opt_queue value into enough work queued or staged.
  4774. - Roll work whenever we can on getwork.
  4775. - Queue requests for getwork regardless and test whether we should send for a
  4776. getwork from the getwork thread itself.
  4777. - Get rid of age_work().
  4778. - 0 is a valid return value for read so only break out if read returns -1.
  4779. - Offset libusb reads/writes by length written as well in ztex.
  4780. - Cope with timeouts and partial reads in ztex code.
  4781. - fpga serial I/O extra debug (disabled by default)
  4782. Version 2.6.5 - August 15, 2012
  4783. - Don't try to get bitforce temperature if we're polling for a result to
  4784. minimise the chance of interleaved responses.
  4785. - Set memory clock based on memdiff if present from with engine changes,
  4786. allowing it to parallel manual changes from the menu as well.
  4787. - Increase the timeout on bitforce as per Paul Sheppard's suggestion to account
  4788. for throttling + work time + excess.
  4789. - Fix ADL gpu-map not working when there are more ADL devices than openCL.
  4790. Initial patch supplied by Nite69. Modified to suit.
  4791. - Windows' timer resolution is limited to 15ms accuracy. This was breaking
  4792. dynamic intensity since it tries to measure below this. Since we are repeatedly
  4793. sampling similar timeframes, we can average the gpu_us result over 5 different
  4794. values to get very fine precision.
  4795. - Fix harmless unused warnings in scrypt.h.
  4796. - api.c typo
  4797. - API allow display/change failover-only setting
  4798. - Check we are not lagging as well as there is enough work in getwork.
  4799. - Minimise locking and unlocking when getting counts by reusing shared mutex
  4800. lock functions.
  4801. - Avoid getting more work if by the time the getwork thread is spawned we find
  4802. ourselves with enough work.
  4803. - The bitforce buffer is cleared and hw error count incremented on return from a
  4804. failed send_work already so no need to do it within the send_work function.
  4805. - miner.php allow a custom page section to select all fields with '*' - e.g. to
  4806. create a STATS section on a custom page
  4807. - Escape " and \ when writing json config file
  4808. - miner.php optional single rig totals (on by default)
  4809. Version 2.6.4 - August 7, 2012
  4810. - Convert the serial autodetect functions to use int instead of char to
  4811. enumerate devices.
  4812. - Make the serial open timeout for BFL generically 1 second on windows.
  4813. - Deuglify windows autodetect code for BFL.
  4814. - There is no point zeroing temperature in BFL if we fail to get a response, and
  4815. we should register it as a HW error, suggesting throttling.
  4816. - Update SCRYPT README with information about HW errors.
  4817. - Use the scrypt CPU code to confirm results from OCL code, and mark failures as
  4818. HW errors, making it easier to tune scrypt parameters.
  4819. - We may as well leave one curl still available per pool instead of reaping the
  4820. last one.
  4821. - Need to recheck the pool->curls count on regaining the pool lock after the
  4822. pthread conditional wait returns.
  4823. - Display reaped debug message outside mutex lock to avoid recursive locking.
  4824. - Add specific information when ADL detects error -10 saying the device is not
  4825. enabled.
  4826. - api.c update API start message and include port number
  4827. - miner.php ignore arg when readonly
  4828. - miner.php allow pool inputs: delete, addpool, poolpriority
  4829. Version 2.6.3 - August 5, 2012
  4830. - Count likely throttling episodes on bitforce devices as hardware errors.
  4831. - Style cleanups.
  4832. - Use FTD2XX.DLL on Windows to autodetect BitFORCE SHA256 devices.
  4833. - Make pool_disabled the first in the enums == 0, fixing the pool enabled count
  4834. which compares if value is not enabled before enabling it.
  4835. - Correct writing of scrypt parameters to config file based on command line
  4836. parameters only.
  4837. - Use different variables for command line specified lookup gap and thread
  4838. concurrency to differentiate user defined versus auto chosen values.
  4839. - Queue a request on pool switch in case we have no work from the new pool yet.
  4840. - Display failover only mode in pool menu and allow it to be toggled live.
  4841. - Reinstate check for system queueing lag when the current pool's queue is maxed
  4842. out, there is no staged work, and the work is needed now.
  4843. - There is no need for pool active testing to be mandatory any more with queue
  4844. request changes.
  4845. - Fix harmless warnings.
  4846. - Check the current staged and global queued as well before queueing requests.
  4847. Discard stales before ageing work in the watchdog thread. Queue requests after
  4848. discarding and ageing work in watchdog thread. Display accurate global queued in
  4849. curses output. Reuse variable in age_work().
  4850. - The queueing mechanism has become a complex state machine that is no longer
  4851. predictable. Rewrite it from scratch watching only current queues in flight and
  4852. staged work available on a pool by pool basis.
  4853. - API remove unused warning in non-GPU compile
  4854. - api.c in linux allow to open a closed socket in TIME_WAIT
  4855. - Queue an extra request whenever staged work drops below mining thread count in
  4856. hash_pop.
  4857. - Update debian package configs to v2.6.2
  4858. Version 2.6.2 - August 3, 2012
  4859. - Scrypt mining does not support block testing yet so don't try to print it.
  4860. - Clear the bitforce buffer whenever we get an unexpected result as it has
  4861. likely throttled and we are getting cached responses out of order, and use the
  4862. temperature monitoring as a kind of watchdog to flush unexpected results.
  4863. - It is not critical getting the temperature response in bitforce so don't
  4864. mandatorily wait on the mutex lock.
  4865. - Check there is a cutoff temp actually set in bitforce before using it as a cut
  4866. off value otherwise it may think it's set to zero degrees.
  4867. - We dropped the temporary stopping of curl recruiting on submit_fail by
  4868. mistake, reinstate it.
  4869. - Make threads report in either side of the scanhash function in case we miss
  4870. reporting in when restarting work.
  4871. - Don't make mandatory work and its clones last forever.
  4872. - Make test work for pool_active mandatory work items to smooth out staged work
  4873. counts when in failover-only mode.
  4874. - Add debugging output when work is found stale as to why.
  4875. - Print the 3 parameters that are passed to applog for a debug line in
  4876. bitforce.c
  4877. - Clear bitforce buffer on init as previously.
  4878. - Add some headroom to the number of curls available per pool to allow for
  4879. longpoll and sendwork curls.
  4880. - Revert "Revert "Change BFL driver thread initialising to a constant 100ms
  4881. delay between devices instead of a random arrangement.""
  4882. - Revert "Remove bitforce_thread_init"
  4883. - Show the correct base units on GPU summary.
  4884. - Differentiate between the send return value being a bool and the get return
  4885. value when managing them in bitforce scanhash.
  4886. - 23a8c60 Revert "bitforce: Skip out of sending work if work restart requested"
  4887. Version 2.6.1 - July 30, 2012
  4888. - Display scrypt as being built in as well.
  4889. - Fix build warning about KL_SCRYPT when built without scrypt support.
  4890. - Remove the low hash count determinant of hardware being sick. A low hash rate
  4891. can be for poor network connectivity or scrypt mining, neither of which are due
  4892. to a sick device.
  4893. - api.c poolpriority changes
  4894. Version 2.6.0 - July 29, 2012
  4895. - Display kilohash when suitable, but store the global mhash value still truly
  4896. in megahashes to not break the API output.
  4897. - Don't try and print curses output for devices that won't fit on the screen.
  4898. - Add scrypt documentation in the form of a separate readme.
  4899. - Fix build error without scrypt enabled.
  4900. - Limit total number of curls recruited per pool to the number of mining threads
  4901. to prevent blasting the network when we only have one pool to talk to.
  4902. - bitforce: Skip out of sending work if work restart requested
  4903. - Keep a counter of enabled pools and use that instead of iterating over the
  4904. pool list. Use that value to ensure we don't set the last remaining active pool
  4905. to the rejecting state.
  4906. - fpgautils: add support for 57.6 kBd serial
  4907. - miner.php add a socket RCV timeout for if cgminer is hung and the API thread
  4908. is still running
  4909. - Limit thread concurrency for scrypt to 5xshaders if shaders is specified.
  4910. - Simplify repeated use of gpus[gpu]. in ocl.c
  4911. - Find the nearest power of 2 maximum alloc size for the scrypt buffer that can
  4912. successfully be allocated and is large enough to accomodate the thread
  4913. concurrency chosen, thus mapping it to an intensity.
  4914. - Don't make opt_scrypt mandatory blocking with opencl code.
  4915. - Update kernel versions reflecting changes in the API.
  4916. - Make the thread concurrency and lookup gap options hidden on the command line
  4917. and autotune parameters with a newly parsed --shaders option.
  4918. - Fix target testing with scrypt kernel as it would have been missing shares
  4919. below target.
  4920. - Bugfix: Use a mutex to control non-curses output
  4921. - Simplify code to a single vprintf path for curses-less printing
  4922. - Move opt_quiet check to my_log_curses, so it works for curses-less builds
  4923. - Use log_generic for vapplog to cut down on code duplication
  4924. - Add space to log output now that there is more screen real estate available.
  4925. - BFL force all code to timeout to avoid hanging
  4926. - Bugfix: Copy argv[0] given to dirname()
  4927. - Always create the largest possible padbuffer for scrypt kernels even if not
  4928. needed for thread_concurrency, giving us some headroom for intensity levels.
  4929. - Use the detected maximum allocable memory on a GPU to determine the optimal
  4930. scrypt settings when lookup_gap and thread_concurrency parameters are not given.
  4931. - Check the maximum allocable memory size per opencl device.
  4932. - Add debugging output if buffer allocation fails for scrypt and round up
  4933. bufsize to a multiple of 256.
  4934. - Nonce testing for btc got screwed up, leading to no accepted shares. Fix it.
  4935. - Display size of scrypt buffer used in debug.
  4936. - Allow intensities up to 20 if scrypt is compiled in.
  4937. - Add name to scrypt kernel copyright.
  4938. - Allow lookup gap and thread concurrency to be passed per device and store
  4939. details in kernel binary filename.
  4940. - Ignore negative intensities for scrypt.
  4941. - Change the scale of intensity for scrypt kernel and fix a build warning.
  4942. - Correct target value passed to scrypt kernel.
  4943. - Use 256 output slots for kernels to allow 1 for each worksize.
  4944. - Test the target in the actual scrypt kernel itself saving further
  4945. calculations.
  4946. - Reinstate GPU only opencl device detection.
  4947. - Decrease lookup gap to 1. Does not seem to help in any way being 2.
  4948. - Fix build.
  4949. - Make pad0 and pad1 local variable in scrypt kernel.
  4950. - Constify input variable in scrypt kernel.
  4951. - Send correct values to scrypt kernel to get it finally working.
  4952. - Create command queue before compiling program in opencl.
  4953. - Detach pthread from within the api thread in case it is terminated due to not
  4954. being instantiated before pthread_cancel is called from main, leading to a
  4955. segfault.
  4956. - Debug output per thread hashrate is out by a factor of 1000.
  4957. - Initialise mdplatform.
  4958. - Find the gpu platform with the most devices and use that if no platform option
  4959. is passed.
  4960. - Allow more platforms to be probed if first does not return GPUs.
  4961. - Fix external scrypt algo missing.
  4962. - Limit scrypt to 1 vector.
  4963. - Handle KL_SCRYPT in config write.
  4964. - Get rid of stuff.
  4965. - Don't enqueuewrite buffer at all for pad8 and pass work details around for
  4966. scrypt in dev_blk.
  4967. - Set the correct data for cldata and prepare for pad8 fixes.
  4968. - Bugfix: Fix build without curses but with OpenCL
  4969. - Find the gpu platform with the most devices and use that if no platform option
  4970. is passed.
  4971. - Allow more platforms to be probed if first does not return GPUs.
  4972. - Get rid of spaces in arrays in scrypt kernel.
  4973. - Start with smaller amount of hashes in cpu mining to enable scrypt to return
  4974. today sometime.
  4975. - Show Khash hashrates when scrypt is in use.
  4976. - Free the scratchbuf memory allocated in scrypt and don't check if CPUs are
  4977. sick since they can't be. Prepare for khash hash rates in display.
  4978. - Add cpumining capability for scrypt.
  4979. - Set scrypt settings and buffer size in ocl.c code to be future modifiable.
  4980. - Cope with when we cannot set intensity low enough to meet dynamic interval by
  4981. inducing a forced sleep.
  4982. - Make dynamic and scrypt opencl calls blocking.
  4983. - Calculate midstate in separate function and remove likely/unlikely macros
  4984. since they're dependent on pools, not code design.
  4985. - bitforce: Use "full work" vs "nonce range" for kernel name
  4986. - Display in debug mode when we're making the midstate locally.
  4987. - Fix nonce submission code for scrypt.
  4988. - Make sure goffset is set for scrypt and drop padbuffer8 to something
  4989. manageable for now.
  4990. - Set up buffer8 for scrypt.
  4991. - Build fix for opt scrypt.
  4992. - Don't check postcalc nonce with sha256 in scrypt.
  4993. - Don't test nonce with sha and various fixes for scrypt.
  4994. - Make scrypt buffers and midstate compatible with cgminer.
  4995. - Use cgminer specific output array entries in scrypt kernel.
  4996. - Provide initial support for the scrypt kernel to compile with and mine scrypt
  4997. with the --scrypt option.
  4998. - Enable completely compiling scrypt out.
  4999. - Begin import of scrypt opencl kernel from reaper.
  5000. - bitforce_get_result returns -1 on error now.
  5001. - Check return value of read in BFgets
  5002. - Bugfix: Make our Windows nanosleep/sleep replacements standards-compliant
  5003. (which fixes nmsleep) and include compat.h for bitforce (for sleep)
  5004. - rpc: Use a single switch statement for both stringifications of cgpu->status
  5005. - Fix whitespace mangling.
  5006. - miner.php fix rig # when miners fail
  5007. - Only try to shut down work cleanly if we've successfully connected and started
  5008. mining.
  5009. - Use switch statement for cgpu->status and fix spelling.
  5010. - Abbrv. correction
  5011. - Bugfix: Don't declare devices SICK if they're just busy initialising
  5012. - Bugfix: Calculate nsec in nmsleep correctly
  5013. - Bugfix: Adapt OpenCL scanhash errors to driver API change (errors are now -1,
  5014. not 0)
  5015. - Remove superfluous ave_wait
  5016. - Put kname change for broken nonce-range back in
  5017. - Add average wait time to api stats
  5018. - Change BFL driver thread initialising to a constant 100ms delay between
  5019. devices instead of a random arrangement.
  5020. - Spelling typo.
  5021. - Time opencl work from start of queueing a kernel till it's flushed when
  5022. calculating dynamic intensity.
  5023. - Modify te scanhash API to use an int64_t and return -1 on error, allowing zero
  5024. to be a valid return value.
  5025. - Check for work restart after the hashmeter is invoked for we lose the hashes
  5026. otherwise contributed in the count.
  5027. - Remove disabled: label from mining thread function, using a separate
  5028. mt_disable function.
  5029. - Style changes.
  5030. - Missed one nonce-range disabling.
  5031. - Add average return time to api stats
  5032. - miner.php allow rig names in number buttons
  5033. - Remove bitforce_thread_init The delay thing does nothing useful... when long
  5034. poll comes around, all threads restart at the same time anyway.
  5035. - Change timeouts to time-vals for accuracy.
  5036. - fix API support for big endian machines
  5037. - Cope with signals interrupting the nanosleep of nmsleep.
  5038. - Use standard cfsetispeed/cfsetospeed to set baud rate on *nix
  5039. - miner.php split() flagged deprecated in PHP 5.3.0
  5040. - More BFL tweaks. Add delay between closing and reopening port. Remove buffer
  5041. clear in re-init Add kernel type (mini-rig or single)
  5042. - Make long timeout 10seconds on bitforce for when usleep or nanosleep just
  5043. can't be accurate...
  5044. Version 2.5.0 - July 6, 2012
  5045. - Fix --benchmark not working since the dynamic addition of pools and pool
  5046. stats.
  5047. - Make disabling BFL nonce range support a warning since it has to be explicitly
  5048. enabled on the command line now.
  5049. - miner.php allow renaming table headers
  5050. - Make bitforce nonce range support a command line option --bfl-range since
  5051. enabling it decrease hashrate by 1%.
  5052. - Add sanity checking to make sure we don't make sleep_ms less than 0 in
  5053. bitforce.
  5054. - The fastest minirig devices need a significantly smaller starting sleep time.
  5055. - Use a much shorter initial sleep time to account for faster devices and nonce
  5056. range working, and increase it if nonce range fails to work.
  5057. - Use nmsleep instead of usleep in bitforce.
  5058. - Provide a ms based sleep function that uses nanosleep to avoid the inaccuracy
  5059. of usleep on SMP systems.
  5060. - delay_time_ms is always set so need not be initialised in bitforce.
  5061. - Increase bitforce timeout to 10 seconds.
  5062. - Add more hysteresis and poll ~5 times to allow for timer delays in bitforce
  5063. devices.
  5064. - miner.php allow alternating line colours (off by default)
  5065. - Display the actual duration of wait when it is greater than the cutoff.
  5066. - Set nonce to maximum once we determine nonce range support is broken.
  5067. - Initial wait time is always known so no need to zero it beforehand in
  5068. bitforce.
  5069. - No point counting wait time until the work is actually sent to bitforce
  5070. devices.
  5071. - Use string comparison functions instead of explicit comparisons.
  5072. - Account for wait_ms time when nonce_range is in use on BFL.
  5073. - Split nonces up into 1/5 chunks when nonce range is supported.
  5074. - limit clear buffer iterations.
  5075. - Ad fd check to clear buffer.
  5076. - miner.php remove incorrect 'DATE' error message
  5077. - miner.php allow summary header in custom pages
  5078. - Disable nonce range support in BFL when broken support is detected.
  5079. - Restart_wait is only called with a ms value so incorporate that into the
  5080. function.
  5081. - Only try to adjust dev width when curses is built in.
  5082. - miner.php define custom sum fields as a simple array
  5083. - Fix off-by-one error in nonce increment in bfl.
  5084. - Use BE when setting nonce in bitforce nonce range work.
  5085. - Enable nonce range in the normal init sequence for bfl.
  5086. - Queue extra work at 2/3 differently depending on whether we're using nonce
  5087. range or not.
  5088. - Initially enable support for nonce range support on bfl, splitting nonces up
  5089. into 3/4 size and only disable it if it fails on work submit.
  5090. - Attempt to detect nonce range support in BFL by sending work requring its
  5091. support.
  5092. - Limit retrying on busy for up to BITFORCE_TIMEOUT_MS
  5093. - Attempt to initialise while bitforce device returns BUSY.
  5094. - Extend length of string that can be passed to BFL devices.
  5095. - Fix signedness warning.
  5096. - Adjust device width column to be consistent.
  5097. - Use cgpu-> not gpus[] in watchdog thread.
  5098. - Add api stats (sleep time)
  5099. - Timing tweaks Added long and short timeouts, short for detecting throttling,
  5100. long to give up totally. Reset sleep time when device re-initialised Still check
  5101. results after timeout Back up a larger time if result on first poll.
  5102. - Add API Notify counter 'Comms Error'
  5103. - Style police on api.c
  5104. - Do all logging outside of the bitforce mutex locking to avoid deadlocks.
  5105. - Remove applog call from bfwrite to prevent grabbing nested mutexes.
  5106. - Bitforce style changes.
  5107. - Minor style changes.
  5108. - Remove needless roundl define.
  5109. - Made JSON error message verbose.
  5110. - Fine-tune timing adjustment. Also remove old work_restart timing.
  5111. - Check for gpu return times of >= 0, not just 0, to fix intensity dropping to
  5112. -10.
  5113. - Restart is zeroed in the mining thread so no need to do it inside the bitforce
  5114. code.
  5115. - More improvements to comms. BFL return nothing when throttling, so should not
  5116. be considered an error. Instead repeat with a longer delay.
  5117. - Polling every 10ms there's not much point checking the pthread_cond_timedwait
  5118. as it just adds overhead. Simply check the value of work_restart in the bfl main
  5119. polling loop.
  5120. - Use a pthread conditional that is broadcast whenever work restarts are
  5121. required. Create a generic wait function waiting a specified time on that
  5122. conditional that returns if the condition is met or a specified time passed to
  5123. it has elapsed. Use this to do smarter polling in bitforce to abort work, queue
  5124. more work, and check for results to minimise time spent working needlessly.
  5125. - Add busy time to wait time.
  5126. - api.c put version up to 1.14
  5127. - Add tiny delay after writing to BFL Change BFL errors to something more human
  5128. readable Send work busy re-tries after 10ms delay
  5129. Version 2.4.4 - July 1, 2012
  5130. - Fix builds on non gnu platforms.
  5131. - api.c ensure old mode is always available when not using --api-groups + quit()
  5132. on param errors
  5133. - Implement rudimentary X-Mining-Hashrate support.
  5134. - Detect large swings in temperature when below the target temperature range and
  5135. change fan by amounts dependant on the value of tdiff.
  5136. - Adjust the fanspeed by the magnitude of the temperature difference when in the
  5137. optimal range.
  5138. - Revert "Restarting cgminer from within after ADL has been corrupted only leads
  5139. to a crash. Display a warning only and disable fanspeed monitoring."
  5140. - api.c fix json already closed
  5141. - implement and document API option --api-groups
  5142. - Put upper bounds to under 2 hours that work can be rolled into the future for
  5143. bitcoind will deem it invalid beyond that.
  5144. - define API option --api-groups
  5145. - api.c allow unwell devices to be enabled so they can be cured
  5146. - miner.php - fix/enable autorefresh for custom pages
  5147. - miner.php allow custom summary pages - new 'Mobile' summary
  5148. - Work around pools that advertise very low expire= time inappropriately as this
  5149. leads to many false positives for stale shares detected.
  5150. - Only show ztex board count if any exist.
  5151. - There is no need for work to be a union in struct workio_cmd
  5152. - fpgautils.c include a debug message for all unknown open errors
  5153. - Don't keep rolling work right up to the expire= cut off. Use 2/3 of the time
  5154. between the scantime and the expiry as cutoff for reusing work.
  5155. - Log a specific error when serial opens fail due to lack of user permissions
  5156. - Increase GPU timing resolution to microsecond and add sanity check to ensure
  5157. times are positive.
  5158. - Opencl code may start executing before the clfinish order is given to it so
  5159. get the start timing used for dynamic intensity from before the kernel is
  5160. queued.
  5161. - fpgautils.c - set BAUD rate according to termio spec
  5162. - fpgautils.c - linux ordering back to the correct way
  5163. - miner.php remove unneeded '.'s
  5164. - miner.php add auto refresh options
  5165. - miner.php add 'restart' next to 'quit'
  5166. - miner.php make fontname/size configurable with myminer.php
  5167. - Make the pools array a dynamically allocated array to allow unlimited pools to
  5168. be added.
  5169. - Make the devices array a dynamically allocated array of pointers to allow
  5170. unlimited devices.
  5171. - Dynamic intensity for GPUs should be calculated on a per device basis. Clean
  5172. up the code to only calculate it if required as well.
  5173. - Use a queueing bool set under control_lock to prevent multiple calls to
  5174. queue_request racing.
  5175. - Use the work clone flag to determine if we should subtract it from the total
  5176. queued variable and provide a subtract queued function to prevent looping over
  5177. locked code.
  5178. - Don't decrement staged extras count from longpoll work.
  5179. - Count longpoll's contribution to the queue.
  5180. - Increase queued count before pushing message.
  5181. - Test we have enough work queued for pools with and without rolltime
  5182. capability.
  5183. - As work is sorted by age, we can discard the oldest work at regular intervals
  5184. to keep only 1 of the newest work items per mining thread.
  5185. - Roll work again after duplicating it to prevent duplicates on return to the
  5186. clone function.
  5187. - Abstract out work cloning and clone $mining_threads copies whenever a rollable
  5188. work item is found and return a clone instead.
  5189. - api.c display Pool Av in json
  5190. - Take into account average getwork delay as a marker of pool communications
  5191. when considering work stale.
  5192. - Work out a rolling average getwork delay stored in pool_stats.
  5193. - Getwork delay in stats should include retries for each getwork call.
  5194. - Walk through the thread list instead of searching for them when disabling
  5195. threads for dynamic mode.
  5196. - Extend nrolltime to support the expiry= parameter. Do this by turning the
  5197. rolltime bool into an integer set to the expiry time. If the pool supports
  5198. rolltime but not expiry= then set the expiry time to the standard scantime.
  5199. - When disabling fanspeed monitoring on adl failure, remove any twin GPU
  5200. association. This could have been leading to hangs on machines with dual GPU
  5201. cards when ADL failed.
  5202. - modminer: Don't delay 2nd+ FPGAs during work restart
  5203. - Disable OpenCL code when not available.
  5204. - Fix openwrt crashing on regeneratehash() by making check_solve a noop.
  5205. - FPGA - allow device detect override without an open failure
  5206. - Fix sign warning.
  5207. Version 2.4.3 - June 14, 2012
  5208. - can_roll and should_roll should have no bearing on the cycle period within the
  5209. miner_thread so remove it.
  5210. - Check for strategy being changed to load balance when enabling LPs.
  5211. - Check that all threads on the device that called get_work are waiting on
  5212. getwork before considering the pool lagging.
  5213. - Iterate over each thread belonging to each device in the hashmeter instead of
  5214. searching for them now that they're a list.
  5215. - When using rotate pool strategy, ensure we only select from alive enabled
  5216. pools.
  5217. - Start longpoll from every pool when load balance strategy is in use.
  5218. - Add mandatory and block fields to the work struct. Flag any shares that are
  5219. detected as blocks as mandatory to submit, along with longpoll work from a
  5220. previously rejecting pool.
  5221. - Consider the fan optimal if fanspeed is dropping but within the optimal speed
  5222. window.
  5223. - Fix typo in some API messages (succeess/success)
  5224. - api.c MMQ stat bugs
  5225. - Bugfix: Fix warnings when built without libudev support
  5226. - Bugfix: slay a variety of warnings
  5227. - Bugfix: modminer: Fix unsigned/signed comparison and similar warnings
  5228. - API add ModMinerQuad support
  5229. - Bugfix: Honour forceauto parameter in serial_detect functions
  5230. - modminer: Temperature sensor improvements
  5231. - modminer: Make log messages more consistent in format
  5232. - Only adjust GPU speed up if the fanspeed is within the normal fanrange and
  5233. hasn't been turned to maximum speed under overheat conditions.
  5234. - ModMiner use valid .name
  5235. - New driver: BTCFPGA ModMiner
  5236. - Abstract generally useful FPGA code into fpgautils.c
  5237. - API add stats for pool getworks
  5238. - miner.php option to hide specific fields from the display
  5239. - miner.php add version numbers to the summary page
  5240. - Update debian configs to v2.4.2
  5241. - Add API and FPGA READMEs into Makefile to be included in source distribution.
  5242. - Icarus - fix unit64_t printf warnings
  5243. Version 2.4.2 - June 2, 2012
  5244. - API.class compiled with Java SE 6.0_03 - works with Win7x64
  5245. - miner.php highlight devs too slow finding shares (possibly failing)
  5246. - API update version to V1.11 and document changes
  5247. - API save default config file if none specified
  5248. - api.c save success incorrectly returns error
  5249. - api.c replace BUFSIZ (linux/windows have different values)
  5250. - Move RPC API content out of README to API-README
  5251. - Open a longpoll connection if a pool is in the REJECTING state as it's the
  5252. only way to re-enable it automatically.
  5253. - Use only one longpoll as much as possible by using a pthread conditional
  5254. broadcast that each longpoll thread waits on and checks if it's the current pool
  5255. before
  5256. - If shares are known stale, don't use them to decide to disable a pool for
  5257. sequential rejects.
  5258. - Restarting cgminer from within after ADL has been corrupted only leads to a
  5259. crash. Display a warning only and disable fanspeed monitoring.
  5260. - Icarus: fix abort calculation/allow user specified abort
  5261. - Icarus: make --icarus-timing hidden and document it in FPGA-README
  5262. - Icarus: high accuracy timing and other bitstream speed support
  5263. - add-MIPSEB-to-icarus-for-BIG_ENDIAN
  5264. - work_decode only needs swab32 on midstate under BIG ENDIAN
  5265. - add compile command to api-example.c
  5266. - save config bugfix: writing an extra ',' when no gpus
  5267. - Add dpkg-source commits
  5268. Version 2.4.1 - May 6, 2012
  5269. - In the unlikely event of finding a block, display the block solved count with
  5270. the pool it came from for auditing.
  5271. - Display the device summary on exit even if a device has been disabled.
  5272. - Use correct pool enabled enums in api.c.
  5273. - Import Debian packaging configs
  5274. - Ensure we test for a pool recovering from idle so long as it's not set to
  5275. disabled.
  5276. - Fix pool number display.
  5277. - Give cgminer -T message only if curses is in use.
  5278. - Reinit_adl is no longer used.
  5279. - API 'stats' allow devices to add their own stats also for testing/debug
  5280. - API add getwork stats to cgminer - accesable from API 'stats'
  5281. - Don't initialise variables to zero when in global scope since they're already
  5282. initialised.
  5283. - Get rid of unitialised variable warning when it's false.
  5284. - Move a pool to POOL_REJECTING to be disabled only after 3 minutes of
  5285. continuous rejected shares.
  5286. - Some tweaks to reporting and logging.
  5287. - Change FPGA detection order since BFL hangs on an ICA
  5288. - API support new pool status
  5289. - Add a temporarily disabled state for enabled pools called POOL_REJECTING and
  5290. use the work from each longpoll to help determine when a rejecting pool has
  5291. started working again. Switch pools based on the multipool strategy once a pool
  5292. is re-enabled.
  5293. - Removing extra debug
  5294. - Fix the benchmark feature by bypassing the new networking code.
  5295. - Reset sequential reject counter after a pool is disabled for when it is
  5296. re-enabled.
  5297. - Icarus - correct MH/s and U: with work restart set at 8 seconds
  5298. - ztex updateFreq was always reporting on fpga 0
  5299. - Trying harder to get 1.15y working
  5300. - Specifying threads on multi fpga boards extra cgpu
  5301. - Missing the add cgpu per extra fpga on 1.15y boards
  5302. - API add last share time to each pool
  5303. - Don't try to reap curls if benchmarking is enabled.
  5304. Version 2.4.0 - May 3, 2012
  5305. - Only show longpoll warning once when it has failed.
  5306. - Convert hashes to an unsigned long long as well.
  5307. - Detect pools that have issues represented by endless rejected shares and
  5308. disable them, with a parameter to optionally disable this feature.
  5309. - Bugfix: Use a 64-bit type for hashes_done (miner_thread) since it can overflow
  5310. 32-bit on some FPGAs
  5311. - Implement an older header fix for a label existing before the pthread_cleanup
  5312. macro.
  5313. - Limit the number of curls we recruit on communication failures and with
  5314. delaynet enabled to 5 by maintaining a per-pool curl count, and using a pthread
  5315. conditional that wakes up when one is returned to the ring buffer.
  5316. - Generalise add_pool() functions since they're repeated in add_pool_details.
  5317. - Bugfix: Return failure, rather than quit, if BFwrite fails
  5318. - Disable failing devices such that the user can attempt to re-enable them
  5319. - Bugfix: thread_shutdown shouldn't try to free the device, since it's needed
  5320. afterward
  5321. - API bool's and 1TBS fixes
  5322. - Icarus - minimise code delays and name timer variables
  5323. - api.c V1.9 add 'restart' + redesign 'quit' so thread exits cleanly
  5324. - api.c bug - remove extra ']'s in notify command
  5325. - Increase pool watch interval to 30 seconds.
  5326. - Reap curls that are unused for over a minute. This allows connections to be
  5327. closed, thereby allowing the number of curl handles to always be the minimum
  5328. necessary to not delay networking.
  5329. - Use the ringbuffer of curls from the same pool for submit as well as getwork
  5330. threads. Since the curl handles were already connected to the same pool and are
  5331. immediately available, share submission will not be delayed by getworks.
  5332. - Implement a scaleable networking framework designed to cope with any sized
  5333. network requirements, yet minimise the number of connections being reopened. Do
  5334. this by create a ring buffer linked list of curl handles to be used by getwork,
  5335. recruiting extra handles when none is immediately available.
  5336. - There is no need for the submit and getwork curls to be tied to the pool
  5337. struct.
  5338. - Do not recruit extra connection threads if there have been connection errors
  5339. to the pool in question.
  5340. - We should not retry submitting shares indefinitely or we may end up with a
  5341. huge backlog during network outages, so discard stale shares if we failed to
  5342. submit them and they've become stale in the interim.
  5343. Version 2.3.6 - April 29, 2012
  5344. - Shorten stale share messages slightly.
  5345. - Protect the freeing of current_hash under mutex_lock to prevent racing on it
  5346. when set_curblock is hit concurrently.
  5347. - Change default behaviour to submitting stale, removing the --submit-stale
  5348. option and adding a --no-submit-stale option.
  5349. - Make sure to start the getwork and submit threads when a pool is added on the
  5350. fly. This fixes a crash when a pool is added to running cgminer and then
  5351. switched to.
  5352. - Faster hardware can easily outstrip the speed we can get work and submit
  5353. shares when using only one connection per pool.
  5354. - Test the queued list to see if any get/submits are already queued and if they
  5355. are, start recruiting extra connections by generating new threads.
  5356. - This allows us to reuse network connections at low loads but recuit new open
  5357. connections as they're needed, so that cgminer can scale to hardware of any
  5358. size.
  5359. Version 2.3.5 - April 28, 2012
  5360. - Restarting cgminer leads to a socket that can't be bound for 60 seconds, so
  5361. increase the interval that API binding waits to 30 seconds to minimise the
  5362. number of times it will retry, spamming the logs.
  5363. - Give a longpoll message for any longpoll that detects a block change, primary
  5364. or backup, and also display which pool it was.
  5365. - Decrease utility display to one decimal place.
  5366. - Small cosmetic output alignment.
  5367. - Add pool number to stale share message.
  5368. - Add space to log output now that there is more screen real estate available.
  5369. - Indentation clean up.
  5370. - Merge branch 'master' of github.com:ckolivas/cgminer
  5371. - Remove thread id display from rejected shares as well.
  5372. - Merge pull request #185 from Diapolo/diakgcn
  5373. - add goffset support for diakgcn with -v 1 and update kernel version
  5374. - Set have_longpoll to true when there is at least one pool with longpoll.
  5375. - Don't display the thread ID since it adds no useful information over the
  5376. device number.
  5377. - Don't display the first 8 bytes of a share since they will always be zero at
  5378. >= 1 difficulty.
  5379. - work->longpoll is reset across test_work_current so we need to recheck what
  5380. pool it belongs to.
  5381. - Use longpolls from backup pools with failover-only enabled just to check for
  5382. block changes, but don't use them as work.
  5383. - Start longpoll only after we have tried to extract the longpoll URL.
  5384. - Check for submitold flag on resubmit of shares, and give different message for
  5385. stale shares on retry.
  5386. - Check for submitold before submitstale.
  5387. - Don't force fresh curl connections on anything but longpoll threads.
  5388. - Create one longpoll thread per pool, using backup pools for those pools that
  5389. don't have longpoll.
  5390. - Use the work created from the longpoll return only if we don't have
  5391. failover-enabled, and only flag the work as a longpoll if it is the current
  5392. pool.
  5393. - This will work around the problem of trying to restart the single longpoll
  5394. thread on pool changes that was leading to race conditions.
  5395. - It will also have less work restarts from the multiple longpolls received from
  5396. different pools.
  5397. - Remove the ability to disable longpoll. It is not a useful feature and will
  5398. conflict with planned changes to longpoll code.
  5399. - Remove the invalid entries from the example configuration file.
  5400. - Add support for latest ATI SDK on windows.
  5401. - Export missing function from libztex.
  5402. - miner.php change socktimeoutsec = 10 (it only waits once)
  5403. - Bugfix: Make initial_args a const char** to satisfy exec argument type warning
  5404. (on Windows only)
  5405. - miner.php add a timeout so you don't sit and wait ... forever
  5406. - Create discrete persistent submit and get work threads per pool, thus allowing
  5407. all submitworks belonging to the same pool to reuse the same curl handle, and
  5408. all getworks to reuse their own handle.
  5409. - Use separate handles for submission to not make getwork potentially delay
  5410. share submission which is time critical.
  5411. - This will allow much more reusing of persistent connections instead of opening
  5412. new ones which can flood routers.
  5413. - This mandated a rework of the extra longpoll support (for when pools are
  5414. switched) and this is managed by restarting longpoll cleanly and waiting for a
  5415. thread join.
  5416. - miner.php only show the current date header once
  5417. - miner.php also add current time like single rig page
  5418. - miner.php display rig 'when' table at top of the multi-rig summary page
  5419. - README - add some Ztex details
  5420. - api.c include zTex in the FPGA support list
  5421. - api.c ensure 'devs' shows PGA's when only PGA code is compiled
  5422. - cgminer.c sharelog code consistency and compile warning fix
  5423. - README correct API version number
  5424. - README spelling error
  5425. - api.c combine all pairs of sprintfs()
  5426. - api.c uncomment and use BLANK (and COMMA)
  5427. - Code style cleanup
  5428. - Annotating frequency changes with the changed from value
  5429. - README clarification of 'notify' command
  5430. - README update for API RPC 'devdetails'
  5431. - api.c 'devdetails' list static details of devices
  5432. - Using less heap space as my TP-Link seems to not handle this much
  5433. Version 2.3.4 - April 25, 2012
  5434. - Extensively document the cause of GPU device issues and the use of --gpu-map.
  5435. - Support for share logging
  5436. - Detect poorly performing combination of SDK and phatk kernel and add verbose
  5437. warning at startup.
  5438. - Icarus update to new add_cgpu()
  5439. - Icarus driver working with Linux and Windows
  5440. - api.c fix unused variable compile warning
  5441. - Display all OpenCL devices when -n is called as well to allow debugging of
  5442. differential mapping of OpenCL to ADL.
  5443. - Add a --gpu-map option which will allow arbitrarily mapping ADL devices to
  5444. OpenCL devices for instances where association by enumeration alone fails.
  5445. - Increase upper limit on number of extra items to queue as some FPGA code can't
  5446. yet reliably keep many devices busy.
  5447. - Display configuration file information when -c option is passed and only when
  5448. file exists on loading default config file.
  5449. - Display configuration file loaded, if any, and debug output if configuration
  5450. file parsing failed.
  5451. - Add missing ztex header to Makefile for distribution.
  5452. - Document long-form COM port device names on Windows, required to specify
  5453. serial ports above 9
  5454. - Include ztex bitstreams firmware in distribution and install if configured in.
  5455. - Style police on driver-ztex.c
  5456. - work_restart should only be changed by cgminer.c now
  5457. - Shut down the api cleanly when the api thread is cancelled. This should allow
  5458. the api socket to be closed successfully to next be reopened with app_restart.
  5459. - Make a union for cgpu device handles, and rename "device" to "device_ztex"
  5460. since it's Ztex-specific
  5461. - Initialise name variable.
  5462. - Remove unnecessary check for variable that always has memory allocated.
  5463. - Bugfix: Missing "break" no-op in default case
  5464. - Make the status window and log window as large as can fit on startup,
  5465. rechecking to see if it can be enlarged after the fact. This allows any number
  5466. of devices to be displayed provided the window is made long enough without
  5467. corrupting the output.
  5468. - Style police on libztex.c.
  5469. - API add removepool like the screen interface
  5470. - api.c escape required characters in return strings + pools returns the
  5471. username
  5472. - Set lp_path to NULL after free for consistency.
  5473. - Removing dmalloc import left behind by mistake
  5474. - Fixing leak in resp_hdr_cb
  5475. - miner.php warning highlight GPU stats if they are zero (e.g. ADL not enabled)
  5476. - miner.php highlight any device that isn't 'Enabled'
  5477. - miner.php highlight any Status that isn't 'Alive'
  5478. - miner.php optionally support multiple rigs
  5479. - Initial Ztex support 1.15x board.
  5480. Version 2.3.3 - April 15, 2012
  5481. - Don't even display that cpumining is disabled on ./configure to discourage
  5482. people from enabling it.
  5483. - Do a complete cgminer restart if the ATI Display Library fails, as it does on
  5484. windows after running for some time, when fanspeed reporting fails.
  5485. - Cache the initial arguments passed to cgminer and implement an attempted
  5486. restart option from the settings menu.
  5487. - Disable per-device status lines when there are more than 8 devices since
  5488. screen output will be corrupted, enumerating them to the log output instead at
  5489. startup.
  5490. - Reuse Vals[] array more than W[] till they're re-initialised on the second
  5491. sha256 cycle in poclbm kernel.
  5492. - Minor variable alignment in poclbm kernel.
  5493. - Make sure to disable devices with any status not being DEV_ENABLED to ensure
  5494. that thermal cutoff code works as it was setting the status to DEV_RECOVER.
  5495. - Re-initialising ADL simply made the driver fail since it is corruption over
  5496. time within the windows driver that's responsible. Revert "Attempt to
  5497. re-initialise ADL should a device that previously reported fanspeed stops
  5498. reporting it."
  5499. - Microoptimise poclbm kernel by ordering Val variables according to usage
  5500. frequency.
  5501. Version 2.3.2 - March 31, 2012
  5502. - Damping small changes in hashrate so dramatically has the tendency to always
  5503. make the hashrate underread so go back to gentle damping instead.
  5504. - Revert the crossover of variables from Vals to W in poclbm kernel now that
  5505. Vals are the first declared variables so they're used more frequently.
  5506. - Vals variables appearing first in the array in poclbm is faster.
  5507. - Change the preferred vector width to 1 for Tahiti only, not all poclbm
  5508. kernels.
  5509. - Use a time constant 0.63 for when large changes in hashrate are detected to
  5510. damp change in case the large change is an aliasing artefact instead of a real
  5511. chang
  5512. - Only increment stale counter if the detected stales are discarded.
  5513. - Attempt to re-initialise ADL should a device that previously reported fanspeed
  5514. stops reporting it.
  5515. - Move the ADL setup and clearing to separate functions and provide a reinit_adl
  5516. function to be used when adl fails while running.
  5517. - Use slightly more damping on the decay time function in the never-ending quest
  5518. to smooth off the hashmeter.
  5519. - Set the starting fanspeed to a safe and fairly neutral 50% when autofan is
  5520. enabled.
  5521. - Provide locking around updates of cgpu hashrates as well to prevent multiple
  5522. threads accessing data fields on the same device.
  5523. - Display the beginning of the new block in verbose mode in the logs.
  5524. - Reinstate old diablo kernel variable ordering from 120222, adding only goffset
  5525. and vector size hint. The massive variable ordering change only helped one SDK
  5526. on
  5527. - Change the version number on the correct kernels.
  5528. - api.c devicecode/osinfo incorrectly swapped for json
  5529. - Add extensive instructions on how to make a native windows build.
  5530. - Update version numbers of poclbm and diablo kernels as their APIs have also
  5531. changed.
  5532. - Use global offset parameter to diablo and poclbm kernel ONLY for 1 vector
  5533. kernels.
  5534. - Use poclbm preferentially on Tahiti now regardless of SDK.
  5535. - Remove unused constant passed to poclbm.
  5536. - Clean up use of macros in poclbm and use bitselect everywhere possible.
  5537. - Add vector type hint to diablo kernel.
  5538. - Add worksize and vector attribute hints to the poclbm kernel.
  5539. - Spaces for non-aligned variables in poclbm.
  5540. - More tidying of poclbm.
  5541. - Swap Vals and W variables where they can overlap in poclbm.
  5542. - More tidying of poclbm.
  5543. - Tidy up first half of poclbm.
  5544. - Clean up use of any() by diablo and poclbm kernels.
  5545. - Minor variable symmetry changes in poclbm.
  5546. - Put additions on separate lines for consistency in poclbm.
  5547. - Consolidate last use of W11 into Vals4 in poclbm.
  5548. - Change email due to SPAM
  5549. - api.c miner.php add a '*' to the front of all notify counters - simplifies
  5550. future support of new counters
  5551. - miner.php add display 'notify' command
  5552. - Small change to help arch's without processor affinity
  5553. - Fix bitforce compile error
  5554. - api.c notify should report disabled devices also - of course
  5555. - API returns the simple device history with the 'notify' command
  5556. - code changes for supporting a simple device history
  5557. - api.c Report an OS string in config to help with device issues
  5558. - api.c fix Log Interval - integer in JSON
  5559. - api.c config 'Device Code' to show list of compiled devices + README
  5560. - api.c increase buffer size close to current code allowable limit
  5561. - removed 8-component vector support from kernel, as this is not supported in
  5562. CGMINER anyway
  5563. - forgot to update kernel modification date, fixed ;)
  5564. - reordered an addition in the kernel, which results in less instructions used
  5565. in the GPU ISA code for GCN
  5566. - miner.php: option for readonly or check privileged access
  5567. - Ignore reduntant-with-build options --disable-gpu, --no-adl, and --no-restart
  5568. - miner.php: ereg_replace is DEPRECATED so use preg_replace instead
  5569. - Make curses TUI support optional at compile-time.
  5570. - Bugfix: AC_ARG_WITH provides withval instead of enableval
  5571. - miner.php split devs output for different devices
  5572. - api.c: correct error messages
  5573. - icarus.c modify (regular) timeout warning to only be debug
  5574. - icarus.c set the windows TODO timeout
  5575. - Allow specifying a specific driver for --scan-serial
  5576. - optimized nonce-check and output code for -v 2 and -v 4
  5577. - Bugfix: Check for libudev header (not just library) in configure, and document
  5578. optional dependency
  5579. - Add API support for Icarus and Bitforce
  5580. - Next API version is 1.4 (1.3 is current)
  5581. - README/api.c add "When" the request was processed to STATUS
  5582. - Bugfix: ZLX to read BitFORCE temp, not ZKX -.-
  5583. - Use libudev to autodetect BitFORCE GPUs, if available
  5584. - Use the return value of fan_autotune to set fan_optimal instead of passing it
  5585. as a pointer.
  5586. - Pass the lasttemp from the device we're using to adjust fanspeed in twin
  5587. devices.
  5588. - fix the name to 3 chars, fix the multi-icarus support
  5589. - Bugfix: "-S auto" is the default if no -S is specified, and there is no such
  5590. delay in using it
  5591. - README add information missing from --scan-serial
  5592. - Update README RPC API Version comment
  5593. - Bugfix: Allow enabling CPU even without OpenCL support
  5594. - Change failed-to-mine number of requested shares messge to avoid segfault on
  5595. recursive calling of quit().
  5596. - Get rid of extra char which is just truncated in poclbm kernel.
  5597. - only small code formating changes
  5598. - removed vec_step() as this could lead to errors on older SDKs
  5599. - unified code for generating nonce in kernel and moved addition of base to the
  5600. end -> faster
  5601. Version 2.3.1 - February 24, 2012
  5602. - Revert input and output code on diakgcn and phatk kernels to old style which
  5603. worked better for older hardware and SDKs.
  5604. - Add a vector*worksize parameter passed to those kernels to avoid one op.
  5605. - Increase the speed of hashrate adaptation.
  5606. - Only send out extra longpoll requests if we want longpolls.
  5607. - API implement addpool command
  5608. - API return the untouched Total MH also (API now version 1.3)
  5609. - Add enable/disablepool to miner.php example and reduce font size 1pt
  5610. Version 2.3.0 - February 23, 2012
  5611. - Consider extra longpoll work items as staged_extra so as to make sure we queue
  5612. more work if queueing regular work items as longpolls.
  5613. - Use diablo kernel on all future SDKs for Tahiti and set preferred vector width
  5614. to 1 on poclbm kernel only.
  5615. - Explicitly type the constants in diakgcn kernel as uint, to be in line with
  5616. poclbm kernel.
  5617. - Reset all hash counters at the same time as resetting start times to get
  5618. accurate hashrates on exiting which is mandatory for benchmarking.
  5619. - Report thread out before it starts to avoid being flagged as sick when waiting
  5620. for the first work item.
  5621. - Don't disable and re-enable devices as they may recover and in the meantime
  5622. have their status set to OFF.
  5623. - API new commands enablepool and disablepool (version already incremented)
  5624. - Tolerate new-format temperature readings for bitforce
  5625. - Modify cgminer.c pool control to allow API to call it
  5626. - Bugfix: Fix BitFORCE driver memory leak in debug logging
  5627. - Extra byte was being unused in poclbm leading to failure on some platforms.
  5628. - Explicitly type the constants in poclbm kernel as uint.
  5629. - Don't save 'include' when saving the configuration
  5630. - Allow configuration file to include another recursively
  5631. - Use the SDK and hardware information to choose good performing default
  5632. kernels.
  5633. - Move phatk kernel to offset vector based nonce bases as well.
  5634. - Add a --benchmark feature which works on a fake item indefinitely to compare
  5635. device performance without any server or networking influence.
  5636. - Allow writing of multiple worksizes to the configuration file.
  5637. - Allow writing of multiple vector sizes to the configuration file.
  5638. - Allow writing of multiple kernels to the configuration file.
  5639. - Allow multiple different kernels to be chosen per device.
  5640. - Allow the worksize to be set per-device.
  5641. - Allow different vectors to be set per device.
  5642. - If we're well below the target temperature, increase gpu engine speed back to
  5643. maximum in case we have gotten lost between profiles during an idle period.
  5644. - We should be setting the value of fan_optimal, not its address.
  5645. - As all kernels will be new versions it's an opportunity to change the .bin
  5646. format and make it simpler. Specifying bitalign is redundant and long can be l.
  5647. - Use any() in kernel output code.
  5648. - Put the nonce for each vector offset in advance, avoiding one extra addition
  5649. in the kernel.
  5650. - Reset times after all mining threads are started to make estimating hashrates
  5651. easier at startup.
  5652. - Bugfix: allow no-exec (NX) stack
  5653. - Fix minor warning.
  5654. - fix the bitforce.c code style follow 1TBS
  5655. - fix icarus.c compile warning
  5656. - small changes to speedup no vec for AMD 898.1 OCL runtime
  5657. - Update licensing to GPL V3.
  5658. - Reset the longpoll flag after it's been used once to prevent it restarting
  5659. work again.
  5660. - Begin import of DiabloMiner kernel.
  5661. - Modify API debug messages to say API instead of DBG
  5662. - When API shuts down cgminer don't kill itself
  5663. - Don't make rolled work from the longpoll be seen as other longpoll work items.
  5664. - API add 'privileged' command so can verify access level
  5665. - Set the lp_sent variable under lock since there will almost always be a race
  5666. on setting this variable, potentially leading to multiple LPs being sent out.
  5667. - API restrict access to all non display commands by default
  5668. - Update API version to 1.2 for new 'Log Interval'
  5669. - API add --log Interval to 'config' reply
  5670. - --api-allow special case 0/0 means all
  5671. Version 2.2.7 - February 20, 2012
  5672. - Send out extra longpolls when we have switched pools and the longpoll thread
  5673. is still bound to the old one. This is particularly useful with p2pool where
  5674. longpolls do not correlate with main bitcoin block change and would have led to
  5675. high reject rates on failover.
  5676. - Store whether a work item is the result of a longpoll or not in struct work
  5677. and use it to help determine block changes directly from the work longpoll bool.
  5678. - Keep track of when a longpoll has been sent for a pool and if the current pool
  5679. is requesting work but has not sent a longpoll request, convert one of the work
  5680. items to a longpoll.
  5681. - Store the longpoll url in the pool struct and update it from the pool_active
  5682. test in case it changes. This is to allow further changes to longpoll management
  5683. on switching pools.
  5684. - Re-check for a longpoll supporting pool every 30 seconds if none is found
  5685. initially.
  5686. - Report threads as busy waiting on getwork on startup to avoid them being
  5687. flagged sick on startup during slow networking.
  5688. - Allow devices that are disabled due to overheating to be flagged as recovering
  5689. instead of disabling them and re-enable them if they're below ideal temperatures
  5690. - Tahiti prefers worksize 64 with poclbm.
  5691. - No need to expressly retain the opencl program now that the zero binary issue
  5692. is fixed. This actually fixes cgminer to work with the latest SDK included with
  5693. the ATI catalyst driver 12.2.
  5694. - Show error code on any opencl failure status.
  5695. - Add detection for version 898.1 SDK as well but only give SDK 2.6 warning once
  5696. on startup instead of with each device initialisation.
  5697. - Always use a fresh connection for longpoll as prolonged persistent connections
  5698. can fail for many reasons.
  5699. - Keep track of intended engine clock speed and only adjust up if it's higher
  5700. than the last intended speed. This avoids setting the clock speed to one
  5701. relative to a lower profile one by mistake.
  5702. - Use gpu-memdiff on startup if an engine clockspeed is set and a memdiff value
  5703. is set.
  5704. - Revert "Adjust engine speed up according to performance level engine setting,
  5705. not the current engine speed." - ineffectual.
  5706. - Freeze the queues on all threads that are sent the pause message to prevent
  5707. them trying to start up again with saved pings in their queues.
  5708. - Updates to diakgcn kernel/
  5709. - Consolidate all screen updates to the watchdog thread and touch both windows
  5710. before refresh.
  5711. - Curses will be disabled in clean_up so don't do it early in kill_work, and
  5712. disable_adl so that GPU settings may be restored to normal in case shutting down
  5713. curses leads to instability on windows.
  5714. - Stop the mining threads before trying to kill them.
  5715. - Plain refresh() does not give reliably screen updates so get rid of all uses
  5716. of it.
  5717. - First release with working diakgcn kernel.
  5718. Version 2.2.6 - February 16, 2012
  5719. - Provide warning on each startup about sdk 2.6
  5720. - Fix unused warnings on win32.
  5721. - bitforce: Simplify BFopen WIN32 ifdef/else
  5722. - Fix initialization warning with jansson 1.3
  5723. - bitforce: Cleanup extraneous TODO that isn't needed
  5724. - Move tcsetattr (and new tcflush) into *nix BFopen to simplify things a bit
  5725. - Add message explaining 2nd thread disabling for dynamic mode and how to tune
  5726. it.
  5727. - Move logwindow down once number of devices is known.
  5728. - Automatically choose phatk kernel for bitalign non-gcn ATI cards, and then
  5729. only select poclbm if SDK2.6 is detected.
  5730. - Allow the refresh interval to be adjusted in dynamic intensity with a
  5731. --gpu-dyninterval parameter.
  5732. - Make curses display visible right from the beginning and fix the window sizes
  5733. so the initial messages don't get lost once the status window is drawn.
  5734. - The amount of work scanned can fluctuate when intensity changes and since we
  5735. do this one cycle behind, we increment the work more than enough to prevent
  5736. repeati
  5737. - bitforce: Set a 30 second timeout for serial port on Windows, since the
  5738. default is undefined
  5739. - Use PreVal4addT1 instead of PreVal4 in poclbm kernel.
  5740. - Import PreVal4 and PreVal0 into poclbm kernel.
  5741. - Import more prepared constants into poclbm kernel.
  5742. - Keep variables in one array but use Vals[] name for consistency with other
  5743. kernel designs.
  5744. - Replace constants that are mandatorily added in poclbm kernel with one value.
  5745. - Remove addition of final constant before testing for result in poclbm kernel.
  5746. - Hand optimise variable addition order.
  5747. - Hand optimise first variable declaration order in poclbm kernel.
  5748. - Radical reordering machine based first pass to change variables as late as
  5749. possible, bringing their usage close together.
  5750. - fix strcpy NULL pointer if env HOME unset.
  5751. - bitforce: Disable automatic scanning when at least one device is specified
  5752. manually
  5753. - Unroll all poclbm additions to enable further optimisations.
  5754. Version 2.2.5 - February 13, 2012
  5755. - Make output buffer write only as per Diapolo's suggestion.
  5756. - Constify nonce in poclbm.
  5757. - Use local and group id on poclbm kernel as well.
  5758. - Microoptimise phatk kernel on return code.
  5759. - Adjust engine speed up according to performance level engine setting, not the
  5760. current engine speed.
  5761. - Try to load a binary if we've defaulted to the poclbm kernel on SDK2.6
  5762. - Use the poclbm kernel on SDK2.6 with bitalign devices only if there is no
  5763. binary available.
  5764. - Further generic microoptimisations to poclbm kernel.
  5765. - The longstanding generation of a zero sized binary appears to be due to the
  5766. OpenCL library putting the binary in a RANDOM SLOT amongst 4 possible binary
  5767. locations. Iterate over each of them after building from source till the real
  5768. binary is found and use that.
  5769. - Fix harmless warnings with -Wsign-compare to allow cgminer to build with -W.
  5770. - Fix missing field initialisers warnings.
  5771. - Put win32 equivalents of nanosleep and sleep into compat.h fixing sleep() for
  5772. adl.c.
  5773. - Restore compatibility with Jansson 1.3 and 2.0 (api.c required 2.1)
  5774. - Modularized logging, support for priority based logging
  5775. - Move CPU chipset specific optimization into device-cpu
  5776. Version 2.2.4 - February 11, 2012
  5777. - Fix double definition of A0 B0 to zeroA zeroB.
  5778. - Retain cl program after successfully loading a binary image. May decrease
  5779. failures to build kernels at startup.
  5780. - Variable unused after this so remove setting it.
  5781. - BFI INT patching is not necessarily true on binary loading of files and not
  5782. true on ATI SDK2.6+. Report bitalign instead.
  5783. - Various string fixes for reject reason.
  5784. - Generalize --temp-cutoff and implement support for reading temperature from
  5785. BitFORCE FPGAs
  5786. - Change message from recovered to alive since it is used on startup as well as
  5787. when a pool has recovered.
  5788. - Start mining as soon as any pool is found active and rely on the watchpool
  5789. thread to bring up other pools.
  5790. - Delayed responses from testing pools that are down can hold up the watchdog
  5791. thread from getting to its device testing code, leading to false detection of
  5792. the GPU not checking in, and can substantially delay auto gpu/auto fan
  5793. management leading to overheating. Move pool watching to its own thread.
  5794. - Bugfix: BitFORCE index needs to be static to count correctly
  5795. - Space out retrieval of extra work according to the number of mining threads.
  5796. - Make shutdown more robust. Enable the input thread only after the other
  5797. threads exist. Don't kill off the workio thread and use it to exit main() only
  5798. if there is an unexpected problem. Use kill_work() for all anticipated shutdowns
  5799. where possible. Remove unused thread entry.
  5800. - Change poclbm version number.
  5801. - One array is faster than 2 separate arrays so change to that in poclbm kernel.
  5802. - Microoptimisations to poclbm kernel which increase throughput slightly.
  5803. - Import diablominer kernel. Currently disabled as not working.
  5804. - Import diapolo kernel. Currently disabled as not working.
  5805. - Conflicting entries of cl_kernel may have been causing problems, and
  5806. automatically chosen kernel type was not being passed on. Rename the enum to
  5807. cl_kernels and store the chosen kernel in each clState.
  5808. - Set cl_amd_media_ops with the BITALIGN flag and allow non-bitselect devices to
  5809. build.
  5810. - ALlow much longer filenames for kernels to load properly.
  5811. - Allow different kernels to be used by different devices and fix the logic fail
  5812. of overcorrecting on last commit with !strstr.
  5813. - Fix kernel selection process and build error.
  5814. - queue_phatk_kernel now uses CL_SET_VARG() for base-nonce(s), too
  5815. - added OpenCL >= 1.1 detection code, in preparation of OpenCL 1.1 global offset
  5816. parameter support
  5817. - Use K array explicitly to make it clear what is being added.
  5818. - Work items have a tendency to expire at exactly the same time and we don't
  5819. queue extra items when there are plenty in the queue, regardless of age. Allow
  5820. extra work items to be queued if adequate time has passed since we last
  5821. requested work even if over the limit.
  5822. - Discard work when failover-only is enabled and the work has come from a
  5823. different pool.
  5824. - Missing include to build on newer mingw32.
  5825. - Move from the thread safe localtime_r to regular localtime which is the only
  5826. one supported on newer pthread libraries on mingw32 to make it compile with the
  5827. newer ming. Thread safety is of no importance where localtime is used in this
  5828. code.
  5829. - Define in_addr_t in windows if required
  5830. - sys/wait.h not required in windows
  5831. - Allow API to restrict access by IP address
  5832. - Add pool switching to example miner.php
  5833. - Display X-Reject-Reason, when provided
  5834. - Remove the test for whether the device is on the highest profil level before
  5835. raising the GPU speed as it is ineffectual and may prevent raising the GPU
  5836. speed.
  5837. - Remove unnecessary check for opt_debug one every invocation of applog at
  5838. LOG_DEBUG level and place the check in applog().
  5839. Version 2.2.3 - February 6, 2012
  5840. - Revert "Rewrite the convoluted get_work() function to be much simpler and roll
  5841. work as much as possible with each new work item." This seems to cause a race on
  5842. work in free_work(). Presumably other threads are still accessing the structure.
  5843. Version 2.2.2 - February 6, 2012
  5844. - Provide support for the submitold extension on a per-pool basis based on the
  5845. value being detected in a longpoll.
  5846. - Don't send a ping to a dynamic device if it's not enabled as that will just
  5847. enable it for one pass and then disable it again.
  5848. - Rewrite the convoluted get_work() function to be much simpler and roll work as
  5849. much as possible with each new work item.
  5850. - Roll as much work as possible from the work returned from a longpoll.
  5851. - Rolling work on each loop through the mining thread serves no purpose.
  5852. - Allow to stage more than necessary work items if we're just rolling work.
  5853. - Replace divide_work with reuse_work function used twice.
  5854. - Give rolled work a new ID to make sure there is no confusion in the hashtable
  5855. lookups.
  5856. - Remove now-defunct hash_div variables.
  5857. - Remove unused get_dondata function.
  5858. - Silence ADL warnings.
  5859. - Silence unused parameter warnings.
  5860. - Stagger the restart of every next thread per device to keep devices busy ahead
  5861. of accessory threads per device.
  5862. - Deprecate the --donation feature. Needlessly complex, questionable usefulness,
  5863. depends on author's server and a central pool of some kind, and was not heavily
  5864. adopted.
  5865. - It's devices that report back now, not threads, update message.
  5866. - Continue auto-management of fan and engine speeds even if a device is disabled
  5867. for safety reasons.
  5868. - No need to check we're highest performance level when throttling GPU engine
  5869. speed.
  5870. - Abstract out tests for whether work has come from a block that has been seen
  5871. before and whether a string is from a previously seen block.
  5872. - Probe but don't set the timeout to 15 seconds as some networks take a long
  5873. time to timeout.
  5874. - Remove most compiler warnings from api.c
  5875. - Add last share's pool info in cgpu_info
  5876. - Allow the OpenCL platform ID to be chosen with --gpu-platform.
  5877. - Iterate over all platforms displaying their information and number of devices
  5878. when --ndevs is called.
  5879. - Deprecate main.c
  5880. - Some networks can take a long time to resolve so go back to 60 second timeouts
  5881. instead of 15.
  5882. - Only enable curses on failure if curses is desired.
  5883. - Fix warnings in bitforce.c
  5884. - Bugfix: Need to open BitForce tty for read-write
  5885. - Fix various build issues.
  5886. - Modularize code: main.c -> device-cpu + device-gpu
  5887. - Fix phatk kernel not working on non-bitalign capable devices (Nvidia, older
  5888. ATI).
  5889. - Update poclbm kernel for better performance on GCN and new SDKs with bitalign
  5890. support when not BFI INT patching. Update phatk kernel to work properly for non
  5891. BFI INT patched kernels, providing support for phatk to run on GCN and non-ATI
  5892. cards.
  5893. - Return last accepted share pool/time for devices
  5894. - Display accepted share pool/time for CPUs
  5895. - Bug intensity always shows GPU 0
  5896. - Update example web miner.php to use new API commands
  5897. Version 2.2.1 - January 30, 2012
  5898. NOTE - The GPU Device reordering in 2.2.0 by default was considered a bad idea
  5899. so the original GPU ordering is used by default again unless reordering is
  5900. explicitly requested.
  5901. - Fix bitforce failing to build into cgminer.
  5902. - Add missing options to write config function.
  5903. - Add a --gpu-reorder option to only reorder devices according to PCI Bus ID
  5904. when requested.
  5905. - Fix for midstate support being broken on pools that supported no-midstate
  5906. work by ensuring numbers are 32 bits in sha2.c
  5907. - Set virtual GPUs to work when ADL is disabled or all mining will occur on GPU
  5908. 0.
  5909. - Add information about paused threads in the menu status.
  5910. - Disable all but the first thread on GPUs in dynamic mode for better
  5911. interactivity.
  5912. - Set the latest network access time on share submission for --net-delay even if
  5913. we're not delaying that submission for further network access.
  5914. - Clear adl on exiting after probing values since it may attempt to overclock.
  5915. - As share submission is usually staggered, and delays can be costly, submit
  5916. shares without delay even when --net-delay is enabled.
  5917. - Display GPU number and device name when ADL is successfully enabled on it.
  5918. - Display GPU ordering remapping in verbose mode.
  5919. - Don't fail in the case the number of ADL and OpenCL devices do not match, and
  5920. do not attempt to reorder devices unless they match. Instead give a warning
  5921. about
  5922. - Display error codes should ADL not return ADL_OK in the more critical function
  5923. calls.
  5924. - Fix unused warning.
  5925. - Fix compile warnings in api.c
  5926. - Add extensive ADL based device info in debug mode.
  5927. - Make --ndevs display verbose opencl information as well to make debugging
  5928. version information easier.
  5929. - Display information about the opencl platform with verbose enabled.
  5930. - Explicitly check for nvidia in opencl platform strings as well.
  5931. Version 2.2.0 - January 29, 2012
  5932. NOTE: GPU Device order will change with this release with ATI GPUs as cgminer
  5933. now can enumerate them according to their Bus ID which means the values should
  5934. now correlate with their physical position on the motherboard.
  5935. - Default to poclbm kernel on Tahiti (7970) since phatk does not work, even
  5936. though performance is sub-standard so that at least it will mine successfully by
  5937. defau
  5938. - Retain cl program after every possible place we might build the program.
  5939. - Update ADL SDK URL.
  5940. - Fix potential overflow.
  5941. - Map GPU devices to virtual devices in their true physical order based on
  5942. BusNumber.
  5943. - Change the warning that comes with failure to init cl on a device to be more
  5944. generic and accurate.
  5945. - Advertise longpoll support in X-Mining-Extensions
  5946. - Detect dual GPU cards by iterating through all GPUs, finding ones without
  5947. fanspeed and matching twins with fanspeed one bus ID apart.
  5948. - Do not attempt to build the program that becomes the kernel twice. This could
  5949. have been leading to failures on initialising cl.
  5950. - Some opencl compilers have issues with no spaces after -D in the compiler
  5951. options.
  5952. - Allow intensity up to 14.
  5953. - Use calloced stack memory for CompilerOptions to ensure sprintf writes to the
  5954. beginning of the char.
  5955. - Whitelist 79x0 cards to prefer no vectors as they perform better without.
  5956. - Adjust fan speed gently while in the optimal range when temperature is
  5957. drifting to minimise overshoot in either direction.
  5958. - Detect dual GPU cards via the indirect information of - 1st card has a fan
  5959. controller. 2nd card does not have a fan controller, cards share the same device
  5960. name
  5961. - Instead of using the BFI_INT patching hack on any device reporting
  5962. cl_amd_media_ops, create a whitelist of devices that need it. This should enable
  5963. GCN architec
  5964. - Fixed API compiling issue on OS X
  5965. - Add more explanation of JSON format and the 'save' command
  5966. - Return an error if using ADL API commands when it's not available
  5967. - Read off lpThermalControllerInfo from each ADL device.
  5968. - Add ADL_Overdrive5_ThermalDevices_Enum interface.
  5969. - Add API commands: config, switchpool, gpu settings, save
  5970. - Implement socks4 proxy support.
  5971. - Fix send() for JSON strings
  5972. - Introduce a --net-delay option which guarantees at least 250ms between any
  5973. networking requests to not overload slow routers.
  5974. - Generalise locking init code.
  5975. - Allow invalid values to be in the configuration file, just skipping over them
  5976. provided the rest of the file is valid JSON. This will allow older configurat
  5977. - Allow CPU mining explicitly enable only if other mining support is built in.
  5978. - BitForce FPGA support
  5979. - Configure out building and support of all CPU mining code unless
  5980. --enable-cpumining is enabled.
  5981. - Allow parsed values to be zero which will allow 0 values in the config file to
  5982. work.
  5983. - Advertise that we can make our own midstate, so the pool can skip generating
  5984. it for us
  5985. - Refactor the CPU scanhash_* functions to use a common API. Fixes bugs.
  5986. - Don't consider a pool lagging if a request has only just been filed. This
  5987. should decrease the false positives for "pool not providing work fast enough".
  5988. - Invalidating work after longpoll made hash_pop return no work giving a false
  5989. positive for dead pool. Rework hash_pop to retry while finds no staged work u
  5990. - Remove TCP_NODELAY from curl options as many small packets may be contributing
  5991. to network overload, when --net-delay is enabled.
  5992. - Refactor miner_thread to be common code for any kind of device
  5993. - Simplify submit_nonce loop and avoid potentially missing FOUND - 1 entry.
  5994. Reported by Luke-Jr.
  5995. - Micro-optimisation in sha256_sse2 code courtesy of Guido Ascioti
  5996. guido.ascioti@gmail.com
  5997. - Refactor to abstract device-specific code
  5998. Version 2.1.2 - January 6, 2012
  5999. - If api-description is specified, save it when writing the config file
  6000. - Adjust utility width to be constant maximum as well.
  6001. - Add percent signs to reject ratio outputs
  6002. - Should the donation pool fail, don't make the fallover pool behave as though
  6003. the primary pool is lagging.
  6004. - Use an alternative pool should the donation getwork fail.
  6005. Version 2.1.1 - January 1, 2012
  6006. - Include API examples in distribution tarball.
  6007. - Don't attempt to pthread_join when cancelling threads as they're already
  6008. detached and doing so can lead to a segfault.
  6009. - Give more generic message if slow pool at startup is the donation pool.
  6010. - Continue to attempt restarting GPU threads if they're flagged dead at 1 min.
  6011. intervals.
  6012. - Don't attempt to restart sick flagged GPUs while they're still registering
  6013. activity.
  6014. - Make curl use fresh connections whenever there is any communication issue
  6015. in case there are dead persistent connections preventing further comms from
  6016. working.
  6017. - Display pool in summary if only 1 pool.
  6018. - Adjust column width of A/R/HW to be the maximum of any device and align them.
  6019. Version 2.1.0 - December 27, 2011
  6020. - Major infrastructure upgrade with RPC interface for controlling via sockets
  6021. encoded with/without JSON courtesy of Andrew Smith. Added documentation for
  6022. use of the API and sample code to use with it.
  6023. - Updated linux-usb-cgminer document.
  6024. - Rewrite of longpoll mechanism to choose the current pool wherever possible to
  6025. use for the longpoll, or any pool that supports longpoll if the current one
  6026. does not.
  6027. - Display information about longpoll when the chosen server has changed.
  6028. - Fix the bug where longpoll generated work may have been sent back to the
  6029. wrong pool, causing rejects.
  6030. - Fix a few race conditions on closing cgminer which caused some of the crashes
  6031. on exit.
  6032. - Only adjust gpu engine speed in autotune mode if the gpu is currently at the
  6033. performance level of that being adjusted.
  6034. - Various fixes for parsing/writing of configuration files.
  6035. - Do not add blank lines for threads of unused CPUs.
  6036. - Show which pool is unresponsive on startup.
  6037. - Only show GPU management menu item if GPUs are in use.
  6038. - Align most device columns in the curses display.
  6039. Version 2.0.8 - November 11, 2011
  6040. - Make longpoll do a mandatory flushing of all work even if the block hasn't
  6041. changed, thus supporting longpoll initiated work change of any sort and merged
  6042. mining.
  6043. - Byteswap computed hash in hashtest so it can be correctly checked. This fixes
  6044. the very rare possibility that a block solve on solo mining was missed.
  6045. - Add x86_64 w64 mingw32 target
  6046. - Allow a fixed speed difference between memory and GPU clock speed with
  6047. --gpu-memdiff that will change memory speed when GPU speed is changed in
  6048. autotune mode.
  6049. - Don't load the default config if a config file is specified on the command
  6050. line.
  6051. - Don't build VIA on apple since -a auto bombs instead of gracefully ignoring
  6052. VIA failing.
  6053. - Build fix for dlopen/dlclose errors in glibc.
  6054. Version 2.0.7 - October 17, 2011
  6055. - Support work without midstate or hash1, which are deprecated in bitcoind 0.5+
  6056. - Go to kernel build should we fail to clCreateProgramWithBinary instead of
  6057. failing on that device. This should fix the windows problems with devices not
  6058. initialising.
  6059. - Support new configuration file format courtesy of Chris Savery which can write
  6060. the config file from the menu and will load it on startup.
  6061. - Write unix configuration to .cgminer/cgminer.conf by default and prompt to
  6062. overwrite if given a filename from the menu that exists.
  6063. Version 2.0.6 - October 9, 2011
  6064. - Must initialise the donorpool mutex or it fails on windows.
  6065. - Don't make donation work interfere with block change detection allowing
  6066. donation to work regardless of the block chain we're mining on.
  6067. - Expire shares as stale with a separate timeout from the scantime, defaulting
  6068. to 120 seconds.
  6069. - Retry pools after a delay of 15 seconds if none can be contacted on startup
  6070. unless a key is pressed.
  6071. - Don't try to build adl features without having adl.
  6072. - Properly check shares against target difficulty - This will no longer show
  6073. shares when solo mining at all unless they're considered to be a block solve.
  6074. - Add altivec 4 way (cpu mining) support courtesy of Gilles Risch.
  6075. - Try to use SSL if the server supports it.
  6076. - Display the total solved blocks on exit (LOL if you're lucky).
  6077. - Use ADL activity report to tell us if a sick GPU is still busy suggesting it
  6078. is hard hung and do not attempt to restart it.
  6079. Version 2.0.5 - September 27, 2011
  6080. - Intensity can now be set to dynamic or static values per-device.
  6081. - New donation feature --donation sends a proportion of shares to author's
  6082. account of choice, but is disabled by default!
  6083. - The hash being displayed and block detection has been fixed.
  6084. - Devices not being mined on will not attempt to be ADL managed.
  6085. - Intensity is now displayed per GPU device.
  6086. - Make longpoll attempt to restart as often as opt_retries specifies.
  6087. - We weren't rolling work as often as we could.
  6088. - Correct some memory management issues.
  6089. - Build fixes.
  6090. - Don't mess with GPUs if we don't have them.
  6091. Version 2.0.4 - September 23, 2011
  6092. - Confused Longpoll messages should be finally fixed with cgminer knowing for
  6093. sure who found the new block and possibly avoiding a rare crash.
  6094. - Display now shows the actual hash and will say BLOCK! if a block is deemed
  6095. solved.
  6096. - Extra spaces, which would double space lines on small terminals, have been
  6097. removed.
  6098. - Fan speed change is now damped if it is already heading in the correct
  6099. direction to minimise overshoot.
  6100. - Building without opencl libraries is fixed.
  6101. - GPUs are autoselected if there is only one when in the GPU management menu.
  6102. - GPU menu is refreshed instead of returning to status after a GPU change.
  6103. Version 2.0.3 - September 17, 2011
  6104. - Various modes of failure to set fanspeeds and adl values have been addressed
  6105. and auto-fan should work now on most hardware, and possibly other values
  6106. which previously would not have worked.
  6107. - Fixed a crash that can occur on switching pools due to longpoll thread races.
  6108. - Use ATISTREAMSDKROOT if available at build time.
  6109. - Fanspeed management is returned to the driver default on exit instead of
  6110. whatever it was when cgminer was started.
  6111. - Logging of events deemed WARNING or ERR now will display even during
  6112. periods where menu input is being awaited on.
  6113. Version 2.0.2 - September 11, 2011
  6114. - Exit cleanly if we abort before various threads are set up or if they no
  6115. longer exist.
  6116. - Fix a rare crash in HASH_DEL due to using different mutexes to protect the
  6117. data.
  6118. - Flag devices that have never started and don't allow enabling of devices
  6119. without restarting them.
  6120. - Only force the adapter speed to high if we've flagged this device as being
  6121. managed.
  6122. - Flag any devices with autofan or autogpu as being managed.
  6123. - Use a re-entrant value to store what fanspeed we're trying to set in case the
  6124. card doesn't support small changes. Force it to a multiple of 10% if it
  6125. fails on trying to speed up the fan.
  6126. - Do not bother resetting values to old ones if changes to GPU parameters report
  6127. failure, instead returning a failure code only if the return value from get()
  6128. differs.
  6129. - Remove redundant check.
  6130. - Only display supported values from fanspeed on change settings.
  6131. - Missing bracket from output.
  6132. - Display fan percentage on devices that only support reporting percent and not
  6133. RPM.
  6134. - Properly substitute DLOPEN flags to build with ADL support when -ldl is needed
  6135. and not when opencl is not found.
  6136. Version 2.0.1 - September 9, 2011
  6137. - Fix building on 32bit glibc with dlopen with -lpthread and -ldl
  6138. - ByteReverse is not used and the bswap opcode breaks big endian builds. Remove
  6139. it.
  6140. - Ignore whether the display is active or not since only display enabled devices
  6141. work this way, and we skip over repeat entries anwyay.
  6142. - Only reset values on exiting if we've ever modified them.
  6143. - Flag adl as active if any card is successfully activated.
  6144. - Add a thermal cutoff option as well and set it to 95 degrees by default.
  6145. - Change the fan speed by only 5% if it's over the target temperature but less
  6146. than the hysteresis value to minimise overshoot down in temperature.
  6147. - Add a --no-adl option to disable ADL monitoring and GPU settings.
  6148. - Only show longpoll received delayed message at verbose level.
  6149. - Allow temperatures greater than 100 degrees.
  6150. - We should be passing a float for the remainder of the vddc values.
  6151. - Implement accepting a range of engine speeds as well to allow a lower limit to
  6152. be specified on the command line.
  6153. - Allow per-device fan ranges to be set and use them in auto-fan mode.
  6154. - Display which GPU has overheated in warning message.
  6155. - Allow temperature targets to be set on a per-card basis on the command line.
  6156. - Display fan range in autofan status.
  6157. - Setting the hysteresis is unlikely to be useful on the fly and doesn't belong
  6158. in the per-gpu submenu.
  6159. - With many cards, the GPU summaries can be quite long so use a terse output
  6160. line when showing them all.
  6161. - Use a terser device status line to show fan RPM as well when available.
  6162. - Define max gpudevices in one macro.
  6163. - Allow adapterid 0 cards to enumerate as a device as they will be non-AMD
  6164. cards, and enable ADL on any AMD card.
  6165. - Do away with the increasingly confusing and irrelevant total queued and
  6166. efficiency measures per device.
  6167. - Only display values in the log if they're supported and standardise device log
  6168. line printing.
  6169. Version 2.0.0 - September 6, 2011
  6170. Major feature upgrade - GPU monitoring, (over)clocking and fan control for ATI
  6171. GPUs.
  6172. New command line switches:
  6173. --auto-fan- Automatically adjust all GPU fan speeds to maintain a target
  6174. temperature
  6175. --auto-gpu- Automatically adjust all GPU engine clock speeds to maintain
  6176. a target temperature
  6177. --gpu-engine <arg> Set the GPU engine (over)clock in Mhz - one value for all or
  6178. separate by commas for per card.
  6179. --gpu-fan <arg> Set the GPU fan percentage - one value for all or separate
  6180. by commas for per card.
  6181. --gpu-memclock <arg> Set the GPU memory (over)clock in Mhz - one value for all
  6182. or separate by commas for per card.
  6183. --gpu-powertune <arg> Set the GPU powertune percentage - one value for all or
  6184. separate by commas for per card.
  6185. --gpu-vddc <arg> Set the GPU voltage in Volts - one value for all or separate
  6186. by commas for per card.
  6187. --temp-hysteresis <arg> Set how much the temperature can fluctuate outside
  6188. limits when automanaging speeds (default: 3)
  6189. --temp-overheat <arg> Set the overheat temperature when automatically managing
  6190. fan and GPU speeds (default: 85)
  6191. --temp-target <arg> Set the target temperature when automatically managing fan
  6192. and GPU speeds (default: 75)
  6193. - Implement ATI ADL support for GPU parameter monitoring now and setting later
  6194. (temp, fan, clocks etc.).
  6195. - Check for the presence of the ADL header files in ADL_SDK.
  6196. - Import adl_functions.h from amd overdrive ctrl.
  6197. - Implement a setup function that tries to detect GPUs that support the ADL and
  6198. link in the parameters into the gpus struct.
  6199. - Put a summary of monitoring information from the GPU menu.
  6200. - Implement changing memory speed and voltage on the fly.
  6201. - Implement fan speed setting.
  6202. - Minor corrections to set fan speed by percentage.
  6203. - Make sure to read off the value in RPM only.
  6204. - Implement auto fanspeed adjustment to maintain a target temperature and
  6205. fanspeed below 85%, with an overheat check that will speed the fan up to 100%.
  6206. - Add an --auto-fan command line option to allow all GPUs to have autofan
  6207. enabled from startup.
  6208. - Add a gpu autotune option which adjusts GPU speed to maintain a target
  6209. temperature within the bounds of the default GPU speed and any overclocking set.
  6210. - Avoid a dereference if the longpoll thread doesn't exist.
  6211. - Clean up by setting performance profiles and fan settings to startup levels on
  6212. exit.
  6213. - Add a small amount of hysteresis before lowering clock speed.
  6214. - Allow target, overheat and hysteresis temperatures to be set from command
  6215. line.
  6216. - Combine all stats collating into one function to avoid repeating function
  6217. calls on each variable.
  6218. - Add gpu statistics to debugging output via the watchdog thread.
  6219. - Implement menus to change temperature limits.
  6220. - Implement setting the GPU engine clock speed of all devices or each device as
  6221. a comma separated value.
  6222. - Implement setting the GPU memory clock speed of all devices or each device as
  6223. a comma separated value.
  6224. - Implement setting the GPU voltage of all devices or each device as a comma
  6225. separated value.
  6226. - Implement setting the GPU fan speed of all devices or each device as a comma
  6227. separated value.
  6228. - Add support for monitoring powertune setting.
  6229. - Implement changing of powertune value from the GPU change settings menu.
  6230. - Get the value of powertune in get_stats.
  6231. - Implement setting the GPU powertune value of all devices or each device as a
  6232. comma separated value.
  6233. - Remove the safety checks in speed setting since confirmation is done first in
  6234. the menu, then show the new current values after a short pause.
  6235. - Force the speed to high on startup and restore it to whatever the setting was
  6236. on exit.
  6237. - Add temperature to standard output where possible and use more compact output.
  6238. - Move and print at the same time in curses to avoid random trampling display
  6239. errors.
  6240. - Update the status window only from the watchdog thread, do not rewrite the top
  6241. status messages and only refresh once all the status window is complete,
  6242. clearing the window each time to avoid corruption.
  6243. - Set a safe starting fan speed if we're automanaging the speeds.
  6244. - Provide locking around all adl calls to prevent races.
  6245. - Lower profile settings cannot be higher than higher profile ones so link any
  6246. drops in settings.
  6247. - Add new needed text files to distribution.
  6248. - Queue requests ignoring the number of staged clones since they get discarded
  6249. very easily leading to false positives for pool not providing work fast enough.
  6250. - Include libgen.h in opt.c to fix win32 compilation warnings.
  6251. - Fix compilation warning on win32.
  6252. - Add the directory name from the arguments cgminer was called from as well to
  6253. allow it running from a relative pathname.
  6254. - Add a --disable-adl option to configure and only enable it if opencl support
  6255. exists.
  6256. - Retry before returning a failure to get upstream work as a failure to avoid
  6257. false positives for pool dead.
  6258. - Retry also if the decoding of work fails.
  6259. - Use the presence of X-Roll-Ntime in the header as a bool for exists unless N
  6260. is found in the response.
  6261. Version 1.6.2 - September 2, 2011
  6262. - Add --failover-only option to not leak work to backup pools when the primary
  6263. pool is lagging.
  6264. - Change recommendation to intensity 9 for dedicated miners.
  6265. - Fix the bouncing short term value by allowing it to change dynamically when
  6266. the latest value is very different from the rolling value, but damp the change
  6267. when it gets close.
  6268. - Use the curses_lock to protect the curses_active variable and test it under
  6269. lock.
  6270. - Go back to requesting work 2/3 of the way through the current scantime with
  6271. CPU mining as reports of mining threads running out of work have occurred with
  6272. only 5 seconds to retrieve work.
  6273. - Add start and stop time scheduling for regular time of day running or once off
  6274. start/stop options.
  6275. - Print summary on quit modes.
  6276. - Put some sanity checks on the times that can be input.
  6277. - Give a verbose message when no active pools are found and pause before
  6278. exiting.
  6279. - Add verbose message when a GPU fails to initialise, and disable the correct
  6280. GPU.
  6281. - Cryptopp asm32 was not correctly updated to the incremental nonce code so the
  6282. hash counter was bogus.
  6283. - Get rid of poorly executed curl check.
  6284. - If curl does not have sockopts, do not try to compile the
  6285. json_rpc_call_sockopt_cb function, making it possible to build against older
  6286. curl libraries.
  6287. - Most people expect /usr/local when an unspecified prefix is used so change to
  6288. that.
  6289. - Rename localgen occasions to getwork fail occasions since localgen is
  6290. unrelated now.
  6291. Version 1.6.1 - August 29, 2011
  6292. - Copy cgminer path, not cat it.
  6293. - Switching between redrawing windows does not fix the crash with old
  6294. libncurses, so redraw both windows, but only when the window size hasn't
  6295. changed.
  6296. - Reinstate minimum 1 extra in queue to make it extremely unlikely to ever have
  6297. 0 staged work items and any idle time.
  6298. - Return -1 if no input is detected from the menu to prevent it being
  6299. interpreted as a 0.
  6300. - Make pthread, libcurl and libcurses library checks mandatory or fail.
  6301. - Add a --disable-opencl configure option to make it possible to override
  6302. detection of opencl and build without GPU mining support.
  6303. - Confusion over the variable name for number of devices was passing a bogus
  6304. value which likely was causing the zero sized binary issue.
  6305. - cgminer no longer supports default url user and pass so remove them.
  6306. - Don't show value of intensity since it's dynamic by default.
  6307. - Add options to explicitly enable CPU mining or disable GPU mining.
  6308. - Convert the opt queue into a minimum number of work items to have queued
  6309. instead of an extra number to decrease risk of getting idle devices without
  6310. increasing risk of higher rejects.
  6311. - Statify tv_sort.
  6312. - Check for SSE2 before trying to build 32 bit SSE2 assembly version. Prevents
  6313. build failure when yasm is installed but -msse2 is not specified.
  6314. - Add some defines to configure.ac to enable exporting of values and packaging,
  6315. and clean up output.
  6316. - Give convenient summary at end of ./configure.
  6317. - Display version information and add --version command line option, and make
  6318. sure we flush stdout.
  6319. - Enable curses after the mining threads are set up so that failure messages
  6320. won't be lost in the curses interface.
  6321. - Disable curses after inputting a pool if we requested no curses interface.
  6322. - Add an option to break out after successfully mining a number of accepted
  6323. shares.
  6324. - Exit with a failed return code if we did not reach opt_shares.
  6325. - The cpu mining work data can get modified before we copy it if we submit it
  6326. async, and the sync submission is not truly sync anyway, so just submit it sync.
  6327. Version 1.6.0 - August 26, 2011
  6328. - Make restarting of GPUs optional for systems that hang on any attempt to
  6329. restart them. Fix DEAD status by comparing it to last live time rather than
  6330. last attempted restart time since that happens every minute.
  6331. - Move staged threads to hashes so we can sort them by time.
  6332. - Create a hash list of all the blocks created and search them to detect when a
  6333. new block has definitely appeared, using that information to detect stale work
  6334. and discard it.
  6335. - Update configure.ac for newer autoconf tools.
  6336. - Use the new hashes directly for counts instead of the fragile counters
  6337. currently in use.
  6338. - Update to latest sse2 code from cpuminer-ng.
  6339. - Allow LP to reset block detect and block detect lp flags to know who really
  6340. came first.
  6341. - Get start times just before mining begins to not have very slow rise in
  6342. average.
  6343. - Add message about needing one server.
  6344. - We can queue all the necessary work without hitting frequent stales now with
  6345. the time and string stale protection active all the time. This prevents a
  6346. pool being falsely labelled as not providing work fast enough.
  6347. - Include uthash.h in distro.
  6348. - Implement SSE2 32 bit assembly algorithm as well.
  6349. - Fail gracefully if unable to open the opencl files.
  6350. - Make cgminer look in the install directory for the .cl files making make
  6351. install work correctly.
  6352. - Allow a custom kernel path to be entered on the command line.
  6353. - Bump threshhold for lag up to maximum queued but no staged work.
  6354. - Remove fragile source patching for bitalign, vectors et. al and simply pass it
  6355. with the compiler options.
  6356. - Actually check the value returned for the x-roll-ntime extension to make sure
  6357. it isn't saying N.
  6358. - Prevent segfault on exit for when accessory threads don't exist.
  6359. - Disable curl debugging with opt protocol since it spews to stderr.
  6360. Version 1.5.8 - August 23, 2011
  6361. - Minimise how much more work can be given in cpu mining threads each interval.
  6362. - Make the fail-pause progressively longer each time it fails until the network
  6363. recovers.
  6364. - Only display the lagging message if we've requested the work earlier.
  6365. - Clean up the pool switching to not be dependent on whether the work can roll
  6366. or not by setting a lagging flag and then the idle flag.
  6367. - Only use one thread to determine if a GPU is sick or well, and make sure to
  6368. reset the sick restart attempt time.
  6369. - The worksize was unintentionally changed back to 4k by mistake, this caused a
  6370. slowdown.
  6371. Version 1.5.7 - August 22, 2011
  6372. - Fix a crash with --algo auto
  6373. - Test at appropriate target difficulty now.
  6374. - Add per-device statics log output with --per-device-stats
  6375. - Fix breakage that occurs when 1 or 4 vectors are chosen on new phatk.
  6376. - Make rolltime report debug level only now since we check it every work
  6377. item.
  6378. - Add the ability to enable/disable per-device stats on the fly and match
  6379. logging on/off.
  6380. - Explicitly tell the compiler to retain the program to minimise the chance of
  6381. the zero sized binary errors.
  6382. - Add one more instruction to avoid one branch point in the common path in the
  6383. cl return code. Although this adds more ALUs overall and more branch points, the
  6384. common path code has the same number of ALUs and one less jmp, jmps being more
  6385. expensive.
  6386. - Explicitly link in ws2_32 on the windows build and update README file on how
  6387. to compile successfully on windows.
  6388. - Release cl resources should the gpu mining thread abort.
  6389. - Attempt to restart a GPU once every minute while it's sick.
  6390. - Don't kill off the reinit thread if it fails to init a GPU but returns safely.
  6391. - Only declare a GPU dead if there's been no sign of activity from the reinit
  6392. thread for 10 mins.
  6393. - Never automatically disable any pools but just specify them as idle if they're
  6394. unresponsive at startup.
  6395. - Use any longpoll available, and don't disable it if switching to a server that
  6396. doesn't have it. This allows you to mine solo, yet use the longpoll from a pool
  6397. even if the pool is the backup server.
  6398. - Display which longpoll failed and don't free the ram for lp_url since it
  6399. belongs to the pool hdr path.
  6400. - Make the tcp setsockopts unique to linux in the hope it allows freebsd et. al
  6401. to compile.
  6402. Version 1.5.6 - August 17, 2011
  6403. - New phatk and poclbm kernels. Updated phatk to be in sync with latest 2.2
  6404. courtesy of phateus. Custom modified to work best with cgminer.
  6405. - Updated output buffer code to use a smaller buffer with the kernels.
  6406. - Clean up the longpoll management to ensure the right paths go to the right
  6407. pool and display whether we're connected to LP or not in the status line.
  6408. Version 1.5.5 - August 16, 2011
  6409. - Rework entirely the GPU restart code. Strike a balance between code that
  6410. re-initialises the GPU entirely so that soft hangs in the code are properly
  6411. managed, but if a GPU is completely hung, the thread restart code fails
  6412. gracefully, so that it does not take out any other code or devices. This will
  6413. allow cgminer to keep restarting GPUs that can be restarted, but continue
  6414. mining even if one or more GPUs hangs which would normally require a reboot.
  6415. - Add --submit-stale option which submits all shares, regardless of whether they
  6416. would normally be considered stale.
  6417. - Keep options in alphabetical order.
  6418. - Probe for slightly longer for when network conditions are lagging.
  6419. - Only display the CPU algo when we're CPU mining.
  6420. - As we have keepalives now, blaming network flakiness on timeouts appears to
  6421. have been wrong. Set a timeout for longpoll to 1 hour, and most other
  6422. network connectivity to 1 minute.
  6423. - Simplify output code and remove HW errors from CPU stats.
  6424. - Simplify code and tidy output.
  6425. - Only show cpu algo in summary if cpu mining.
  6426. - Log summary at the end as per any other output.
  6427. - Flush output.
  6428. - Add a linux-usb-cgminer guide courtesy of Kano.
  6429. Version 1.5.4 - August 14, 2011
  6430. - Add new option: --monitor <cmd> Option lets user specify a command <cmd> that
  6431. will get forked by cgminer on startup. cgminer's stderr output subsequently gets
  6432. piped directly to this command.
  6433. - Allocate work from one function to be able to initialise variables added
  6434. later.
  6435. - Add missing fflush(stdout) for --ndevs and conclusion summary.
  6436. - Preinitialise the devices only once on startup.
  6437. - Move the non cl_ variables into the cgpu info struct to allow creating a new
  6438. cl state on reinit, preserving known GPU variables.
  6439. - Create a new context from scratch in initCQ in case something was corrupted to
  6440. maximise our chance of succesfully creating a new worker thread. Hopefully this
  6441. makes thread restart on GPU failure more reliable, without hanging everything
  6442. in the case of a completely wedged GPU.
  6443. - Display last initialised time in gpu management info, to know if a GPU has
  6444. been re-initialised.
  6445. - When pinging a sick cpu, flush finish and then ping it in a separate thread in
  6446. the hope it recovers without needing a restart, but without blocking code
  6447. elsewhere.
  6448. - Only consider a pool lagging if we actually need the work and we have none
  6449. staged despite queue requests stacking up. This decreases significantly the
  6450. amount of work that leaks to the backup pools.
  6451. - The can_roll function fails inappropriately in stale_work.
  6452. - Only put the message that a pool is down if not pinging it every minute. This
  6453. prevents cgminer from saying pool down at 1 minute intervals unless in debug
  6454. mode.
  6455. - Free all work in one place allowing us to perform actions on it in the future.
  6456. - Remove the extra shift in the output code which was of dubious benefit. In
  6457. fact in cgminer's implementation, removing this caused a miniscule speedup.
  6458. - Test each work item to see if it can be rolled instead of per-pool and roll
  6459. whenever possible, adhering to the 60 second timeout. This makes the period
  6460. after a longpoll have smaller dips in throughput, as well as requiring less
  6461. getworks overall thus increasing efficiency.
  6462. - Stick to rolling only work from the current pool unless we're in load balance
  6463. mode or lagging to avoid aggressive rolling imitating load balancing.
  6464. - If a work item has had any mining done on it, don't consider it discarded
  6465. work.
  6466. Version 1.5.3 - July 30, 2011
  6467. - Significant work went into attempting to make the thread restart code robust
  6468. to identify sick threads, tag them SICK after 1 minute, then DEAD after 5
  6469. minutes of inactivity and try to restart them. Instead of re-initialising the
  6470. GPU completely, only a new cl context is created to avoid hanging the rest of
  6471. the GPUs should the dead GPU be hung irrevocably.
  6472. - Use correct application name in syslog.
  6473. - Get rid of extra line feeds.
  6474. - Use pkg-config to check for libcurl version
  6475. - Implement per-thread getwork count with proper accounting to not over-account
  6476. queued items when local work replaces it.
  6477. - Create a command queue from the program created from source which allows us
  6478. to flush the command queue in the hope it will not generate a zero sized binary
  6479. any more.
  6480. - Be more willing to get work from the backup pools if the work is simply being
  6481. queued faster than it is being retrieved.
  6482. Version 1.5.2 - July 28, 2011
  6483. - Restarting a hung GPU can hang the rest of the GPUs so just declare it dead
  6484. and provide the information in the status.
  6485. - The work length in the miner thread gets smaller but doesn't get bigger if
  6486. it's under 1 second. This could end up leading to CPU under-utilisation and
  6487. lower and lower hash rates. Fix it by increasing work length if it drops
  6488. under 1 second.
  6489. - Make the "quiet" mode still update the status and display errors, and add a
  6490. new --real-quiet option which disables all output and can be set once while
  6491. running.
  6492. - Update utility and efficiency figures when displaying them.
  6493. - Some Intel HD graphics support the opencl commands but return errors since
  6494. they don't support opencl. Don't fail with them, just provide a warning and
  6495. disable GPU mining.
  6496. - Add http:// if it's not explicitly set for URL entries.
  6497. - Log to the output file at any time with warnings and errors, instead of just
  6498. when verbose mode is on.
  6499. - Display the correct current hash as per blockexplorer, truncated to 16
  6500. characters, with just the time.
  6501. Version 1.5.1 - July 27, 2011
  6502. - Two redraws in a row cause a crash in old libncurses so just do one redraw
  6503. using the main window.
  6504. - Don't adjust hash_div only up for GPUs. Disable hash_div adjustment for GPUs.
  6505. - Only free the thread structures if the thread still exists.
  6506. - Update both windows separately, but not at the same time to prevent the double
  6507. refresh crash that old libncurses has. Do the window resize check only when
  6508. about to redraw the log window to minimise ncurses cpu usage.
  6509. - Abstract out the decay time function and use it to make hash_div a rolling
  6510. average so it doesn't change too abruptly and divide work in chunks large enough
  6511. to guarantee they won't overlap.
  6512. - Sanity check to prove locking.
  6513. - Don't take more than one lock at a time.
  6514. - Make threads report out when they're queueing a request and report if they've
  6515. failed.
  6516. - Make cpu mining work submission asynchronous as well.
  6517. - Properly detect stale work based on time from staging and discard instead of
  6518. handing on, but be more lax about how long work can be divided for up to the
  6519. scantime.
  6520. - Do away with queueing work separately at the start and let each thread grab
  6521. its own work as soon as it's ready.
  6522. - Don't put an extra work item in the queue as each new device thread will do so
  6523. itself.
  6524. - Make sure to decrease queued count if we discard the work.
  6525. - Attribute split work as local work generation.
  6526. - If work has been cloned it is already at the head of the list and when being
  6527. reinserted into the queue it should be placed back at the head of the list.
  6528. - Dividing work is like the work is never removed at all so treat it as such.
  6529. However the queued bool needs to be reset to ensure we *can* request more work
  6530. even if we didn't initially.
  6531. - Make the display options clearer.
  6532. - Add debugging output to tq_push calls.
  6533. - Add debugging output to all tq_pop calls.
  6534. Version 1.5.0 - July 26, 2011
  6535. - Increase efficiency of slow mining threads such as CPU miners dramatically. Do
  6536. this by detecting which threads cannot complete searching a work item within the
  6537. scantime and then divide up a work item into multiple smaller work items.
  6538. Detect the age of the work items and if they've been cloned before to prevent
  6539. doing the same work over. If the work is too old to be divided, then see if it
  6540. can be time rolled and do that to generate work. This dramatically decreases the
  6541. number of queued work items from a pool leading to higher overall efficiency
  6542. (but the same hashrate and share submission rate).
  6543. - Don't request work too early for CPUs as CPUs will scan for the full
  6544. opt_scantime anyway.
  6545. - Simplify gpu management enable/disable/restart code.
  6546. - Implement much more accurate rolling statistics per thread and per gpu and
  6547. improve accuracy of rolling displayed values.
  6548. - Make the rolling log-second average more accurate.
  6549. - Add a menu to manage GPUs on the fly allowing you to enable/disable GPUs or
  6550. try restarting them.
  6551. - Keep track of which GPUs are alive versus enabled.
  6552. - Start threads for devices that are even disabled, but don't allow them to
  6553. start working.
  6554. - The last pool is when we are low in total_pools, not active_pools.
  6555. - Make the thread restart do a pthread_join after disabling the device, only
  6556. re-enabling it if we succeed in restarting the thread. Do this from a separate
  6557. thread so as to not block any other code.This will allow cgminer to continue
  6558. even if one GPU hangs.
  6559. - Try to do every curses manipulation under the curses lock.
  6560. - Only use the sockoptfunction if the version of curl is recent enough.
  6561. Version 1.4.1 - July 24, 2011
  6562. - Do away with GET for dealing with longpoll forever. POST is the one that works
  6563. everywhere, not the other way around.
  6564. - Detect when the primary pool is lagging and start queueing requests on backup
  6565. pools if possible before needing to roll work.
  6566. - Load balancing puts more into the current pool if there are disabled pools.
  6567. Fix.
  6568. - Disable a GPU device should the thread fail to init.
  6569. - Out of order command queue may fail on osx. Try without if it fails.
  6570. - Fix possible dereference on blank inputs during input_pool.
  6571. - Defines missing would segfault on --help when no sse mining is built in.
  6572. - Revert "Free up resources/stale compilers." - didn't help.
  6573. - Only try to print the status of active devices or it would crash.
  6574. - Some hardware might benefit from the less OPS so there's no harm in leaving
  6575. kernel changes that do that apart from readability of the code.
  6576. Version 1.4.0 - July 23, 2011
  6577. - Feature upgrade: Add keyboard input during runtime to allow modification of
  6578. and viewing of numerous settings such as adding/removing pools, changing
  6579. multipool management strategy, switching pools, changing intensiy, verbosity,
  6580. etc. with a simple keypress menu system.
  6581. - Free up resources/stale compilers.
  6582. - Kernels are safely flushed in a way that allows out of order execution to
  6583. work.
  6584. - Sometimes the cl compiler generates zero sized binaries and only a reboot
  6585. seems to fix it.
  6586. - Don't try to stop/cancel threads that don't exist.
  6587. - Only set option to show devices and exit if built with opencl support.
  6588. - Enable curses earlier and exit with message in main for messages to not be
  6589. lost in curses windows.
  6590. - Make it possible to enter server credentials with curses input if none are
  6591. specified on the command line.
  6592. - Abstract out a curses input function and separate input pool function to allow
  6593. for live adding of pools later.
  6594. - Remove the nil arguments check to allow starting without parameters.
  6595. - Disable/enable echo & cbreak modes.
  6596. - Add a thread that takes keyboard input and allow for quit, silent, debug,
  6597. verbose, normal, rpc protocol debugging and clear screen options.
  6598. - Add pool option to input and display current pool status, pending code to
  6599. allow live changes.
  6600. - Add a bool for explicit enabling/disabling of pools.
  6601. - Make input pool capable of bringing up pools while running.
  6602. - Do one last check of the work before submitting it.
  6603. - Implement the ability to live add, enable, disable, and switch to pools.
  6604. - Only internally test for block changes when the work matches the current pool
  6605. to prevent interleaved block change timing on multipools.
  6606. - Display current pool management strategy to enable changing it on the fly.
  6607. - The longpoll blanking of the current_block data may not be happening before
  6608. the work is converted and appears to be a detected block change. Blank the
  6609. current block be
  6610. - Make --no-longpoll work again.
  6611. - Abstract out active pools count.
  6612. - Allow the pool strategy to be modified on the fly.
  6613. - Display pool information on the fly as well.
  6614. - Add a menu and separate out display options.
  6615. - Clean up the messy way the staging thread communicates with the longpoll
  6616. thread to determine who found the block first.
  6617. - Make the input windows update immediately instead of needing a refresh.
  6618. - Allow log interval to be set in the menu.
  6619. - Allow scan settings to be modified at runtime.
  6620. - Abstract out the longpoll start and explicitly restart it on pool change.
  6621. - Make it possible to enable/disable longpoll.
  6622. - Set priority correctly on multipools. Display priority and alive/dead
  6623. information in display_pools.
  6624. - Implement pool removal.
  6625. - Limit rolltime work generation to 10 iterations only.
  6626. - Decrease testing log to info level.
  6627. - Extra refresh not required.
  6628. - With huge variation in GPU performance, allow intensity to go from -10 to +10.
  6629. - Tell getwork how much of a work item we're likely to complete for future
  6630. splitting up of work.
  6631. - Remove the mandatory work requirement at startup by testing for invalid work
  6632. being passed which allows for work to be queued immediately. This also
  6633. removes the requirem
  6634. - Make sure intensity is carried over to thread count and is at least the
  6635. minimum necessary to work.
  6636. - Unlocking error on retry. Locking unnecessary anyway so remove it.
  6637. - Clear log window from consistent place. No need for locking since logging is
  6638. disabled during input.
  6639. - Cannot print the status of threads that don't exist so just queue enough work
  6640. for the number of mining threads to prevent crash with -Q N.
  6641. - Update phatk kernel to one with new parameters for slightly less overhead
  6642. again. Make the queue kernel parameters call a function pointer to select
  6643. phatk or poclbm.
  6644. - Make it possible to select the choice of kernel on the command line.
  6645. - Simplify the output part of the kernel. There's no demonstrable advantage from
  6646. more complexity.
  6647. - Merge pull request #18 from ycros/cgminer
  6648. - No need to make leaveok changes win32 only.
  6649. - Build support in for all SSE if possible and only set the default according to
  6650. machine capabilities.
  6651. - Win32 threading and longpoll keepalive fixes.
  6652. - Win32: Fix for mangled output on the terminal on exit.
  6653. Version 1.3.1 - July 20, 2011
  6654. - Feature upgrade; Multiple strategies for failover. Choose from default which
  6655. now falls back to a priority order from 1st to last, round robin which only
  6656. changes pools when one is idle, rotate which changes pools at user-defined
  6657. intervals, and load-balance which spreads the work evenly amongst all pools.
  6658. - Implement pool rotation strategy.
  6659. - Implement load balancing algorithm by rotating requests to each pool.
  6660. - Timeout on failed discarding of staged requests.
  6661. - Implement proper flagging of idle pools, test them with the watchdog thread,
  6662. and failover correctly.
  6663. - Move pool active test to own function.
  6664. - Allow multiple strategies to be set for multipool management.
  6665. - Track pool number.
  6666. - Don't waste the work items queued on testing the pools at startup.
  6667. - Reinstate the mining thread watchdog restart.
  6668. - Add a getpoll bool into the thread information and don't restart threads stuck
  6669. waiting on work.
  6670. - Rename the idlenet bool for the pool for later use.
  6671. - Allow the user/pass userpass urls to be input in any order.
  6672. - When json rpc errors occur they occur in spits and starts, so trying to limit
  6673. them with the comms error bool doesn't stop a flood of them appearing.
  6674. - Reset the queued count to allow more work to be queued for the new pool on
  6675. pool switch.
  6676. Version 1.3.0 - July 19, 2011
  6677. - Massive infrastructure update to support pool failover.
  6678. - Accept multiple parameters for url, user and pass and set up structures of
  6679. pool data accordingly.
  6680. - Probe each pool for what it supports.
  6681. - Implement per pool feature support according to rolltime support as
  6682. advertised by server.
  6683. - Do switching automatically based on a 300 second timeout of locally generated
  6684. work or 60 seconds of no response from a server that doesn't support rolltime.
  6685. - Implement longpoll server switching.
  6686. - Keep per-pool data and display accordingly.
  6687. - Make sure cgminer knows how long the pool has actually been out for before
  6688. deeming it a prolonged outage.
  6689. - Fix bug with ever increasing staged work in 1.2.8 that eventually caused
  6690. infinite rejects.
  6691. - Make warning about empty http requests not show by default since many
  6692. servers do this regularly.
  6693. Version 1.2.8 - July 18, 2011
  6694. - More OSX build fixes.
  6695. - Add an sse4 algorithm to CPU mining.
  6696. - Fix CPU mining with other algorithms not working.
  6697. - Rename the poclbm file to ensure a new binary is built since.
  6698. - We now are guaranteed to have one fresh work item after a block change and we
  6699. should only discard staged requests.
  6700. - Don't waste the work we retrieve from a longpoll.
  6701. - Provide a control lock around global bools to avoid racing on them.
  6702. - Iterating over 1026 nonces when confirming data from the GPU is old code
  6703. and unnecessary and can lead to repeats/stales.
  6704. - The poclbm kernel needs to be updated to work with the change to 4k sized
  6705. output buffers.
  6706. - longpoll seems to work either way with post or get but some servers prefer
  6707. get so change to httpget.
  6708. Version 1.2.7 - July 16, 2011
  6709. - Show last 8 characters of share submitted in log.
  6710. - Display URL connected to and user logged in as in status.
  6711. - Display current block and when it was started in the status line.
  6712. - Only pthread_join the mining threads if they exist as determined by
  6713. pthread_cancel and don't fail on pthread_cancel.
  6714. - Create a unique work queue for all getworks instead of binding it to thread 0
  6715. to avoid any conflict over thread 0's queue.
  6716. - Clean up the code to make it clear it's watchdog thread being messaged to
  6717. restart the threads.
  6718. - Check the current block description hasn't been blanked pending the real
  6719. new current block data.
  6720. - Re-enable signal handlers once the signal has been received to make it
  6721. possible to kill cgminer if it fails to shut down.
  6722. - Disable restarting of CPU mining threads pending further investigation.
  6723. - Update longpoll messages.
  6724. - Add new block data to status line.
  6725. - Fix opencl tests for osx.
  6726. - Only do local generation of work if the work item is not stale itself.
  6727. - Check for stale work within the mining threads and grab new work if
  6728. positive.
  6729. - Test for idle network conditions and prevent threads from being restarted
  6730. by the watchdog thread under those circumstances.
  6731. - Make sure that local work generation does not continue indefinitely by
  6732. stopping it after 10 minutes.
  6733. - Tweak the kernel to have a shorter path using a 4k buffer and a mask on the
  6734. nonce value instead of a compare and loop for a shorter code path.
  6735. - Allow queue of zero and make that default again now that we can track how
  6736. work is being queued versus staged. This can decrease reject rates.
  6737. - Queue precisely the number of mining threads as longpoll_staged after a
  6738. new block to not generate local work.
  6739. Version 1.2.6 - July 15, 2011
  6740. - Put a current system status line beneath the total work status line
  6741. - Fix a counting error that would prevent cgminer from correctly detecting
  6742. situations where getwork was failing - this would cause stalls sometimes
  6743. unrecoverably.
  6744. - Limit the maximum number of requests that can be put into the queue which
  6745. otherwise could get arbitrarily long during a network outage.
  6746. - Only count getworks that are real queue requests.
  6747. Version 1.2.5 - July 15, 2011
  6748. - Conflicting -n options corrected
  6749. - Setting an intensity with -I disables dynamic intensity setting
  6750. - Removed option to manually disable dynamic intensity
  6751. - Improve display output
  6752. - Implement signal handler and attempt to clean up properly on exit
  6753. - Only restart threads that are not stuck waiting on mandatory getworks
  6754. - Compatibility changes courtesy of Ycros to build on mingw32 and osx
  6755. - Explicitly grab first work item to prevent false positive hardware errors
  6756. due to working on uninitialised work structs
  6757. - Add option for non curses --text-only output
  6758. - Ensure we connect at least once successfully before continuing to retry to
  6759. connect in case url/login parameters were wrong
  6760. - Print an executive summary when cgminer is terminated
  6761. - Make sure to refresh the status window
  6762. Versions -> 1.2.4
  6763. - Con Kolivas - July 2011. New maintainership of code under cgminer name.
  6764. - Massive rewrite to incorporate GPU mining.
  6765. - Incorporate original oclminer c code.
  6766. - Rewrite gpu mining code to efficient work loops.
  6767. - Implement per-card detection and settings.
  6768. - Implement vector code.
  6769. - Implement bfi int patching.
  6770. - Import poclbm and phatk ocl kernels and use according to hardware type.
  6771. - Implement customised optimised versions of opencl kernels.
  6772. - Implement binary kernel generation and loading.
  6773. - Implement preemptive asynchronous threaded work gathering and pushing.
  6774. - Implement variable length extra work queues.
  6775. - Optimise workloads to be efficient miners instead of getting lots of extra
  6776. work.
  6777. - Implement total hash throughput counters, per-card accepted, rejected and
  6778. hw error count.
  6779. - Staging and watchdog threads to prevent fallover.
  6780. - Stale and reject share guarding.
  6781. - Autodetection of new blocks without longpoll.
  6782. - Dynamic setting of intensity to maintain desktop interactivity.
  6783. - Curses interface with generous statistics and information.
  6784. - Local generation of work (xroll ntime) when detecting poor network
  6785. connectivity.
  6786. Version 1.0.2
  6787. - Linux x86_64 optimisations - Con Kolivas
  6788. - Optimise for x86_64 by default by using sse2_64 algo
  6789. - Detects CPUs and sets number of threads accordingly
  6790. - Uses CPU affinity for each thread where appropriate
  6791. - Sets scheduling policy to lowest possible
  6792. - Minor performance tweaks
  6793. Version 1.0.1 - May 14, 2011
  6794. - OSX support
  6795. Version 1.0 - May 9, 2011
  6796. - jansson 2.0 compatibility
  6797. - correct off-by-one in date (month) display output
  6798. - fix platform detection
  6799. - improve yasm configure bits
  6800. - support full URL, in X-Long-Polling header
  6801. Version 0.8.1 - March 22, 2011
  6802. - Make --user, --pass actually work
  6803. - Add User-Agent HTTP header to requests, so that server operators may
  6804. more easily identify the miner client.
  6805. - Fix minor bug in example JSON config file
  6806. Version 0.8 - March 21, 2011
  6807. - Support long polling: http://deepbit.net/longpolling.php
  6808. - Adjust max workload based on scantime (default 5 seconds,
  6809. or 60 seconds for longpoll)
  6810. - Standardize program output, and support syslog on Unix platforms
  6811. - Suport --user/--pass options (and "user" and "pass" in config file),
  6812. as an alternative to the current --userpass
  6813. Version 0.7.2 - March 14, 2011
  6814. - Add port of ufasoft's sse2 assembly implementation (Linux only)
  6815. This is a substantial speed improvement on Intel CPUs.
  6816. - Move all JSON-RPC I/O to separate thread. This reduces the
  6817. number of HTTP connections from one-per-thread to one, reducing resource
  6818. usage on upstream bitcoind / pool server.
  6819. Version 0.7.1 - March 2, 2011
  6820. - Add support for JSON-format configuration file. See example
  6821. file example-cfg.json. Any long argument on the command line
  6822. may be stored in the config file.
  6823. - Timestamp each solution found
  6824. - Improve sha256_4way performance. NOTE: This optimization makes
  6825. the 'hash' debug-print output for sha256_way incorrect.
  6826. - Use __builtin_expect() intrinsic as compiler micro-optimization
  6827. - Build on Intel compiler
  6828. - HTTP library now follows HTTP redirects
  6829. Version 0.7 - February 12, 2011
  6830. - Re-use CURL object, thereby reuseing DNS cache and HTTP connections
  6831. - Use bswap_32, if compiler intrinsic is not available
  6832. - Disable full target validation (as opposed to simply H==0) for now
  6833. Version 0.6.1 - February 4, 2011
  6834. - Fully validate "hash < target", rather than simply stopping our scan
  6835. if the high 32 bits are 00000000.
  6836. - Add --retry-pause, to set length of pause time between failure retries
  6837. - Display proof-of-work hash and target, if -D (debug mode) enabled
  6838. - Fix max-nonce auto-adjustment to actually work. This means if your
  6839. scan takes longer than 5 seconds (--scantime), the miner will slowly
  6840. reduce the number of hashes you work on, before fetching a new work unit.
  6841. Version 0.6 - January 29, 2011
  6842. - Fetch new work unit, if scanhash takes longer than 5 seconds (--scantime)
  6843. - BeeCee1's sha256 4way optimizations
  6844. - lfm's byte swap optimization (improves via, cryptopp)
  6845. - Fix non-working short options -q, -r
  6846. Version 0.5 - December 28, 2010
  6847. - Exit program, when all threads have exited
  6848. - Improve JSON-RPC failure diagnostics and resilience
  6849. - Add --quiet option, to disable hashmeter output.
  6850. Version 0.3.3 - December 27, 2010
  6851. - Critical fix for sha256_cryptopp 'cryptopp_asm' algo
  6852. Version 0.3.2 - December 23, 2010
  6853. - Critical fix for sha256_via
  6854. Version 0.3.1 - December 19, 2010
  6855. - Critical fix for sha256_via
  6856. - Retry JSON-RPC failures (see --retry, under "minerd --help" output)
  6857. Version 0.3 - December 18, 2010
  6858. - Add crypto++ 32bit assembly implementation
  6859. - show version upon 'minerd --help'
  6860. - work around gcc 4.5.x bug that killed 4way performance
  6861. Version 0.2.2 - December 6, 2010
  6862. - VIA padlock implementation works now
  6863. - Minor build and runtime fixes
  6864. Version 0.2.1 - November 29, 2010
  6865. - avoid buffer overflow when submitting solutions
  6866. - add Crypto++ sha256 implementation (C only, ASM elided for now)
  6867. - minor internal optimizations and cleanups
  6868. Version 0.2 - November 27, 2010
  6869. - Add script for building a Windows installer
  6870. - improve hash performance (hashmeter) statistics
  6871. - add tcatm 4way sha256 implementation
  6872. - Add experimental VIA Padlock sha256 implementation
  6873. Version 0.1.2 - November 26, 2010
  6874. - many small cleanups and micro-optimizations
  6875. - build win32 exe using mingw
  6876. - RPC URL, username/password become command line arguments
  6877. - remove unused OpenSSL dependency
  6878. Version 0.1.1 - November 24, 2010
  6879. - Do not build sha256_generic module separately from cpuminer.
  6880. Version 0.1 - November 24, 2010
  6881. - Initial release.