NEWS 338 KB

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