12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400 |
- Version 4.11.1 - 16th August 2018
- - Alias T1factory option to noauto.
- - sem_timedwait needs to use CLOCK_REALTIME.
- - Conditional timedwaits need to use CLOCK_REALTIME.
- - Remove unused abstime.
- Version 4.11.0 - 15th August 2018
- - Disable implicit fallthrough warning for newer GCCs.
- - Alphabetical options.
- - Cope with abs timeouts not working on some OSs, fixing a logic error on
- cgsem_mswait.
- - hash table: use lookup instead of iteration
- - Do away with useless factory tune.
- - Keep diff low for accurate hashrates.
- - Take an optional fanspeed target allowing for quiet operation.
- - Change default pll back to 1332.
- - Set lastshare on successful reinit and sleep longer for each retry.
- - Allow much tighter temperature control if temperature is unchanged for a
- longer period, allowing temps to get to 75 degrees and have optimally low
- fanspeed.
- - Use clock_gettime instead of gettimeofday to not be burnt by ntp changes.
- - Remove useless variables.
- - Should be 390k.
- - Set lower spi speed to allow ultra low frequencies on shutdown.
- - Re-initialise chains first if possible instead of shutting down cgminer.
- - Abstract out prepare T1.
- - Abstract out start t1 chain.
- - More reliably shut down cgminer from the driver thread.
- - Import SPI fixes.
- - Import dev fixes.
- - Speed up mcompat_find_chain_vid since we are just going to lower voltage
- during tuning it doesn't need to be very accurate.
- - Fast start/restart with clean shutdown to lower power but powered on mode.
- - Import Dragonmint T1 driver and version rolling AKA asicboost support.
- - Do not give out API description to random probes to inappopriately open ports.
- - Use system provided uthash and libjansson if provided preferentially now.
- - Update uthash to version 2.0.2
- - Avoid potential buffer overflows in api.c
- - Fix write config with enable-icarus changes.
- - Sleep if btcd isn't immediately available and try again when attempting to
- decode a coinbase.
- - Elaborate what type of pool coinbase transactions to decode and do not print a
- warning if no devices are attached when decoding.
- - Add a
- - Set up gbt_curl before setting gbt_solo flag to prevent gbt_curl deref in
- longpoll_thread.
- - remove cgminer-api libusb dependency
- - Update jasson library in gitignore
- - Fix compile guide for api-example.c
- - Cleanup libusb-1.0 in gitignore
- - Remove AVA7_FREQ_CUTOFF_MODE for Avalon7
- - Initialize default temp in detect_modules for Avalon7
- - Remove AVA7_FREQ_TEMPADJ_MODE for Avalon7
- - Fix build with disable-libcurl.
- Version 4.10.0 - 23rd January 2017
- - Silence warning.
- - Clean up compac driver.
- - Allocate appropriate memory size for PSECURITY_DESCRIPTOR
- - Remove jansson memory tricks.
- - Increase header size for gbt solo.
- - Increase header size.
- - Fix curl build on mingw
- - Windows build fixes.
- - Fix avalon4 warnings.
- - We can only change diff once per notify so assume successive diffs are stacked
- for successive notifies.
- - Enable avalon4 building with avalon7.
- - Move to system libusb.
- - Upgrade to jansson 2.9
- - display restart thread errno
- - String length sanity checks in config parsing.
- - Make pool_no and block height logging more consistent
- - Always clean swork when prev_hash changes
- - Add nonce mask to api for Avalon7
- - Add new options for Avalon7
- - Add a device table for Avalon7
- - Update AVA7_DEFAULT_MINER_CNT usage
- - Add frequency range support 100MHz - 500MHz
- - Added roll_work_ntime() to enchance performance
- - Revert "Set default ava7 nonce mask to 27 which empiric testing shows stable
- and more rapid rise in frequency without significant overshoot."
- - Remove useless code in avalon7
- - Detect avalon7 modules during ava7 init and only add the device if any modules
- exist.
- - Unplug avalon7 on failing to re-init AUC to allow a clean hotplug event which
- is more reliable.
- - Fix warning without ava4/7
- - Re-initialise libusb if there are no active devices before the next hotplug
- event.
- - Reset the tv_end variable before each libusb handle events call.
- - Fix Vo display for A741
- - Update AVA7_DEFAULT_ASIC_MAX for A741
- - Tweak ava7 fan control further.
- - Set default ava7 nonce mask to 27 which empiric testing shows stable and more
- rapid rise in frequency without significant overshoot.
- - Set ava7 starting fan to 1/3 speed between min and max.
- - Convert the avalon7 fan control to use a PID-like feedback mechanism for
- optimal fan speed and quasi-constant temperature. Change meaning of target
- temperature to actual desired temperature, setting it to 90C. Set minimum
- fanspeed to 5% as a safety fallback.
- - Inherit the diff from the original stratum in submit_nonce2_nonce, fixing
- wrong diff submits on avalon6/7.
- - Use diff1 and diff rejected to calculate hashrate in avalon7 for a more stable
- displayed hashrate.
- - Check for nodev errors after usb transfers to not change the err value.
- - There is no need for complicated locking in usb_reset; simply use the write
- lock and avoid locking risks.
- - Update nonce mask from 31 to 29
- - Send jobid when it's update
- - Flush useless works when new block was found
- - Update error polling count
- - Fix frequency mode for Avalon7
- - Added connection overload detection and API entry
- - Fixed some English mistakes
- - Fix display mm status when stratum pool is failed
- - Update api display
- - Reset usb devices if they fail to initialise.
- - TIMER_ABSTIME is not available on osx
- - Get rid of binary stratum work based on avalon7 define.
- - Remove impossible comparisons from avalon7.c
- - Style police.
- - Don't use the stratum work generator for Avalon7
- - Add STRATUM_USER_AGENT macro for utils
- - Update README and ASIC-README for Avalon7
- - Add Avalon7 support
- - Fix warning in AV4 driver
- - Update AVA4_DEFAULT_MODULARS
- - Update nonce2 start and range
- - Add more options for AVA4_FREQ_TEMPADJ_MODE
- - Double check data size when use avalon4_auc_xfer
- - Update AVA4_MM60_TEMP_FREQADJ
- - Fix xfer_err_cnt
- - Avoid thread block when use AV4 iic driver
- - Update check rules for AUC
- - Support AV4 miner detect through iic
- - Fix some settings for AvalonMiner 6.0
- - advertise segwit support for solo mining
- - add support for segwit commitment insertion
- - add bip9 support
- - Fix work update for hash_work
- - Fix various minor once-off memory leaks
- - Fix read beyond stack size issue
- - Reattach kernel driver to correct IF
- - Fix clobbered by ‘longjmp’ or ‘vfork’ warning
- - Fix unreachable code
- - allow for independent target freq so bad stick doesn't effect group
- - +1 freq hex alignment
- - tidy up naming to match general conventions
- - tidy up some unused vars
- - Add in ramp code. Untie compac detect from default icarus fallback detect to
- have a cleaner device detect path.
- - move over code to fit serial number on screen
- - changed a few spaces to tabs
- - Added GekkoScience Compac detection and support to the icarus driver.
- - Show Current Block Version under pools api
- - Show Current Block Height under pools api
- - Update avalon4 options
- - Update AVA4_DEFAULT_SMART_SPEED to AVA4_DEFAULT_SMARTSPEED_MODE3
- - Update avalon4_update process
- - Code cleanup
- - Minor update
- - Detach the duplicate dev when detect in xfer
- - Update mm count when scan hash
- - Check module if exits when detect
- - Update hashmeter for avalon devs
- - Fix i_5s usage
- - Update smart frequency for AVA4_DEFAULT_SMARTSPEED_MODE3
- - Add new smart speed mode (mode 3)
- - Update default value
- - Add more options for smartspeed
- - Don't label threads of devices that are paused as sick
- - Set avalon4 to cut off if thread should be paused
- - ASIC-README: Avalon6 will come up as AV6
- - Update the ASIC-README and help message of Avalon4/4.1/6
- - fix cgminer-api compilation on osx
- - Support low diffs like those on testnets
- - Restart being missed outside of block change
- - Set default frequencies for ava4/6 in the correct place if none is specified
- - Use a generic zero stats function for drivers that don't implement their own
- - The fan control for ava6 overshoots often so use a safer non-linear curve
- mechanism relative to the target temperature and remove inappropriate caps to
- opt_avalon4_overheat and opt_avalon4_temp_target
- - 450 would appear to be the most reliable startup speed for ava6 so revise it
- down further
- - Avoid double locking when checking if a block exists to prevent a further race
- between seeing it and adding it
- - AVA6 is more reliable starting up at the slightly slower speed of 470, making
- it internally start at 450 before working its way up
- - Set the freq array variables when setting default frequency as well
- - Set default frequency according to ava type if none is specified on the
- command line, choosing 475 as default for ava6
- - Use AV6 name for avalon6 in ava4 driver
- - Update copyright notices for ava4 driver
- - Fix warnings
- - Log blockheight when the pool changes to a new block.
- - Check for stratum clean message in test_work_current to not give false
- positive messages for missed pool notifications of block changes
- - Update AVA4_DEFAULT_SPEED_ERROR
- - Add new option for Avalon6
- - Update frequency process
- - Update AVA4_DEFAULT_TEMP_TARGET for Avalon6
- - Update voltage decode for Avalon6
- - Update temperature target and overheat
- - Update target temp settting
- - Update fan adjust
- - Update Vol api display
- - Update avalon4 option
- - Display stratum difficulty in pool api
- - Fix divide by zero
- - Fix nonce counter
- - Fix GHS display
- - Display total asics for Avalon6
- - Update max diff for Avalon4 and Avalon6
- - Update temperature check
- - Fix typo
- - By default we enable automatic frequency
- - Minor changes
- - Update display
- - Update api display
- - Fix GHSmm
- - Update api for Avalon6
- - Display pll infomation for Avalon6
- - Update frequency for Avalon6
- - Turn on avalon6 nonce check as default
- - Update convert voltage
- - Update voltage display
- - Display more status
- - Enable adjust frequency automatically
- - Update convert voltage
- - Update temperature display for Avalon6
- - Add more options for Avalon6
- - Update asic count for Avalon6
- - Update hashrate counter
- - Decode voltage and temperature for Avalon6
- - Support error code for Avalon6
- - Support 2 miners for Avalon6
- - Show ASCI status for Avalon6
- - Don't need config voltage for Avalon6
- - Update MM60 profile
- - Add nonce counter for Avalon6
- - Hide MW for Avalon6.0
- - Count hw for Avalon6
- - Increse stat buffer size
- - Fix job_idcmp when copy stratum
- - Add Avalon6 support
- - Apply immediately the first set_difficulty
- - store the next difficulty
- - Make pool fallback time configurable and default to 2 minutes instead of 5.
- Rework fallback mechanism to check pool status every 5 seconds and not miss a
- recovering pool.
- - Fix error message for pools such as p2pool that use no nonce1 in their stratum
- templates
- - Set work delay to 1 for AntS1 and AntS2
- - driver-bitmain default tempoverctrl off so it can be disabled
- - API add Work Difficulty to pools
- - remove some documention references to getwork
- - Support multiple modulars frequency setting
- - Decode frequency for Avalon nano 2.0
- - Decode adc status for Avalon nano 2.0
- - Display temperature in api (Avalon nano 2.0
- - Display asic match works for Avalon5
- - Support adjust frequency by asics
- - Display asic freq in status
- - Diplay moving average dh for Avalon5
- - Fix api display
- - Upgrade date/timestamp strings to millisecond accuracy
- - Support voltage adjustment automatically by modular
- - Support Avalon5
- - Increase AVAM_DEFAULT_ADJ_INTERVAL
- - Boundary check
- - Update AVAM_DEFAULT_VOLTAGE_MIN
- - Check the final freq
- - Support frequency adjust automatically
- - Add simple moving sum of the hardware errors
- - Add elapsed info for Avalon miner
- - Advise against building blockerupter driver
- - Move blockerupter driver to after icarus to not interfere with their detection
- if built in
- Version 4.9.2 - 12th June 2015
- - Only blacklist devices on iManufacturer if they don't have an iProduct
- - Simplify the pool work choice switching now that only local work generation is
- supported
- - Check for absense of stratum notify on stratum pools to see if they're usable
- - Remove getwork support
- - Remove test for localgen since all work will be
- - Deprecate failover only option in anticipation of removing getwork
- - Deprecate expiry option and fix it to 10 minutes, replacing all deprecated
- config calls in the API with a deprecated message
- - Deprecate scan-time which is irrelevant with ASIC speed mining
- - Deprecate opt_queue since all mining is now local work generation which is
- rapid and it serves no useful purpose to generate work that is potentially
- stale, increasing CPU usage to check it before using it
- - Change default au3 voltage to 775 to more reliably run at default frequency
- - Set correct timeout for AU3 in icarus_detect_one though it won't affect
- functioning
- - Blacklist LIX device which doesn't exist
- - Round up fail time to next highest integer on icarus
- - AntS3 - set default work delay
- - add pool block quality to api
- - AntS3 - redo work send/stats and add a tuning option - not yet tuned
- - Ant - ignore useless options in case they are passed
- - AntS3 - initial S3 merge basic support
- - Ant voltage isn't S1
- - API - restore IPv4 address .0 padding and update copyright dates
- - ants2 - separate freq from options
- - ants2 - make it compile :p
- - ants2 - add voltage
- - ants2 - remove libusb/udev dependency since it doesn't use USB
- - AntS1 ensure correct endian and correct wid
- - libsystemd: Notify watchdog
- - libsystemd: Notify run state and status line
- - Catch SIGABRT signal and exit gracefully
- - Add libsystemd configure option (default disabled)
- - Document
- - SP30: Fix logging to use applog over printf calls
- - Allow building with system jansson
- - Set request ID in validateaddress JSON-RPC request.
- - Cope with reconnect being sent a port number as an integer or string
- - Added syslog mask to limit amount of output
- - regressed with "BAL" little-jalapenos
- - Add yet more whitelisting of BMA devices, removing the case insensitive match
- for manufacturer
- - Fix detection of no mining device configuration.
- - Remove LT_INIT from configure which breaks ltmain.sh detection for some
- automagic reason
- - Add missing hashtable_seed file
- - Add missing file
- - Speed up shutdown by decreasing usb poll time to 100ms and using no timeout on
- exit
- - Cope with attempted reuse of strings in input_pool
- - Manage failed URL entry at startup more gracefully, adding stratum+tcp://
- automatically if http:// isn't specified
- - Fix various symbol size change warnings
- - Import jansson updates from ckpool
- - Check for attempts to copy to/from null in cg_memcpy
- - Use cg_memcpy throughtout bitfury driver
- - Use cg_memcpy throughout cgminer.c and util.c
- - Use alloc helper in miner.h
- - Use alloc helpers in bitfury driver
- - Use alloc helpers in spondoolies drivers
- - Use alloc helpers in bflsc driver
- - Align_len in all alloc helper calls
- - Use align_len in all alloc helpers
- - Use alloc helpers in usbutils
- - Use alloc helpers in icarus driver
- - Use alloc helpers in avalon4 driver
- - Use alloc helpers in api.c
- - Use the alloc helpers in util.c
- - Convert all users of alloc to use the helpers in cgminer.c
- - Add helper functions to various alloc functions that automatically check for
- failure
- - Fix rare dereference error on pool stratum queue
- Version 4.9.1 - 3rd February 2015
- - Fix various unused warnings
- - Fix avalon4 warnings
- - Display notice if pool successfully negotiates stratum resume
- - Support auto adjust voltage individually
- - Don't keep retrying to connect to a pool that has been removed
- - Null the actual pointer used to call discard and free_work and safely handle
- being called with a null pointer, giving a verbose warning about the call site
- - Fix off by one error when running out of queued IDs in bflsc28_queue_full
- - Uninit BET driver when it fails to initialise any boards
- - Fix detection of butterfly labs sc 65nm devices with the addition of the 28nm
- device imanufacturers trumping their detection
- - Remove compilation warnings. Cast overly-specific
- destination type, unsigned int.
- - Basic ability to compile and run on FreeBSD 10. Only tested compilation with
- avalon, avalon2, bflsc, and icarus; only tested functionality of bflsc and
- icarus.
- Version 4.9.0 - 16th December 2014
- - Minor fix
- - Fix MM41 voltage setting
- - Fix the default settings of new module
- - Count non matching stratum as a hw error on ava4
- - Fix ava4 build incompatibilites and missing write config parameters
- - Use strcasecmp for device matching in usbutils in case of subtle manufacturer
- changes
- - Add manufacturer and product definitions for ava4
- - Cosmetic ava4 change
- - Cosmetic ava4 message fixes
- - Add sanity check for NULL data being passed to usb_perform_transfer
- - All write errors should be treated as fatal for ava4 devices
- - Change initial fan start speed, mins and max for avalon4 to ensure fan starts
- spinning but can go lower RPM
- - Disable zero length packets on ava4 before trying to init
- - Add a cgpu device option to disable zero length packets and enable it for
- avalon4
- - Display ava4 stats consistent with other devices
- - Add ava4 to udev rules file
- - Fix build warnings on ava4
- - Fix ava4 build
- - Add Avalon4 support
- - Filter duplicate stratum shares from being submitted upstream
- - Do rudimentary detection of duplicate shares per device
- Version 4.8.0 - 25th November 2014
- - Allow forcing of building driver combinations with
- - Put spaces between name and id in avalon2 and icarus
- - Relax detection of a failing ava2 to more than 1 minute and perform the test
- after polling for results
- - Cap maximum diff on ava2 in order to still get shares
- - Put space between device name and id to prevent device names with numbers in
- them confusing the display
- - USB write errors are always fatal so they should be treated as such on ava2
- - Issue a usb reset for ava2 that is not returning valid shares and then drop it
- if it persists for over a minute
- - Process share results without a result value
- - Damp out hashrate displayed for antminer USBs
- - Add voltage and speed where relevant to antminer USBs
- - Don't estimate time on any antminer usb during a timeout
- - Return icarus nonce ok only when the nonce size matches the device or more
- - Don't discard old workids until we cycle back to them on antusb and look for
- more nonces in the buffer
- - Adjust ant usb timing for queued work
- - Use a cyclical list for the ant queued work
- - Mask and limit workid for antusb and dont clear buffer
- - Check the nonce on the worked item, not the submitted work
- - Skip over unfinished work that we can't free in ant usb
- - Use a workid and array if possible for the small ant usb work queue
- - Create an array for antworks for antminer usb devices
- - On U3 calculate hashrate purely on shares, not timeouts
- - Add switches for AU3
- - Adjust icarus wait timeout according to device
- - Differentiate U3 from U1/2 as a separate driver with different parameters and
- adjust timing accordingly
- - Skip ANUs detected in rock detect
- - Try U3 after trying other icarus options
- - Add rudimentary ANU voltage setting support for U3
- - Fix ignoring unprefixed v6 address in api allow list
- - Fix minor typos in Spondoolies SP10 and SP30 drivers
- - Implement a basic rock_flush function to discard the base work we are rolling
- work from.
- - Task_no for rockminer from the nonce bin should simply be masked
- - Change rbox default correction times to 5 in a revised frequency order
- - Change default frequency on T1 to 330
- - Reinstate last received check and resend in rockminer, being more lenient at 2
- seconds to allow for dither errors at 1
- - Roll work for the rbox when possible
- Version 4.7.1 - 4th November 2014
- - Selectively yield on dropping a lock only on single CPU platforms
- - Make it impossible to configure in more than one device that is meant to be
- standalone. Add more information to configure help, along with comments for new
- drivers.
- - Add warning against system libusb in configure help
- - stratum_rthread sleep only 3s when all the pool have disconnected
- - Filter responses that don't have a result
- - Implement support for pool ping and json integers of zero in getversion and
- ping
- - Fix segfault when writing config with hashratio built in
- - Save pools in priority order at time of writing config
- - Set the correct flag for close on exec for sockets
- - Suspend stratum on removing a pool
- - Set CLOEXEC on sockets on linux
- - Drivers that take a diff should specify a max diff or it is assumed they don't
- support one so set max_diff to 1 if unset
- - Send hfa generic frame only if voltage was specified on the command line for
- that device
- - Set hashfast voltage settings only when really needed
- - Hashfast voltage support
- - Increase max diff on sp30 to 1024
- - Reset ipv6 flag to false in every api-allow loop
- - undeclared identifier 'IPV6_ADD_MEMBERSHIP' fix for apple
- - two back temps spondoolies2
- - two back temps spondoolies
- - correct suggest_difficulty json rpc call
- - Add more usb3 hub identifiers for windows
- - Set driver max diff to large value if unset
- - Wake gws on get queued
- - Implement blacklisting of attempting to match known products from ones without
- identifiers
- - Fix hfa driver building without libcurl
- - Enable building libusb without udev
- - Fix off by one calculation error in sp30 leading zeroes
- - Send correct diff work to sp30 for hashmeter to be correct
- - Do the sleep in spondoolies_queue_full_sp30 after dropping the lock
- - Minor tidy in sp30 driver
- - Fix sp30 warnings
- Version 4.7.0 - 14th October 2014
- - Implement generic inet_pton for windows
- - Fix warnings
- - Fix bulk of remaining style in blockerupter.c
- - Tidy style in blockerupter.h
- - Tidy bulk of style in blockerupter.c
- - Fix missing minimum diff setting for blockerupter
- - Fix unused variable warnings
- - remove unnecessary sleep; fix potenital div by 0 errs; use min_diff in driver
- definition
- - Fix coding style
- - Make the sp30 hashrate meter based on valid share generation
- - Change default max queue back to 1 in line with speed of most current asic
- controllers
- - Change diff limits to values suitable for sp30
- - Add pool number to response from addpool to the API
- - Make the restart and quit API commands valid json responses
- - Fix number of nos
- - Add option to set clock ('
- - compatible with X24 board
- - Fix error when using v6 without mask in api-allow
- - Support ipv6 multicast
- - Set min_diff to 1
- - Allow arbitrary clamping of lower device diffs for slow controllers by driver
- - Don't set default fan to max on hashratio
- - The 2nd read never gets anything on ava2 so remove it entirely and just return
- an error if we are out of sync
- - Implement support for mining.suggest_difficulty
- - Fix client ip address output
- - Free addrinfo garbage
- - Remove the brackets when using v6 pool address
- - Add ipv6 support for api listen
- - Avalon Nano: Add support Avalon Nano usb miner
- - fix bug in setdiff
- - limit minimum diff to 64
- - Add BlockErupter Driver
- - Avalon2: display currect max temperature on statline
- - Remove unused variable
- Version 4.6.1 - 20th September 2014
- - Throttle bflsc28 devices when they hit the overheat limit
- - Add whitelisting of firmware used in final bflsc28 products
- - API.java - remove lowercase of all data sent
- - Avalon2: Add 3 bytes nonce2 support
- - Avalon2: MM needs n2size length <= 4
- - Use fan min as fan speed when run with --avalon2-fixed-speed
- - Clear the pool submit fail bool after adding shares to the stratum hashtable
- to minimise window the share is not in the table
- - api-example unlimited socket works
- - Add custom strcasestr and use custom gnu type functions in bflsc
- - Fix windows build of bflsc driver
- - Fix possible deref in bflsc28
- Version 4.6.0 - 7th September 2014
- - We should not be checking for pool_unworkable in cnx_needed as it is keeping
- stratum connections open on unused pools
- - Properly handle lack of input when adding pool via menu
- - Allow workers without passwords
- - minion - increase max chip number
- - Avalon2: add more comments on Avalon2 options
- - Avalon2: add polling delay option, long coinbase support, LED status on API,
- change overheat from 88 to 98
- - minion - add a ' before non-zero core error counts
- - minion - hidden optional per core nonce stats
- - bflsc28 - clock is hex
- - bflsc28 - allow setting clock and volt from the API ascset command
- - bflsc28 - add chip count to stats
- - bflsc28 stats
- - Simplehacks to better serve bflsc28
- - Only use one hashtable for bflsc28 work queued
- - Copy back the buffer after we've stripped the inprocess field on bflsc
- - Parse results for BMA based on uid and remove work from the queue when found
- - Strip out the inprocess details from bflsc results if it exists
- - Create a hashtable of work by uid as it's accepted by BMA
- - Add some rudimentary values for BMA sleep times
- - Fix various errors in queueing work for bflsc28 and limit job queueing to 10
- to fit within a usb frame
- - Create preliminary work queueing for bflsc28 using jobs of up to 20 at a time
- by rolling work where possible
- - Convert all bflsc transfers to the full 512 bytes
- - Don't mistake bflsc28 for fpga
- - Do initial detection of bflsc28 devices
- Version 4.5.0 - 29th July 2014
- - Fix windows build for hashratio and ava2
- - Demote bad checksum message in cointerra driver but allow message to still be
- parsed since it won't allow existing firmwares to work otherwise
- - Reorder and document the configure options
- - Merge https://github.com/KnCMiner/cgminer into knc
- - Change default voltage on ava2 to 0.666V because Satan
- - Enable combined building of avalon2 and hashratio
- - Fix stratum embedded fpgas to not duplicate work with other devices
- - Implement smarter PID type fan control for ava2 allowing more generous
- temperatures and far lower fan speeds for optimal power and noise usage. Adjust
- default frequency to 450 as per recommendation.
- - Fix various warnings in ava2
- - Go back to polling design since async will not work for ava2 and fix various
- read design errors
- - Fix error in 2nd read functions for av2 and hro
- - Correct init and read sequence for ava2, and convert from a polling mechanism
- to a separate read thread
- - Initial commit of ava2 conversion to direct USB
- - Display frequency and voltage with ava2 on the statline
- - Store fan percentage and display temp and fan percent for ava2
- - Set avalon2 frequency and voltage to appropriate defaults if none are
- specified on the command line
- - Demote some ava2 messages that don't need to be errors and remove unused works
- array
- - Fix broken fan logic for ava2
- - Fix hexdump on 64bit
- - rockminer frequency is between 200 and 400 MHz
- - fix jansson include path in cgminer-api compile instructions
- - Remove requirement for ifndefs for avalon2 from the generic driver work
- function
- - Fix hashratio device name
- - Make submit_nonce2_nonce return whether the share was valid or not
- - Reinstate missing necessary init sequence for hashratio
- - Handle disconnected hashratio devices
- - Add hashratio frequency command line
- - Fix stratum updates not being passed to hashratio devices and clean up
- - Move to updated avalon2 type driver model for hashratio device
- - Initial import and conversion of hashratio driver to direct USB
- - Increase the internal buffer for API response, as "stats" command response
- can grow greater than 8K
- - Detach test pool thread only if we have a blocking startup
- Version 4.4.2 - 17th July 2014
- - Remove the use of the pthread_tryjoin_np which is currently unimplemented on
- many platforms
- - Fix processarg parameters loaded from a config file not being saveable
- - We only use the jansson in our source tree so no need for special case
- handling of older versions
- - Upgrade jansson to 2.6
- - Only clear sockbuf if it's been allocated
- - Fix missing osm-led-mode support in write config
- - Deal with nanosecond overflow in both directions on both addition and
- subtration of timespecs
- - Rename sp10 driver internally from spondoolies to sp10
- - minion - add a 2nd (optional - disabled) reset test
- - production stats added, reset queue added
- - minion - correct led ghs2 choice
- - minion - correct ghs2 display
- - minion - reset the led counter when doing a chip RSTN full reset
- - minion - don't reset the led counter for an SPI reset
- - minion - led per chip and use all time average
- - minion - report spi error counts and settings in stats
- - minion - undeclared fix
- - minion - chip power cycle option
- - minion - record 0xff error history and reduce screen output
- - minion - reset on result or fifo 0xff
- - minion - clarify the 0 value of spireset
- - minion - make SPI reset more configurable
- - minion - make the SPI reset ms sleep a parameter and API settable
- - sp10 sensors
- - sp30
- - minion - led+more api setting
- - Avoid blocking all pool testing if one pool fails to ever init
- - There is no point storing the hints addrinfo in struct pool
- - minion - 'reset' SPI when getting errors
- - initialise more pool values in benchmark
- - minion - auto adjust freq
- - merge upstream frequency changes
- - icarus - timing history in its own function
- - rbox - add lotsa stats, tidy up a bit more
- - Fix an off-by-one.
- - icarus - detect stat should be LOG_DEBUG
- - icarus - tidy up rbox code, remove statics, and add rocketbox
- - minion - do an early reset to clear the chip status
- - minion - use descriptive names for the list types
- - Avalon2: automatic adjust fan speed, using crc16 on job_id compare, turn on
- the led by API, detect twice when start, remember the last stratum message
- increase the hashrate, add cutoff option
- - fix AntS1 breakages from AntS2 changes
- - minion - disable dup nonce check
- - minion - add an ioseq number for each ioctl to simplify work ordering
- - minion - redo old work expiry based on txrx order
- - minion - more work stats, minimise queued work, free flushed queued work
- - minion - allow resetting a chip via the API
- - minion - correct 'WQue Count' in stats
- - minion - delay after reset, reset history also, add dups to api stats
- - noncedup - give access to the internal stats
- - minion - increase reset to 75%
- - minion - dup checking, disable reread by default and extra ioctl debugging
- - minion - always check the chip queue before queuing new work
- Version 4.4.1 - 21st June 2014
- - Move icarus driver to being seen as an asic
- - Clear usb reads on each pass through icarus detect to hopefully prevent false
- positives for detecting rboxes
- - Clean up pool failure and failover code for stratum
- Version 4.4.0 - 16th June 2014
- - Tidy unused rockminer variables
- - Tidy rockminer defines
- - Make rockminer driver compatible with other icarus drivers being present
- - Import basic rbox driver
- - minion - add optional (on) GPIO chip selection
- - Clear the pool idle flag in the pool test thread
- - CoreFmatch in cointerra should be a uint16
- - Display error message if we receive one on share rejects
- - Allow zero length strings to be passed to valid_hex
- - delete unused roundl definition
- Version 4.3.5 - 10th June 2014
- - Cointerra driver updates.
- - Sleep before retrying in the test pool thread after a pool has died
- - Use valid_ascii testing for job_id since it need not be hex only
- - Only show slow/down message till pool is flagged idle
- - Do some random sanity checking for stratum message parsing
- - Keep looking for when a pool comes to life at startup and touch the logwin so
- the message is not invisible
- - Fix no libcurl build
- - Added Drillbit Thumb to udev rules.
- - Avoid dereference on getting API stats on partially initialised HFA instances
- - A1: add support for updated product variants, small fixes
- - Add one more usbutils fix
- - Convert uses of usbutils memcpy to cg_memcpy
- - Add a sanity checking memcpy function which checks for overflows
- - minion - count force use reread
- - minion - add a disabled ioctl() test
- - minion - add more checking of SPI results for corruption
- - minion - optional (disabled) ioctl() debug
- - Increase S1 overheat to 75 degrees C
- - Add ruby api-example to API-README
- - minion - allow core selection at runtime
- - API - lcd all-in-one brief summary
- Version 4.3.4 - 25th May 2014
- - Add support for 2 nonces per block in spond driver
- - Increase timeout on reset in cta driver to 5 seconds
- - Increase max diff on spondoolies driver slightly to be well below spi comms
- limitations
- - Use the active contents lock and safe list iteration within the linux usbfs
- code
- - Add Ruby Api Example
- - Automatic detect the small miners
- - Update default modules from 3 to 4
- - Fix the temp max. we should use currect max temp
- - add avalon2-cutoff options
- - Enable the cutofftemp to Avalon2. ignore longer coinbase and longer merkles
- stratum
- - Fix the diff value used on MM firmware
- - Mark pool as idle if stratum restart is failed
- - Add hacky workaround for double list removal race in libusb
- - Make the work given in benchmark mode deterministic on a per-device basis
- - Rework the benchmarking code to use a deterministic set of work items with a
- known number of diff share nonces at regular spaced intervals
- - minion - restrict nonce read result size to ioctl() limit
- - minion - must check temp when overheated
- - minion - idle chips that hit >100C until back to 80C
- - minion - report the chip/reg when aborting due to an invalid ioctl() size
- - minion - all freq in Mhz but only convert when used
- - minion - remove unused ioctl debug
- - minion - command queue is now larger
- - minion - check rolled in stale work cleanup
- - Work stats should be based on device_diff not work_difficulty since non-shares
- haven't been filtered out yet
- - Prevent a segfault when writing a config file containing 'rotate' option
- - minion - comment out HW debug message
- - minion - roll work to reduce CPU
- - minion - report init_freq in stats
- - api - howoldsec is only used for USB
- - minion - allow setting the frequency
- - minion - disable iostats by default since it slows down mining
- - minion - define frequency value table
- - minion - report temp/cores/freq and handle temp formatting
- - minion - item is undefined
- - Rationalise diffs stored in the work struct and document them to avoid further
- confusion
- - Add basic API stats for nfu drivers to see how many submits each chip returns
- - Add output direction for the EN0 pin on nfu driver
- - Support power management optimisations in newer nf* firmware
- - Support variable numbers of chips with NFU and BXM drivers
- - Identify number of chips in nanofury devices and change name accordingly
- - Rename nf1 driver to nfu in anticipation of support for more chips
- - Make hashfast reset counter rise on old instances when inheriting the value on
- new ones
- Version 4.3.3 - 3rd May 2014
- - Fix typo
- - Work should be freed when aged, fixing a massive memory leak for bxf devices
- - miner.php fix single rig summary/config field formatting
- - miner.php fix single rig total formatting
- Version 4.3.2 - 2nd May 2014
- - Fix accounting bug with nrolltime drivers
- Version 4.3.1 - 2nd May 2014
- - upgrade some int to int64_t to avoid overflows in reporting
- - Make reconnection messages more explanatory
- - Stratum client.reconnect require matching URL
- - Fix memory leak in submit_noffset_nonce
- - Clean up any work that may not have been used in the work scheduler
- - Avoid unnecessary deref now that it's done within discard_work
- - Clean work pointers after one way usage functions
- - Avoid unnecessary total_work_inc in generating local work
- - Cosmetic fixes
- - Fix idle bug, when redirected client can't auth
- - Rename spond temp rate to asics total rate
- - Build fixes
- - Set the unique id only for usb devices with serial strings longer than 4 chars
- long
- - Use usb serial strings as unique id if devices have them
- - Discretely identify the onestring miners as OSM
- - Add bxf debugging option and osm led modes
- - A1: modularize board selector / add initial CCR support
- - A1: cleanup tca9535 logging
- - A1: fix and extend PLL parameters
- - A1: clean up compile warnings
- - A1: use real level in hexdump
- - Add identification for onestring miner variants
- - Avalon2: Parser the power good signal
- - driver-avalon2: this functions used on detect, which don't have thr setup yet
- Version 4.3.0 - 18th April 2014
- - Put sleep in spond hash instead of queue full function
- - Remove unused function for when compiled without curses
- - Fix typo
- - Add temperature rate, front, rear and device temperature to spond API output
- - Limit bxf sleep in bxf_scan to 100ms minimum for strings of many chips
- - -Werror=format-security error on driver-bitmain.c
- - Fix parameters passed with getblockhash
- - Check the block hash with the proper command when looking for orphan chains
- - syslog requires a facility ... in more than one place
- - Shuffle windows headers included
- - Adjust the bxf sleep time according to the number of chips detected
- - Fix off by one error in bxf chip count when adjusting device size
- - Recalloc correct pointer
- - Make instructions associated with winusb error even more explicit
- - Add midsing headers to cgminer source in Makefile
- - Trivial style changes to mg proto parser
- - Trivial style and warning clean ups on spondoolies driver
- - Merge spondoolies driver patch
- - Call any BXF device with 3-6 chips reported HXF
- - Avoid derefrence when calling statline before on hfa device during init
- sequence
- - Calloc the info structures even on failed hfa reset to prevent later possible
- dereference
- - Load all hfa devices based on identification alone and defer init sequence
- till mining thread init sequence to allow all devices to be recognised rapidly
- but each device initialisation not delay others
- - Do not do thread shutdown unless thread init succeeded
- - Remove unnecessary check for thread_prepare function
- - Recognise variations on BXF based on chip value returned in responses
- - Provide helper function for recallocing memory
- - syslog requires a facility
- Version 4.2.3 - 3rd April 2014
- - Decay the per device hashrates when only the watchdog is calling the hashmeter
- - Fix parsing of config files failing on custom parsing
- - Allow an arbitrary number of chips in the BXF driver, showing results from
- each chip in the API and identify the hexfury, naming it HXF
- - Disable toggling display by default and offer a --widescreen option to have
- all the information on an extra wide display.
- - Use OPT_WITH_CBARG for all custom parsing functions to allow their values to
- be written generically when writing the config file from the menu.
- - Provide a ccan variant OPT_WITH_CBARG that assigns the arguments passed as a
- string and then performs the callback function on the string.
- - Define strings to store special option parsing parameters leaving no
- OPT_WITH_ARG missing args
- - Correct the writing of special case options to the config file
- - Provide support for writing anu freq from menu write option
- - Update to diver-avalon2.c
- - Generalise a lot more of the command line options simplifying the write config
- function and making it write far more values unaided
- - Use the general opt_set_charp functions for setting api parameters
- - Json escape any strings written to the config file
- - Store standard charp options when writing config files
- - Add support for all the integer range options when writing the config file
- from the menu
- - Remove the --device and --remove-disabled options which don't work in a
- meaningful way any more
- - Make the bxf bits configurable on the command line
- - Provide a
- mining coinbsae
- - Compact gbt solo extra data and store the length, allowing it to be variable,
- leaving room for a signature
- - miner.php - Kano summary Pool Acc/Rej should be only work submitted
- - miner.php add best share and gen formatting for pool summary
- - miner.php - remove BGEN/GEN eval() errors from the web log
- - miner.php allow optional fields when gen is disabled
- - miner.php dont format missing gen fields
- - miner.php make Summary a custompage
- - miner.php allow uers and system lists of customsummarypages and add more
- examples
- - Fix getwork share submission
- - Cosmetic fix to udev rules
- - Put WU on the hashrate status to compact lines further
- - miner.php show api/rig errors at the top of a customsummarypage
- Version 4.2.2 - 29th March 2014
- - Minor correctness fix for unnecessary free
- - Clean up various curl build issues
- - allow url based config files
- - Frequency only needs 3 digits for cointerra statline
- - Use the serial number as unique_id for cta display
- - Make it possible to enable/disable the status window from switching via the
- display menu
- - We should not update the tv hashmeter time unless we're updating the hashrates
- - Add cointerra devices to udev rules.
- - Use hashfast unique id instead of number since the unique id is displayed
- - Remove displayed space
- - Left align the displayed unique id
- - Use the hashfast opname as its unique identifier
- - Display BF1 serial number as its unique identifier
- - Display a unique identifier instead of a number if the device has one
- - Use an alternating status display to return to a compact width of 80
- characters, allowing more information to be displayed.
- - No need for looking for khash hashrates in summary any more
- - Fix two potential minor mem leaks
- - Fix memory leaks in setup and generate work for gbt solo.
- - Fix off by one malloc size error
- - Fix memory leak in update_gbt_solo
- - Put sanity check on decay_time to prevent updates with no time
- - Add 3 rolling average hashrates to API output for summary and devs.
- - Use the extra status screen real estate better, displaying rolling 1/5/15min
- average hashrates as well.
- - Revamp the ageing crufty hashmeter code to have proper exponential decaying
- values and store rolling 1/5/15min hashrates.
- - Increment total_work under control lock.
- - Trivial variable reuse
- - Add support for other usb3 hubs on windows
- Version 4.2.1 - 24th March 2014
- - Fix various ava2 build issues generically
- - Minimise the amount of heap memory allocations/frees when submitting gbt
- shares.
- - Make varint in gbt submission a stack object.
- - Fix big endian problems with gbt submissions.
- - Fix 32bit overflow on relative diff shown.
- - ants1 - stop results read hard looping
- - ants1 - slow down mining if overheat occurs
- - miner.php allow gen before (bgen) and after (gen) grouping
- - Change default solo mining to failing when no btc address is specified.
- - Use upgrade cglock variants in get_gbt_curl
- - Provide a cg_uilock to unlock the intermediate variant of cglocks.
- - Use the one curl instance for all gbt solo operations, protecting its use with
- a bool set under gbt lock.
- - Only start block detection with gbt solo if setup succeeded
- - One less block detection message
- - Toss out the curl handle after each solo poll
- - Don't reuse any curl handles for solo mining and break out of the lp thread if
- the pool is removed.
- - Make sure to only start the lognpoll thread once on gbt solo.
- - Don't keep RPC connections open for solo mining since bitcoind doesn't like
- having many persistent connections.
- - GBT solo pools should be considered localgen pools.
- - miner.php - speed up formatting and allow calc on gen fields
- - Always show the address we're solo mining to to avoid confusion for when no
- address is set.
- Version 4.2.0 - 18th March 2014
- - Fix missing htobe16 on windows and meaningless >u32 string warning.
- - Software ntime roll for all hashfast devices.
- - Silence harmless warning.
- - Drop a failed restart icarus device to allow it to be rehotplugged if
- possible.
- - Work with more than one transaction.
- - Kill gbt solo pools that don't respond to the gbt request 5 times
- sequentially.
- - Fix ser_number for no remaining val byte.
- - Create a work item and stage it when updating the gbt solo template to allow
- new block detection and restart code to work.
- - Test block hash as well as block height when solo mining to ensure we haven't
- been mining on an orphan branch.
- - Fix transaction processing for gbt solo.
- - Encode height using integer varint format.
- - Make new block detection message not show in gbt solo from test_work_current
- - Add block detection via getblockcount polling in gbt solo and update gbt
- template every 60 seconds.
- - Iterate over transactions twice to malloc only once when copying all the
- transaction data.
- - Update solo coinbase regularly and submit as gbt work
- - Only show merkle hashes for solo mining in debug mode.
- - Set correct flag for solo work.
- - Generate gbt solo work emulating stratum work construction.
- - Set the diff as a double sdiff from gbt solo data.
- - Move swork.diff out of the stratum work section to be shared as sdiff.
- - Generate a header bin from gbt solo as per the cached stratum one.
- - Store strings similar to stratum's when decoding gbt solo
- - Avoid allocing and freeing stratum strings that should be fixed length.
- - Run parser through detect_stratum after stratum+tcp:// is force added
- - Remove unnecessary header length calculation for stratum header binary and
- only binary convert the correct length of the header.
- - Share more fields between stratum and gbt
- - Share coinbase_len variable b/w stratum and gbt and setup more gbt solo
- parameters.
- - Generate a valid coinbase and set nonce2offset for gbt solo
- - Move scriptsig header bin conversion to setup gbt solo
- - Create our own custom scriptsig base.
- - Add helper functions for creating script signature templates and beging
- building template.
- - Do gbt solo decoding under gbt lock.
- - Add more gbt variable decoding from gbt solo information.
- - Store all the transaction data in binary form when using GBT
- - When setting up solo mining, check validity of bitcoin address against
- bitcoind
- - Make pooled GBT mining use merkle bin optimisations slated for solo mining.
- - Abstract out the merkle bin calculation for gbt solo
- - Implement efficient merkle tree base from solo GBT information.
- - miner.php custom formatting and row counter '#'
- - Drillbit: Fix for underestimating hash rate from Bitfury devices
- - Send per-core hashrates at regular ~5min intervals back to cta devices.
- - Calculate the cta per core hashrate at 5 minute intervals.
- - Check the bits of the correct core in cta bit count.
- - Display the bit count along with the bitmap for each cta core in the API stats
- output.
- - Store and display the per core hashrate on cta relative to each work restart.
- - Decrease the time we wait for unsetting a core on the cta bitmap to correspond
- with the lower max diff of 32.
- - Set max diff on cointerra devices to 32 which is still only 11 shares per
- second but allows for earlier confirmation of per core hashrates.
- - Keep track of when the last restart and work updates were triggered and
- provide helper functions for knowing the time since then.
- - hashfast make api stats field names unique
- - Fix gcc longjmp warning in api.c
- - Add a per-core hashrate to the cta API stats.
- - miner.php support edevs and estats
- - API - put edevstatus where it was supposed to be
- - Icarus - allow timing mode to work with ANU and not slow it down
- - drillbit - remove warnings
- - drillbit - minor code tidy up
- - Drillbit: Change language around 'void' to warning about limiter disabled
- - Drillbit: Fix accidental over-counting of HW errors
- - Drillbit:
- - Drillbit: Output warning if board reports void warranty
- - Drillbit: Add Avalon & drillbit-autotune notes to ASIC-README
- - Drillbit: Limit work sent out to 8 units in a single pass, was DoSing a full
- double scroll
- - Drillbit: Move drillbit_empty_buffer calls to only when errors occur, were
- limiting performance on Windows
- - Fix Windows bug with libusb_reset_device returning SUCCESS for disconnected
- device
- - Drillbit: Fix some warnings
- - Drillbit: Add
- speed
- - Drillbit: Fix typo in previous commit
- - Drillbit: Remove default config in cgminer, rely on defaults in firmware
- - Drillbit: Combine split USB transfer for sending new work, reduce overhead
- - Drillbit: Add support for protocol V4, with device-agnostic board
- configuration data
- - Drillbit driver: Add support for Avalon-based Drillbit miners
- - API - add edevs and estats - to only show enabled devices
- - Check device data exists on a hfa instance before trying to reinit it.
- - Print off what quadrant regulator failed if known in hfa driver.
- - Reset all the stats on autovoltage complete in cta driver.
- - Use correct diff instead of diffbits in cta driver.
- - Whitelist all firmwares <= 0.5 on hfa for software rolling of ntime.
- - Avoid a memory leak by reusing the ntime field when rolling stratum work.
- - Clear the pipe bitmap on cta only when no share has occurred for 2 hours
- instead of 1.
- - Cta share_hashes should be added, and we can base it on device wdiff instead
- of pool work difficulty for more accurate hashrates.
- - Since the device runtime is now reset, the Raw hashrate entry in the cta API
- output is no longer meaningful.
- - Look for autovoltage returning to zero on cta driver and reset stats at that
- point since the hashrate is unreliable till then.
- - ants1 - cgminerise applog calls
- - Default to stratum+tcp:// on any urls that don't have a prefix instead of
- http.
- - Trivial cta style changes.
- - ants1 - fix/enable temperature checking and remove unneeded temp_old
- - ants1 - move local cgpu variables to info structure
- - ants1 use a klist to store work and copied work
- - Simplify dramatically the cross-process cgminer locking through use of flock
- instead of sysv semaphores.
- Version 4.1.0 - 8th March 2014
- - Correct fix for dev start time being adjusted for stat zeroing.
- - Make per device stats work for average after a stat zeroing.
- - Add an hfa-options command line that allows the clockspeed to be chosen per
- device by name comma separated, with a function that can be expanded with more
- options in the future.
- - Off by one drv_rolllimit check against jobs
- - Free the work that may be lost, leaking memory, in a failed hfa_send_frame
- - Roll the ntime for work within the hfa driver for firmware we know doesn't do
- it internally as an optimisation.
- - Export the roll_work function to be usable by driver code and make it
- compatible with rolling stratum work.
- - Make opt_queue be respected as a maximum value for staged items.
- - Disable mistakenly enabled lock tracking.
- - api version update for HEX32
- - api.c - HEX32 type needs quotes
- - Disable the MAX_CLOCK_DIFF check for newer hashfast firmwares since it's not
- required.
- - Store the hardware and firmware revision in the info struct for easy use in
- the hfa driver.
- - Only decrease the hfa clock rate if the device has been running for less than
- an hour before dying.
- - Change lack of op name response message in hfa driver
- - Check for lost devices at every write/read in hfa_detect_common
- - Make bxm bits configurable.
- - Move avalon2 options to ~alphabetic position in help.
- - Do a shutdown routine on bxm close.
- - Provide support for 2 chips in libbitfury sendhashdata and enable the 2nd chip
- on BXM devices.
- - Remove unnecessary opayload and newbuf members of bitfury info struct.
- - Add an spi add fasync command.
- - Cope with older hfa firmware not even responding to op_name.
- - Forcibly kill everything silently with an exit code of 1 should we fail to
- cleanly shut down and use a completion timeout for the __kill_work in
- app_restart.
- - Make __kill_work itself also be a completion timeout.
- - Generalise more of libbitfury for more reuse in both nf1 and bxm drivers.
- - Remove redundant init components of bxm driver.
- - Set default osc6 bits on bxm to 50
- - Enable the transaction translator emulator for bxm devices and use a dummy spi
- tx the size of a normal payload.
- - Store usb11 and tt flags as booleans in cgusbdev allowing them to be
- discretely enabled as well as detected by the device data.
- - Add bxm scan function and check spi txrx returns only as much as sent.
- - Add init sequence to bxm detect one.
- - Add a bxm specific txrx function for spi transfers.
- - Add bxm close to bitfury shutdown switch.
- - Add reset/purge/cshigh/low sequence to bxm init
- - Add bitmode init to bxm open sequence.
- - Add initial bxm opening sequence for detect one.
- - Add identifiers for bxm bitfury devices.
- - Clean up parse_method
- - More gracefully break out of parse_notify on a corrupted hex string error,
- checking the return value of all hex2bin conversions and being consistent with
- using stack memory. Fix an unlocking error in cases of failure.
- - AntS1 - add detection information to usbutils
- - Enable Bitmain Ant S1 code and make it conform to cgminer requirements
- - Make the cointerra displayed hashrate based on valid share generation.
- - Convert and update values shown in the cointerra api output.
- - Export the api_add_int16 function.
- - Use a custom mystrstr function in cointerra driver.
- - Add api_add_int16 to API functions.
- - Add support for Bitmain Multi Chain and Single Chain and optimize the
- efficiency
- - Add support for bitmain devices
- - Perfect function of BitMain Multi Chain
- - Add support for Bitmain Multi Chain and Single Chain and optimize the
- efficiency
- - Add support for bitmain devices
- Version 4.0.1 - 28th February 2014
- - Refresh the log window on pool failure message at startup.
- - Rework the pool fail to connect at startup to not get stuck indefinitely
- repeatedly probing pools with new threads and to exit immediately when any key
- is pressed.
- - Use an early_quit function for shutting down when we have not successfully
- initialised that does not try to clean up.
- - Add more information to a hfa bad sequence tail event.
- - Increase the work queue at the top end if we've hit the bottom as well.
- - Set the work generation thread high priority, not the miner threads.
- - Bringing each hfa device online takes a lot of work generation so only ever do
- one at a time.
- - Increase the opt_queue if we can hit the maximum amount asked for but are
- still bottoming out.
- - Keep the old hfa device data intact with a clean thread shutdown to allow it
- to be re-hotplugged with the old information.
- - Cope with the API calling hfa on partially initialised devices having no info.
- - Show only as many digits as are required to display the number of devices.
- - Cold plug only one hashfast device to get started, and then hotplug many to
- minimise startup delays and possible communication delays causing failed first
- starts.
- - Send a shutdown and do a usb_nodev if hfa_reset fails.
- - Null a device driver should thread prepare fail.
- - Add a function for making all driver functions noops.
- - Don't try to reinit a device that's disabled.
- - Disable a device that fails to prepare.
- - Check for lack of thread in watchdog thread for a failed startup.
- - Make all device_data dereferences in the hfa driver safe by not accessing it
- in statline before when it's non-existent.
- - Add an option to disable dynamic core shedding on hashfast devices.
- - Do not remove the info struct on a failure to hfa prepare.
- - Detect an hfa device purely on the basis of getting a valid header response to
- an OP_NAME query, leaving init to hfa_prepare which will allow multiple devices
- to start without holding each other up at startup.
- - Store the presence and validity of opname in the hfa info.
- - api - buffer size off by 1 for joined commands
- - minion - clean up statline
- - Only break out of usb_detect_one when a new device is found.
- - Use usb_detect_one in the hfa driver.
- - Provide a usb_detect_one wrapper which only plugs one device at a time,
- breaking out otherwise.
- - Issue a usb_nodev on a bad work sequence tail in hfa
- - Read in hfa stream until we get a HF_PREAMBLE
- - Add shed count to hfa API stats output.
- - Display the base clockrate for hfa devices with a different name to per die
- clockrates to be able to easily distinguish them.
- - Use op_name if possible first with hfa devices to detect old instances and be
- able to choose the starting clockspeed before sending an init sequence,
- reverting to setting op name and serial number as fallbacks.
- - Make hfa resets properly inherit across a shutdown.
- - Don't break out of hfa_old_device early if there's no serial number.
- - Fix harmless warning.
- - Allow the drop in MHz per hfa failure to be specified on the command line.
- - Icarus - ignore HW errors in hash rate ... and fix detection of them
- - Enable the hfa shed supported feature by default.
- - Add to udev rules hfa devices for firmware writing.
- - Remove ENV from hashfast udev rules.
- - Add a --hfa-name command that allows one to specify the unique opname for a
- hashfast device.
- - Ava2 decode the voltage, get the temp_max
- - Set the clock rate with a work restart instead of an init when changing to old
- clocks for hfa
- - Set opname on hfa devices without a serial number to a hex value based on time
- to not overflow the field.
- - Add op name to hfa API stats output if it exists.
- - Set the actual op_name in hfa devices if cgminer is choosing it itself due to
- it being invalid.
- - Re-init an hfa device to its old data before setting up info structures as
- their sizes may change.
- - Remove the usb device whenever we do a running shutdown on hfa and do a
- shutdown as the imitated reinit to allow it to hotplug again.
- - Reset opt hfa dfu boot after it's used.
- - Comment out windows only transfer on hfa startup.
- - Clean up structures unused in case of all failures in hfa detect common
- - Clear all structures should we fail to hfa reset on adjusting clock on a
- hotplug.
- - Set master and copy cgpu hash clock rate for hfa when dropping it on a
- restart.
- - Set the master hfa clock speed to lower when shutting down a copy.
- - Do a clear readbuf on any hfa reset in case the device has not yet cleanly
- shut down.
- - Increase hfa fanspeed slightly more when it's rising in the optimal range than
- falling.
- - Always decrease hfa clock speed on a running shutdown and don't try sending an
- init frame since it will be dropped regardless.
- - Match hfa devices to old ones based on OP_NAME values before serial numbers if
- possible.
- - Read off the OP_NAME if it exists and is supported on hfa devices, setting it
- to the device serial number or a timestamp if it is invalid.
- - Updated hf protocol
- - Check for an amount along with no error in hfa clear readbuf
- - Hfa clear readbuf can return a nonsense amount when there's a return error so
- ignore the amount.
- - Running resets always cause a shutdown on hfa meaning the device will
- disappear with modern firmware so always kill off the threads to allow
- re-hotplugging.
- - Reset the hfa hash clock rate to the old one if we find an old instance, only
- setting the device id in hfa_prepare
- - Keep the device_id on the original zombie thread for HFA in case of further
- resets.
- - Break out of hfa inherit if there is no device data.
- - Inherit the hfa zombie instance after the device id has been allocated.
- - The list_for_each_cgpu macro will dereference when there are no mining threads
- yet.
- - Make hfa hotplug inherit some parameters from a previous instance if the
- serial number exists and is matching, avoiding dropping the clock on all
- devices.
- - Per device last getwork won't work if the device stops asking for work.
- - Use the share_work_tdiff function in the driver watchdogs.
- - Provide a helper function for determining time between valid share and getwork
- per device.
- - Store last_getwork time on a per-device basis.
- - Limit the decrease of hfa clock rate on reset to the default clockrate.
- - Base the hfa failure time on the current expected hashrate instead of a static
- 15 seconds.
- - We shouldn't be trying to read from the hfa_send_shutdown function itself.
- - Reset the icarus failing flag only when a valid nonce is found.
- - Transferred value is corrupt on a NODEV error in usbutils.
- - Set each miner thread last valid work just before starting its hash loop in
- case there are delays at startup.
- - Only memcopy *transferred data in usbutils if we have received only success or
- a non-fatal error.
- - Increase to 25 nonce ranges on icarus fail detect.
- - Set icarus device fail time to be dependent on device speed to avoid falsely
- detecting failure on slower AMU devices.
- - Updated hf protocol header.
- - Updated BE hf protocol header.
- - Take into account shed cores on hfa devices when determining how many jobs to
- send.
- - Fix compilation error with two avalon types.
- - Fix missing A1 files from distribution.
- Version 4.0.0 - 21st February 2014
- - Check for error from setfloatval
- - Halfdelay cannot be larger than 255.
- - Allow any arbitrary frequency to be specified for ANU devices and try to find
- the nearest frequency when initialising it, reporting if the frequency is not
- exactly as requested.
- - Only show system libusb warning when appropriate during configure.
- - Merge branch 'avalon2' of https://github.com/xiangfu/cgminer into
- xiangfu-avalon2
- - Hfa cooling remains satisfactory down to a minimum fanspeed of 5%
- - Give a nodev error if we have already set nodev in hfa clear readbuf to avoid
- further usb comms attempts.
- - Fix missing include
- - Move bitmine options to alphabetic positioning.
- - bab - missed a few 'DEAD's in last commit
- - bab - use 'bad' instead of 'dead' as per the screen B:
- - bab - roll work if possible to reduce CPU
- - Update the per die hash clock data on a running reset on hfa devices.
- - Set the per die clock on hfa to the known starting base clock instead of our
- requested clock rate.
- - Hfa device failure can be detected within 15 seconds so we should try
- restarting it sooner to avoid tripping the device's own watchdog.
- - Check return result of hfa clear readbuf to minimise error messages on device
- failure.
- - Put MHz into cta statline description.
- - Send a work restart with every shutdown message to hfa devices to clear any
- work that might be stale on the next restart.
- - Store the hfa hash_clock rate and display it in the statline.
- - Store the maximum board temperature for hfa devices and take that into
- consideration when calculating the highest temperature as well as the dies.
- - A1: CoinCraft-Desk driver variant
- - Initial import of Bitmine.ch A1 SPI driver
- - klondike ensure stats type matches
- - avalon, bab, drillbit, klondike use more screen space rather than truncating
- info
- - Add hashfast fanspeed% to statline display.
- - Move driver statline padding to cgminer.c, expanding width of maximum
- displayable statistics and window width to add more info.
- - Prune old stratum shares that we've seen no response for over 2 minutes to
- avoid memory leaks for pools that don't respond about some shares.
- - Add warning if system libusb is being added.
- - Only run ./configure with autogen.sh if extra parameters are passed to it.
- - Updated cointerra features.
- - Add le16toh defines for platforms that may be missing it.
- - Remove modminer bitstreams from distribution and replace with a README saying
- what file needs to be added if modminer build is still desired.
- - Use the simplelog function from usb_list()
- - Add a simplelog function that does not log date and time.
- - Use a unique usb_list function displaying only pertinent information when
- listing usb devices from the menu.
- - Abstract out the _in_use function to take different linked lists.
- - Break out of linked list loop in remove_in_use in case we've gone over the
- whole list.
- - Check for hfa invalid hash clockrate after other error messages.
- - Detect non-responsive icarus devices and attempt a usb reset before killing
- them after 2 minutes of no hashes.
- - Detect non-responsive bitfury devices and try a usb reset on them before
- killing their instances off after 2 minutes of no activity.
- - Allow hotplug interval to be changed from the USB menu.
- - Prevent recursive loop in __is_in_use linked list walking.
- - Add the ability to whitelist previously blacklisted usb devices from the menu.
- - Use a bool in struct cgpu to know when a usb device has been blacklisted,
- avoiding blacklisting it more than once.
- - bab - ensure disabled chips are counted in the screen dead chip counter
- - bab - only disable the chip once ...
- - bab - short work list skip disabled chips
- - api.c avoid incorrect gcc warning
- - cgminer -h crash fix
- - Add blacklisting as an option to the USB menu.
- - Add a mechanism to blacklist a usb device from its cgpu.
- - Add an option to the USB menu to list all known devices.
- - Add an option to send a USB reset via the USB menu.
- - Add a usb_reset by cgpu function to usbutils.
- - Add warning for attempting to unplug a usb device that is already removed.
- - Add USB Unplug option to USB management device management menu.
- - Add enable and disable USB device functions to the menu.
- - Add a [U]SB menu item, initially with just statistics per device, adding
- device number to the device status window display.
- - Reuse the cgpu temp entry for avalon and bitfury devices, changing avalon to a
- damped value.
- - Store the cointerra maximum temperature in the cgpu struct as an exponentially
- changing value based on the maximum temperature.
- - Reuse the cgpu->temp entry for max temperature in hfa driver.
- - bab - disable chips that return only bad results
- - Add driver for cointerra devices.
- - Add Avalon2 (2U size machine) support
- - miner.php - define a default rigport (that can be changed) and don't require a
- port number in the rigs array
- - miner.php allow links for rig buttons in tables and allow using the 4th IP
- octet if no rig name - default disabled for both
- - format fix and bad variable usage fix for
- - Allow running cgminer in benchmark mode with a work file
- - ANU frequency is in MHz, not hex.
- - Remove bitfury devices from the usb list on shutdown in case they have stopped
- responding but have not had a fatal usb error.
- Version 3.12.3 - 8th February 2014
- - Put the hashfast temperature into the cgpu structure so that it shows up in
- the devs API call.
- - We shouldn't block on no work situations directly from the getwork scheduler
- itself.
- - Revert "Make the pthread cond wait in the getwork scheduler a timed wait in
- case we miss a wakeup."
- Version 3.12.2 - 8th February 2014
- - Adjust antminer U1 timing according to command line frequency set, fixing the
- need for icarus timing on the command line.
- - Read pipe errors that don't clear are worth attempting to reset the usb.
- - Revert "Do away with usb resets entirely since we retry on both pipe and io
- errors now and they're of dubious value."
- - Make the pthread cond wait in the getwork scheduler a timed wait in case we
- miss a wakeup.
- Version 3.12.1 - 7th February 2014
- - Document new features for antminer U1 and hfa devices.
- - Add support for ANU overclocking.
- - Increase hfa fanspeed by more if we're rising in temp above the target than if
- the temp is staying the same.
- - Add debug output when get_work() is blocked for an extended period and add
- grace time to the device's last valid work to prevent false positives for device
- failure.
- - Issue a shutdown prior to a reset command for hfa devices and lock access to
- reads awaiting the response if the device is already running.
- - Do not register as successful a hfa init sequence that reports the clockrate
- as zero.
- - Show device info in noffset nonce share above target message.
- - Widen lines in top menu to fit extra large share values.
- - Only show one decimal place if pool diff is not an integer.
- - Show serial number as a hex value in hfa verbose startup.
- - Slowly remove work even if it's not being used to keep the getwork counter
- incrementing even if work is not used and as a test that pools are still
- working.
- - Increase the maximum diff between hfa dies to 100Mhz.
- - Show which hfa die is bringing down all the others when decreasing all the
- clock speeds.
- - Increase the decrease when temp has increased more and we want to decrease it
- on hfa.
- - Give device info with share above target message.
- - Allow throttling of hfa dies more frequently and increasing of speeds less
- frequently.
- - Wait after sending a hfa shutdown to allow the device to properly shut down
- before possibly sending it more commands.
- - Minimise the die clock differences in hfa to no more than 50Mhz.
- - Check for when errno is set on windows as well as the windows variant for
- errors.
- - Revert "Update to libusb-1.0.18"
- - Disable fan/die clock control in hfa if the firmware does not support it, with
- notification.
- - Add ability to enter ANU frequency as a multiple of 25 from 150-500.
- - Decrease hfa clock by 10 if a reset is attempted due to the device remaining
- idle.
- - ifdef out icarus options unused without icarus built in.
- - Reorder command line options alphabetically.
- - Add no matching work to hfa API output.
- - Change various logging message levels in the hfa driver.
- - Only adjust clocks if there is no restart in hfa to avoid 2 restarts back to
- back.
- - Ensure we iterate over all dies adjusting temperate for hfa by starting
- iterating after the last die modified.
- - Clamp initial hfa fanspeed to min/max if passed as parameters.
- - Allow hfa fanspeed to be set via command line.
- - Further relax the target temperatures on hfa driver, targetting 88 degrees.
- - Try one more time to get the hfa header on init since it can take 2 seconds
- for all 3 boards on a sierra.
- - Update authors for removal of gpu/scrypt.
- - Wait for 5 temperature updates in hfa before adjusting fanspeed.
- - Have some leeway before starting to throttle hfa dies.
- - Use increments of 10 when increasing hfa clock since it may not have 5 MHz
- granularity internally.
- - Only perform a hfa fan speed update if we have new temps to work with.
- - Correctly measure the hfa max temp and smooth out the changes in its value.
- - Choose better defaults for min/max/default fan settings for hfa driver.
- - bab - reduce def speed, fix speed staying in ranges and report bank/chips in
- ioctl() errors
- - bab - add info about number of boards/chips to each Dead Chain
- - These may not be longs (eg: OSX)... fo a safe cast to ensure.
- - bab - add dead boards and dead chains to stats
- - Add fanspeed to hfa api output and set initial fanspeed to 10%
- - Add hfa fanspeed control to try and maintain a target temperature.
- - API-README correct new text format documentation
- - API allow multiple commands/replies in one request
- - Add op commands necessary to control hfa fanspeeds.
- - Add OP_FAN to hf protocol header.
- - Always show the stratum share lag time in debug mode.
- - Add stratum share response lag time to verbose output if it's greater than 1
- second.
- - Add stratum share submission lag time to verbose information if it's over 1
- second.
- - Check for more interrupted conditions in util.c and handle them gracefully.
- - Send a ping to hfa devices if nothing is sent for over 5 seconds.
- - Add OP_PING to hfa commands
- - Display the hfa serial number as a hexadecimal value.
- - Add the ability to display a hexadecimal 32 bit unsigned integer to the API.
- - Limit all hfa restarts for temperature control to no closer than 15 seconds
- apart.
- - Allow the hfa temp target to be disabled by setting it to zero.
- - Handle interruptions to various select calls in util.c
- - Add sanity check for silly overflows in hfa die temperature readings.
- - Add per-die throttling control for hfa driver based on each die's temperature,
- issuing a suitable reset to maintain the temperature below a configurable target
- temperature.
- - Update hf protocol
- - Do not memcpy in usbutils unless data was transferred.
- - Send a full allotment of jobs to the hfa device after a restart instead of
- reading the status.
- - Export the flush_queue function for use by drivers.
- - Remove wrong goto
- - Remove the unqueued work reference when we discard work from get queued as
- well.
- - Wake the global work scheduler when we remove a work item from the unqueued
- work pointer.
- - Discard work that is stale in the get_queued() function, returning NULL
- instead.
- - Add a call to a driver specific zero stats function when zero stats is called
- to allow each driver to reset its own stats as well if desired.
- Version 3.12.0 - 29th January 2014
- - Add support for AntminerU1 devices with the icarus driver.
- - Add antminer U1 to comment in udev rules.
- - Do away with usb resets entirely since we retry on both pipe and io errors now
- and they're of dubious value.
- - Retry on usb IO errors instead of faking success.
- - Check that we've cleared the pipe error after a clear request, not the err
- value which is unchanged.
- - Update to libusb-1.0.18
- - Change hfa overheat limit to 90 degrees.
- - Relax timeout in hf get header to 500ms to match the usb timeout.
- - Minion - check/clear interrupts for all chips
- - Set info work to null after it is freed in nf1 after a restart to prevent
- double free later.
- - The second_run bool in libbitfury should be per device. Microoptimise its and
- job_switched usage, removing the unused results array for NF1 devices.
- - Fix displayed diff when solo mining at >2^32 diff.
- - bab - stop stale work accumulating
- - bab - set the default SPI speed back to 96000
- Version 3.11.0 - 25th January 2014
- - Add hashfast documentation to ASIC README
- - Support the variable HFA naming throughout the driver notices.
- - Set the global hfa hash clock rate to equal the lowest if we are lowering it
- for a device reset since it may be re-hotplugged after failing reset.
- - Decrease the hfa clock rate if it is overclocked and we have had to try
- resetting it.
- - Put a sanity check on the measured temperature in the hfa driver for obviously
- wrong values.
- - Avoid calling applog from within hfa statline before to avoid a deadlock.
- - Add throttling control to hfa driver, configurable at command line, nominally
- set to 85 degrees.
- - Reset hfa device if no valid hashes are seen for 1 minute from the last work.
- - Store when the last getwork was retrieved and display it in the API summary.
- - bab - also report dead chip count screen
- - Count share based hashes in the hfa driver with the device diff to get more
- frequent updates.
- - Only count 2/3 of the accumulated hashes on each pass through the hfa scan
- work loop to smooth out displayed hashrate.
- - bab add total history HW% to API stats
- - Test valid nonces in the hashfast driver allowing us to check against the
- target when trying to submit them.
- - No point casting a double to a uint64
- - Convert the hfa hashmeter to one based on successful share return and display
- the raw and calculated hash totals in the API.
- - bab - remove libbitfury dependency since it requires USB
- - Add description to hfa hash clock command.
- - Add hfa board temperatures to API output.
- - Wait for up to 0.5 seconds in the hashfast scanwork loop if no jobs are
- required.
- - Label HFA devices as B or S when their configuration matches babyjet or
- sierra.
- - Fix libbitfury being compiled in always by mistake.
- - bab - spelling
- - Add bab-options
- - bab - tune the chip speed based on error rates
- - bab record/report spie and miso errors
- - Win32 falsely comes up as big endian pulling in the wrong hf protocol header.
- - Remove unused components in hashfast driver.
- - Check in all usb communication places for hashfast driver that the device
- still exists.
- - Do not send a usb reset on a usb read pipe error.
- - Don't replace usb pipe errors with the pipe reset return code.
- - Updated hf protocol header.
- - The search for extra nonce is not worth performing in the hashfast driver.
- - Add core address to hfa parse nonce debugging.
- - Retry sending a frame once if it has failed in hfa_send_frame
- - Add extra hfa usb init errors.
- - Quiet now unused variable warning in hfa detect.
- - Remove unused variable.
- - Add board temperature to hfa debug
- - Make submit_tested_work return a bool about whether it meets the work target
- or not.
- - Provide a helper function for determining dev runtime and use it in the
- hashmeters used.
- - Look for hfa usb init header for 2 seconds, then resend the init twice more
- before failing.
- - Really only set up the hfa crc table once.
- - Generically increase the queue if we are mining on a pool without local work
- generation each time we run out of work.
- - Change new block detection message since longpoll is rarely relevant today.
- - Change the default clockspeed bits on nanofury devices to 50 and add a command
- line option to allow it to be changed.
- - Use unused line at the top of the log window which often gets stuck
- unchanging.
- - Clear pool work on a stratum reconnect message.
- - bab record/report spie and miso errors
- - bab - cleanup old work for dead chips also
- - bab add avg fail tests to API stats
- - bab report bank/board/chip for dead and v.slow chips
- - bab process all nonce replies per chip together
- - bab reduce work delays
- - bab record the number of E0s discarded
- - bab - modified result parsing
- - bab restore removed unused flag
- - configure - correct minion name
- - bab only scan valid nonce offsets
- - bab record continuous (and max) bad nonces
- - bab display Banks/Boards/Chips in the device window
- - Modify thread naming to make them easier to identify
- - bab reduce the work send delay
- - bab remove results polling
- - bab report SPI wait in seconds
- - bab report missing chips at start and API
- - bab ensure there's enough space for the nonce reply
- - bab correct stats 'Send Max'
- - bab allow long enough wait on ioctl() per board
- - bab more I/O stats
- - api.c 2014
- - api allow any size stats data
- - bab add processed links which excludes expired links skipped
- - bab report chips per bank, hw% and ghs per chip
- - bab lock access to new_nonces to ensure correct reporting
- - bab report V2 banks/boards during initialisation
- - bab expire chip work
- - bab use only k_lists and make work handling more refined
- - klist - allow adding to tail
- - bab remove old unused
- - bab correct for master git
- - correct klist reallocs
- - klist lists for bab
- - api.c correct DEVICECODE and ordering
- - Maxchips should be 384 (16 chips/board 24 boards/controller)
- - bab more detailed stats and delay less when waiting for a buffer
- - api add data type AVG float 3 decimal
- - bab - add V2 detect with bug fix in detect
- - api.c set the actual version number to 3.0
- - API V3.0 unlimited socket reply size
- - README update
- - Check for loss of device in usb read before any other code on the usbdev
- - Change stratum strings under stratum_lock in reconnect and free old strings.
- - Add mcp2210 compilation to want_libbitfury configs.
- - Fix HF driver typo.
- Version 3.10.0 - 9th January 2014
- - Set the mcp2210 transfer setting only when it changes.
- - Buffer sizes in nanofury device data are unnecessarily large.
- - Only perform spi reset on init, not with each transaction.
- - Remove spi_detect_bitfury at nanofury startup and fix incorrect refresh time.
- - Use a simple serialised work model for nanofury
- - Use bitfury_checkresults to avoid hashing results twice in nanofury.
- - Export bitfury_checkresults in libbitfury
- - Pass extra parameters for later use in libbitfury_sendHashData
- - Avoid double handling bswap of the nonce value in nanofury
- - Avoid unnecessary rehashing in nanofury nonce checking.
- - Remove the unused portions of atrvec in the nanofury driver
- - Age work in nf1_scan to avoid risk of losing a work item and leaking memory.
- - bitfury_work_to_payload is double handling the data unnecessarily
- - Default bitrate on nanofury should be 200kHz
- - localvec should be only 80 bytes not 80 words
- - Wrong init value for nanofury
- - Remove unused rehash values from nanofury driver.
- - Only update info work in nanofury driver when it's empty.
- - Fill the appropriate type of usb transfer when we know if it's an interrupt
- transfer instead of a bulk one.
- - Use the internal knowledge of the usb epinfo to determine whether we should be
- doing an interrupt instead of a bulk transfer, and do not send a ZLP if so, and
- limit read transfer to expected size automatically.
- - Avoid bin2hex memleak when we start getting nanofury nonces
- - Set atrvec only once and use a local array for each device's work.
- - Cancel any spi transfers on nf1 close
- - Add bitfury detection loop to nanofury startup
- - Move spi init code to libbitfury
- - Remove inappropriate extra config reg in nanofury setup.
- - Status 0x30 should never happen with spi transfers.
- - Fix spi transfer data size transmission mistakes.
- - Minor correctness change in spi_add_data
- - spi_txrx should always send and receive the same size message
- - Random libbitfury changes.
- - Set value of gpio pins to low on closing nanofury.
- - Fix more init sequence for nanofury.
- - Add basic initialisation for nf1 devices
- - Add basic nf1_scan function.
- - Basic import of libbitfury functions from nanofury branch
- - Import functions from nanofury fork for libbitfury
- - Meter out spi sends to only 2 bytes at a time, offsetting according to how
- much data returns.
- - Use the usb read limit function for mcp2210 reads.
- - Provide a way for usb reads to just read the size asked for with a limit bool.
- - Get pin value after an nf1 spi reset.
- - Make sure what we send in the buffer doesn't change during spi reset for
- nanofury
- - Remove all standalone gpio setting change functions in mcp2210 and just use
- the one global setting function.
- - Set gpio values in the one function with all values for nanofury.
- - Provide a helper function for setting all mcp2210 gpio settings.
- - Add a helper function for getting all mcp2210 gpio settings.
- - Set all pin designations and directions in one call for nanofury and don't
- bother storing their values in the info struct.
- - Provide helper functions for setting all pins and dirs on mcp2210
- - Set all nanofury pin designations in one call
- - Provide a helper function for setting all pin designations on mcp2210
- - Store the spi settings in a struct for nanofury devices.
- - Check the received status in mcp2210 spi transfers and repeat a zero byte send
- if it's in progress.
- - Set the bytes per spi transfer prior to each mcp2210 transfer.
- - Separate out the send and receive functions for mcp2210 and check response
- value in return.
- - Check that mcp2210 spi settings have taken and check the value of the pin
- during nanofury setup.
- - Don't set GPIO pin designations after initial setting in nanofury since the
- direction and values will be changed.
- - Provide an mcp 2210 set gpio input helper function that sets a pin to gpio and
- input.
- - Move the set gpio output function to a generic mcp2210 version from nanofury
- which also sets the pin to gpio.
- - Implement a nanofury txrx with a larger buffer and cycling over data too large
- to send.
- - Implement magic spi reset sequence for nanofury.
- - Add more spi magic to the nanofury init sequence.
- - Add lots of magic spi initialisation to nanofury.
- - Export reused components of bitfury management into a libbitfury and use for
- bab and bitfury drivers.
- - More init sequence for nanofury and implement a close function that sets all
- pins to input.
- - Reword offset header handling in hfa_get_header
- - Sanity check in hfa_get_header
- - Add more checks in hashfast driver for lost devices.
- - Change spimode and send more data in nanofury setup.
- - Add basic setup comms to nanofury.
- - Implement an mcp2210 spi transfer function.
- - Set the initial spi settings for nanofury driver.
- - Provide a helper function for gettings mcp2210 spi settings.
- - Implement an mcp2210 set spi transfer settings function.
- - Cancel any SPI transfers in progress in nanofury after initial setup.
- - Implement an mcp2210 spi cancel function.
- - Return only binary values for mcp2210 GPIO values.
- - Set GPIO LED and power to high in nanofury driver.
- - Implement initial part of nanofury init sequence for GPIO pin settings and add
- output debugging of set values.
- - Add helper functions for getting and setting mcp2210 gpio pin designations.
- - Don't return an error in usb read if we've managed to get the whole read
- length we've asked for.
- - Use correct endpoint order for nanofury devices and read with a short timeout
- on return loop from send_recv.
- - Add mcp2210 helper functions for getting and setting one GPIO pin val and
- direction.
- - Create a generic gpio pin struct and add helpers for mcp get pin val and dirs.
- - Check the receive msg of a send/receive cycle on mcp2210 matches the send
- message.
- - Add a set of usb commands to the usbutils defines for mcp2210 comms, and use
- the same command name for send and receive.
- - Create a generic mcp2210 send_rcv function.
- - Include mcp header for bitfury and fix extra params in macro.
- - Add basic SPI comms defines for mcp2210 and build rules for bitfury.
- - Minion set some core defaults similar to final requirements
- - minion compile warnings
- - move driver-minion.c to main directory
- - Minion with ioctl() stats, settings to attempt to emulate 21TH/s
- - minion driver with results interrupt working
- - tested working driver-minion.c without interrupts
- - Working driver-minion.c v0.1
- - driver-minion.c compilable untested
- - minion driver - incomplete
- - Add minion driver into cgminer
- - Add basic device detection and updated udev rules for nanofury devices.
- - Remove GPU from share logging example.
- - Don't keep resetting BXF clockspeed to default.
- - If no pools are active on startup wait 60s before trying to reconnect since we
- likely have the wrong credentials rather than all the pools being out.
- - Discard bad crc packets for hashfast driver instead of trying to process them.
- - Update documentation for modified avalon options syntax and document relevant
- 55nm details.
- - Modify the auto tuning sequence to work with the 50MHz changes required to
- work with 55nm Avalon.
- - 55nm avalon requires the delays between writes reinstated for stability.
- - Use an equation instead of a lookup table to set the frequency for 55nm avalon
- allowing arbitrary values to be used.
- - Make the result return rate low detection on avalon less trigger happy.
- - Always send the bxf device a clockspeed after parsing the temperature in case
- the device has changed the clockspeed itself without notification.
- - Fix BXF being inappropriately dependent on drillbit.
- Version 3.9.0 - 23rd December 2013
- - drillbit asic - enable in api.c
- - Fix trivial warnings in knc driver.
- - Reinstate work utility based hashmeter for knc.
- - drillbit format %z not valid on windows
- - drillbit more formatting changes
- - usbutils remove old code added back
- - Memset the spi tx buffer under lock in knc driver.
- - drillbit fix temp display to fit in standard space
- - Drillbit formatting
- - drillbit - use one drvlog and display dname before add_cgpu
- - Keep orginal naming for the bitfury driver
- - knc: Bugfix - good shares wrongly reported as HW errors. Root cause of the
- problem: several work items were assigned the same work_id in the active works
- queue of the knc driver. Thus when good nonce report arrived from the FPGA,
- wrong work item was picked up from the queue, and submit_nonce evaluated that
- as an error. Fix: Limit the work_id counter update rate. Update it only to the
- number of works actually consumed by the FPGA, not to the number of works
- send.
- - Store per-chip submit information for bxf device and show them in the API.
- - Check for removed bxf devices before trying to update work or send messages.
- - api.c no decref if not json
- - Minimise risk of nonce2 overflow with small nonce2 lengths by always encoding
- the work little endian, and increasing the maximum size of nonce2 to 8 bytes.
- - Change default hashfast timeout to 500ms.
- - Ensure we can look up the work item in the hashfast driver or print out an
- error if we don't.
- - Drillbit source formatting - reindent and retabify
- - Add ASIC count, temperature status to drillbit API output (closes
- - Many warning fixes
- - knc: Do not include variable "last minute" data into the "last hour" per-core
- stats
- - knc: Make per-core statistics available through API
- - Implement command line control of the bxf target temperature.
- - Add a simple PID-like controller to bi*fury devices to dynamically alter the
- clock setting to maintain a nominal target temperature set to 82 degrees.
- - Add data to BXF API output.
- - Add support for newer protocol bi*fury commands job, clock and hwerror,
- setting clock to default 54 value, turning parsing into a compact macro.
- - Look for the thermal overload flag in the gwq status message in the hashfast
- driver and send it a shutdown followed by an attempted reset.
- - Log message fixups
- - Fix for "Timing out unresponsive ASIC" for pools which send early reconnect
- requests, and then take a short time to send work (ie BTCGuild)
- - Shorten initial config line, win32/pdcurses doesn't like long lines during
- early logging
- - Pull back the very long timeouts set in fe478953cf50
- - Fix bug where work restart during results scan could lead to bad device state
- - Align device status lines same regardless of number of temp status or >10
- ASICs
- - Tag log lines from brand new devices as DRB-1 until they are initialised
- - Tag log lines as 'DRB0' rather than 'DRB 0', same as other places in cgminer
- - Print a summary of the device settings at level NOTICE during initialisation
- - Allow chosing device settings based on 'short' product names shown in status
- line
- - Allow per-device settings to use "DRBnn" as an identifier instead
- - Issue an ASIC restart during a work_restart, removes spurious timeout messages
- from ASICs and probably some rejected shares
- - Check all results against all work instead of just taking the first match
- (avoids some rejected submissions to the pool, ASIC can produce multiple
- candidate results.)
- - Fix memory leak caused by unnecesarily copied work
- - Fix bug with find_settings not returning default value
- - Set timeouts on write, set very long timeouts
- - Merge drillbit driver
- Version 3.8.5 - 10th December 2013
- - Increase the BFLSC overtemp to 75 for fanspeed to maximum.
- - Set bflsc cutoff temperature to 85 degrees and throttle 3 degrees below the
- cutoff temperature.
- - Only set LIBUSB_TRANSFER_ADD_ZERO_PACKET for libusb versions we know include
- support for.
- - Provide a helper function that can reset cgsems to zero.
- - Add to cgminer_CPPFLAGS instead of redefining them.
- - Attempt a libusb reset device on usb devices that have stopped responding.
- - Replace deprecated use of INCLUDES with _CPPFLAGS.
- - Remove more unused GPU code.
- - Attempt USB device resets on usb read/write errors that will normally cause
- the device to drop out.
- - Quieten down jansson component of build.
- - Cache the bool value for usb1.1 in _usb_write
- - Initialise usb locks within usbutils.c instead of exporting them.
- - Imitate a transaction translator for all usb1.1 device writes to compensate
- for variable quality hubs and operating system support.
- - Rationalise variables passed to usb_bulk_transfer.
- - Unlink files opened as semaphores on releasing them.
- - Remove user configuration flag from pll bypass enabling in hashfast driver.
- - Provide an hfa-dfu-boot option for resetting hashfast devices for
- reprogramming.
- - Fixed one byte stack overflow in mcast recvfrom.
- - Having changed C_MAX means we don't calloc enough for usb stats, off by one.
- - Don't free the info struct on hashfast shutdown since it's still accessed
- after a device is removed.
- Version 3.8.4 - 1st December 2013
- - Deprecate the usb usecps function and just split up transfers equal to the
- maxpacketsize on usb1.1 devices.
- - Retry sending after successfully clearing a pipe error.
- - Drop logging of timeout overrun message to verbose level.
- - Use a much longer callback timeout for USB writes on windows only as a last
- resort since cancellations work so poorly.
- - Use vcc2 in bflsc voltage displayed.
- - Increment per core errors on false nonces in bflsc and add per core statistics
- to api stats, removing debugging.
- - Store a per-core nonce and hw error count for bflsc.
- - Fix json parsing in api.c
- - Add debugging to hfa driver for how many jobs are being sent.
- - Shut down the hfa read thread if the device disappears.
- - Add debug output saying what frame command is being sent in hfa driver.
- - Revert "Disable USB stats which were not meant to be enabled by default and
- add extra memory for a memory error when stats are enabled."
- - Reset work restart flag in hfa driver since we may check for it again in
- restart_wait.
- - Add more op usb init errors for hfa driver.
- - Perform basic displaying of hfa notices received.
- - Add hfa op usb notice macros.
- - Update hf protocol header.
- - Use sync usb transfers in lowmem mode.
- - Go back to allowing timeout errors on USB writes to be passed back to the
- driver without removing the device in case the driver wishes to manage them.
- - Initialise more values for the hfa data structures.
- - A USB control error must be < 0
- - Simplify USB NODEV error checking to success only for writes and control
- transfers, and success and timeout for reads.
- - libusb error IO should be fatal as well if it gets through usb read and write.
- - Allow IO errors in usb reads/writes to be ignored up to retry max times.
- - Use correct padding for bxf temperature display.
- - Initialise devices before attempting to connect to pools to allow their thread
- prepare function to be called before having to connect to pools.
- - Add hidden hfa options to set hash clock, group ntime roll and pll bypass,
- fixing frame sent on reset to include extra data.
- - Relax the timeouts for the slower usb devices on linux.
- - Add big endian hf protocol header to Makefile
- - Check for correct big endian macro in hf_protocol
- - Use an absolute timeout in hfa_get_header to cope with buffered usb reads
- returning instantly confusing the 200ms counter.
- - Update hfa_detect_one to use the new detect function API.
- Version 3.8.3 - 23rd November 2013
- - Set the bitfury device start times from when we first get valid work.
- - Fix stack corruption of zeroing too much in bf1 driver.
- - Make usb_detect return the cgpu associated with it to check if it succeeds to
- decide on whether to increment the device count or not.
- - Set tv work start time for bxf driver.
- - Age the bxf work items over 90 seconds, not the bf1 work items.
- - Zero the read buffer in _usb_read to avoid stale data and only use stack
- memory instead of using the bulkbuf since it is only used in _usb_read.
- - Leave room for temperatures above 100 degrees and pad consistently for bxf
- statline.
- - Drop json stratum auth failed message log level to verbose.
- - Change the processed value not the bufsiz in response to an end of message
- marker.
- - Don't lose data beyond the end of message in a usb read.
- - Silence irrelevant warning.
- - Only check strlen on end if end exists.
- - Simplify the end of message detection in _usb_read and allow it to return
- without doing another read if the message is already in the buffer.
- - Increase work ageing time to 90 seconds for bxf driver to account for firmware
- changes.
- - Use the age_queued_work function in the bitfury driver.
- - Provide a function to discard queued work based on age.
- - The json_val in api.c is a borrowed reference, not a new one so don't decref
- it.
- - Decrement json references in api.c to not leak memory.
- - line 2913 added urlencode
- - With reliable writes to the avalon there is no need for the sleep delays
- between writes.
- - There is no need to limit usb write transfers to maxpacketsize and it's
- harmful for large transfers on slow devices such as wrt routers.
- - Disable USB stats which were not meant to be enabled by default and add extra
- memory for a memory error when stats are enabled.
- - Set limit and count to integers to not overflow during failed hotplug attempts
- and then not trying again.
- - Update api example compilation instructions.
- Version 3.8.2 - 16th November 2013
- - Add more verbose documentation to the readme files for windows users.
- - Add more information on libusb failure to init telling users to check README
- file.
- - Add information on unloading cdc drivers on osx to README
- - Prevent a deadlock with use of restart_threads by spawning a thread to send
- the driver flush work messages.
- - Set priority of various threads if possible.
- - Add bxf data to api output.
- - Do not hold the mining thread lock in restart_threads when calling the driver
- flush work commands.
- - Send extra work regularly to the bxf device and parse the needwork command by
- sending the amount of work it requests.
- - Allow messages to have arbitrary offsets in the bxf parser in case we have
- lingering buffered data.
- - Send the maxroll command to the bxf driver and store the value to see if we
- need to update it.
- - Add sending of flush command to bxf on flush_work
- - Add flush and version commands to bxf start up, flush buffer and try to parse
- version response string.
- - Abstract out bxf recv message.
- - Add extra bxf commands to usbutils
- - Abstract out bxf send message to allow us to easily add extra commands.
- - Don't run device restart code if the device is not enabled.
- - Expand size of bitfury statline
- - Various driver fixes for bitfury devices, including a flag from when first
- valid work appears.
- - Look up work results in bxf driver from correct variable.
- - Correct incorrect error code in bxf driver for usb writes and add debugging.
- - Add bxf details to usbutils.
- - Implement a statline showing temperature for bxf
- - Add api data for bxf device, sharing the hashrate function with bf1.
- - Count no matching work as a hw error on bxf
- - Add BXF to udev rules.
- - Work id should be hexadecimal in bxf messages.
- - Add unrecognised string debugging to bxf driver.
- - Implement the main scanloop for bxf, trying to prevent it from ntime rolling
- work if the work protocol does not allow it.
- - Parse bxf work submits fully, submitting the results.
- - Provide a function for setting the work ntime.
- - Implement a skeleton parse bxf submit function.
- - Use the bxf read thread to set the device target and send its first work item.
- - Implement a bxf send work function and set update and restart functions to
- sending new work since that's the equivalent for that device.
- - Add temperature parsing to bxf driver
- - Create and destroy a basic bxf read thread.
- - Remove the buffer from bitfury info since it is only used on one pass in the
- bf1 device.
- - Add a rudimentary bxf detect one function.
- - Rename all bf1 specific functions in the bitfury driver, using a switch to
- choose correct function.
- - Rename bitfury_getinfo to bf1_getinfo since it's unique to bf1 devices.
- - Separate out the bf1 reset from bitfury reset.
- - Store the bitfury identity in the info struct.
- - BaB - updated tested OS comment
- - Uniquely identify the BF1 and BXF bitfury devices.
- - Remove the default libusb WinUsb pipe policies that don't suit us.
- - Only set the winusb pipe policy if it doesn't match our requirements instead
- of every transfer.
- - klondike - dont try to flush if not initialised
- - api.c trylock() add missing locklock
- - Use our new zero length packet support directly in windows.
- - Enable support for zero length packet on windows and auto clear pipe stalls.
- - util.c: Decreasing reference count on allocated JSON obects to prevent memory
- leak
- - api.c: Release apisock on error in api()
- - api.c: Release io_data->ptr when releasing io_data in io_free()
- - We can't connect to a GBT pool at all with fix protocol enabled.
- - Initialise the stgd lock mutex earlier to prevent dereferences when pool
- testing occurs before it.
- - Klondike support I2C USB layout also - as KLI
- - Return error codes in avalon_read() if they're not timeouts.
- - Break out of the avalon idle loop if we get a send error.
- - Set avalon ftdi latency to just less than the time it would take to fill the
- ftdi buffer at 115200 baud
- - Update example.conf
- - Only limit packetsize on usb out writes.
- - We must chop up every 64 bytes returned on an ftdi chip, not just the first 2
- bytes so revert to parsing the data internally in the avalon instead of using
- usbutils' simple ftdi parser.
- - Only retry 3 times in hfa_reset.
- - Only add_cgpu in hashfast driver once we have a real driver set up.
- - Clean up properly if hfa_detect_common fails in the hashfast driver.
- - --shares should be scaled to diff1 not absolute number of shares
- Version 3.8.1 - 11th November 2013
- - Revert "Send a zero length packet at the end of every usb transfer on windows
- in case libusb internally has batched them into one maxpacket sized."
- Version 3.8.0 - 10th November 2013
- - api update version to 2.0 and remove GPU form API-README
- -Remove now unused scrypt files.
- - api.c remove all GPU/gpu references and correct code as required
- - Rudimentary removal of GPU OpenCL and Scrypt features from api.c
- - Reorder configure alphabetically for devices to compile and fail if no support
- is selected to be compiled in.
- - BaB update/format some comments
- - BlackArrowBitfury early GPIO V1 driver
- - Fine tune the reading of results in bitfury driver to not lose any across work
- restarts or corrupt due to store results not parsed during restart.
- - Send a zero length packet at the end of every usb transfer on windows in case
- libusb internally has batched them into one maxpacket sized.
- - Framework for ntime rolling, keep looking for OP_USB_INIT replies when other
- packets received
- - Configure source for a new BaB driver
- - sha2 allow external access to some macros and the K array
- - Fixed a math issue when reporting fan speed on the status line.
- - Use the main hashlist to store work done in the bitfury driver and remove work
- from the list by time, thereby fixing the duplicates at startup. Count hardware
- errors for when no match occurs.
- - Add a get and queue helper work function.
- - Remove GPU mining code.
- - Use libusb's own zero length packet support unless we have to emulate it on
- windows since only libusb knows for sure if it's needed.
- - Unlock the avalon qlock while sending tasks to not hold the lock for an
- extended period.
- - Sleep in avalon send task on return to the function to allow other code to
- work during the sleep period.
- - Send zero length packets when terminating a usb write aligned to
- maxpacketsize.
- - Do the driver flush in avalon code lockless since it can lead to deadlocks.
- - Reset the work_restart bool after the scanwork loop in case the driver flushes
- work synchronously.
- - Only check for the stratum clean message if we have had a valid message.
- - Get rid of the stage thread since all work can be asynchronously added now via
- hash_push anyway.
- - Remove the now incorrect faq entry regarding scrypt difficulty.
- - Check for fatal read errors and break out of the read loop in avalon.
- - Send errors are basically fatal in avalon driver so break out of the send
- tasks loop.
- - Make the avalon driver return -1 for hash count when usb fails, allowing the
- main loop code to send it the shutdown flag.
- - Break out of the hash work loops when a failure is detected instead of
- dropping into mt disable.
- - Use usbutils' own ftdi parser for avalon and the ftdir's own latency for
- managing timeouts since we can wait on reads with completely asynchronous
- reads+writes.
- - Use usbutils' own cps function for slowing rate of usb writes on avalon.
- - Fix build for no libcurl
- - Check length before submitting sync transfers
- Version 3.7.2 - 5th November 2013
- - Clean up completely on avalon shutdown.
- - Use cgsem timed waits in avalon driver to not miss any queued wake ups to
- account for async messages coming during a flush work.
- - Statline before is too long on icarus that doesn't have monitoring.
- - Different windows+usb combinations respond with varying levels of reliability
- wrt timeouts so use a nominal extra 40ms before cancelling transfers that fail
- to time out on their own.
- - Do all hotplug_process under the write mining_thr_lock
- - Fix for opt_worktime on big endian machines.
- - Correct set_blockdiff for big endian machines.
- - Make sure cgpu exists in the restart threads loop in cases of hotplug etc.
- - Treat usb write timeout errors as unrecoverable.
- - Transfer errors are filtered out in usbutils now so no need to look for them
- in NODEV checks.
- - Remove now unused entries from struct cg_usb_device
- - Do not double up with checking for end of timeout measurements in usb
- read/write.
- - Do get_work in fill_queue without holding other locks.
- - Initialise usb after all the locks and conditionals are initialised.
- - Use only a trylock in flush queue to prevent deadlocks.
- - Add a wr_trylock wrapper for pthread rw lock write trylock.
- - Scale diff for scrypt when testing for block solves.
- - Fix for non curses build.
- Version 3.7.0 - 4th November 2013
- - Use WRITEIOERR macro check for all usb writes.
- - Always use a usb read buffer instead of having to explicitly enable it.
- - Force unlocking of the console lock on restart to avoid corrupting the console
- state when we finally quit.
- - Never wait indefinitely for a pthread conditional in the hash_pop loop in case
- the work scheduler misses the last wakeup.
- - Make hash_pop signal the work scheduler each time it waits on the conditional
- that it should look for more work.
- - Discriminate between libusb transfer errors and regular libusb errors and make
- sure to capture them all.
- - Always read a full sized transfer for bulk reads.
- - Deprecate preferred packet size functions in usbutils since they're unhelpful.
- - Copy known transferred amount back to buffer for usb reads instead of
- requested length.
- - Treat timeout errors on usb writes as IO errors.
- - Ignore iManufacturer from bitfury devices to support bluefury as well as
- redfury.
- - Add more debugging info for when usb details don't match.
- - Look for timeout overruns in usb read/write.
- - Use an int for usb_read/write to identify overruns.
- - Use the callback timeout as a safety mechanism only on windows.
- - Instead of using complicated sleeps to emulate characters per second on usb
- writes, submit only as many characters as can be transferred per usb poll of
- 1ms, and use timeouts in bulk transfers, cancelling transfers only as a
- failsafe.
- - Remove discarded work from quota used.
- - Display works completed in summary and API data.
- - Store how many work items are worked on per pool.
- - Make each pool store its on reference for what the most current block is and
- fine tune management of block change in shared pool failover strategies using
- the information.
- - Rationalise use of current_hash to a single hex string the length of the
- previous block and display only the first non zero hex chars of the block in the
- status window.
- - Update uthash to latest.
- - show_hash doesn't know the size of the string so hard code the max size.
- - Remove as many initial zeroes as exist on share display, abstracting out a
- hash show function to use across different submission mechanisms.
- - Add missing endian swap functions for 64bits.
- - Sanity check for absurd target setting and divide by zero.
- - Abstract out conversion of a 256 bit endian number to a double, correcting
- errors and use it for determining any magnitude share diff.
- - Avoid the extra generation of a byte flipped hash2 in struct work and directly
- use the LE work hash.
- - Add a sanity check to avoid divide by zero crashes in set_target
- - Calculate diff from target accurately for all 256 bits.
- - Set a true 256bit binary target based on any diff value in set_target()
- - Provide a copy_work_noffset function for copying a work struct but changing
- its ntime.
- - Make calls to flush queue and flush work asynchronous wrt to the main work
- loops.
- - Share is also above target for submit noffset nonce.
- - Use round for displaying current pool diff.
- - Use round for stratum share diff display instead of floor.
- - Use round instead of floor for displayed pool difficulty.
- - Allow arbitrary diffs to be tested against nonces via a test_nonce_diff
- function.
- - Abstract out the rebuilding of hash2 in work.
- - Share is above, not below target, when it doesn't meet it.
- - Add the ability to add uint8 and uint16 entities to api data.
- - Use a non blocking connect with a 1 second select timeout when initiating
- stratum to allow us to iterate over all IPs returned by getaddrinfo in round
- robin DNS pools.
- - Minor style changes to output.
- - Revert two different hash_sequence(_head)'s to one variable, use
- HF_SEQUENCE_DISTANCE in both places
- - Remove duplicate HF_SEQUENCE_DISTANCE() macro, and duplicate hash_sequence
- from info structure
- - Change SEQUENCE_DISTANCE() macro to HF_SEQUENCE_DISTANCE()
- - Structure changes for OP_NONCE, add big endian header
- - klondike - initialise stat_lock
- - klondike - better to unlock locks than to lock them twice :)
- - Add copyright notice to knc driver.
- - Trivial style changes to knc driver.
- - Improve performance of work generation by optimizing hex2bin and bin2hex
- - klondike - change options to clock and temptarget only
- - klondike - fix another uninit dev warning
- - klondike - downgrade 'late update' but add an idle detect - and correct error
- levels
- - klondike - fix isc uninit warning
- - Use a mutex to protect data in the knc structure, to prevent loading more work
- during a flush, and unlock and return to main between calls to get_queued_work.
- - Use the existing device_data for knc state data.
- - Only count successful nonces as hashrate in the knc driver.
- - Fix trivial warnings in knc driver.
- - Add KNC to api
- - klondike - drop the device for hotplug if it's unresponsive
- - usbutils - usb_nodev() allow a driver to drop a device
- - klondike - single 'shutdown' and ensure it happens
- - klondike remove SCNu8 - unsupported on windows
- - Correctly calculate sleep_estimate in usbutils that may have been preventing
- usecps from working.
- - Use a sanity check on timeout on windows.
- - Better HW error count; disable permanently those cores which fail often
- - KnC driver: knc-spi-fpga ASIC driver
- - Fixup jansson & libusb include paths when using separate build directory
- - 'llround' is more suitable here than 'roundl'
- - Silence warning if MAX/MIN is already defined
- - Remove prebuild ccan/opt dependencies
- - Reinstate block solve testing.
- - Dramatically simplify the calculation of blockdiff.
- - Simplify the set_target function, allowing it to work properly for fractional
- diffs.
- - Merge hashfast driver
- - Merge KnC driver
- Version 3.6.6 - 26th October 2013
- - Remove inappropriate extra locking in _usb_transfer_read
- Version 3.6.5 - 26th October 2013
- - klondike - fix uninitialised dev bug
- - Adjust the binary ntime data in submit_noffset_nonce even when there is no hex
- ntime string for eg. gbt.
- - Put an entry into the work struct telling drivers how much they can roll the
- ntime themselves.
- - Only set libusb cancellable status if the transfer succeeds.
- - Remove the applog on miner threads dying to prevent deadlocks on exit.
- - Do one extra guaranteed libusb event handling before testing if there are any
- pending async usb transfers.
- - Use a linked list for all usb transfers instead of just cancellable ones.
- - Provide a mechanism for informing drivers of updated work templates for
- stratum and gbt mining.
- - Add cancellable transfers correctly to the ct_list
- - Check for presence of thr in icarus get nonce for startup nonce testing to
- work.
- - Use cancellable usb transfers in the icarus driver to avoid having to loop and
- poll when waiting for a response and to speed up work restart response time.
- - Add a usb_read_ii_timeout_cancellable wrapper
- - Add usb transfer cancellation on shutdown and documentation regarding where
- cancellable transfers are suitable.
- - Use cancellable transfers on bitfury device.
- - Cancel cancellable usb transfers on work restart messages.
- - Don't bother having a separate cancellable transfer struct for usb transfers,
- simply include the list in the usb_transfer struct.
- - Add wrappers for usb_read_cancellable and usb_read_timeout_cancellable
- - Specifically set the cancellable state for it to not be uninitialised in the
- usb transfer struct.
- - Alter the usb cancellable list only under cgusb_fd_lock write lock.
- - Pass the cancellable option to _usb_read options to decide on whether to add
- usb transfers to the list of cancellable transfers.
- - Create a linked list of potentially cancellable usb transfers.
- - Don't attempt to disable curses or print a summary during an app restart to
- prevent deadlocks.
- - Keep the libusb event handle polling thread active until there are no async
- usb transfers in progress.
- - Keep a global counter of how many async usb transfers are in place.
- - Perform libusb_submit_transfer under the write variant of cgusb_fd_lock
- - klondike - error condition handling
- - Avoid entering static libusb directory if --with-system-libusb is enabled.
- - Minor opencl build corrections.
- - Enable dynamic linking against system libusb --with-system-libusb
- - Modify Makefile to only include opencl related code when configured in.
- - Convert opencl to need to be explicitly enabled during build with
- --enable-opencl
- - Implement a cglock_destroy function.
- - Implement a rwlock_destroy function.
- - Implement a mutex_destroy function.
- - Add usb command name to critical libusb error reporting.
- - Use windows' own higher resolution time and handlers allowing us to have
- higher precision absolute timeouts.
- - Fix lldiv error in windows cgminer_t calculation.
- - miner.php correct sort gen field names largest to smallest
- - api ... the code related to device elapsed
- - api add device elapsed since hotplug devices Elapsed is less than cgminer
- Elapsed
- - Drop usb buffering message to debug logging level.
- - Do the ntime binary modification to the work struct when submitting an ntime
- offset nonce within submit_noffset_nonce
- - Code cleanup and improved documentation
- - Improvements to support for BitBurner boards
- - Convert libusb transfer errors to regular libusb error messages to allow for
- accurate message reporting.
- Version 3.6.4 - 18th October 2013
- - Fixing the memory leak for remaining semaphores means we can go back to using
- async transfers on other OSes with our own timeout management again.
- - Use the forcelog function on shutdown to cope with indeterminate console lock
- states due to killing of threads.
- - Add a forcelog variant of applog which invalidates any console lock to force
- output.
- - Send pthread_cancel to failed completion_timeout that has timed out.
- - Simplify queued hashtable by storing unqueued work separately in a single
- pointer.
- - bflsc use getinfo chip parallelization if it is present
- - bflsc - fix brackets so [Chips] isn't always null
- - Remove unused variables.
- - Use cgcompletion timeouts for the unreliable shutdown functions on kill_work.
- - Fix cgcompletion return code and free on successful completion.
- - Provide a cg_completion_timeout helper function for unreliable functions that
- takes arbitrary functions and parameters and reliably returns.
- - Perform sync transfers on shutdown to allow final transfers to complete.
- - Destroy cgsems used after transfers to not leave open files on osx.
- - klondike rewrite work control
- - allow __work_complete() access
- - miner.h allow devices to tv_stamp work
- Version 3.6.3 - 17th October 2013
- - API add 'MHS %ds' to 'summary'
- - Optional lock tracking and stats via the API
- - Speed up polling repeat again in usb poll thread and handle async after the
- message to disable polling is complete.
- - Revert to using timeouts on !linux since libusb leaks memory without them.
- - Revert to libusb instead of libusbx
- Version 3.6.2 - 17th October 2013
- - Remove unused components of jansson
- - Remove unused parts of libusb
- - Work around older libtoolize that fails without top ltmain.sh not being
- present during autogen
- - Fix open coded use of autoreconf in autogen
- - Update jansson to only build parts we require and suited to our build
- environment.
- - Initial import of jansson-2.5
- - Prevent further USB transfers from occurring once the shutdown signal has been
- sent to prevent transfers getting stuck and libusb failing to shut down.
- - Make the USB polling thread poll every second to potentially aid longer
- timeout transfers.
- - Set device_diff on work in get_work to not be missed with drivers that use
- get_work directly.
- - Convert icarus driver to hash_driver_work model.
- - bflsc - also allow ' 0' in DEVICES IN CHAIN
- - bflsc - allow a 0 in DEVICES IN CHAIN
- - Add needed EXTRA_DIST for libusbx.
- - Update libusbx configure.ac changes.
- - Revert libusb Makefile changes from going to libusbx.
- - Fix trivial libusbx warnings.
- - Convert libusb-1.0.16-rc10 to libusbx-1.0.17
- Version 3.6.1 - 14th October 2013
- - Emulate the libusb_control_transfer sync setup in our async variant.
- - usbutils - make all libusb_error_name messages the same
- Version 3.6.0 - 14th October 2013
- - increasing max miners for avalon driver
- - using separate identifier for bitburner fury boards
- - changes to bitburner driver for bitburner fury boards
- - hexstr is too small in test_work_current
- - Windows uses errno for WSAETIMEDOUT
- - Convert the usb callback function to using cgsem_t timed waits to avoid race
- conditions with conditionals/mutexes.
- - Give correct return code in cgsem_mswait
- - Check for correct timeout error in cgsem_mswait
- - Fix util.h exports for cgsem_mswait
- - Implement a generic cgsem_mswait similar to sem_timedwait
- - Use the one LIBUSB_ERROR_TIMEOUT for cancelled transactions since this error
- is explicitly tested for in various drivers.
- - Do not use locking on usb callback function pthread signalling to prevent
- deadlock with libusb's own event lock.
- - Use a write lock when performing any USB control transfers to prevent
- concurrent transfers.
- - Free a libusb transfer after we have finished using it to avoid a dereference
- in usb_control_transfer
- - Do not perform bfi int patching for opencl1.2 or later.
- - Although async transfers are meant to use heap memory, we never return before
- the transfer function has completed so stack memory will suffice for control
- transfers, fixing a memory leak in the process.
- - klondike - correct/reverse min/max stats
- - api incorrect message name
- - klondike - use a link list queue rather than a circular buffer - and add
- timing stats
- - Use a timeout with usb handle events set to a nominal 200ms and wait for the
- polling thread to shut down before deinitialising libusb.
- - Use stack memory for hex used in stratum share submissions.
- - Use stack memory in test_work_current, avoiding a malloc/free cycle each time.
- - Provide a lower level __bin2hex function that does not allocate memory itself.
- - Convert the bitfury driver to use the hash_driver_work version of hash_work.
- - Add a hash_driver_work function to allow for drivers that wish to do their own
- work queueing and management.
- - Convert all usb control transfers to asynchronous communication with our own
- timeout management as well.
- - Klondike - increase circular read buffer size
- - Klondike - extra zero value and range checking in temp conversion
- - klondike - display MHz also
- - Make pthread conditional timeouts handle all bulk usb transfer timeouts
- performing libusb_cancel_transfer, disabling timeouts within libusb itself.
- - Avoid calling get_statline_before on exit to avoid trying to use it on drivers
- in an indeterminate state.
- - Avoid calling get_statline on exit.
- - Add a small amount to the usb timeout before cancelling to allow for a regular
- usb polling interval to pass.
- - Do not attempt to clear a usb halt before sending the cancel message since all
- transfers should normally be cancelled before attempting to clear a halt
- condition, and only change the return message to a timeout if it's consistent
- with a cancellation.
- - Retry up to USB_RETRY_MAX times to clear a halt condition before failing.
- - Show the error number as well as the description in erroring bulk transfers.
- - Drop logging level for failed to connect to stratum to verbose mode only since
- we hit it regularly.
- - We are always dependent on libusb handling events so use the blocking
- libusb_handle_events in the polling thread and use a bool to know if we should
- continue polling.
- - Use fractional hashrate return values in bitfury_scanhash to minimise the
- number of times we return 0 based on hashrate so far to further damp out
- displayed hashrate.
- - Check for presence of driver name in DRIVER_COUNT_FOUND to prevent strcmp on a
- null pointer when a driver is not built in.
- - CMR allow sending flash and clock commands
- - Kill off threads that have failed using hash_sole_work instead of just
- disabling them.
- - Make the bf1 getinfo size a macro
- - Failing to add_cgpu in bitfury should be a terminal failure.
- - Check return values when attempting to open a BF1 device and set the msg size
- as a macro.
- - Display errors on failed usb read and write and consider sequential IO errors
- a permanent failure.
- - Use libusb's own error name function instead of hand coding the error names.
- - Limit ms_tdiff to 1 hour as a sanity check.
- - Enable the usb buffer in avalon driver.
- - Check for async transfer variants of error messages.
- - Remove unused variables.
- - Try switching pools if for some reason we end up with only idle pools and have
- ended up current_pool set to an idle one.
- - Check a pool is stable for >5 mins before switching back to it.
- - Minimise the time between dropping the read devlock and grabbing the write
- devlock to avoid tons of logging spam in the interim.
- - Check for libusb transfer stall error to be consistent with async IO errors
- returned for a halt condition.
- - Check for continuous IO errors on USB and consider the device inactive if more
- than retry max.
- - Make the devlock a cglock in usbutils and only grab the write lock for
- fundamental changes allowing us to send and receive transfers concurrently
- without lock contention.
- - Prevent overflows in us_tdiff and ms_tdiff.
- - Change second initialise message on bitfury verbose mode.
- - Submitting an ntime offset nonce needs to be done on a copy of the work
- instead of the original so abstract out shared components as much as possible,
- minimising strdups in copy_work and make submit_work_async work take copied
- work, cleaning up code in the process.
- - Provide a way for drivers to submit work that it has internally rolled the
- ntime value by returning the amount it has ntime rolled to be added.
- - Typo in configure.ac
- - Remove unmaintained broken ztex driver.
- - Icarus - use a data structure for I/O rather than magic numbers
- - delete old tracked ccan/opt
|