NEWS 335 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765
  1. BFGMiner Version 3.10.4 - June 30, 2014
  2. - openwrt: Disable libusb via --without-libusb
  3. - Bugfix: bifury: strtoll already implies native endian, no need to flip it
  4. again
  5. - Bugfix: Display proper statline R and HW error percents for values < 1
  6. - Bugfix: cpu: Fix scrypt CPU miner
  7. - Bugfix: scrypt: Fix scrypt hash postprocessing for big endian
  8. - Bugfix: scrypt: Correct endian handling in PBKDF2_SHA256_80_128
  9. - Bugfix: Copy ALL the data with swap32to<native>
  10. - Bugfix: Wake up wait_lpcurrent if its conditions for returning may have
  11. changed
  12. - Bugfix: Initialise struct pool in add_pool rather than halfway through startup
  13. - Bugfix: Parse userpass option with strchr rather than strtok to avoid
  14. usernameless passwords getting into the username field and being displayed
  15. - Bugfix: Free old coinbase script before setting a new one
  16. - configure: Succeed even if the libblkmaker submodule is missing (only
  17. --with-system-libblkmaker)
  18. - make-release: Do builds with the official source release, to test that it
  19. works
  20. - Bugfix: DevAPI: Make for_each_logical_proc work correctly
  21. BFGMiner Version 3.10.3 - June 11, 2014
  22. - Upgraded Windows libmicrohttpd from 0.9.35 to 0.9.38_pre33603
  23. - SGW: Workaround BE Cube bugs with new libmicrohttpd by forcing HTTP 1.0
  24. response
  25. - set_cloexec_socket: Explicitly cast SOCKET to HANDLE
  26. BFGMiner Version 3.10.2 - June 6, 2014
  27. - Update libblkmaker to 0.4.0
  28. - README.RPC: Document Coinbase-Sig in config reply
  29. - Bugfix: initiate_stratum: Ensure extranonce2 size is not negative (which could
  30. lead to exploits later as too little memory gets allocated)
  31. - Stratum: extract_sockaddr: Truncate overlong addresses rather than stack
  32. overflow
  33. - Bugfix: Avoid setting tv_idle before testing pool (it will be set if the test
  34. fails)
  35. - bfsb: Disable all banks before enabling the one we want, to avoid having two
  36. enabled at the same time (eg, when switching from bank 3 to bank 2)
  37. - Bugfix: Zero pool "Works"
  38. - Bugfix: Set any listening sockets to close-on-exec/non-inheritable to avoid
  39. issues rebinding them on restart
  40. - RPC: Explicitly shutdown communication on client sockets to avoid them being
  41. held open by forked processes
  42. - RPC: Clean up mcast socket with tidyup_socket
  43. - RPC: Move socket tidyup code to its own function
  44. - Bugfix: RPC: Use pthread_exit rather than returning from the RPC thread, to
  45. ensure tidyup gets called
  46. - Bugfix: bitforce: During initialisation, clear each XLink slave exactly once
  47. only
  48. BFGMiner Version 3.10.1 - May 26, 2014
  49. - Upgraded Windows libraries:
  50. - - libcurl from 7.34.0 to 7.37.0 (and SSL support enabled)
  51. - - libjansson from 2.4 to 2.6
  52. - - libmicrohttpd from 0.9.30 to 0.9.35 (now Win64 also)
  53. - - libusb from libusbx 1.0.17 to 1.0.18
  54. - DevAPI: for_each_{managed,logical}_proc helper macros
  55. - Update libblkmaker to 0.3.3
  56. - make-release: Copy submodules from local system
  57. - make-release: Automatically determine DLL dependencies to include
  58. - Bugfix: littlefury: Avoid memory leak for already-claimed devices
  59. - Bugfix: drillbit: Avoid 9-byte memory leak for already-claimed devices
  60. - Bugfix: lowl-ftdi: ft232r_close: Free device handle
  61. - Bugfix: bitfury: Avoid memory leaks when detect fails
  62. - Bugfix: klondike: Correct case of dname
  63. - Bugfix: hashfast: Set LIFE_INIT2 so a dead engine doesn't hold up the stats
  64. line
  65. - Bugfix: bitforce: Restore device name loading for FPGA Singles
  66. - Bugfix: Add config.h include to files missing it
  67. - Bugfix: swap32to?e: Ensure conditionals always have the same type
  68. - Bugfix: Protect prev_cancelstate variables under console lock
  69. - opencl: Silence warning about duplicate const qualifier
  70. - hashbuster: Avoid signed char problems in return status check
  71. - Bugfix: bfg_claim_any: Use a mutex to avoid races around device claims
  72. - SSM: Silence JSON parse error message for HTTP POST and TLS attempts
  73. - bifury: Defer precision loss until after checking osc6_bits value
  74. - opencl: bfg_clBuildProgram function to share common error handling (logging)
  75. code
  76. - opencl: Avoid printing empty build logs
  77. - Bugfix: opencl: Free allocated memory when done with it
  78. - Bugfix: Stratum: Use an error buffer on struct pool rather than the stack, so
  79. it remains valid for the lifetime of the connection
  80. - Bugfix: Reset tv_idle on pools after test failure
  81. - Bugfix: Ignore last work time if pool is known to be down
  82. - pick_unit: Avoid infinite loop when passed inf float
  83. - Bugfix: bitfury: Correct comment about how much of the nonce range chips
  84. process
  85. - Bugfix: Initialise getq (and stgd_lock) earlier so it is ready in case startup
  86. interactive pool-add tries to stage work
  87. - bitfury: Wait for two low frequency measurements before acting on a freq drop
  88. (in case of a single misread)
  89. - Bugfix: SSM: decref parsed JSON when done with it
  90. - knc: Replace numeric constants with KNC_CORES_PER_DIE, KNC_DIE_PER_CHIP, and
  91. KNC_CORES_PER_CHIP defines
  92. - Bugfix: knc: Actually skip over extra processors rather than infinite loop
  93. - Bugfix: Use rlim_t type for old_soft_limit so comparison with RLIM_INFINITY is
  94. correct on all platforms
  95. - Update alloca logic to work on more platforms
  96. - start-bfgminer.sh: Shell script to (re)start bfgminer in a background screen
  97. session
  98. - Bugfix: Handle disabled CPU support properly in various places
  99. - Bugfix: README.ASIC: KnCMiner: Use supported Angstrom feeds only
  100. - Bugfix: pool_active: Skip testing explicitly when we have a recent answer
  101. - RPC: Use struct timeval for mcast bind timer
  102. - Bugfix: Restore 2-minutes-past-last-work wait before terminating unused
  103. stratum connections
  104. - Partial: Bugfix: Turn spidevc into lowl-spi to fix building the knc driver
  105. without the bitfury driver
  106. - SSM: Silence JSON parse error message for HTTP attempts
  107. - Bugfix: Use UTF-8 for micro prefix internally (and in logging)
  108. - Consistently allocate space used for formatting numbers
  109. - util: utf8_len and utf8_strlen functions to quickly measure a character or
  110. string
  111. - Bugfix: README: Add missing driver build configuration options
  112. - Bugfix: renumber_cgpu: No need to copy dev_repr over itself (and trying to is
  113. undefined)
  114. - Move OpenCL kernel FAQ to README.GPU and clarify it a bit
  115. - Bugfix: Log work updates for all active pools in multipool mode
  116. - test_work_current: Cleanup
  117. - Bugfix: Differentiate pool_actively_desired from pool_actively_in_use for cnx_needed
  118. - Abstract pool_actively_in_use to handle multipool checking for multiple uses
  119. - Bugfix: antminer: Fix typo
  120. - Bugfix: renumber_cgpu: Rebuild repr strings to match new information
  121. - Bugfix: Skip final pool_active check in balancing modes (where pools switch
  122. around often)
  123. - Bugfix: Adjust quota GCD only after completely adding the pool, otherwise it
  124. will be ignored by the adjustment
  125. - Bugfix: opencl: Can only BFI_INT patch if using OpenCL binaries
  126. - SGW: Support for scrypt
  127. - README: Document VCOM low_latency flag and latency_timer sysfs attribute,
  128. which can help run more VCOM-based devices on low-end USB hosts
  129. - Add USB faqs.
  130. - Bugfix: Stratum: Wait a bit for a response before assuming the pool is hiding
  131. block contents
  132. - README: FAQ about Raspberry Pi issues
  133. - Check for when errno is set on windows as well as the windows variant for
  134. errors.
  135. - Partial: Handle interruptions to various select calls in util.c
  136. - Bugfix: configure: Only fail due to not having libusb, if the user really
  137. needs or wants libusb
  138. - Bugfix: Update help display to replace (U)tility with (I)ncome
  139. - Bugfix: Deduplicate % symbols in help display
  140. - Bugfix: Correct documentation for --shares option
  141. - cpu/scrypt: Fix last_nonce to be host endian also
  142. - Bugfix: cpu: Correct results found by scrypt algorithm
  143. - Bugfix: lowl-vcom: _get_osfhandle failure returns INVALID_HANDLE_VALUE, not
  144. NULL
  145. - Bugfix: lowl-vcom: Invalid fd checks should be for -1, not 0
  146. - Bugfix: SSM: Actually acquire and release extranonce1s
  147. - Bugfix: C reserves identifiers beginning with an underscore and uppercase
  148. letter or another underscore
  149. - Skip trying to submit shares in benchmark mode
  150. - Rework benchmark mode
  151. - Bugfix: configure: Only pull in lowl-usb for lowl-vcom if libusb is available
  152. - Bugfix: hashfast: Ensure size of hex data passed to applog is of type int
  153. - README.ASIC: Update "SGW" virtual device identifier to current "PXY"
  154. - Bugfix: klondike: Reenable hw error reporting on nonces found for unknown work
  155. - Bugfix: Expand deprecated work->subid field to int width, needed by klondike
  156. driver for tracking work
  157. - Bugfix: erupter: Sapphire detected as Emerald and Emerald not detected
  158. - configure: Remove duplicate sys/file.h check
  159. - Bugfix: httpsrv: Add missing includes for stdarg, stddef, stdio, and stdlib
  160. - hashbusterusb: Initialise send packets fully to avoid leaking uninitialised
  161. data to devices
  162. - Bugfix: Correct typo in --help ("AlgoritHms")
  163. - Bugfix: twinfury: Avoid crashing when next_work is not populated here
  164. - Bugfix: hashbusterusb: Close device after failures
  165. - Bugfix: hashbuster: Close device after failures
  166. - README: List --quota in options
  167. - README.ASIC: Update documentation for Avalon
  168. - Bugfix: Leave thr->*work alone when disabling non-minerloop_async devices
  169. - udev rules: Set flag so ModemManager ignores devices
  170. - bifury: Thermal overheat causes restart losing the clock, so resend it while
  171. temperature is over 80 C
  172. - bitforce: Explicitly assign indexes for bitforce_proto enum
  173. - Bugfix: RPC: MSG_PGASETOK does not have a string param
  174. - littlefury: Close device if there are any communication problems
  175. - littlefury: Abstract out littlefury_set_power
  176. - Bugfix: hashfast: Add missing serial_claim
  177. - Bugfix: drillbit: Add missing serial_claim
  178. - Bugfix: bifury: Add missing serial_claim
  179. - Bugfix: littlefury: Add missing serial_claim
  180. - Bugfix: Allocate all new devices completely, before trying to activate any
  181. (since the first processor may control the secondary ones)
  182. - Since scrypt miners tend to work at actual share difficulty, use that for
  183. diff1 counting
  184. - Bugfix: diff1 measurements should be increased by nonce difficulty, not share
  185. difficulty
  186. - drillbit: strtol into a long int so negative responses properly get an error
  187. - Rename *nonces variables to *_diff1 to reflect their nature better
  188. - Refactor diff1 records to properly weigh non-diff1 work
  189. - AUTHORS: Add Nico Oelgart
  190. - Fixed multiple XSS injection vectors
  191. - drillbit: Expand allowed external clock range to 0-65535
  192. BFGMiner Version 3.10.0 - January 15, 2014
  193. - Downgrade official Windows build compiler to GCC 4.7.3.
  194. - Bugfix: Stratum: Accept JSON Number type for port number
  195. - Bugfix: proxy: Set start timer when creating new virtual devices
  196. - antminer: Add support for the Identify function - flashes LED 10 times
  197. - drillbit: Expand allowed external clock range to 0-255
  198. - drillbit: Forbid setting external clock usage if not supported by device
  199. - Check for DBC_TEMP capability before trying to read temperature
  200. - Bugfix: drillbit: Reduce work message to correct size
  201. - README: Update documentation for new udev rules and "video" group
  202. - Bugfix: opencl/adl: Set iSpeedType for get-fanspeed requests, and ensure we
  203. don't change do something weird with the fan when initially setting user-defined
  204. speed flag.
  205. - Bugfix: drillbit: Initialise rv variable
  206. - Bugfix: Simplify adding "http://" prefix to avoid strncat overflow (length
  207. excludes null byte)
  208. - hashfast: Debuglog work flushing
  209. - hashfast: Implement OP_NONCE search flag
  210. - hashfast: Log seq numbers for nonces found
  211. - hashfast: Count hashes done by nonces found, rather than no-pending-work
  212. (which could be triggered by flushes)
  213. - hashfast: Just keep a queue of the 32 most recent work items per core
  214. - hashfast: Convert to minerloop_queue driver model
  215. - hashfast: Gracefully complain if we are given an unknown chip or core address
  216. - udev rule for hashfast devices
  217. - hashfast: New driver using UMS protocol
  218. - CRC-8-CCITT implementation
  219. - AUTHORS: Add Lingchao Xu and move nwoolls up to antminer driver (and mention
  220. TwinFury driver for Andreas)
  221. - knc: Workaround false compiler warning about "uninitialised" vars
  222. - Bugfix: drillbit: Access fd after potentially reopening
  223. - Remove Christmas colouring
  224. - drillbit: Add udev rule
  225. - drillbit: Correct configure logic to check for generic bitfury code (needed to
  226. decode nonces)
  227. - drillbit: Implement some basic problem recovery
  228. - drillbit: Support identify command
  229. - drillbit: Read/write access to clock and voltage configuration from RPC and
  230. ManageTUI
  231. - drillbit: Store board configuration
  232. - drillbit: Read temperature sensor
  233. - drillbit: Check nonces against prev work
  234. - drillbit: Implement mining
  235. - drillbit: Only detection code
  236. - antminer: Initial support for the Bitmain AntMiner U1 ASIC Includes support
  237. for identifying the U1 separately from Icarus and Block Erupter Also includes
  238. overclocking via --set-device antminer:clock=xHEX
  239. - Extend horizontal lines to full screen width
  240. - Log devid for USB string request failures
  241. - Bugfix: segmentation fault if the terminal window is too narrow for the Help
  242. and Quit items
  243. - Accept "address" spelled out in --coinbase-addr option
  244. - Bugfix: document the need to package zlib1.dll in the Windows build
  245. instructions
  246. - Bugfix: Stratum: Re-read pool sock var after suspend+restart
  247. - Silence false uninitialised var use warning and calculate dev_runtime only
  248. once
  249. - Bugfix: HID API not properly detected on Mac OS X
  250. - Adjust device list size as necessary when accessing options
  251. - Avoid erasing the screen when statusy is not changing
  252. - Abstract common set_statusy code out of change_logwinsize and check_winsizes
  253. - TUI: Support pgup/pgdown for scrolling device list by page
  254. - Bugfix: icarus: quirk_reopen is an int
  255. - Bugfix: Do not allocate spi_port on the Stack, even to initialize -
  256. EXC_BAD_ACCESS on OS X
  257. - get_statline3: Simplify statistics gathering
  258. - Bugfix: twinfury: Use serial number formatted over USB, so it works with
  259. --scan
  260. - twinfury: Only debuglog temperature debugging data when --device-protocol-dump
  261. is enabled
  262. - Bugfix: twinfury: Populate temperature info on both processors
  263. - Option --weighed-stats to display A and R values weighed by difficulty
  264. - README.GPU: Document always-disabled-by-default for OpenCL driver
  265. - AUTHORS: Add Nate Woolls
  266. - Extend menu to full width of window
  267. - Abstract out spaces-to-eol to bfg_wspctoeol function
  268. - Elaborate on spi_port+stack problem in comments
  269. - Bugfix: Do not allocate spi_port on the Stack - EXC_BAD_ACCESS on OS X
  270. - Bugfix: don't attempt to probe Bluetooth devices when scanning hardware
  271. - x6500: Allow overriding the maximum frequency used by the dynclock logic Can
  272. now use e.g. --set-device x6500:maxclock=210 Prevents spending time on
  273. frequencies that only produce HW errors
  274. - HACKING: Clearly document that dname must be lowercase and alphabetic
  275. - bifury: Tolerate corruption in submit message, remapping shares to the first
  276. processor if chip id is unrecognised
  277. - bifury: Tolerate corruption in hwerror message
  278. - bifury: Tolerate corruption in job message, and only count hashes done when
  279. completing a known job
  280. - Use a lowercase driver name to fix --scan pattern matching Otherwise the
  281. following doesn't work: -S noauto -S twinfury:auto
  282. BFGMiner Version 3.9.0 - December 25, 2013
  283. - Update official Win32 build compiler and library:
  284. - - Upgrade GCC from 4.8.1 to 4.8.2
  285. - - Upgrade libcurl from 7.28.1 to 7.34.0
  286. - Update official Win64 build compiler and library:
  287. - - Upgrade GCC from 4.7.3 to 4.8.2
  288. - - Upgrade mingw64-runtime from 2.0.8 to 3.0.0
  289. - Green-on-red title colours for Christmas release
  290. - write_config: Include http-port and stratum-port options
  291. - Interpret F1 as a request for Help
  292. - Bugfix: SSM: Free old _ssm_notify before replacing it
  293. - Bugfix: SSM: Clean _ssm_cur_job_work as needed to avoid memory leaks
  294. - Support matching --scan with lowlevel devid
  295. - cgpu_match: Unit test for USB device path matching
  296. - Bugfix: cgpu_match: Handle digits in dname (x6500)
  297. - cgpu_match: More unit tests (dname with digit)
  298. - cgpu_match: More unit tests (dname and case insensitivity)
  299. - Display "NO DEVICES FOUND" line in place of device list, when there are none
  300. - bitfury: Use drv_set_defaults to enable setting baud before probe
  301. - bitfury: Split out SPI port configuration option ("baud") to its own function
  302. - drv_set_defaults wrapper function around cgpu_set_defaults for use with
  303. options that may need to be set during probe
  304. - bitfury: Set poll interval to start iteration before responses are processed
  305. - modminer: Check identification begins with "ModMiner" to avoid false detection
  306. - Bugfix: hashbusterusb: Correct return value of hashbusterusb_vrm_unlock
  307. - Support for installing a udev rules file for Linux
  308. - twinfury: Remove unused variable to silence warning
  309. - cgpu_request_control should be a noop when called from the main thread
  310. - Bugfix: Handle errors creating a vcom devid more gracefully
  311. - Bugfix: _wlog: Allocate enough space for complete copy of log line
  312. - bfsb: Remove unused clock_gettime
  313. - Bugfix: bfsb: Remove useless slot_on which was never properly initialised
  314. - Bugfix: When QueryDosDevice fails, skip trying to parse its (undefined)
  315. results
  316. - hashbusterusb: Voltage should be in volts (not millivolts) for RPC
  317. - hashbusterusb: Provide access to VRM stuff from RPC
  318. - hashbusterusb: Use cgpu_request_control interface to safely access device from
  319. outside main thread
  320. - hashbusterusb: Include Voltage in RPC stats
  321. - Bugfix: hashbusterusb: Ensure unlock code is always allocated, even if null
  322. - hashbusterusb: Abstract code into hashbusterusb_vrm_lock
  323. - hashbusterusb: Abstract code into hashbusterusb_vrm_unlock
  324. - hashbusterusb: Abstract code into hashbusterusb_set_voltage
  325. - Bugfix: hashbusterusb: Check for voltage change error correctly
  326. - Abstract mutex_request code from X6500 driver into generic device API
  327. interface
  328. - hashbusterusb: Use standard identification behaviour
  329. - hashbusterusb: Abstract hashbusterusb_set_colour function
  330. - hashbusterusb: Get voltage with temperature
  331. - hashbusterusb: Clean up unused variable warnings
  332. - hashbusterusb: Use bitfury_wlogprint_status for osc6_bits displaying in Manage
  333. TUI
  334. - Bugfix: hashbusterusb: Remove ignored prompt for VRM lock
  335. - hashbusterusb: Use Manage/osc6_bits code from main bitfury driver
  336. - hashbusterusb: Provide access to VRM and identification in Manage TUI
  337. - hashbusterusb: Shutdown PSU
  338. - nanofury: Support identify function by turning off LED for 5 seconds
  339. - nanofury: nanofury_state structure
  340. - bitfury: Set poll interval to start iteration before responses are processed
  341. - Twinfury: moved voltage reading to the thread init function
  342. - Twinfury supply voltage initial reading: error log improved
  343. - Twinfury: Reading supply voltage on startup
  344. - Voltage scaling for twinfury implemented
  345. BFGMiner Version 3.8.1 - December 9, 2013
  346. - bfgminer-rpc: Catch error when server host fails to resolve to an IP
  347. - RPC: Remove unnecessary delay from RPC server startup
  348. - Call WSAStartup for our own needs independently of libcurl etc
  349. - hashbusterusb: Give more meaningful errors before serial number is known
  350. - hashbusterusb: Populate device_path with USB devid
  351. - Rename hashbuster2 to hashbusterusb (only a-z allowed in driver names)
  352. - Include libusb in options list, since it is no longer tied to specific drivers
  353. - Make hashbuster serial number output match formatting on physical board
  354. - Fix for hashbuster first init after power up
  355. - Workaround Microsoft's non-standard swprintf
  356. - vcom: Fabricate vcom devinfo for any existing paths specified to --scan, in
  357. case enumeration fails
  358. - Bugfix: hashbuster2: Check for errors setting up libusb handle
  359. - Bugfix: Draw statuswin in line order to ensure overflow is cutoff properly
  360. - Fixed one byte stack overflow in mcast recvfrom.
  361. - Bugfix: Let libc do any translation for %lc before adding wide characters to
  362. curses
  363. - Specifically handle mining.get_transactions failures so they get logged at the
  364. lower debug loglevel
  365. - Bugfix: lowlevel: Use LL_DELETE2 when cleaning up secondary list
  366. BFGMiner Version 3.8.0 - December 1, 2013
  367. - Bugfix: lowl-usb.h: Add missing includes for stdbool/stdint
  368. - hashbuster2: Retry writing request if no response received in 100ms
  369. - lowl-usb: usb_ep_set_timeouts_ms function that behaves similar to termios
  370. VTIME (timeout before begin of read/write)
  371. - hashbuster2: Use new lowl_usb_endpoint for i/o
  372. - lowl-usb: Add tools for more reliable read/write using bulk transfers
  373. - Add bytes_extend_buf, bytes_preappend, bytes_postappend for reading direct to
  374. a bytes_t
  375. - New / updated instructions for building bfgminer on Windows
  376. - configure: Adjust header-path discovery to work sanely with spaces and
  377. backslashes in paths
  378. - Bugfix: configure: More fixing BSD sed syntax for curses header search
  379. - bitfury: Reinitialise chips if their frequency drops over 50%
  380. - bfg_strerror: Trim C whitespace off the right of FormatMessage output, since
  381. Windows can add \r\n
  382. - Demote commonish errors to debug loglevel
  383. - klondike: Add support for Avalon2-based designs
  384. - klondike: Remove unnecessary limit of 999 on clock speed displayed in Manage
  385. Device
  386. - Bugfix: hashbuster2: Claim USB device internally
  387. - Bugfix: hashbuster2: Do not try to use lowl-hid.h
  388. - Bugfix: hashbuster2: Close device and free memory allocated, when no chips are
  389. found
  390. - Bugfix: hashbuster2: Remove libusb init and debug level setting
  391. - Bugfix: hashbuster2: Avoid add_cgpu when no chips found
  392. - Bugfix: klondike: Claim USB device internally
  393. - Bugfix: devpath_to_devid: Check stat for error before allocating memory
  394. - Bugfix: lowlevel: Free hash table data when done with it
  395. - Bugfix: bifury: Free memory used by version reply
  396. - bfgtls: Implement destructor to free memory when threads exit
  397. - hashbuster2: Remove unnecessary libusb_detach_kernel_driver
  398. - hashbuster2: Read unique serial number from device
  399. - hashbuster2: Use hashbuster2_io for probe
  400. - hashbuster2: Clean up warnings about unused variables
  401. - README: Document --enable-opencl configure option
  402. - README: Update for HashBuster Micro
  403. - hashbuster2: Integrate into BFGMiner as a separate driver
  404. - hashbuster2: Import driver for new protocol
  405. - Bugfix: nanofury: Check if mcp2210_device exists before trying to power it off
  406. - Bugfix: lowl-vcom: Check for error getting root hub path
  407. - openwrt: Update package description
  408. - configure: Add --without-libusb option to explicitly disable using it
  409. - Bugfix: Pass newlines as ASCII (fixes lack of them in non-unicode builds)
  410. BFGMiner Version 3.7.0 - November 27, 2013
  411. - FTDI scan: Use intptr_t to avoid warning about different size type cast
  412. - Bugfix: proxy: Add missing unistd.h include
  413. - Bugfix: bifury: Precision specifications should be int, not size_t
  414. - Bugfix: klondike: Include config.h first
  415. - Bugfix: binloader: Include config.h first
  416. - README.ASIC: Include support URI for bi*fury driver and firmware
  417. - Added MultiMiner as an example of a GUI application that wraps bfgminer using
  418. the RPC interface
  419. - Silence non-issue warnings
  420. - bifury: Add support for hwerror message
  421. - inc_hw_errors2: Support reporting hw errors without a known nonce
  422. - bifury: Initialise cutofftemp to 75 C
  423. - bifury: Turn chips off and on when disabled and enabled
  424. - bifury: Split out bifury_send_clock
  425. - Bugfix: bifury: Avoid double-free and double-close on version parse errors
  426. during probe
  427. - bifury: Add support for clock command
  428. - bifury: Update for "job" protocol change
  429. - bifury: Update to current git
  430. - bifury: Workaround bugs in older firmware by flooding device with work until
  431. it proves it has needwork
  432. - bifury: Attempt to submit shares even if maxroll limit is ignored
  433. - Clone cgminer's submit_noffset_nonce interface
  434. - Bugfix: bifury: Check that there is a line before comparing it to "version "
  435. - bifury: Prune jobs older than 16 queued, to eventually clean up discarded work
  436. (from flushes)
  437. - Replace ucs2tochar* with ucs2_to_utf8* to handle Unicode
  438. - README.ASIC: Document Bi*Fury firmware upgrade
  439. - bifury: Free work when we know it's complete
  440. - bifury: Implement hashrate reporting using "job" messages
  441. - bifury: Tolerate other data before version reply
  442. - bifury: Abstract line parsing into bifury_readln function
  443. - Bugfix: bifury: Use a char array, rather than pointer to char array, for
  444. bifury_init_cmds
  445. - bifury: Unify SEND devprotodump logging code
  446. - fpgautils: Skip SetCommConfig on Windows if baud is not to be set
  447. - Check for U+2022 and replace it with "*" is unprintable
  448. - Use replacement character for non-printable Unicode
  449. - Use UTF-8 for Unicode
  450. - Implement a utf8_decode function to produce wchar_t needed by curses
  451. - bifury: New driver
  452. - Bugfix: twinfury: Handle flash request for both chips, and avoid using proc
  453. uninitialised
  454. - Bugfix: twinfury: Fix various technicalities
  455. - Bugfix: twinfury: Remove incorrect tcflush
  456. - Twinfury communication protocol changed to be more robust. A preamble is sent
  457. before the actual command.
  458. - LED flashing changed: - setting a flag and flash the LED during the poll
  459. cycle - mutex removed
  460. - Renamed bf2 driver -> twinfury driver bin2hex utility used to convert the
  461. serial number
  462. - BF2 driver comment edited
  463. - BF2 - Twin Bitfury USB miner driver added
  464. - Deprecate --ndevs|-n (redundant with -d? and GPU-only)
  465. - Never abort startup just because we have no devices (there may be cases this
  466. is pointless, but at least it's consistent)
  467. - cgpu_match: Accept ranges for letter processor specification
  468. - cgpu_match: Accept ranges for numeric elements
  469. - test_cgpu_match: Test with more than one device/processor
  470. - configure: Condense configuration options summary a bit
  471. - configure: Put configuration options summary back after everything completes
  472. - Workaround bug in MinGW-w64: Check for strtok_r to be defined at compile-time,
  473. and don't override it unless we really want to override
  474. - Bugfix: configure: Use new need_lowl_vcom instead of need_fpgautils
  475. - configure: Explicitly check for sleep
  476. - Bugfix: Set LIBUSB_LIBS for non-pkgconf non-header-subdir libusb installations
  477. - Move unused winsock2.h includes to the end of config.h
  478. - Use lround instead of llround, since it has better compatibility with older
  479. MingW and Cygwin versions
  480. - lowl-hid: Save and use hid_enumerate results from library test
  481. - Silence Windows build warnings
  482. - mcp2210: Remove cruft leftover from HID code (moved out)
  483. - lowl-vcom: sysfs scan: Simplify maybe_strdup into _sysfs_do_read
  484. - lowl-vcom: sysfs scan: Don't bother getting product string until we confirm it
  485. is in fact a tty device
  486. - input_pool: Accept a null password
  487. - Bugfix: Move const data into the scope it needs to be in
  488. - Bugfix: Restore case insensitivity to --scan driver names
  489. - Accept "@" separator for serial/path in --scan to match --device and
  490. --set-device better
  491. - README: Uppercase the sequence letter when talking about multiple pools
  492. - README: Mention "make install" and clarify saving settings
  493. - Bugfix: avalon: Don't "probe" with -S <path/serial>
  494. - bitforce: Add lowl_* to bitforce_queue so it can be specified by name as a
  495. driver
  496. - Bugfix: devpath_to_devid: Be strict about COM port specifications on Windows
  497. - Bugfix: avalon: Don't "probe" with -S all
  498. - Bugfix: Only count devices in -d?
  499. - RPC: {dev,proc}details: Add 'Processors', 'Manufacturer', 'Product',
  500. 'Serial', 'Target Temperature', 'Cutoff Temperature'
  501. - debian: Need to explicitly add opencl support to build.
  502. - Correctly document klondike as being enabled by default
  503. - Simplify logic for README.ASIC and README.FPGA install
  504. - Split fpgautils into lowl-vcom and binloader, and fix internal build
  505. dependencies
  506. - Add README.CPU to "make install" distribution when built with CPU mining
  507. support
  508. - line 2913 added urlencode
  509. - Bugfix: RPC: Release apisock on error in tidyup
  510. - klondike - dont try to flush if not initialised
  511. - Rename --scan-serial to --scan
  512. - Bugfix: Handle invalid driver names cleanly
  513. - Workaround libcurl bug to properly support HTTP proxies for stratum
  514. - Bugfix: Write klondike options for klondike-options (not icarus options)
  515. - README.OpenWrt: Change example repository to "latest", and document
  516. alternatives
  517. - mcp2210: Add support for --device-protocol-dump
  518. - Bugfix: Initialise dynamic osc6_bits variables
  519. - README: Fixed a few typos here and there and improved wording (Thanks
  520. miningpenguin!)
  521. - README: Moved CPU sections to README.CPU and elaborated more on it
  522. - README*: Grammatical cleanups
  523. - README.ASIC: More KnCMiner
  524. - README.ASIC: Add section about KnCMiner
  525. - Bugfix: opencl: Dynamic mode should disable threads for this device, not just
  526. N after the first
  527. - Bugfix: Make curses_input return NULL on a blank line, as most callers expect
  528. - Duplicate (hidden) --userpass option before --pool-priority so it can be used
  529. in config files
  530. - Only probe VCOM devices on bare "all" scan-serial request
  531. - Provide backports of uthash LL_{PREPEND,FOREACH{,_SAFE}}2 (only added in
  532. 1.9.7, not yet in major distros)
  533. - Upgrade required uthash version to 1.9.4 for LL_CONCAT
  534. - README: Update documentation for scan-serial
  535. - README: Bitstreams no longer included with BFGMiner source
  536. - README: Remove incomplete and unnecessary list of ASIC/FPGA devices
  537. - write_config: Add scan-serial and set-device
  538. - write_config: Update to make JSON Array of named parameters
  539. - Remove support for comma-separated values in --device, and update
  540. documentation
  541. - lowlevel: Collapse multiple lowlevel drivers on the same devid to a secondary
  542. linked list, and only spawn one thread to probe all lowlevels on a given devid
  543. - Bugfix: vcom_devinfo_scan: Clean up hashtable when done
  544. - README: Update cgminer driver FAQ with Windows-specific answer, now that we
  545. have a workaround for *nix
  546. - cpu/opencl: Always disable by default; removes deprecated -G option entirely
  547. - vcom_lowl_probe_wrapper: Attempt to reattach detached USB devices
  548. - Bugfix: erupter: Prioritise Emerald after Sapphire
  549. - Bugfix: Allow "drv:auto" to override general "noauto"
  550. - Bugfix: _probe_device_match: Fix inverted logic
  551. - Bugfix: Don't try to call lowl_probe for drivers that don't support that
  552. interface
  553. - lowl-hid: Use usb devids for libusb-based hidapi devices
  554. - Replace bfg_claim_hid with lowlevel_claim
  555. - lowlevel: Generic claim interface for lowlevel info
  556. - cgpu_match: Compare dev_t under paths
  557. - Rework -d? output to display more useful information now that device ordering
  558. is non-deterministic
  559. - cgpu_match: Add support for matching by serial number or path
  560. - Unit tests for cgpu_match
  561. - Rework --device option to accept a pattern and JSON Array in config; removes
  562. support for processor ranges
  563. - Remove --remove-disabled option, as it conflicts with hotplug, per-processor
  564. stuff, etc already
  565. - Bugfix: Reimplement "noauto" flag
  566. - Bugfix: Restore "-S foo" without driver name functionality
  567. - Bugfix: scan-serial: Compare dev_t as well
  568. - littlefury: Convert to lowl_probe
  569. - hashbuster: Convert to lowl_probe
  570. - avalon: Convert to lowl_probe
  571. - cairnsmore/erupter/icarus: Convert to lowl_probe
  572. - bigpic: Convert to lowl_probe
  573. - ztex: Convert to lowl_probe
  574. - x6500: Convert to lowl_probe
  575. - nanofury: Convert to lowl_probe
  576. - modminer: Convert to lowl_probe
  577. - klondike: Convert to lowl_probe
  578. - bitforce: Convert to lowl_probe
  579. - fpgautils: Wrapper to easily adapt an old detectone to new lowl_probe
  580. - lowlevel: Add match variants of detect functions
  581. - DevAPI: add_cgpu: Use mutex to ensure thread safety
  582. - Make detectone_meta_info thread-local
  583. - New threaded device probe framework
  584. BFGMiner Version 3.6.0 - November 12, 2013
  585. - RPC: Bump to 2.2 for Works in POOLS
  586. - Bugfix: klondike: Don't try to free off the stack
  587. - configure: Update klondike checks for libusb
  588. - klondike: Autodetect by VID/PID/Manufacturer, rather than too-short "K16"
  589. Product search
  590. - Remove accidentally added ASIC-README
  591. - klondike: Remove noop identify function
  592. - klondike: Replace deprecated statline with temperature and ManageTUI stuff
  593. - --shares should be scaled to diff1 not absolute number of shares
  594. - More README updates.
  595. - Minor README updates.
  596. - sha2 allow external access to some macros and the K array
  597. - klondike: Fixed a math issue when reporting fan speed on the status line.
  598. - Add a get and queue helper work function.
  599. - Reset the work_restart bool after the scanwork loop in case the driver flushes
  600. work synchronously.
  601. - Get rid of the stage thread since all work can be asynchronously added now via
  602. hash_push anyway.
  603. - Fix for opt_worktime on big endian machines.
  604. - Do get_work in fill_queue without holding other locks.
  605. - Make hash_pop signal the work scheduler each time it waits on the conditional
  606. that it should look for more work.
  607. - Remove discarded work from quota used.
  608. - Display works completed in summary and API data.
  609. - Store how many work items are worked on per pool.
  610. - Add the ability to add uint8 and uint16 entities to api data.
  611. - klondike - initialise stat_lock
  612. - klondike - better to unlock locks than to lock them twice :)
  613. - Remove roundl check and define
  614. - 'llround' is more suitable here than 'roundl'
  615. - klondike - change options to clock and temptarget only
  616. - klondike - fix another uninit dev warning
  617. - klondike - downgrade 'late update' but add an idle detect - and correct error
  618. levels
  619. - klondike - fix isc uninit warning
  620. - klondike - drop the device for hotplug if it's unresponsive
  621. - klondike - single 'shutdown' and ensure it happens
  622. - klondike remove SCNu8 - unsupported on windows
  623. - klondike - fix uninitialised dev bug
  624. - Don't attempt to disable curses or print a summary during an app restart to
  625. prevent deadlocks.
  626. - klondike - error condition handling
  627. - Modify Makefile to only include opencl related code when configured in.
  628. - Convert opencl to need to be explicitly enabled during build with
  629. --enable-opencl
  630. - Implement a cglock_destroy function.
  631. - Implement a rwlock_destroy function.
  632. - Implement a mutex_destroy function.
  633. - Simplify queued hashtable by storing unqueued work separately in a single
  634. pointer.
  635. - Add cgminer compatibility macro for ms_tdiff
  636. - klondike rewrite work control
  637. - allow __work_complete() access
  638. - miner.h allow devices to tv_stamp work
  639. - klondike - can only calculate the nonce difference on or after the 2nd nonce
  640. - klondike - correct/reverse min/max stats
  641. - klondike: Remove unnecessary devlock
  642. - klondike - use a link list queue rather than a circular buffer - and add
  643. timing stats
  644. - Klondike - increase circular read buffer size
  645. - Klondike - extra zero value and range checking in temp conversion
  646. - klondike - display MHz also
  647. - klondike correct cvtKlnToC() temperature calculation
  648. - klondike - correct 1st reply debug based on define
  649. - klondike - debug dump structured replies
  650. - klondike - avoid division by zero if maxcount is unexpectedly zero
  651. - klondike store and report errorcount and noise
  652. - klondike - fix chipstats api stats buffer overrun with 16 chips
  653. - klondike add new nonecount only once
  654. - klondike - report mh/s based on nonces found + put old estimate into API stats
  655. - klondike use a memcpy
  656. - klondike fix bracket tabs indenting
  657. - klondike: Update code to current git
  658. - Klondike update code to current git
  659. - Add Klondike to README
  660. - Add Klondike to README.ASIC
  661. - Klondike to main directory
  662. - Klondike consistent code spacing
  663. - Klondike update driver code to current git
  664. - klondike: update firmware for 16 chips, add dist files
  665. - klondike: beta final 0.3.0 release
  666. - klondike: updated firmware, IOC method
  667. - klondike: prevent nonces when not state W
  668. - klondike: added driver config option support
  669. - klondike: fixes for 300 MHz, fix K1 parts list
  670. - klondike: update driver, docs
  671. - klondike: update firmware & utils
  672. - klondike: updated cgminer driver for 3.3.1
  673. - klondike: update firmware and driver, create new cgminer fork
  674. - update klondike driver
  675. - klondike: add cgminer driver file as-is
  676. BFGMiner Version 3.5.2 - November 12, 2013
  677. - README.scrypt: Update to reflect current status of code (unmaintained); remove
  678. Con's litecoin donation address (leaving his bitcoin one) since it is unknown if
  679. he still accepts donations with litecoin
  680. - Bugfix: minerloop_async: Check the correct _mt_disable_called flag
  681. - bitforce: Allow ZCX response to override Manufacturer string
  682. - Bugfix: RPC: Restore null termination on responses
  683. - Bugfix: configure: We need DLOPEN_FLAGS for lowlevel hid too
  684. - Add additional debug information to help track work through BFGMiner
  685. - README: Update hidapi dependency for HashBuster
  686. - Bugfix: bigpic: Convert device serial and nonces to host endian
  687. - Bugfix: modminer: Ensure devices that fail probe are closed properly
  688. - Bugfix: bitforce: Ensure devices that fail probe are closed properly
  689. - Bugfix: littlefury: Ensure devices that fail probe are closed properly
  690. - Bugfix: bigpic: Ensure devices that fail probe are closed properly
  691. - nanofury: Attempt to be more resilient to problems
  692. BFGMiner Version 3.5.1 - November 7, 2013
  693. - Bugfix: make-release: Add README.GPU document
  694. - Demote USB string fetch failure to LOG_DEBUG since it is rather common
  695. - Bugfix: RPC: devscan shouldn't be available to read-only access
  696. - Bugfix: bigpic: Ignore the bitfury chip's counter as best we can
  697. - Bugfix: bigpic: Accept other delimiters in Bitfury BF1 product string in
  698. autodetection
  699. - Bugfix: Fix VCOM/fpgautils build check
  700. - Bugfix: Only include VCOM code when VCOM/fpgautils support is being built
  701. - Bugfix: Reimplement scan-serial "all" keyword
  702. - Bugfix: bitforce detect: Close device after ZGX failure
  703. - Bugfix: Define lowl_usb even if libusb support is omitted, since VCOM and HID
  704. drivers check against it for warnings
  705. BFGMiner Version 3.5.0 - November 6, 2013
  706. - bigpic: Probe sooner than most drivers, but still after icarus/erupter
  707. - cpu/opencl: Fix probe priorities to be last
  708. - Bugfix: RPC: Correct per-device Work Utility to be per-minute instead of
  709. per-second
  710. - Bugfix: Fix Windows VCOM enumeration to work with new lowlevel code
  711. - Bugfix: nanofury: Use maybe_strdup in case strings may be missing
  712. - Bugfix: bitfury: Fix processor disable/enable for all bitfury-based devices
  713. - hashbuster: Get temperature when available
  714. - Bugfix: hashbuster: Use maybe_strdup where there might not be a string
  715. - hid: Treat null-length strings as missing entirely
  716. - hashbuster: Enable dynamic osc6_bits
  717. - hashbuster: New driver
  718. - Split a hid lowlevel out of mcp2210
  719. - ztex: Convert to use lowlevel usb enumerator
  720. - A quick flag to allow drivers to convey the desire to rescan devices (from
  721. lowlevel up)
  722. - Lowlevel USB enumerator for libusb
  723. - dname for lowlevel drivers
  724. - Bugfix: lowlevel: Avoid null pointer dereference on devices that are missing
  725. USB strings
  726. - lowlevel: Add a userpointer to lowl_found_devinfo_func_t and use it for
  727. serial_autodetect
  728. - Rework VCOM autodetection to go through lowlevel interface, avoiding repeat
  729. USB string fetching
  730. - lowlevel: Keep track of the claimed devid and debuglog every found device
  731. - ft232r: devinfo_scan: Don't skip claimed USB devices
  732. - ft232r: Be more tolerant of USB open failure or missing strings
  733. - RPC: Build most of CONFIG "Device Code" by iterating over registered driver
  734. list
  735. - drv_detect_all: Use priority-sorted list of registered drivers
  736. - Build hash tables to find drivers by dname or name
  737. - Build a linked list of registered drivers
  738. - BFG_REGISTER_DRIVER macro to commonly pre-define device_drv structures
  739. - Move have_libusb checks out of drv_detect_all
  740. - Replace opt_nogpu with simple function that adds opencl:noauto to scan-serial
  741. list
  742. - opencl: Remove ancient gpu_threads variable, not really needed anymore
  743. - Bugfix: Stop waiting for pool testing as soon as one is active
  744. - bitfury: Clean up by making private functions static, and naming public ones
  745. with [lib]bitfury_ prefix
  746. - bitfury: Remove old (unused) driver code
  747. - bitfury_gpio: Convert to using current bitfury driver code
  748. - Bugfix: littlefury: Upgrade to use current bitfury driver (old one didn't work
  749. with littlefury anymore anyway)
  750. - Bugfix: test_work_current: Make hexstr buffer large enough for blkhashstr
  751. later on (issuing old work msg)
  752. - README: Document --enable-knc configure option
  753. - README: Document --disable-nanofury configure option
  754. - Windows autodetect: clear detectone meta info
  755. - Check for Windows DDK headers, and where they are (and build without them if
  756. unavailable)
  757. - Windows SetupAPI-based detection for USB VCOM devices (tested with CP210x and
  758. CDC)
  759. - ucs2tochar{,_dup} functions to convert USB string descriptors to char* format
  760. - bfg_strerror: Support for Windows system errors
  761. - Introduce applogfail* macros
  762. - Bugfix: scrypt: Add missing include stdbool.h
  763. - Bugfix: Explicitly cast uses of be32toh to uint32_t
  764. - Bugfix: Add missing includes of config.h, stdbool.h, and stdint.h
  765. - lowlevel: Convey device manufacturer up to nanofury cgpus
  766. - nanofury: Store device HID path for RPC
  767. - lowlevel: Promote path to a normal element for devices to simplify things a
  768. bit
  769. - nanofury: Claim mcp2210/hid devices
  770. - mcp2210: Implement claim on HID paths
  771. - fpgautils: Use string identifiers for internal hardware claims
  772. - ztex: Keep interface claimed as a lock
  773. - Bugfix: mcp2210: Check for NULL hid device strings before trying to convert
  774. them to ASCII
  775. - FTDI autodetect: Enable populating USB product and serial number
  776. - Bugfix: FTDI autodetect: Add missing parameter values and remove unused buffer
  777. - Bugfix: bigpic: Don't active poll event without a poll function
  778. BFGMiner Version 3.4.0 - October 26, 2013
  779. - Bugfix: knc: Use separate DEV_RECOVER_DRV deven when doing automatic core
  780. disable/re-enable, so user-initiated disables are left alone
  781. - Document existing enum dev_enable usage
  782. - Bugfix: knc: Only try to re-enable cores after we've actually asserted them as
  783. disabled, otherwise we won't actually assert the enable either
  784. - knc: Automatically disable and re-enable problematic cores
  785. - AUTHORS: Add Dmitry Sorokin
  786. - bitfury: Disable dynamic osc6_bits when manually setting a specific value
  787. - bitfury_do_io: Make use of timer_elapsed
  788. - bitfury: Only use dynamic osc6_bits with boards that support it explicitly
  789. (BFSB and Metabank for now)
  790. - bitfury: More debugging info for dynamic osc6_bits
  791. - Bugfix: bitfury: Fix tv_stat to persist
  792. - bitfury: Remove useless debugging
  793. - bitfury: Simplify dynamic osc6_bits logic such that the range is defined in
  794. one place
  795. - bitfury: Remove unused skip_stat
  796. - Bugfix: bitfury: Stick to tracking best_done per-chip, and never call
  797. zero_stats (which is for users, not drivers)
  798. - Bugfix: bitfury: Use proc_repr rather than incorrectly calculated chip_id
  799. - Bugfix: bitfury: struct bitfury_device is already chip-specific
  800. - bitfury: dynamic osc_6 bits
  801. - bitfury: Improve frequency calculation - fixes occasional miscalculations as
  802. well as makes it safer with multiple devices
  803. - bitfury: Added frequency calculation
  804. - tm_i2c: Corrected copyright
  805. - Allow --set-device opt=val without a device specification to attempt setting
  806. it on every device
  807. - Bugfix: knc: Maintain queue_full for all cores, so they continue to queue work
  808. even if the first is disabled
  809. - bitfury: Allow setting osc6_bits up to 60
  810. - Bugfix: Set status to LIFE_DEAD2 when killing threads at shut off, to avoid
  811. calling driver code
  812. - Skip "testing stability" message at startup
  813. - Try switching pools if for some reason we end up with only idle pools and have
  814. ended up current_pool set to an idle one.
  815. - Check a pool is stable for >5 mins before switching back to it.
  816. - ManageTUI: Slash key performs processor selection by search
  817. - nanofury: Populate dev_product and dev_serial
  818. - mcp2210: Implement mcp2210_close
  819. - Bugfix: mcp2210: hid_write needs a report id, especially on Windows
  820. - mcp2210: Workaround some Windows snprintf not handling wide strings correctly
  821. by simply copying character-per-character (only works for ASCII data)
  822. - Bugfix: chroot: Check that chdir succeeds
  823. - AUTHORS: Add pontus
  824. - knc: Expose Voltage and DCDC Current to TUI Manage device
  825. - knc: Expose Voltage and DCDC Current to RPC status
  826. - knc: Store volt/current on knccore
  827. - knc: Read voltage/current from DCDCs
  828. - Bugfix: knc: Fix temperature readout of half-celcius
  829. - Bugfix: Only define have_libusb if building with libusb support
  830. - littlefury: Remove unused code
  831. - bitfury: RPC procset: Ignore extra data (like newline) after numbers
  832. - Add --set-device option to allow setting default procset commands
  833. - README: Document hidapi dependency for NanoFury sticks
  834. - AUTHORS: Include Vladimir Strinski for NanoFury code
  835. - mcp2210: Set GPIO output mode atomically with their output values
  836. - nanofury: Power off device when shutting down
  837. - make-release: Include libhidapi-0.dll
  838. - mcp2210: Port to Windows
  839. - configure: Find hidapi.h for mcp2210 using pkg-config
  840. - bitfury: Provide read/write access to osc6_bits from the Manage TUI
  841. - nanofury: Reduce oscillator bits to 50 to stay within USB specs
  842. - bitfury: If multiple integers differ after 4 tries, just go with the first so
  843. we can start mining
  844. - nanofury: Implement actual mining code
  845. - nanofury: Turn off device after checkport
  846. - nanofury: New driver; detect device
  847. - mcp2210: Implement protocol required for NanoFury USB sticks
  848. - mcp2210: Skeleton low-level driver for MCP2210 USB to SPI Master bridge
  849. - ft232r: Use lowlevel interface for ft232r_open
  850. - Abstract ft232r scan+probe interface into new generic lowlevel driver
  851. interface
  852. - configure: Error if knc driver is requested, but linux/i2c-dev.h is missing or
  853. not from i2c-tools
  854. - knc: Attempt to express core enable/disable to controller
  855. - knc: Put knc_device on every processor device_data
  856. - Refactor device disable/enable logic so that drv.thread_{disable,enable}
  857. actually get called
  858. - Bugfix: knc: Check that device actually has work queued, before trying to find
  859. the most recent one
  860. - knc: Read temperature sensors
  861. - DevAPI: minerloop_queue: Run watchdog in device thread
  862. - knc: Pass queue flush to device when its most recent job produces stale shares
  863. - knc: Issue flush command at init
  864. - Bugfix: knc: Perform le32toh on unknown-work nonces
  865. - knc: Use independent device_id for works to enforce 15-bit size
  866. - Bugfix: spi_emit_nop: Correct counter logic
  867. - knc: Implement mining
  868. - knc: Use FPGA i2c to identify present ASICs
  869. - knc: Basic detection of boards on expected i2c buses
  870. - DevAPI: generic_detect: Just use an enum for flags
  871. - Use list of drivers/algos/options generated by configure in --help info
  872. - miner.php correct sort gen field names largest to smallest
  873. - api ... the code related to device elapsed
  874. - api add device elapsed since hotplug devices Elapsed is less than cgminer Elapsed
  875. - RPC: Include more info in per-device/processor status
  876. - API add 'MHS %ds' to 'summary'
  877. - Icarus remove unneeded opt_debug tests due to applog being a macro
  878. - We should only yield once in cg_wunlock
  879. - Provide a function to downgrade a cglock from a write lock to an intermediate
  880. variant.
  881. - Reset quotas on load balance for all pools at the same time to avoid running
  882. out during selection and unintentionally dropping to fallback.
  883. - Break out of select pool from a common point for appropriate debug messages
  884. and to avoid further tests.
  885. - Find the greatest common denominator in quotas and use the smallest number of
  886. consecutive work items per pool in quota load balance mode to smooth hashrate
  887. across pools with large quotas. Give excess quota to priority pool 0 instead of
  888. pool 0.
  889. - Add subdir-objects to automake options.
  890. - Use the --failover-only flag to have special meaning in combination with
  891. load-balance mode to distribute any unused quota back to pool 0 to maintain
  892. ratios amongst other pools.
  893. - Display quota and allow it to be modified via the pool menu.
  894. - More README about quotas.
  895. - Document quotas and new load-balance strategy.
  896. - Add API commands and modify output to support pool quota displaying and
  897. changing.
  898. - Change message in status when using a balanced pool strategy to notify if
  899. there's a stratum pool as well.
  900. - Add quota support to configuration files.
  901. - Rotate pools on all failures to set a pool in select_pool.
  902. - Use quotas for load-balance pool strategy.
  903. - Provide a mechanism for setting a pool quota to be used by load-balance.
  904. - Change --socks-proxy option to default to SOCKS5
  905. - Cope with trailing slashes in stratum urls.
  906. - Make extract_sockaddr set variables passed to it rather than pool struct
  907. members.
  908. - miner.php sort the mcast rigs so they are always in the same relative order
  909. - miner.php allow sending the muticast message multiple times
  910. - miner.php mcast ignore duplicate replies
  911. - miner.php coding warning
  912. - miner.php disable 'gen' by default
  913. - miner.php allow formula generation of new fields
  914. - miner.php add doctype
  915. - miner.php remove incorrect echo
  916. - miner.php optional error if not enough mcast rigs are found
  917. - take_queued_work_bymidstate should use a write lock.
  918. - API mcast add a description option with miner.php
  919. - Skip dissecting opt->names in parse_config if it doesn't exist.
  920. - ICA optional limit timing with short=N or long=N
  921. - logging - applogsiz() for large messages
  922. - Provide a funcion that looks up queued work by midstate and then removes it
  923. from the device hash database.
  924. - Wait until all pools are done testing before giving up, regardless of how long
  925. they take to fail
  926. - AUTHORS: Add Ricardo Iván Vieitez Parra and Paul Wouters
  927. - Bugfix: Check that setgid succeeds
  928. - When using --chroot, chdir to the new root
  929. - Bugfix: Add missing drivers to --help list
  930. - Bugfix: Zero stats: cgpu->diff_stale
  931. - fpgautils: serial_close: Explicitly release advisory lock before closing, in
  932. case fd has been inherited by a process forked by system()
  933. - Use serial_close to pair with every serial_open
  934. - Workaround bug in Plibc by resetting locale to "C" at startup
  935. - Bugfix: bitfury: Check for necessity of linux/i2c.h so build succeeds with
  936. i2c-tools's userspace linux/i2c-dev.h
  937. - bitforce: Workaround bugs in current firmware for the Chili
  938. - Bugfix: DevAPI: Reduce race-collision delay to 1ms so thread_shutdown actually
  939. gets called before threads are killed forcefully
  940. - Bugfix: configure: Use AC_SYS_LARGEFILE to ensure nonce/share log files can
  941. safely grow bigger than 2 GB
  942. - Bugfix: Correct argument type for --submit-threads option
  943. - littlefury: Workaround Xcode bug initialising fields in anonymous unions
  944. - Bugfix: write_config: Make intensity list writing more readable, and avoid
  945. extraneous argument in dynamic intensity case
  946. - DevAPI: Trigger mt_disable_start after init, if a device is disabled before
  947. minerloop starts
  948. - icarus: Skip sending new work if entering DEV_RECOVER* modes
  949. - icarus: When disabling, close device fd and stop sending new work
  950. - RPC: Use get_api_extra_device_status for full-device status, for devices with
  951. only a single processor
  952. BFGMiner Version 3.3.0 - October 11, 2013
  953. - openwrt: Optional libevent support
  954. - RPC: Add missing drivers to Device Code
  955. - bigpic_process_results: Cleanup
  956. - RPC: Use procs count for device summaries, rather than iterating over linked
  957. list (which may span multiple devices)
  958. - Bugfix: Use bfg_waddstr for cg_[mv]wprintw so special characters get
  959. interpreted properly
  960. - Bugfix: bitfury: Clear force_reinit flag after reinit
  961. - Bugfix: Use base unit for zero, and only if all values are zero
  962. - RPC: Always build pga* and proc* methods
  963. - Bugfix: icarus: Check for valid fd before all usage
  964. - Bugfix: Stratum initiate: Clear json var after freeing it, to avoid a
  965. potential double-free if retry fails before new JSON is parsed
  966. - Bugfix: Correct --log-file error message
  967. - Cleanly fall back to other micro- prefix symbols if locale doesn't support the
  968. preferred one(s)
  969. - Bugfix: bfg_waddstr: Missing break after selecting degrees symbol
  970. - Silence warning about (never really) uninitalised variable use in notifystatus
  971. - RPC: Complete split between devs/pga* and proc* methods
  972. - RPC: Internal restructuring to support device-wide view
  973. - RPC: Remove devdetail method, and rework newer devdetails to use its code
  974. - configure: Advise running ldconfig when detected and probably necessary
  975. - configure: Simplify final information summary
  976. - Bugfix: configure: Disable httpsrv/libevent if not available
  977. - README: Mention free GPU mining dependencies
  978. - Write config: Avoid writing default temperature settings
  979. - bitforce: Set default cutoff temperature to 85C for SC-class devices
  980. - When shutting down, don't wait for mining threads any longer after the 1
  981. second sleep
  982. - bitfury: Silence warning about (never possible) uninitialised variable use
  983. - bigpic: Handle write failures
  984. - json_rpc_call_completed: Silence incorrect type cast warning
  985. - icarus: Silence warning about (never really) uninitalised variable use in
  986. icarus_scanhash
  987. - fpgautils: Check for fgets error
  988. - Silence warning about (never really) uninitalised variable use in
  989. multi_format_unit
  990. - ft232r: Silence warning about (never really) uninitalised variable use
  991. - Silence unused result warnings for notifier_{read,wake}
  992. - Log a warning if --cmd-* returns a non-zero exit code
  993. - configure: Update bigpic driver dependency on bitfury code
  994. - metabank: Initialise --temp-cutoff to 50C
  995. - README.ASIC: Document special care needed for some bitfury-based miners
  996. - Bugfix: bitfury: Correct results from RPC pgaset
  997. - bitfury: Move Slot and fasync RPC info to details instead of status
  998. - bitfury: Include chip fasync in RPC status
  999. - bfsb: Split up processors among a separate device per board
  1000. - Bugfix: bitfury: Copy rxbufs to stack in case we need to do SPI communication
  1001. in the meantime
  1002. - bfsb: Merge bfsb_detect_chips into bfsb_autodetect (unchanged)
  1003. - bfsb/metabank: Allow pgaset to change osc6_bits and SPI baud rate
  1004. - bitfury: Fix code indentation
  1005. - bitfury: bitfury_init_oldbuf: Optimise during runtime
  1006. - metabank: Remove unused variables
  1007. - bitfury: Send a work with lots of nonces to help cold-started bitfurys fill a
  1008. static buffer
  1009. - Bugfix: configure: Show --enable-bfsb/metabank in help, since they are
  1010. disabled by default
  1011. - metabank: Reduce i2c banking to only when necessary
  1012. - bfsb: Only build spi_bfsb_select_bank if bfsb driver is being compiled
  1013. - bitfury: Reorganize polling to hit chips sequentially, so SPI traffic can be
  1014. minimised
  1015. - bitfury: spi_emit_data: Return address read data will be located at after txrx
  1016. - bitfury: After 8 bad nonces in a sample period, reinit immediately rather than
  1017. waiting for the remaining up-to-0x38
  1018. - bitfury: Reinitialise chips if their active nonce stops changing
  1019. - bitfury: Recalibrate immediately when we know we need it
  1020. - bitfury: Reset chips if more than 8 hw errors are found in a 0x40 result
  1021. sample period
  1022. - bitfury: If previous nonce mismatch persists, try recalibrating oldbuf
  1023. - bfsb: Shutdown chip when disabling
  1024. - bfsb: Expose Clock Bits and Slot to RPC
  1025. - configure: Simplify dynclock necessity detection
  1026. - configure: Tie libudev usage to fpgautils
  1027. - configure: Simplify fpgautils necessity detection
  1028. - DevAPI: add_cgpu_slave for more elegant multi-device threads
  1029. - Use procs count for device summaries, rather than iterating over linked list
  1030. (which may span multiple devices)
  1031. - metabank: Split up processors among a separate device per board
  1032. - metabank: Merge metabank_detect_chips into metabank_autodetect (unchanged)
  1033. - Removed temperature output from metabank_api_extra_device_status().
  1034. - Modified code to store temperature at cgpu->temp for metabank devices.
  1035. - bitfury: Added get_api_extra_device_status for 'devs' request in metabank
  1036. driver: Slot, Clock Bits, Temperature, Voltage.
  1037. - minerloop_async: Run watchdog code within actual device thread
  1038. - bitfury: Remove unused libbitfury_readHashData
  1039. - Bugfix: DevAPI: Don't call job_process_results when there was no previous job
  1040. - bigpic: Convert to async minerloop
  1041. - bitfury: Port to Windows
  1042. - bigpic: Use bitfury_fudge_nonce
  1043. - Use common bitfury_decnonce for all bitfury-based devices
  1044. - Rename bf1 driver to bigpic, as the same device has other brands too
  1045. - bf1: Clean up log messages
  1046. - bf1: Reduce loglevel of debug messages
  1047. - Bugfix: bf1: Add missing header to Makefile.am, and fix .dname/.name
  1048. - Bugfix: bf1: Fix warnings
  1049. - BF1 driver modified to work under Windows -> packing of structs isn't working
  1050. with Windows
  1051. - Corrected hash rate estimation for BF1. Only 756 out of 1024 nonces are
  1052. scanned.
  1053. - Cleaning up the bf1 driver code
  1054. - BF1 driver working
  1055. - Bitfury BF1 source files added
  1056. - bfsb: modified to use LukeJr:'s new code
  1057. - configure: Reorder output
  1058. - configure: Allow to build *fury drivers only
  1059. - bitfury: Turn commented debug stuff into #ifdef BITFURY_SENDHASHDATA_DEBUG
  1060. - bitfury: Implement queue_full to ensure all processors have a work ready
  1061. before scanwork
  1062. - bfsb: set api speed to 625khz
  1063. - initial support for bitfurystrikesback boards
  1064. - bitfury: LINE_LEN instead of 2048
  1065. - bitfury: 4Mhz SPI by default
  1066. - bitfury: double SPI polling
  1067. - bitfury: +Strange Counter -printf Counter
  1068. - bitfury: tuning of parameters; fixed cycles calculation
  1069. - bitfury: Move clock increase from common code to metabank driver init
  1070. - bitfury: Add driver-bitfury.h for shared function declarations
  1071. - bitfury: Do debug logging of read data before rotation
  1072. - bitfury: Decode nonce array sooner to make debugging easier
  1073. - bitfury: Check that the previous nonce still matches, to detect response
  1074. corruption
  1075. - bitfury: Workaround corruption by looking for matches rather than changes
  1076. - bitfury: Rewrite using async minerloop (currently only setup on metabank
  1077. driver)
  1078. - bitfury: Fix memory issues
  1079. - littlefury: Turn off chips when exiting
  1080. - littlefury: Adapt to 16-bit payload size (protocol change)
  1081. - Bugfix: littlefury: Fix bitfury_do_packet
  1082. - bitfury: Report bad nonces properly
  1083. - bitfury: Unify common nonce fudging code
  1084. - Bugfix: bitfury: Chips only scan 0xbd000000 nonces per work
  1085. - bitfury: Fix logging to use applog
  1086. - bitfury: Split driver into bitfury_gpio (bare GPIO) and metabank (i2c banked
  1087. GPIO)
  1088. - littlefury: Use bitfury driver scanwork
  1089. - bitfury: Eliminate more static variables
  1090. - bitfury: Treat each chip as its own processor
  1091. - bitfury: Resolve devices[chip] only once per chip
  1092. - bitfury: Move second_run logic back to libbitfury
  1093. - bitfury: Loop over chips once during scanwork
  1094. - bitfury: Abstract hashes_done2 which keeps track of time deltas per thr on its
  1095. own
  1096. - littlefury: Need to set tv_morework
  1097. - bitfury: Abstract out payload_to_atrvec
  1098. - littlefury: Log read return value when unexpected
  1099. - bitfury: Eliminate non-const global variables
  1100. - littlefury: Safeguard on job switching
  1101. - Bugfix: littlefury: Keep reading until error, EOF, or buffer filled
  1102. - littlefury: Log devproto of incomplete reads
  1103. - Enable littlefury detection
  1104. - Bugfix: configure: Enable bitfury by default properly
  1105. - bitfury: Require explicit -S bitfury:auto to probe GPIO-based SPI
  1106. - bitfury: Move i2c slot handling to metabank-specific driver code
  1107. - littlefury: Initial driver for BitCentury's USB miner
  1108. - bitfury: Split actual chip detection into simple function
  1109. - Bugfix: bitfury: Fix driver "name" to be correct length
  1110. - bitfury: Abstract SPI interface
  1111. - Bugfix: bitfury: Fix more warnings
  1112. - Bugfix: bitfury: Fix warnings
  1113. - bitfury: Intercept and use applog for perror calls
  1114. - Bugfix: bitfury: Handle SPI init failure cleanly
  1115. - bitfury: major intermediate update
  1116. - bitfury: added chip series detection; multiple chip mining
  1117. - Bitfury ASIC initial support
  1118. - DynClk: Improve commented documentation
  1119. - Replace Utility with (expected) Income calculated by actual shares submitted
  1120. in 100% PPS value
  1121. - format_unit3: BTC formatting with 2 decimal place digits
  1122. - format_unit3: Support for nano- and pico- sizes
  1123. - format_unit3: Use an enum for float-precision parameter
  1124. - format_unit2: Support milli- and micro- unit prefixes
  1125. - opencl: Disable by default if other devices are found; to enable, use -S
  1126. opencl:auto
  1127. - write_config: Save request-diff option
  1128. - Stratum: Clear unused extranonce2 space
  1129. - Don't even show 'Attempting to restart' for devices that don't support it
  1130. - Workaround bug in PDCurses wresize
  1131. - Bugfix: Include config.h in sha2.c first
  1132. - make-release: Include libevent-2-0-5.dll in Windows packages
  1133. - README: Document dependency on libevent
  1134. - README: Document new --chroot-dir and --setuid options
  1135. - Bugfix: Use correct configure define for chroot
  1136. - Remove --disable-chroot build option: always compile --chroot-dir if supported
  1137. - Bugfix: Use correct configure define for pwd.h
  1138. - Improvements on code
  1139. - Update miner.c
  1140. - Added basic chroot support, added option to configure.ac.
  1141. - Updated miner.c
  1142. - Added basic chroot support
  1143. - Replace u-hashrate with nonce-based hashrate adjusted for rejects/stales
  1144. - SSM: Windows port
  1145. - SSM: Allow configuring stratum port via --stratum-port option and RPC
  1146. setconfig
  1147. - SSM: Implement mining.hashes_done extension
  1148. - Proxy: Catch invalid usernames and error
  1149. - SSM: Report hashes done based on share submissions
  1150. - SSM: Include current time in job ids to avoid false hardware errors due to job
  1151. id reuse
  1152. - SSM: If no notify is currently set, try to set it before refusing a subscribe
  1153. - SSM: Prune old jobs after expiry
  1154. - SSM: Use pool data read lock when subdividing notify
  1155. - SSM: Gracefully fail when upstream stratum notify cannot be subdivided
  1156. - SSM: Gracefully fail when upstream pool is not stratum (by closing subscribed
  1157. clients, and refusing to subscribe new ones)
  1158. - SSM: Properly fail cleanly when maximum clients are connected
  1159. - SSM: Clean up stratumsrv_job when pruning it
  1160. - SSM: Avoid responding to notifications, and give an error for unknown methods
  1161. - SSM: Propagate work updates to clients
  1162. - Mostly functional stratum proxy driver
  1163. - Stratum: Split actual work generation away from the current pool data
  1164. - Bugfix: Stratum: Dereference pool swork coinbase buffer inside data lock
  1165. - SGW: Split proxy code out from driver-getwork into driver-proxy
  1166. - Bugfix: miner.php: Check $dototal[$name] is set before comparing its value
  1167. - Bugfix: RPC: Use bad_nonces in Hardware% instead of generic hw_errors
  1168. - Bugfix: RPC: Handle LIFE_DEAD2 case
  1169. - Make failure to open sharelog or noncelog abort startup
  1170. - Nonce logging option --noncelog to simply store every nonce and its info
  1171. - Abstract --sharelog option parsing
  1172. BFGMiner Version 3.2.1 - September 19, 2013
  1173. - Only show long-poll message in pool summary if it's not using stratum.
  1174. - README.ASIC: Clarify syntax of --scan-serial usage for USB Erupters
  1175. - Bugfix: RPC: Defer allocation of apisock until after we check for --api-listen
  1176. - make-release: Only try to include libmicrohttpd if bfgminer.exe depends on it
  1177. - Bugfix: make-release: Include libplibc-1.dll if available
  1178. - SGW: For Windows builds, include winsock2.h instead of POSIX networking
  1179. headers
  1180. - configure: Display getwork proxy server support in summary
  1181. - Bugfix: SGW: Pass actual cgpu_info to prune_worklog_thread instead of silently
  1182. casting one from getwork_client
  1183. - Bugfix: Get total_staged with lock for TS stat, before getting console lock
  1184. - Bugfix: bitforce: Correct fanmode RPC help
  1185. - bitforce: Hide fan control when disabled in firmware
  1186. - Bugfix: bitforce: Correct fanspeed TUI setting
  1187. - Bugfix: logging: Allow up to 4 KB for log lines
  1188. - Bugfix: icarus: Ensure last2_work exists before trying to check nonces fit it
  1189. - README.OpenWrt: Include serialusb drivers
  1190. - README: Include OpenWrt serialusb driver package names
  1191. - Bugfix: Initialise notifier (as invalid) for no-thread devices (SGW)
  1192. - Bugfix: Free temporary kernel path copy when writing config file
  1193. - Bugfix: Put kernel path on the (main) stack after initialisation from
  1194. commandline/config, to avoid appending an argv or jansson string
  1195. - Bugfix: Always allow startup with curses enabled (since the user can use
  1196. Manage devices to add new ones, and display Ctrl-C for text-only quit help
  1197. - Bugfix: Ignore/reject libmicrohttpd before 0.9.5, which introduced symbols we
  1198. need
  1199. - README: Elaborate on format of BW
  1200. - Bugfix: Try to initialise libusb later, so any mutexes applog might need are
  1201. initialised
  1202. - Bugfix: Implicitly initialise timer_set_now when it is first called
  1203. - util: Eliminate unsafe const-removing casts
  1204. - configure: Cleanup CFLAGS/LDFLAGS display
  1205. - Show RT_LIBS in ./configure output.
  1206. BFGMiner Version 3.2.0 - August 29, 2013
  1207. - cpu: sse2_64: Rename sha256_init to sha256_init_sse2 to avoid conflict with
  1208. new sha2.c
  1209. - httpsrv: Some older versions of libmicrohttpd need stdint.h included first
  1210. - make-release: Include libmicrohttpd-10.dll if it exists
  1211. - Fixes column alignment in decimal fields. Workaround for printf rounding up
  1212. when formatting decimals into limited width.
  1213. - New hidden --unittest option. No longer runs unit tests at startup by default,
  1214. for faster startup. Added unit test for width printing of decimal numbers.
  1215. - Bugfix: configure: More fixing BSD sed syntax for curses header search
  1216. - Bugfix: configure: More fixing BSD sed syntax for libusb header search
  1217. - README: Update solo mining docs
  1218. - erupter: Continue searching a job until the end, even if an earlier result is
  1219. found
  1220. - icarus: Do hwerror-triggered reopen before sending the next job the first
  1221. time, to avoid having to resend it later
  1222. - icarus: Avoid sending a new job if the nonce found was for one before the
  1223. current job anyway
  1224. - icarus: Double-buffer work to solve nonces found before work change takes
  1225. effect
  1226. - icarus: Abstract nonce processing
  1227. - Bugfix: icarus: Avoid trying to submit 0 on comms error
  1228. - icarus: Skip unnecessary nonce memcpy
  1229. - icarus: Make state->last_work a pointer and store it on the heap
  1230. - miner.php fix missing global
  1231. - Bugfix: erupter: After identify, skip starting work if next scanhash is
  1232. already decided to be a "first run" (eg, device errors)
  1233. - Bugfix: erupter: Fix identify following hw error
  1234. - Bugfix: icarus: Don't try to send work if device open failed
  1235. - Debug log when zeroing stats
  1236. - Upgrade libblkmaker to 0.3.2
  1237. - Bugfix: GBT: Advertise coinbasevalue capability
  1238. - Bugfix: Always compile add_serial now that it's somewhat generic
  1239. - icarus: Avoid sending a new job if the nonce found was for one before the
  1240. current job anyway
  1241. - icarus: Double-buffer work to solve nonces found before work change takes
  1242. effect
  1243. - icarus: Abstract nonce processing
  1244. - Bugfix: icarus: Avoid trying to submit 0 on comms error
  1245. - icarus: Skip unnecessary nonce memcpy
  1246. - icarus: Make state->last_work a pointer and store it on the heap
  1247. - README.RPC: Remove usbstats mention
  1248. - README: Add FAQ regarding cgminer messing up drivers
  1249. - README.RPC: Fix miner name
  1250. - README.RPC: Correct to mention other supported devices for pgaidentify
  1251. - api.c fix mcast debug message bug
  1252. - README.RPC: break all lines at most 80 characters
  1253. - Update the API Multicast documentation
  1254. - miner.php implement API Multicast handling to automatically find your local
  1255. net miners
  1256. - Bugfix: RPC: Fix log format types in io_flush
  1257. - Set RT_LIBS correctly from autoconf detection
  1258. - Explicitly check for clock_nanosleep and only use it when available
  1259. - Further integrate cgsleep API into BFGMiner's timer system, so clock_nanosleep
  1260. is only used on platforms with CLOCK_MONOTONIC
  1261. - Convert cgtimer_t to struct timeval
  1262. - Bugfix: Fix BSD sed syntax for curses header search
  1263. - Bugfix: configure: Really fix BSD sed syntax for libusb header search
  1264. - README.RPC: Mention multicast detection
  1265. - README: Include --mcast-* options in usage
  1266. - Use ccan's standard char* set/show functions for --api-mcast-{addr,code}
  1267. - Bugfix: RPC: Use the same mcast code in reply, and log it correctly
  1268. - API mcast only reply to remote IP's that are allowed access
  1269. - Initial API Multicast response v0.1 to find cgminer APIs
  1270. - Check for cnx_needed on each loop through wait_lp_current.
  1271. - Return positive for cnx_needed when no_work is true.
  1272. - Add no_work bool to set when we are in an underrun situation
  1273. - Reorder support names alphabetically.
  1274. - We don't want to continue into the hash_pop function if the getq is frozen.
  1275. - Carve out the unused portions of sha2 implementation.
  1276. - Import Aaron D. Gifford's fast sha256 implementation.
  1277. - Use cloned work when finding avalon results since another thread can discard
  1278. the work item while it's in use.
  1279. - Provide a variant of find_work_bymidstate that returns a clone of the found
  1280. work.
  1281. - Use timespecs on windows as cgtimer_t to capitalise on the higher resolution
  1282. clock changes.
  1283. - Abstract out the conversion of system time to an lldiv_t in decimicroseconds.
  1284. - Use our own gettimeofday implementation on windows for it to be consistent
  1285. across ming builds and higher resolution.
  1286. - Provide cgtimer_sub helper functions.
  1287. - Provide cgtimer_to_ms helper functions.
  1288. - Rename cgsleep_prepare_r as cgtimer_time to get time in cgtimer_t format and
  1289. call cgsleep_prepare_r as a macro for cgtimer_time
  1290. - TimeBeginPeriod and TimeEndPeriod do not add significant overhead when run the
  1291. entire time for cgminer so avoid trying to maintain balanced numbers of them for
  1292. specific time calls to simplify code.
  1293. - Replace all references to the old n*sleep functions with the equivalent
  1294. cgsleep_*s replacements.
  1295. - timeGetTime uses huge resources on windows so revert to using timevals for its
  1296. implementation of cgtimer_t
  1297. - Quotient/remainder error in ms division.
  1298. - Provide cgtimer_to_timeval helper functions.
  1299. - Provide a timeval_to_cgtime helper function to reuse values.
  1300. - Simplify cgsleep code for windows by using a typedef for cgtimer_t that
  1301. resolves to clock resolution, using that internally.
  1302. - On windows use the higher accuracy timegettime function to really get 1ms
  1303. clock and timer accuracy.
  1304. - Fix missed endtimeperiod in overrun timer on windows.
  1305. - Make cgsleep_us_r take an int64_t for us.
  1306. - Make the cgsleep functions build on windows.
  1307. - Set high resolution timing on windows within the cgsleep functions.
  1308. - Provide reentrant versions of cgsleep functions to allow start time to be set
  1309. separately from the beginning of the actual sleep, allowing scheduling delays to
  1310. be counted in the sleep.
  1311. - Make the nmsleep and nusleep functions use the new cgsleep functions internally
  1312. till functions are migrated to the new cgsleep API.
  1313. - Add a ms_to_timespec helper function, and create a cgsleep_ms function that
  1314. uses absolute timers with clock_nanosleep to avoid overruns.
  1315. - Add rt lib linkage to enable use of clock_nanosleep functions with older
  1316. glibc.
  1317. - Add a timeraddspec helper function.
  1318. - Provide a us_to_timespec helper function.
  1319. - Provide a us_to_timeval helper function.
  1320. - Add helper functions to convert timespec to timeval and vice versa.
  1321. - Bugfix: SGW: Discard work from log only by expiry, so post-startup hardware
  1322. errors are truly only hardware errors
  1323. - bitforce: Make voltages available to RPC
  1324. - bitforce: Save voltages as array of longs internally
  1325. - Bugfix: Clear device bad nonces when zeroing stats
  1326. - cpu & opencl: Defer RUNONCE to actual autodetection, so they can be added once
  1327. after startup
  1328. - Bugfix: Avoid crash activating [M]anage devices with no currently defined
  1329. devices
  1330. - TUI: Support for adding new devices using the plus key from [M]anage devices
  1331. - Bugfix: Use add_serial function for scan_serial, so that "all" keyword works
  1332. correctly
  1333. - SGW: Add support for new X-Hashes-Done header to allow devices to more
  1334. accurately report their work
  1335. - SGW: Add X-Mining-Identifier header to inform devices what they are
  1336. represented by in BFGMiner
  1337. - SGW: Use JSON for 401 response; add Server HTTP header
  1338. - AUTHORS: Add contributor Josh Lehan
  1339. - Changed comparison constants to allow for floating-point rounding
  1340. - Install README.ASIC for Block Erupter related drivers as well as Avalon
  1341. - make-release: Windows users don't need README.Debian
  1342. - README.OpenWrt: Import from BFGMiner downloads
  1343. - Silence Windows warning about send data signedness
  1344. - Fix block info
  1345. - API/miner.php add some % fields
  1346. - Don't yield on grabbing the read lock variant of cglocks.
  1347. - util.c expand quit to show file/func/line
  1348. - We should be using a cg_wlock initially in generating stratum work before
  1349. downgrading the lock.
  1350. - Add the ability to downgrade a write variant of the cglocks.
  1351. - Yield after releasing a lock in case we are on a device with limited CPU
  1352. resources.
  1353. - Fix --scrypt being required before scrypt intensities on command line or not
  1354. working at all via config files.
  1355. - Limit intensity range according to whether scrypt is in use or not.
  1356. - Do not allow benchmark mode to be used with scrypt.
  1357. - miner.php format Best Share
  1358. - README.ASIC block erupter USB brief
  1359. - Check for negative wait time in socket_full.
  1360. - Adjust socket wait timeout in recv_line according to how long we've already
  1361. waited to avoid a 60 second wait dropping to 1 second due to a blocked socket.
  1362. - force type checking on curses
  1363. - logging - size check sprintf
  1364. - Only use length-counted variants of format_unit and percentf
  1365. - Implement snprintf-like versions of format_unit and percentf
  1366. - miner - size check all sprintf
  1367. - size check get_datestamp/get_timestamp and remove unused cgpu->init
  1368. - make all statline overflow safe
  1369. - Convert the decay_time function into one that truly creates an exponentially
  1370. decaying average over opt_log_interval.
  1371. - GPU fan rpm display 9999 when it overflows
  1372. - Change mode on python file.
  1373. - Only update hashmeter if we have done hashes or haven't updated longer than
  1374. the log interval, fixing a us/ms error.
  1375. - README.ASIC: Document usage with Block Erupter Blades
  1376. - README: Add mention of libmicrohttpd to dependencies
  1377. - SGW: Include hash1 in work
  1378. - SGW: Include application/json Content-Type header
  1379. - Fix build without libmicrohttpd
  1380. - Allow startup to proceed with no devices, as long as RPC or HTTP are listening
  1381. - SGW: Refuse to issue new work to disabled devices
  1382. - SGW: Respond with stale rejection if share is known to be immediately stale
  1383. - Expose HTTP getwork username in Manage TUI and devdetails RPC
  1384. - Add --cmd-idle notification command for REST/WAIT conditions
  1385. - bfgminer-rpc: Accept unlimited size replies
  1386. - api-example.py: Accept unlimited size replies
  1387. - RPC: Rewrite io_data to cleanly handle unlimited sized responses
  1388. - Configure options to build --without-libmicrohttpd support
  1389. - RPC: setconfig can now change http-port (enabling or disabling the http
  1390. service included)
  1391. - Embedded HTTP server to handle getwork-based mining devices
  1392. - inc_hw_errors2 function can handle a bad nonce without a known work
  1393. - Split up scan_serial function to enable internally adding ad-hoc cgpu
  1394. - Helper functions bfg_json_obj_string and share __json_array_string
  1395. - bytes_t: Add bytes_shift and bytes_nullterminate
  1396. - Fix configure help for --without-sensors
  1397. - README: Document --with-system-libblkmaker
  1398. - Bugfix: Use BSD-friendly sed syntax for libusb header search
  1399. - Bugfix: Handle bitstreams properly
  1400. - Bugfix: Skip search for addwstr since it breaks --with-curses=preference
  1401. - Bugfix: configure: Find correct curses include path without *-config
  1402. - README.FPGA: Further clarify ZTEX setup
  1403. - Display a friendly error directing to README.FPGA when bitstream cannot be
  1404. loaded
  1405. - Remove bitstreams from BFGMiner distribution entirely, and include pointers
  1406. where to find them in README.FPGA
  1407. - ztex: Use load_bitstream_bytes for .bin files
  1408. - fpgautils: load_bitstream_bytes support for Intel HEX format (.ihx) files
  1409. - Add missing 16-bit byteswap macros
  1410. - fpgautils: load_bitstream_bytes function to load a bitstream into a bytes_t
  1411. - bytes_t functions: bytes_init, bytes_append, bytes_reset
  1412. - Look for bitstreams in /usr/share/bitstreams
  1413. - Disable Unicode support by default (use --unicode to enable)
  1414. - make-release: Skip stripping debug info from Windows EXEs, for now
  1415. - Bugfix: Ensure work variable is assigned before checking its thr_id
  1416. - Bugfix: notifier_init (Windows): setsockopt needs an int for SO_REUSEADDR
  1417. - Bugfix: Avoid turning totals red just because a processor is idle
  1418. - Enable notifications for sick/dead with --cmd-sick and --cmd-dead options that
  1419. execute commands when the event occurs
  1420. - RPC: Add cpu enable/disable/restart
  1421. - windows-build: Update to use libpdcursesw.dll
  1422. - Ensure socket error messages are used for socket errors on Windows
  1423. - fpgautils: Attempt to use Linux advisory locks on serial devices
  1424. - Bugfix: README: --temp-cutoff sets the maximum temperature before cutoff, not
  1425. temperature that triggers cutoff
  1426. - Bugfix: Avoid incrementing dev_thermal_cutoff_count when just updating
  1427. timestamp on status
  1428. - Detect curses support for wide characters during configure
  1429. - configure: Check for more variants of curses library names
  1430. - Bugfix: ztex: Avoid trying to format non-libusb error with libusb error name
  1431. - Bugfix: Avoid trying to assign const use_unicode variable with --no-unicode
  1432. option
  1433. - Remove long-unused opt_time variable
  1434. - RPC: Avoid exposing Coinbase-Sig when it isn't supported
  1435. - Bugfix: Fix build with libblkmaker < 0.2
  1436. - Attempt stratum mining.suggest_target before mining.subscribe, if
  1437. --request-diff is used
  1438. - Retry stratum if initiation fails for any reason after we have sent something
  1439. (assuming there is more older variants we can try)
  1440. - Bugfix: Restore delay for authorization on stratum mining.get_transactions
  1441. - Bugfix: Fix TUI-only build
  1442. - bitforce: Extend pgaset _cmd to variable-length commands
  1443. - Bugfix: Use red for total processor count
  1444. - bitforce: Undocumented _cmd1 pgaset for experimenting with firmware
  1445. - Bugfix: curses: use_default_colors() when possible
  1446. - Bugfix: Calculate scrolling range with new cursor lines
  1447. - Bugfix: Ensure use_unicode and have_unicode_degrees constants are defined for
  1448. curses-less builds
  1449. - Bugfix: Replace block_timeval with (time_t) block_time
  1450. - README: Update for --no-unicode option
  1451. BFGMiner Version 3.1.4 - August 2, 2013
  1452. - Windows: Rebuild pdcurses with UTF-8 and wide character support
  1453. - Bugfix: Avoid using wide curses symbols/macros when USE_UNICODE is not defined
  1454. - Unicode: Use line drawing in TUI Help
  1455. - Use bfg_waddstr even with Unicode disabled, since it's needed for red
  1456. highlight
  1457. - Colour bad conditions in red
  1458. - Unicode: Cross-tee intersecting lines
  1459. - Unicode: Use WACS_VLINE for vertical lines
  1460. - Unicode: If degrees symbol is available, add it to temperatures
  1461. - Unicode: bfg_waddstr wrapper to handle non-ASCII characters, currently used
  1462. only by logging and statlines
  1463. - Unicode: Use WACS_HLINE for horizontal lines
  1464. - Add framework for using Unicode in TUI (can be disabled with --no-unicode)
  1465. - Avoid using potentially locale-dependent ctype functions in locale-independent
  1466. contexts
  1467. - Refactor temperature in TUI statlines to share code nicer
  1468. - Bugfix: avalon: Fix applog formatting
  1469. - Bugfix: Align totals columns in per-processor view
  1470. - Bugfix: Fix curses-less build
  1471. - configure: Workaround buggy autoconf versions
  1472. - Bugfix: erupter: Include headers in order necessary for Windows
  1473. - Bugfix: Reimplement get_intrange using strtol instead of sscanf (which is
  1474. broken on Windows)
  1475. - Bugfix: get_intrange: Check for extra garbage at the end, only after we know
  1476. we have an end-position
  1477. - Bugfix: Fix Enter key in TUI on Windows
  1478. - erupter: Split identify-handling logic into handle_identify function
  1479. - Bugfix: erupter: Ensure identify is handled during no-once or firstrun
  1480. - erupter: After identify, check if a work restart is needed immediately
  1481. - erupter: Implement identify function by pausing hashing for 3 seconds
  1482. - Bugfix: icarus: Remember firstrun state in case it gets changed for the next
  1483. run
  1484. - icarus: Move actual dynclock updates to icarus_job_start
  1485. - icarus: Split out icarus_job_prepare, and rename icarus_job_start
  1486. - Bugfix: ZeroStats: Reset column widths to 1
  1487. - miner.php: Include max temperature in device totals line
  1488. - Bugfix: Stratum Fix debug logging of initial mining.subscribe command
  1489. - Bugfix: Call pool_set_opaque from work_decode, so block content hiding/
  1490. providing messages work for getwork/GBT
  1491. - Split block contents hiding/providing notices out from stratum code
  1492. - Add test suite for get_intrange
  1493. - Bugfix: Check for error conditions in get_intrange to not have weird --device
  1494. behaviour when bad values are provided
  1495. - Bugfix: erupter: Take advantage of detectone_meta_info to handle Emerald
  1496. autodetection
  1497. - TUI Help describing the various status fields (contributed by midnightmagic)
  1498. - Bugfix: ManageTUI: Allow 'I' key to be used by devices not supporting identify
  1499. - Bugfix: Prefer Sapphire over Emerald for -S erupter:*
  1500. - Bugfix: Clear total_bad_nonces when zeroing statistics
  1501. - Bugfix: modminer: Since we are not searching iManuf string for needles, only
  1502. look for "ModMiner"
  1503. - Bugfix: sysfs autodetect: Recurse into tty/ subdirectory (necessary for
  1504. CDC/ACM ttys)
  1505. - sysfs autodetect: Split tty* directory search into new _sysfs_find_tty
  1506. function
  1507. - modminer: Reduce default clock to 190 MHz
  1508. - README: Update driver info to include Erupter driver
  1509. - README: FAQ about scrypt and difficulty
  1510. - Include count of working devices/processors in totals statline
  1511. - Format totals statline the same way as individual device/processor statlines
  1512. - Rearrange TUI a bit, including menu at the top (+1 log line) and hashrate
  1513. total closer to device summaries
  1514. - Bugfix: setup_stratum_curl: Need to release stratum lock on connection failure
  1515. too
  1516. - Bugfix: Avoid unnecessary locks inside curses_print_status, which is called
  1517. with the console lock held
  1518. - Bugfix: setup_stratum_curl: Hold stratum lock until connection completes, to
  1519. avoid potential races
  1520. - Bugfix: stratum_works: If stratum is already active, it works (avoid trying to
  1521. initialise it again)
  1522. - Replace hashrate_to_bufstr/ti_hashrate_bufstr with format_unit/
  1523. multi_format_unit_array
  1524. - New multi_format_unit_array to fill multiple buffers instead of building a
  1525. delimited string
  1526. - multi_format_unit: Skip recounting length of fixed-length strings
  1527. - Shrink status line to fit in 80 columns
  1528. - Add network bandwidth rate to TUI
  1529. - New multi_format_unit variadic macro to handle formatting multiple numbers at
  1530. once
  1531. - format_unit: Option to choose 3-digit integer display vs 5-character floating-
  1532. point display
  1533. - Optimization: format_unit: Handle number first, to avoid having to restore
  1534. suffix later
  1535. - Generalise hashrate_pick_unit/hashrate_to_bufstr into pick_unit/format_unit
  1536. - Extend hashrate_pick_unit/hashrate_to_bufstr to handle sub-kilo units
  1537. - Split total_bytes_xfer to total_bytes_rcvd and total_bytes_sent
  1538. - Bugfix: _decode_udev_enc_dup: Allocate enough space for full string
  1539. - Bugfix: Never use waddstr for logwin, since it would bypass special newline
  1540. handling
  1541. - Bugfix: bitforce: Set kname on chip processors
  1542. - bitforce: Include voltages in Manage device TUI
  1543. - Defer newlines going to curses logwin, to avoid a useless blank line at the
  1544. bottom of the window
  1545. - Ensure printing to logwin always goes through _wlog
  1546. - Remove blank line above log window
  1547. - bitforce: Identify parallel queue protocol distinctly from mere bulk queue
  1548. - ManageTUI: Include kernel name, when available
  1549. - Stratum: Roll ntime as we generate work
  1550. - Stratum: Make swork.ntime native-endian
  1551. - Stratum: Treat ntime as uint32_t (as it should be), still always big endian
  1552. - Debuglog ManageTUI actions/responses
  1553. - ManageTUI: Add generic Identify support
  1554. - Bugfix: Move serial_detect* and open_bitstream to DevAPI code so CPU/OpenCL
  1555. can build properly without fpgautils
  1556. - Short-circuit logging sooner in quiet mode
  1557. - Write to both stderr and console within same console lock "session"
  1558. - Bugfix: Also hold the console lock when writing to stderr
  1559. - Use common console locking function for stdout in logging.c
  1560. - Move console lock and unlock functions (which also handle thread cancelstate)
  1561. to miner.h
  1562. - Bugfix: bitforce: Only try to clear queues of SC devices, since FPGA MR boards
  1563. interpret ZQX/ZOX differently
  1564. - Timer-based gettimeofday substitute for systems with poor time-of-day clocks
  1565. (Windows)
  1566. - Use clock_gettime(CLOCK_MONOTONIC) for timers when available
  1567. - Use QueryPerformanceCounter for timers on Windows
  1568. - Generic refactoring for timer_set_now
  1569. - Replace all remaining uses of gettimeofday for timers, with timer_set_now (aka
  1570. cgtime)
  1571. - Don't mix timers with timestamps (visual only)
  1572. - Always use struct timeval for timers, and don't mix timers with timestamps
  1573. (functional only)
  1574. - get_datestamp: Change timeval parameter to time_t, and implement
  1575. get_now_datestamp for common "current time" use case
  1576. - Use get_datestamp for (non-microsecond) log timestamps
  1577. - Bugfix: ztex: Allocate final processor names on the heap, so they survive when
  1578. the stack for ztex_prepare is gone
  1579. - Bugfix: ztex: Copy serial number to device "name" before cloning it for other
  1580. processors
  1581. - Bugfix: x6500: Use cgpu->temp directly since there is only one sensor per
  1582. processor
  1583. - Bugfix: Actually show the highest temperature, not just calculate it
  1584. - x6500: Allow changing clock speed from TUI Manage device
  1585. - x6500: Port pgaset clock from modminer driver at
  1586. 66d2a3ab072fcdbc3c7ed41a97f265afa917bbee
  1587. - modminer: Allow changing clock speed from TUI Manage device
  1588. - bitforce: Flush job and result queues at startup to avoid unnecessary warnings
  1589. - x6500: Reduce default clock to 190 MHz
  1590. - Bugfix: fpgautils: Close libusb handle after copying USB strings
  1591. - use BSD sed syntax to generate iospeed_local.h
  1592. BFGMiner Version 3.1.3 - July 11, 2013
  1593. - Bugfix: Reset staged_full flag when discarding (stale) popped work, or
  1594. increasing the queue minimum
  1595. - Bugfix: Only trigger staged work underrun if a mining thread was actually
  1596. waiting for it (and do so sooner, before it has the work made)
  1597. - bytes_cpy: avoid malloc and memcpy when size is zero
  1598. - fix infinite loop in bytes_cpy when size is zero
  1599. - Bugfix: Generate iospeeds_local.h based on termios.h defines, and only try to
  1600. use POSIX standard if that fails
  1601. BFGMiner Version 3.1.2 - July 8, 2013
  1602. - When not compiling with optimizations, initialize unused nonce2 space to avoid
  1603. warnings from memory checking tools
  1604. - TUI Manage devices: Support PgUp/PgDn keys to skip over processors within the
  1605. same device
  1606. - Bugfix: bitforce: Prefer 2nd temperature if higher than 1st
  1607. - When displaying device summary statlines, use the highest temperature reported
  1608. by any processor
  1609. - Stratum: Fix nonce2 sizes greater than 4 and (on big-endian) smaller than 4
  1610. - bitforce: Manage TUI: Display both temperatures (if two), and enable changing
  1611. fan speed
  1612. - opencl: Add fan speed to Manage device TUI now that it's been removed from
  1613. statline
  1614. - DevAPI: Remove old statline APIs entirely, and add new override_statline_temp
  1615. (used by modminer/x6500 for upload %)
  1616. - README: Update statlines
  1617. - TUI: Replace DevAPI statline_before with a predefined temperature column to
  1618. free up statline space
  1619. - Refactor and simplify bin2hex to speed up and avoid unnecessary heap use
  1620. - stratum: Refactor work generation to do hex2bin conversions once, rather than
  1621. every single header generated
  1622. - Implement bytes_t for generic binary data storage (including smart realloc-
  1623. based resize)
  1624. - Bugfix: fpgautils: Only try to change baud rate when requested
  1625. - x6500: Provide manuf/product/serial to cgpu interface
  1626. - ztex: Provide manuf/product/serial to cgpu interface
  1627. - erupter: Use baud 115200 by default
  1628. - List valid baud rates once in iospeeds.h and standardize conversions
  1629. - TUI: Display device manufacturer/product/serial in Manage device screen, when
  1630. available
  1631. - DevAPI: Store manufacturer/product/serial for each device
  1632. - fpgautils: detectone_meta_info to provide metainformation (manufacturer,
  1633. product, serial) on devices to detectone functions
  1634. - Bugfix: fpgautils: Close product string file from sysfs (autodetect)
  1635. - erupter: New icarus-based driver to handle autodetection of Block Erupter
  1636. devices
  1637. - Add --log-file option which redirects stderr to a file, but valid anywhere in
  1638. the commandline or config file
  1639. - Detect staged work underruns and increase queue to avoid them
  1640. - Rewrite hex2bin to perform much faster (reduces minirig CPU usage by more than
  1641. half!)
  1642. - README: Add condensed list of dependencies
  1643. - Enable "maintainer mode" by default
  1644. - Bugfix: opencl: TUI manage: "Change settings" must not be compiled in with
  1645. no-ADL builds
  1646. - Bugfix: Detect whether the linker accepts -zorigin before attempting to use it
  1647. - opencl: ADL: ADL_Adapter_ID_Get fails with newer drivers, so tolerate its
  1648. failure best we can
  1649. - opencl: Don't try to use BFI_INT patching with APP-SDK newer than 1084
  1650. (Catalyst 13.1), since it doesn't work
  1651. - fpgautils: Elaborate that bitstream open failures are probably due to missing
  1652. bitstream package
  1653. - fpgautils: s/firmware/bitstream/
  1654. - Bugfix: Cleanup handling of complete device/driver failure
  1655. - Deprecate -C (enable CPU) and -G (disable GPU) options, now that -S
  1656. drv:[no]auto can be used for the same purposes
  1657. - Bugfix: Since at least one of unix (or __APPLE__) or WIN32 is required by
  1658. util.h, make sure unix is defined if WIN32 is not
  1659. - Bugfix: Set ELF rpath for bundled libblkmaker to use $ORIGIN so it can be run
  1660. from other directories
  1661. - Bugfix: Cleanup needs to happen before printing the final quit message, or it
  1662. gets lost in TUI mode
  1663. - Bugfix: fpgautils: Initialize my_dev_t instances with null bytes, to ensure
  1664. random unused data cannot influence hash keys
  1665. - opencl: ManageTUI: Clear log cleanly for changing settings
  1666. - Remove "GPU management" TUI entirely
  1667. - opencl: Use new "Manage device" interface to do everything "GPU management"
  1668. used to be used for
  1669. - DevAPI: Add interface for drivers to define custom "Manage device" options
  1670. - DevAPI: New function called to display additional processor information for
  1671. "Manage devices"
  1672. - TUI: Add enable/disable commands to device management
  1673. - TUI: Implement beginnings of generic device management interface
  1674. - Bugfix: avalon: Fix LIFE_INIT2 setting
  1675. - Add LIFE_INIT2 status (safe to call functions, but not mining yet) for devices
  1676. that want to report initialization status in their statline
  1677. - Bugfix: modminer: Only program once for --force-dev-init
  1678. - Bugfix: x6500: Only program once for --force-dev-init
  1679. - fpgautils: Workaround and document Xcode clang bug
  1680. - Bugfix: avalon: Correctly claim serial port
  1681. - Bugfix: -S all: Mac OS X needs to probe /dev/cu.*, not just /dev/cu.usb*
  1682. - cpu & opencl: Refuse to detect more than once
  1683. - cpu & opencl: Respect scan-serial auto/noauto instructions
  1684. - ft232r & libztex: Skip probe of claimed devices
  1685. - fpgautils: Check for devices being claimed before calling detectone from autodetectors
  1686. - x6500 & ztex: Claim USB devices
  1687. - fpgautils: Implement bfg_claim_usb for claiming devices by USB bus number and
  1688. address
  1689. - fpgautils: Replace serial_claim with bfg_claim_serial using a more cleanly
  1690. extensible interface and implementation
  1691. - fpgautils: serial_claim: Include a bus enum in hash key
  1692. - Add serial port claiming logic to avalon, bitforce, and modminer drivers
  1693. - RPC: "devscan" command to probe for new devices
  1694. - New (internal) scan_serial function to probe for new devices at runtime
  1695. - Split out per-cgpu temperature configuration code to load_temp_config_cgpu
  1696. - DevAPI: Modify add_cgpu to use temporary devices_new array, so detection can
  1697. be done without touching live variables
  1698. - Move more cgpu initialization to allocate_cgpu
  1699. - Move devtype default assignment to allocate_cgpu
  1700. - Move cgpu startup routine to new start_cgpu function
  1701. - Move cgpu_info allocation to new allocate_cgpu function
  1702. - Move *.drv_detect calls to a new drv_detect_all function
  1703. - DevAPI: add_cgpu: There is no need to hold mutexes while creating devices
  1704. - Bugfix: cpu: Update device "kernel name" with auto-selected algorithm
  1705. - usbtest: Improve portability to at least 2.7 and 3.2
  1706. - usbtest: Avoid messing up the display by escaping weird bytes via repr()
  1707. - usbtest: Skip last 2 optional parameters, since we use the defaults and they
  1708. are not in older versions of pyserial
  1709. - Bugfix: bitforce: ZOX limits results to 16 results per call, so repeat ZOX
  1710. until there are fewer
  1711. - Bugfix: Initialization for bfgtls needs to be done in each thread
  1712. - Bugfix: stratum: Be patient with stratum lines that come in slower than we can
  1713. process them
  1714. - Use bfg_strerror in locations previously just logging raw error numbers
  1715. - Bugfix: stratum: Log WSAGetLastError() for error number on recv failures on
  1716. Windows
  1717. - Use bfg_strerror where it is already needed (for thread-safety)
  1718. - New thread-safe bfg_strerror function to portably stringify error codes
  1719. - Bugfix: bitforce_queue: Initialize buf2 so errors don't cause the work queue
  1720. to flush
  1721. - TUI: Display percentage invalid of found nonces with hw errors
  1722. - Bugfix: modminer & x6500: Increment *->diff1 for all bad nonces
  1723. - percentf2 that takes t as precalculated total
  1724. - Keep track of bad nonces independently from generic hw errors
  1725. - inc_hw_errors: Resolve cgpu outside of mutex
  1726. - Use inc_hw_errors function at every site which increases hw_errors
  1727. BFGMiner Version 3.1.1 - June 22, 2013
  1728. - stratum: Deliver exact socket-error within the debug error message
  1729. - Don't install docs for (compile-time) disabled functionality
  1730. - Bugfix: Handle make dependencies on subdirectory files properly
  1731. - Bugfix: Use EXTRA_*_DEPENDENCIES for Cygwin workaround, to fix program make
  1732. dependencies
  1733. - Support new overclocking speeds for avalon: 325, 350 and 375
  1734. - Bugfix: logging: Since we are inlining snprintf, stdio.h is needed
  1735. - Bugfix: serial_autodetect_ftdi: Debuglog FTDI COM port mappings returned, fix
  1736. type of FT_HANDLE
  1737. - Bugfix: Allow starting non-libusb devices if libusb_init fails
  1738. - Bugfix: Add missing newline to libusb_init failure message
  1739. - Bugfix: opencl: Remove unnecessary casts from rot() macro, which created type
  1740. issues
  1741. - Bugfix: Remove unused variables
  1742. - Suspend stratum connections when we know they've failed and don't try to recv
  1743. data from them once the socket no longer exists.
  1744. - applog/quit fix GPU errors created
  1745. - logging remove extra added <LF>
  1746. - remove varargs from logging/quit/in general as much as possible
  1747. - compile unix code on Mac OS X fixes not finding the config file in $HOME
  1748. - Create a pool_localgen bool function for testing when a pool can generate work
  1749. locally.
  1750. - Use mining start time for device MH/U calculations
  1751. - Bugfix: Save start time for stats to correct "Elapsed" key on "stats" RPC
  1752. request
  1753. - modminer: tidy up free in device detect function
  1754. - bitforce: RPC pgaset fanmode 9 for auto fan control
  1755. - Bugfix: usbtest: Correct obvious typos
  1756. - Initial import of usbtest.py script
  1757. - Include microseconds in log output with new --log-microseconds option
  1758. - bitforce: Workaround chip ids not necessarily being in order by choosing
  1759. processor count based on expected chip ids rather than parallelization
  1760. - serial_autodetect_ftdi: Debuglog FTDI COM port mappings returned
  1761. - Bugfix: On stratum disconnect, clear stratum_active and stratum_notify
  1762. atomically along with sock
  1763. - Windows: Use backtrace.dll to print usable backtraces to stderr on crash
  1764. - Bugfix: bitforce: parallelized: Properly handle parallelized protocol with
  1765. only 1 chip
  1766. - Bugfix: bitforce: XLINK: Increment boardno when moving on to the next board
  1767. - bitforce: XLINK: Update to use actual length,xlinkid header order
  1768. - Bugfix: bitforce: XLINK: Avoid trying to send 0 bytes after each write
  1769. - Bugfix: opencl: Build fpgautils even if OpenCL is the only driver, now that it
  1770. uses it for kernel-finding
  1771. - Bugfix: Do not try to call get_stats or get_statline* if device is still
  1772. initializing
  1773. - Bugfix: opencl: Add missing include for fpgautils.h (needed for
  1774. open_bitstream)
  1775. BFGMiner Version 3.1.0 - June 13, 2013
  1776. - Bugfix: openwrt: Expect fixed bitstream path for input
  1777. - Improve Makefile organization and fix "make install"
  1778. - icarus: Upgrade work division autodetection probe to be faster and also detect
  1779. 8 core
  1780. - Calculate rejection percentage based on weighed shares, not absolute counts
  1781. - Count weighed discarded (stale) shares per cgpu
  1782. - Bugfix: Cleanly count discarded (stale) shares without overlapping
  1783. devices/sshare locks within clear_stratum_shares
  1784. - configure: Enable Avalon support by default now that it behaves reasonably
  1785. - avalon: Since detection is not really implemented, only probe devices when the
  1786. driver is specified to -S by name (eg, "avalon:/dev/ttyUSB0")
  1787. - Bugfix: bitforce_queue: Never try to reinitialize a slave processor
  1788. - Bugfix: bitforce_queue: Use work_list_del everywhere we remove from work_list
  1789. to ensure work gets freed properly when done
  1790. - Reduce HW error logging to debug level, so it doesn't clutter the TUI log by
  1791. default
  1792. - DevAPI: When a device has more than 26 processors, represent them as aa-zz
  1793. - bitforce: bitforce: Fix TUI display of slave processors on parallelized boards
  1794. - bitforce: Only display temperature in TUI for the first chip on parallelized
  1795. boards
  1796. - Bugfix: bitforce: Set temperature for all processors on the board
  1797. - Bugfix: bitforce_queue: Initialize proc->device_data to board data for
  1798. parallelized chip processors
  1799. - Bugfix: bitforce_queue: Defer nonce count check until after thiswork has been
  1800. identified (or handled as NULL)
  1801. - avalon: avalon_clear_readbuf can simply wait for a single read timeout on
  1802. Windows to avoid select
  1803. - avalon: Simplify avalon_get_result by using avalon_gets
  1804. - avalon: Go back to good old serial timeouts for gets, since select() is for
  1805. sockets (only, on Windows)
  1806. - Updated api.c to return the hashrate with 3 decimal places
  1807. - Change hashrate display to never display 3 fractional digits, because it looks
  1808. a bit ugly
  1809. - bitforce: Credit hashrate to the correct chip on parallelized devices
  1810. - Re-set work thr_id on share submissions, to ensure the result gets credited to
  1811. the correct device in case of shared job queues (as in BitForce long boards)
  1812. - bitforce: Turn parallelization into separate logical processors for more
  1813. details on each, including working with XLink
  1814. - bitforce_queue: Implement job sanity checks using new "ZqX" for devices using
  1815. parallelization
  1816. - bitforce_queue: Minimal support for parallelization
  1817. - Add --device-protocol-dump option to debuglog low-level bitforce protocol
  1818. details
  1819. - When shutting down, set work restart flag (and trigger notifier) to help
  1820. mining threads escape to their main minerloop (and check for shutdown)
  1821. - Document and check for uthash version 1.9.2+
  1822. - Bugfix: Don't report failure for graceful mining thread shutdown
  1823. - Name devices in mining thread failures
  1824. - Warn about killing mining threads
  1825. - Bugfix: Wake up mining threads when asking them to shutdown
  1826. - Disable pthread cancel within curses locking
  1827. - Shorten the avalon statline to fit in the curses interface and show the lowest
  1828. speed fan cooling the asic devices.
  1829. - Change switch_compact function name to switch_logsize to be used for other
  1830. changes.
  1831. - Only adjust cursor positions with curses locked.
  1832. - devs display - fix GPU duplicate bug
  1833. - basic copyright statement in API.java
  1834. - Change the --device parameter parsing and configuration to accept ranges and
  1835. comma separated values.
  1836. - Modify scrypt kernel message.
  1837. - Check for pool_disabled in wait_lp_current
  1838. - Check for pool enabled in cnx_needed.
  1839. - Add README.ASIC to debian packaging and make-release
  1840. - Document avalon options in ASIC-README
  1841. - Create README.ASIC with basic summary of supported ASIC devices.
  1842. - Do avalon driver detection last as it will try to claim any similar device and
  1843. they are not reliably detected.
  1844. - Set the fanspeed to the nominal chosen for GPUs.
  1845. - Clamp initial GPU fanspeed to within user specified range.
  1846. - Avalon fan factor is already multiplied into the info values.
  1847. - Get rid of zeros which corrupt display.
  1848. - Logic fail on minimum fanspeed reporting.
  1849. - Provide a workaround for fan0 sensor not being used on avalon and pad fan RPM
  1850. with zeros.
  1851. - Add ambient temp and lowest fan RPM information to avalon statline.
  1852. - Display max temperature and fanspeed data for avalon.
  1853. - Set devices to disabled after they exit the hashing loops to prevent the
  1854. watchdog thread from trying to act on them.
  1855. - Scanhash functions perform driver shutdown so don't repeat it.
  1856. - Change the opencl shutdown sequence.
  1857. - Send the shutdown message to threads and do the thread shutdown functions
  1858. before more forcefully sending pthread_cancel to threads.
  1859. - Icarus report data direction with comms errors
  1860. - Execute driver shutdown sequence during kill_work.
  1861. - Provide an nusleep equivalent function to nmsleep.
  1862. - Set avalon_info to device data void struct.
  1863. - Make submit_nonce return a bool for whether it's a valid share or not.
  1864. - Do a non-blocking read of anything in the avalon buffer after opening the
  1865. device.
  1866. - Assign the avalon info data to the device_data in cgpu_info.
  1867. - Rename cgpu_data to use new device_data
  1868. - miner.h remove unused device_file and add device_data
  1869. - Must unlock curses as well in logwin_update.
  1870. - icarus report usb write error information
  1871. - Make mining threads report out during work submission.
  1872. - submit_work_async is no longer used directly by driver code.
  1873. - Create a logwin_update function which mandatorily updates the logwin and use
  1874. it when input is expected to prevent display refresh delays.
  1875. - All stratum calls to recv_line are serialised from the one place so there is
  1876. no need to use locking around recv().
  1877. - Only allow the mining thread to be cancelled when it is not within driver
  1878. code, making for cleaner shutdown and allowing us to pthread_join the miner
  1879. threads on kill_work().
  1880. - Implement pthread_testcancel replacement for BIONIC
  1881. - Attribute whatever stats we can get on untracked stratum shares based on
  1882. current pool diff.
  1883. - Downgrade OpenCL headers to 1.0, which work fine for our purposes and are more
  1884. compatible
  1885. - icarus: If work_division autodetect fails, just use the old default of 2
  1886. - avalonhost-raminst script to help with installing to RAM on Avalon-host
  1887. routers
  1888. - Attempt to probe /dev/cu.usb* for fallback "-S all"
  1889. - openwrt: Download uthash dependency
  1890. - Bugfix: openwrt: Always build with libsensors support disabled
  1891. - configure: Check for uthash headers
  1892. - Bugfix: ztex: Only destroy libztex device after the last handle to it has been
  1893. released
  1894. - ztex: Remove libztex slave device interface, simply passing fpgaNum to
  1895. selectFpga
  1896. - Bugfix: cpu: Fix yasm and sse2 detection
  1897. - cpu: Check for SSE2 support independently from yasm
  1898. - Bugfix: cpu: Make sure to link libsse2cpuminer.a before x86_32/libx8632.a
  1899. - Bugfix: cpu: Only build libsse2cpuminer iff yasm is available and targetting
  1900. x86_32
  1901. - Bugfix: Free work only after deleting it from list
  1902. - Remove embedded uthash.h and utlist.h from Makefile
  1903. - windows-build.txt: Update for system uthash
  1904. - Remove embedded uthash (and add dependency on system uthash)
  1905. - Replace elist.h with utlist.h
  1906. - Bugfix: Fix build with CPU mining and *without* yasm
  1907. - cpu: Be explicit about size of sha256_init address
  1908. - cpu: Add --algo fastauto (new default) to detect a usable algorithm without
  1909. taking over a minute
  1910. - cpu: Default to --algo auto
  1911. - cpu: Support all platform-applicable assembly algorithms, even if used CFLAGS
  1912. don't support them
  1913. - Ubuntu: Updated changelog, added scrypt support.
  1914. - cpu: Set fixed symbol names for stuff shared with assembly
  1915. - cpu: Create Mach-O asm binaries on Darwin-based systems
  1916. - Bugfix: cpu: Use COFF yasm binfmt on Cygwin
  1917. - Bugfix: cpu: Get correct nonce from data, where the CPU sub-drivers leave it
  1918. - Remove redundant "Reject ratio" in exit-time summary
  1919. - Apply "R+S(%)" formatting to long-form statistics
  1920. - Group stale shares in with rejects (but still distinctly counted) and make the
  1921. percentage be (reject+stale)/total
  1922. - Include rejected shares as a percentage
  1923. - Move Utility and Best Share to status line
  1924. - Remove LW from status line, since it is basically useless
  1925. - ztex: Clean up a lot of ugly casting
  1926. - Bugfix: Correctly avoid SIGPIPE on Mac
  1927. - Make set_work_target a function to set a specified char as target for use
  1928. elsewhere.
  1929. - Minor typo.
  1930. - Support more shares to be returned for scrypt mining.
  1931. - Set all stratum sockets to nonblocking to avoid trying to use MSG_DONTWAIT on
  1932. windows.
  1933. - Only use MSG_NOSIGNAL for !win32 since it doesn't exist on windows.
  1934. - Use MSG_NOSIGNAL on stratum send()
  1935. - Set TCP_NODELAY for !linux for raw sockets.
  1936. - Use TCP_NODELAY with raw sockets if !opt_delaynet
  1937. - Recheck select succeeds on EWOULDBLOCK for stratum.
  1938. - Don't use TCP_NODELAY if opt_delaynet is enabled with stratum.
  1939. - Fix warnings in avalon driver.
  1940. - correct applog typing
  1941. - Simplify the many lines passed as API data in the avalon driver now that the
  1942. API does not need persistent storage for the name.
  1943. - Duplicate the name string always in api_add_data_full to not need persistent
  1944. storage for names passed to it.
  1945. - Add extra matching work count data in API for Avalon with 4 modules.
  1946. - Clean up summary slightly better on exit.
  1947. - opencl: Disable using binary kernels on Apple by default
  1948. - Use sock_blocks in api.c
  1949. - Fix build and distdir.
  1950. - compile on win32
  1951. - Update README.scrypt with improved hashrates for 7970.
  1952. - Use copy_time helper throughout miner.c
  1953. - Provide wrappers for commonly used timer routines with API stats.
  1954. - Use flip32 function instead of open coding it in gen_stratum_work.
  1955. - Move util.c exports to util.h
  1956. - Replace gettimeofday usage with cgtime
  1957. - Adopt gettimeofday wrapper from cgminer (cgtime) that is always called with tz
  1958. set to NULL and increases the resolution on windows.
  1959. - Add high resolution to nmsleep wrapper on windows.
  1960. - Bugfix: Export stats_lock for deviceapi
  1961. - Set default ocl work size for scrypt to 256.
  1962. - fliter out the wrong result from adjust fan code
  1963. - Set last device valid work on adding device.
  1964. - Make scrypt submission use the submit_nonce code, with nonces matching
  1965. endianness.
  1966. - Increment hardware error count from the one site.
  1967. - compile avalon driver on win32 and win64
  1968. - build out of source dir
  1969. - Rename scrypt regenhash function for consistency.
  1970. - Add Mac FAQ.
  1971. - Further driver FAQs.
  1972. - Check for work restart after disable in the hash queued work loop since it may
  1973. be a long time before we re-enable a device.
  1974. - Unconditionally test for many wrong results on avalon and reset to avoid
  1975. passing a corrupt avalon result to temperature code.
  1976. - Only reset an avalon device with no results when there are no results
  1977. consecutively.
  1978. - More FAQs.
  1979. - Avoid applog in recalloc_sock.
  1980. - Avoid applog under cg_wlock.
  1981. - Put spacing around locking code for clarity.
  1982. - Avoid applog under pool_lock.
  1983. - Avoid more recursive locks.
  1984. - Avoid applog while ch_lock is held.
  1985. - Avoid recursive locks in fill_queue.
  1986. - Variable is already initialised in global scope.
  1987. - More GPU FAQs.
  1988. - More README faqs.
  1989. - Yet more README faqs.
  1990. - Add more FAQs to README.
  1991. - Wrap result wrong tests in avalon scanhash in unlikely() and only consider a
  1992. hash count of zero wrong if a restart wasn't issued.
  1993. - avalon: if result_wrong >= get_work_count jump out the read loop
  1994. - Fix warning on 32bit.
  1995. - fix the fan control on max temp2/3
  1996. - for some reason network down. one simple bfgminer command: "bfgminer -o
  1997. 127.0.0.1:8888 -O fa:ke --avalon-options 115200:32:10:50:256" can idle the
  1998. avalon for safe power and protect chip
  1999. - if hash_count == 0; reinit avalon, fix the 0MHS bug use the max value of temp1
  2000. and temp2 for fan control
  2001. - Reinstate the matching_work_count per subdevice on avalon based on the work
  2002. subid.
  2003. - Rationalise and simplify the share diff and block solve detection to a common
  2004. site.
  2005. - subid field for devices that do not yet support the distinct device/processor
  2006. interface
  2007. - Make the avalon array size a macro.
  2008. - Use replacement of work items in the avalon buffer as needed instead of
  2009. flushing them.
  2010. - Reinstate wrong work count to reset avalon regardless and display number of
  2011. wrong results.
  2012. - select() on serial usb in avalon does not work properly with zero timeout.
  2013. - Use no timeout on further reads in avalon_gets
  2014. - Do sequential reads in avalon_get_reset to cope with partial reads.
  2015. - Show read discrepancy in avalon_get_reset.
  2016. - Reuse avalon_get_work_count variable.
  2017. - Check for AVA_GETS_RESTART when deciding if avalon has messed up.
  2018. - Make the detection of all wrong results on avalon much more conservative to
  2019. avoid false positives on work restarts.
  2020. - Show error codes on select and read fail in avalon.
  2021. - If we get a restart message in avalon_gets still check if there's a receive
  2022. message to parse first without a timeout before returning AVA_GETS_RESTART.
  2023. - avalon_gets is always called from the one call site so inline it.
  2024. - The read_count is unused by the avalon get result code and no longer required
  2025. for avalon reset so simplify code removing it.
  2026. - Use a separate avalon_get_reset function for resetting avalon instead of using
  2027. avalon_get_result.
  2028. - The current hash count returned by avalon scanhash is just an obfuscated
  2029. utility counter so make it explicit.
  2030. - Check for a restart before a timeout in message parsing code in avalon.
  2031. - We should check for a restart message before checking for a timeout in avalon
  2032. scanhash.
  2033. - Store the subid for the work item in avalon.
  2034. - Fix record_temp_fan function in avalon driver.
  2035. - Remove inappropriate memset of struct avalon result which was corrupting fan
  2036. values.
  2037. - Only do_avalon_close once on multiple errors.
  2038. - Reset the result_wrong count on block change in avalon scanhash to prevent
  2039. false positives for all nonces failed.
  2040. - Small timeouts on select() instead of instant timeout increase reliability of
  2041. socket reads and writes.
  2042. - Rotate the avalon work array and free work on AVA_SEND_BUFFER_EMPTY as well.
  2043. - Only get extra work in fill_queue if we don't have any unqueued work in the
  2044. list.
  2045. - Don't get any work if our queue is already full in avalon_fill.
  2046. - Free avalon->works in the event we call avalon_prepare on failure to
  2047. initialise.
  2048. - Fix warnings.
  2049. - Create an array of 4 lots of work for avalon and cycle through them.
  2050. - Remove unused per unit matching work count for avalon.
  2051. - Rename the confusing avalon_info pointer.
  2052. - Simplify avalon scanhash code using the new find_queued_work_bymidstate
  2053. function.
  2054. - Members of cgpu_info for avalon are not meant to be in the union.
  2055. - Use correct struct device_drv for avalon_drv.
  2056. - Check enough work is queued before queueing more in avalon_fill.
  2057. - Actually put the work in the avalon queue.
  2058. - Rename avalon_api to avalon_drv.
  2059. - First draft of port of avalon driver to new cgminer queued infrastructure.
  2060. - Minor README updates.
  2061. - README.GPU: Properly warn about overclocking damage
  2062. - Add example 7970 tuning for scrypt in readme.
  2063. - Update driver recommendations.
  2064. - Add extensive GPU FAQs for the flood of new Scrypt miners.
  2065. - Bugfix: Expect bitstreams and kernels to be in the srcdir, not build dir
  2066. - cpu: Prefer sse4_64 algorithm if supported
  2067. - cpu: sse2_32: Force bare symbols for cross-asm/C symbols
  2068. - Compile CPU mining for win32 and win64
  2069. - configure: Check for pthread in -lwinpthread
  2070. - Use has_pth flag instead of trying to mess with pthread internals
  2071. - configure: Explicitly check for nanosleep
  2072. - configure: Include "no" response in BFG_PTHREAD_FLAG_CHECK
  2073. - miner.h missing extern
  2074. - Update links and recommended SDKs.
  2075. - Bugfix: README.GPU: Fix some typos
  2076. - Update README to match changes to display.
  2077. - Remove increasingly irrelevant discarded work from status lines.
  2078. - Remove increasingly irrelevant GW value from status.
  2079. - README.GPU: Correct terminology
  2080. - Update README about intensity.
  2081. - Bugfix: Restore always autodetecting stratum as non-scrypt
  2082. - icarus: Replace default of 2 work_division/fpga_count with autodetection of 1,
  2083. 2, or 4
  2084. - Update scrypt readme with newer information and to match changes in code.
  2085. - Set default GPU threads to 1 for scrypt.
  2086. - Connect backup stratum pools if the primary pool cannot deliver work.
  2087. - Use a new algorithm for choosing a thread concurrency when none or no shader
  2088. value is specified for scrypt.
  2089. - Do not round up the bufsize to the maximum allocable with scrypt.
  2090. - Remove the rounding-up of the scrypt padbuffer which was not effectual and
  2091. counter-productive on devices with lots of ram, limiting thread concurrencies
  2092. and intensities.
  2093. - Make pool adding while running asynchronous, using the pool test thread
  2094. functionality.
  2095. - Only curl easy cleanup a stratum curl if it exists.
  2096. - Add intermediate variants of cglocks that can be up or downgraded to read or
  2097. write locks and use them for stratum work generation.
  2098. - Move the stratum data to be protected under a new cg_lock data_lock.
  2099. - Convert the ch_lock to cg_lock.
  2100. - Convert the control_lock to a cg_lock.
  2101. - Remove unused qd_lock.
  2102. - Implement cg_lock write biased rwlocks.
  2103. - Don't start testing any pools with the watchpool thread if any of the test
  2104. threads are still active.
  2105. - Set sockd to false should curl setup fail on stratum.
  2106. - Reopen the socket whenever we're retrying stratum.
  2107. - Set pool died on failed testing to allow idle flag and time to be set.
  2108. - Remove unused pthread_t typedefs from struct pool.
  2109. - Perform pool_resus on all pools that are found alive with the test pool
  2110. threads.
  2111. - Use pool_unworkable in select_balanced as well.
  2112. - Differentiate pool_unusable from pool_unworkable.
  2113. - Keep a connection open on higher priority stratum pools to fail back to them.
  2114. - Set the wrong bool in pool_active
  2115. - Only bypass unusable pools if they're not the selected ones.
  2116. - Find the first usable pool in preference to the current pool in select_pool
  2117. for work.
  2118. - Add a pool_unusable function which checks if a pool is stratum but not active
  2119. to use within switch_pools.
  2120. - API no longer ignore send() status
  2121. - API make the main socket non-static
  2122. - Start the stratum thread only if we successfully init and authorise it,
  2123. otherwise unset the init flag.
  2124. - Make the initialisation of the stratum thread more robust allowing the
  2125. watchpool thread safe access to it after the stratum thread is started.
  2126. - Shorten the time before keepalive probes are sent out and how frequently
  2127. they're sent with stratum curls.
  2128. - Display select return value on select fail in stratum thread.
  2129. - Clear the socket of anything in the receive buffer if we're going to retry
  2130. connecting.
  2131. - Perform pool resus on pools that were not set as the initial pool at startup.
  2132. - Allow pools to be resuscitated on first startup by the watchpool thread.
  2133. - Check all pools simultaneously at startup switching to the first alive one to
  2134. speed up startup.
  2135. - Close any sockets opened if we fail to initiate stratum but have opened the
  2136. socket.
  2137. - API use control_lock when switching pools
  2138. - Clear last pool work on switching pools if the current pool supports local
  2139. work generation or we are in failover only mode.
  2140. - make rw locks: mining_thr_lock and devices_lock
  2141. - work queues - remove new but unnecessary functions
  2142. - functions for handling work queues
  2143. - find_work() to find work in devices work queue
  2144. - Add a get_queued function for devices to use to retrieve work items from the
  2145. queued hashtable.
  2146. - Add the choice of hash loop to the device driver, defaulting to hash_sole_work
  2147. if none is specified.
  2148. - Add a driver specific flush_work for queued devices that may have work items
  2149. already queued to abort working on them on the device and discard them.
  2150. - Flush queued work on a restart from the hash database and discard the work
  2151. structs.
  2152. - Create a central point for removal of work items completed by queued device
  2153. drivers.
  2154. - Create a fill_queue function that creates hashtables of as many work items as
  2155. is required by the device driver till it flags the queue full.
  2156. - Create the hash queued work variant for use with devices that are fast enough
  2157. to require a queue.
  2158. - Make sure to do full avalon_init if the device_fd is invalid.
  2159. - Document extra zero byte in avalon_reset.
  2160. - Microoptimise likely paths in avalon_gets.
  2161. - Make sure to set timeout to 100ms instead of 1ms in avalon read loop for
  2162. select.
  2163. - Make sure to get time of first response in avalon read loop.
  2164. - Use select for a reliable timeout in avalon read and don't read 1 byte at a
  2165. time, optimising read loop.
  2166. - We should break on the loop on a work restart in avalon, and only consider all
  2167. errors if we actually have gotten some results.
  2168. - Avalon init on comms error as well.
  2169. - Reinit avalon device in case of FPGA controller mess up.
  2170. - Increase reliability of avalon startup by only opening and resetting the
  2171. device once, looking for the id sequence offset by one byte as well, and still
  2172. ignoring if it's wrong, assuming it is an avalon.
  2173. - Nest avalon_decode functions to avoid doing unnecessary lookups once we have
  2174. found the nonce.
  2175. - Use htole32 wrapper for nonce encoding in avalon.
  2176. - Remove unused rev8 function from avalon driver.
  2177. - Remove const qualifier from driver structs
  2178. - rename device_api -> device_drv and all related api -> drv
  2179. - rename get_proc_by_id() to get_devices()
  2180. - Wrap access to devices array under a mutex
  2181. - Provide wrappers for grabbing of thr value under the mining_thr_lock.
  2182. - mutex all access to mining_thr
  2183. - Split thr_info array into control_thr and mining_thr pointers so more mining
  2184. threads can be added later
  2185. - Update the hashmeter at most 5 times per second.
  2186. - Speed up watchdog interval and therefore display updates to 2 seconds.
  2187. - Add README.GPU to EXTRA_DIST.
  2188. - Split out the GPU specific information from the README into a README.GPU file.
  2189. - Update docs and reorder README to show executive summary near top.
  2190. - Add more FAQs about crossfire.
  2191. - Convert error getting device IDs in ocl code to info log level only since
  2192. multiple platforms may be installed and the error is harmless there.
  2193. - Unnecessary extra array in ocl code.
  2194. - Cope with the highest opencl platform not having usable devices.
  2195. - Update kernel file names signifying changes.
  2196. - Use constants from the array of __constants throughout the diablo kernel.
  2197. - Create a __constant array for use within diablo kernel.
  2198. - Use global constant arrays for all other constants used in scrypt kernel.
  2199. - Use global __constants for sha functions in scrypt kernel.
  2200. - Use constants for endian swap macros.
  2201. - Revise scrypt kernel copyright notice.
  2202. - Separate out additions in scrypt kernel.
  2203. - Reuse some Vals[] variables that can be assigned to constants earlier in the
  2204. poclbm kernel, making for fewer ops.
  2205. - Put all constants used in poclbm kernel into __const memory array to speed up
  2206. concurrent reads on the wavefront.
  2207. - opencl: Support for reading temperature from free software radeon drivers via
  2208. libsensors
  2209. BFGMiner Version 3.0.3 - June 13, 2013
  2210. - make-release: Include all submodules, recursively
  2211. - Remove API.java example (no copyright license)
  2212. - Minimally fix "make install" to ignore bitstream sources
  2213. - Add submodule for ZtexBTCMiner (aka ztex_ufm1_*)
  2214. - Add submodule for X6000_ztex_comm4 (aka x6500-overclocker-0402)
  2215. - ztex: Use standard file header/comment formatting, and update license to GPLv3
  2216. - bitforce: Allow a longer timeout (1250ms) for ZCX (Device Information)
  2217. commands
  2218. - Bugfix: pdcurses doesn't like changing logwin size without clearing it also,
  2219. so do that in display options
  2220. - -S all: Start QueryDosDevices probe with 256-byte buffer
  2221. - Use common code to ensure the prefix of -S *:all remains in all
  2222. implementations of it (/dev glob was removing prefixes)
  2223. - bitforce_queue: Ensure comma following nonce count is there, to error cleanly
  2224. - bitforce: Report queue send failures, and count as hw errors
  2225. - Bugfix: bitforce_queue: Don't try to send ready-to-queue work to device, when
  2226. there is no ready-to-queue work
  2227. - Bugfix: bitforce: Clear want_to_send_queue flag when flushing queue, since we
  2228. can't send an empty queue
  2229. - bitforce: Include new total queued count in flush debugging
  2230. - Bugfix: bitforce_queue: Implement a minimum wait time of 10ms
  2231. - README: Document serial device format for Mac OS X
  2232. - Bugfix: cairnsmore1: Enable building with libudev autodetection even if only
  2233. icarus drivers are enabled
  2234. - Bugfix: sysfs autodetect: Continue searching even after finding one tty (fixes
  2235. multiple ttys per device, such as some Cairnsmore1s)
  2236. - Bugfix: ztex: Avoid destroying libztex device in case other processors are
  2237. still in use (fixes crash when 1.15y becomes unavailable)
  2238. - Update windows-build.txt
  2239. - ccan: Add missing copyright comment headers
  2240. - Remove obsolete mknsis.sh
  2241. - Add missing copyright sections to files that may need them
  2242. - Standard copyright format (including year) for adl_functions.h
  2243. - Bugfix: When disabling device, ensure its prev_work (if any) gets freed
  2244. properly
  2245. - Check stratum socket exists and is writable before even considering whether
  2246. the sessionid is the same or not
  2247. - Bugfix: Check that the stratum_share struct for a failed submission is still
  2248. in the submission hashtable before trying to delete it
  2249. - README: Add missing documentation for CPU algorithms cryptopp_asm32, sse2_32,
  2250. and altivec_4way
  2251. - Bugfix: icarus: Check work restart before timeout
  2252. - Bugfix: icarus: Debuglog the correct read timeout (and omit from work restart
  2253. since there's no trivial way to get it)
  2254. - README: Update links
  2255. - Bugfix: cpu: Fix warning on Win64
  2256. - Bugfix: avalon: Strict formatting
  2257. - Bugfix: Cleanup trivial warnings
  2258. - Bugfix: bitforce: Seek to end of nonce counter to find nonces, in case there
  2259. are more than 9
  2260. - Bugfix: Build hexdump.c into the project normally like everything else
  2261. - Bugfix: Really fix device entries in saved config file
  2262. - Update the write config to properly record device entries and remove disabled
  2263. option.
  2264. - avalon: Really fix applog formatting
  2265. - va_copy is meant to be matched by a va_end in log_generic.
  2266. - Further fix distdir for hexdump.c
  2267. - Fulltest is true if value is <= target.
  2268. - Fix warning with no curses built in.
  2269. - Bugfix: configure: Check NEED_FPGAUTILS correctly
  2270. - configure: Better grammar for --enable-cpumining help
  2271. - Bugfix: Check for SSE 4.1 support before building sse4_64 asm CPU miner (uses
  2272. MOVNTDQA instruction)
  2273. - Bugfix: elist: Use uintptr_t for member offset
  2274. - Bugfix: opencl/adl: Fix format string
  2275. - Bugfix: opencl: Correct usage of formatted prints
  2276. - Increase fd limits as much as possible at startup
  2277. - Bugfix: bitforce: bulk queue: Cleanly retry for high temperature recovery
  2278. - Fixed deps for raring, which has newer libudev1.
  2279. - bitforce: debuglog actual result data
  2280. - Bugfix: Missing 'else' can result in null pointer dereference in race
  2281. - Minor grammo in avalon driver.
  2282. - Make avalon temperature reading LOG_INFO level.
  2283. - Fix the problem of seting up termio of ttyUSB0 for icarus. the CSIZE is the
  2284. mask of CS2/4/8
  2285. - bufsize is an unsigned integer, make it so for debug.
  2286. - Bugfix: bitforce: Include get_api_stats in BQUEUE mode
  2287. - Bugfix: Always compile support for commandline --temp-target and
  2288. --temp-cutoff, and write them in the config for all devices
  2289. - Bugfix: Ensure cURL timers get set correctly in submission thread
  2290. - Bugfix: modminer: Remove unused parameter to sprintf
  2291. - Bugfix: modminer: Use correct format for bytes left in bitstream upload
  2292. message
  2293. - Bugfix: Access strategy name string directly instead of accidentally
  2294. - Add printf-format syntax checks to more functions that should use it
  2295. - AUTHORS: Add more contributors
  2296. - Support configure flag --with-system-libblkmaker to allow building without the
  2297. bundled copy
  2298. - Bugfix: Use HTTP/1.1 compatible product token for User-Agent header
  2299. BFGMiner Version 3.0.2 - April 28, 2013
  2300. - Receive failures in recv_line should unconditionally fail.
  2301. - Use sock_blocks function for stratum send and receive.
  2302. - Avoid applog under stratum_lock in __stratum_send.
  2303. - Create an OS specific sock_blocks function.
  2304. - There should be no error response code with return value 0 in recv_line.
  2305. - Check for errors on stratum recv for any recv return value less than 1 and
  2306. only parse the response if it's positive.
  2307. - Avoid applog under stratum_lock in recv_line.
  2308. BFGMiner Version 3.0.1 - April 24, 2013
  2309. - Bugfix: configure: Move actual roundl macro back to miner.h after math.h
  2310. should be included
  2311. - Bugfix: configure: Use dummy pointer to correctly detect roundl when conftest
  2312. main is missing argc parameter
  2313. - Bugfix: configure: Use variable argument to roundl to prevent compilers from
  2314. optimizing it out entirely
  2315. - Remove bitstreams from Windows binary distributions (README directs users to
  2316. download source and copy them)
  2317. - make-release: Remove autom4te.cache from distributed source
  2318. - Bugfix: Omit --no-opencl-binaries option from build if OpenCL is not being
  2319. compiled
  2320. - Bugfix: Check that all pools have URIs set before starting
  2321. - Bugfix: bitforce: Make noncebuf large enough for max qresults +1 (for OK line)
  2322. - opencl: Ability to avoid using binary kernels with new --no-opencl-binaries
  2323. option
  2324. - README: Include jansson PKG_CONFIG_PATH in example for Mac
  2325. - Include trailing \0 with coinbase sigs if there's room
  2326. - Differentiate socket closed from socket error in recv_line.
  2327. - Add new best share info to verbose logging.
  2328. - Add notice for when network diff is changed.
  2329. - convert sleep(const) to nmsleep()
  2330. - Rename longpoll threads according to what pool they're associated with
  2331. - miner.php report 'Last Valid Work' as time before request
  2332. - API V1.25 - add 'Last Valid Work' time for each device
  2333. - add 'count' to customsummarypage 'calc'
  2334. - Bugfix: ztex: Initialize fw_buf pointer to NULL so a free before allocation is
  2335. safe
  2336. - Cleanup when stratum curl fails to initialise.
  2337. - LTC text typo
  2338. - Recreate cURL for new stratum connections, and clear stratum_notify on
  2339. suspending them
  2340. - clear_stratum_shares: Rename diff_stale variable to diff_cleared
  2341. - MMQ it's a bitstream
  2342. - Update a pool's last work time when the work is popped as well as staged.
  2343. - Extend stratum connections another minute (total 2 minutes) after the last
  2344. work item was staged, and maintain last_work_time for non-stratum pools.
  2345. - Fix --benchmark generating valid work for cgminer.
  2346. - Bugfix: Correct pdbuilder result directory
  2347. - Omit add_serial_all code when serial support is not wanted
  2348. - Use configure to detect presence of roundl to avoid redefining an actual
  2349. function (possibly inline)
  2350. - Bugfix: roundl: Add needed parenthesis to perform ?: before +
  2351. - Bugfix: ft232r: Defer allocating structure until after USB endpoint is
  2352. successfully opened, so it won't leak in case of failure
  2353. - Bugfix: ztex: Free bitstream in memory when done with it
  2354. - Bugfix: Safely handle all-space cURL debug messages, should they ever happen
  2355. - Silence warnings about poor format usage for quit()
  2356. - Apply noreturn and printf-format attributes to quit() function definition
  2357. - Bugfix: set_serial_rts get flags to manipulate them correctly
  2358. - Bugfix: Missing return for /dev globbing
  2359. - Bugfix: Free unused work when retrying failed lp request
  2360. - Display processor name with thread disabled/re-enabled messages
  2361. - Move best share to top summary line, and add network difficulty to block line
  2362. - opencl: Default to phatk kernel for Mesa platform
  2363. - opencl: Default to single thread with Mesa OpenCL
  2364. - opencl: Check for Mesa OpenCL and avoid using binary kernels with it
  2365. - bitforce: Never increase bulkqueue poll wait time during queue underruns
  2366. - bitforce: Start off polling bulk queue every 100ms
  2367. - bitforce: Log device queue size after getting bulk results
  2368. - bitforce: Ensure bulkqueue polling occurs at least once a second
  2369. - opencl: Include OpenCL platform in kernel binary filenames
  2370. - bitforce: Use bulk queue mode for all SC devices
  2371. - Bugfix: bitforce: When reinitializing, free all known works to avoid
  2372. decrementing reset queued counter
  2373. - bitforce: Handle timeout during ZOX as cleanly as possible
  2374. - Bugfix: bitforce: Make reinitialization more complete and safe
  2375. - Bugfix: bitforce: Close opened fd if reinit fails
  2376. - Bugfix: bitforce: Retry ZGX until device is NOT busy
  2377. - bitforce: Log when zero queued results are received
  2378. BFGMiner Version 3.0.0 - April 5, 2013
  2379. - Update libblkmaker to 0.3.0
  2380. - debian: Include new api-example.py in docs
  2381. - added example for Python using the RPC API
  2382. - added SPEC file for SUSE distributions
  2383. - Bugfix: bitforce: Free initialization data to avoid trivial one-time memory
  2384. leak
  2385. - Support for local submission of found blocks (GBT only)
  2386. - bitforce: RPC pgaset fanmode 0-5 for manual fan control
  2387. - bitforce: More debugging information
  2388. - Bugfix: modminer: Since RPC always includes the temperature, we don't need to
  2389. add it specially
  2390. - bitforce: Expose dual temperature sensors to RPC
  2391. - bitforce: Support for up to 2 temperature sensors per processor
  2392. - Bugfix: bitforce: BFP_QUEUE: Attempt to recover from extra queue results, or
  2393. the next job finishing early
  2394. - bitforce: Always send a new job ASAP after flushing the queue
  2395. - bitforce: Implement "Queue Job Pack" (ZWX) and use it for XLINK devices to
  2396. avoid USB latency issues
  2397. - bitforce: Ignore INPROCESS added to ZOX response
  2398. - Implement minerloop_queue for devices that process work items too fast to keep
  2399. track of which one they're currently working on
  2400. - bitforce: Split ZOX command into its own function
  2401. - Bugfix: DevAPI: Free work when preparing it fails
  2402. - DevAPI: Abstract get_and_prepare_work for minerloops
  2403. - DevAPI: Move select() logic from minerloop_async to do_notifier_select
  2404. - Clarify stratum mining.set_difficulty debug log message
  2405. - No longer call configure from autogen.sh
  2406. - Bugfix: bitforce: Ensure result_busy_polled gets set for queue mode to avoid
  2407. unnecessary 10ms wait times
  2408. - Bugfix: bitforce: Use common code for end of job_get_results, so queue results
  2409. don't short-circuit timing code
  2410. - Bugfix: bitforce: Ensure "OK" doesn't remain in queued results buffer
  2411. - Bugfix: bitforce: next_line needs to increment beyond the newline character
  2412. - Update README for x970 memdiff values.
  2413. - Do not scan other gpu platforms if one is specified.
  2414. - Update README for sync objects on windows.
  2415. - Add information for setting gpu max alloc and sync parameters for windows with
  2416. scrypt.
  2417. - Whitelist AMD APP SDK 2.8 for diablo kernel.
  2418. - Show pool number in switch message
  2419. - Clear just the socket buffer when we don't care what is left in a stratum
  2420. socket.
  2421. - Clear the stratum socket whenever we are closing it since the buffer is going
  2422. to be reused.
  2423. - Do not continue work from a stratum pool where the connection has been
  2424. interrupted.
  2425. - Close any existing stratum socket if we are attempting to restart stratum so
  2426. the pool knows the connection has gone.
  2427. - Show mechanism of stratum interruption if select times out.
  2428. - Make stratum connection interrupted message higher priority to be visible at
  2429. normal logging levels.
  2430. - API add 'Network Difficulty' to 'coin'
  2431. - avalon: if all result are wrong in one batch read. reinit the avalon
  2432. - avalon: record the last result temperature info
  2433. - delay when close avalon; only record matched result
  2434. - avalon: fix no_matching_work only count when debug
  2435. - avalon: minor change
  2436. - avalon: add idle code
  2437. - avalon: fliter the temp_max >= 100, print the result for debug.
  2438. - avalon: export more data to API stats
  2439. - avalon: add default chip frequency
  2440. - avalon: fix the work_i3 init
  2441. - avalon: add reinit_device
  2442. - avalon: the temp_history_count base on timeout
  2443. - avalon: fix mistake on adjest_fan
  2444. - avalon.c: fix the copyright
  2445. - bfgminer-rpc: add -o option: no format, only the result
  2446. - avalon: update fan pwm
  2447. - avalon: update the FAN_PWM MAX/MIN
  2448. - avalon: minor change
  2449. - avalon: overclock code
  2450. - avalon: fix the display
  2451. - avalon: minor change
  2452. - avalon: fix the fan/temp control
  2453. - avalon: fix the temp_avg
  2454. - avalon: fix temp
  2455. - avalon: add fan/temp control
  2456. - avalon: add FAN speed factor
  2457. - avalon: add TODO on fan/temp control. cleanup detect
  2458. - avalon: add the gate_miner bits
  2459. - avalon: only send one byte on reset
  2460. - avalon: add support on send 2 bulk taskes at begin
  2461. - avalon: fix the hash_count return
  2462. - avalon: fix the LOG_WARNING
  2463. - avalon: add comment on hash_count
  2464. - avalon: WORKAROUND on hashrate
  2465. - avalon: update max miner_num
  2466. - avalon: add more info on api
  2467. - avalon: add nonce_elf and more info on match miner_num
  2468. - avalon: change reset to 300ms
  2469. - avalon: move bulk buffer to it's info structrue
  2470. - avalon: more work on hashrate and read_count
  2471. - avalon: add baud 38400 support
  2472. - avalon: fix nonce_range EB
  2473. - avalon: fix the hashrate wrong
  2474. - more info on avalon API
  2475. - avalon: fix the nonce_range EL
  2476. - avalon: fix the read count
  2477. - avalon: more work on nonce_range
  2478. - avalon: read() times and send delay fixed
  2479. - avalon: add the send delay option
  2480. - avalon: print out fan/temp info
  2481. - avalon: add the result info (fan/temp etc)
  2482. - avalon: more check on hardware error
  2483. - avalon: more work on get_work_count
  2484. - avalon: now we have dynamic get_work_count
  2485. - avalon: more work on parameters
  2486. - avalon: add timeout parameter
  2487. - avalon: baud as parameter now
  2488. - avalon: send work pitch should be : (15*(8+2)*4/19200)s
  2489. - avalon: more work on match work
  2490. - avalon: fix free_work
  2491. - avalon: continue on reset work. wait for buffer empty
  2492. - avalon: add options, if write() error. sleep(1) before reset()
  2493. - avalon: more cleanup
  2494. - avalon: finish read when Buffer empty
  2495. - avalon: fix the nonce EB issue
  2496. - avalon: MORE work
  2497. - avalon: fix the EB/LB issue
  2498. - avalon: some cleanup
  2499. - avalon: fix the first configure task
  2500. - more work on the avalon buffer
  2501. - avalon: fix the BIG_ENDIAN issue
  2502. - avalon: Fix the buffer statu
  2503. - change defines to avalon parameters
  2504. - fix the cts return
  2505. - avalon: change the data to uint8_t, add some test temp code
  2506. - avalon: fix task init
  2507. - avalon: more data format work
  2508. - change to avalon data format
  2509. - debug: add a debug hexdump.c
  2510. - avalon: add some code on match work
  2511. - avalon: try to correct the pool_status and dev_status
  2512. - avalon: more work on multi-works
  2513. - avalon: more work on read
  2514. - avalon: more work on get results
  2515. - more RTS code on avalon.c/h
  2516. - more RTS code
  2517. - avalon: some cleanup
  2518. - avalon: more work on new work queue structrue
  2519. - fpgautils.c: use lancelot as target
  2520. - avalon: since we submit task as bulk data. modify again
  2521. - add scanhash_queue
  2522. - renmae avalon.h to driver-avalon.h
  2523. - fpgautils.c: add get_serial_cts
  2524. - understand the avalon protocol more
  2525. - avalon: new software structrue but target as lancelot
  2526. - add avalon.h
  2527. - avalon: fix warning
  2528. - avalon: add TODO comments
  2529. - more AVALON defines
  2530. - avalon: more work
  2531. - add driver-avalon.c
  2532. - add avalon support to automake
  2533. - Default to work queue mode on BitForce SC devices
  2534. - bitforce: Implement support for non-contiguous XLINK slave addressing
  2535. - gnulib: stdint: fix build with Android's Bionic fox x86
  2536. - gnulib: stdint: Improve support for Android.
  2537. - gnulib: stdint: Add support for Android.
  2538. - Check for ?e##toh macros independently from hto?e##
  2539. - If pthread_cancel is missing/emulated, set asynchronous thread cancel type on
  2540. stage, watchdog, watchpool, and longpoll threads since the emulation cannot
  2541. support deferred cancellation
  2542. - If pthread_cancel is missing (Bionic/Android), emulate it using pthread_kill
  2543. and pthread_exit
  2544. - configure: Intelligently detect what flags/libs get us working pthread, and
  2545. define HAVE_PTHREAD_CANCEL if pthread_cancel is available
  2546. - Bugfix: Initialize mutex_request to invalid so devices that don't use it
  2547. (bitforce) don't try to
  2548. - RPC: pools: Add "Message" to show last client.show_message received over
  2549. stratum
  2550. - Stratum: Support client.show_message method
  2551. - Don't retry without resume support, if the first attempt just timed out
  2552. - Bugfix: minerloop_async: Intelligently handle work updates and device disables
  2553. during transitions
  2554. - Bugfix: minerloop_async: Free old (unused) prepared work when replacing it
  2555. with an upgraded one
  2556. - Bugfix: Free pool sessionid before replacing it
  2557. - Bugfix: Stratum: Address dereference-after-free and memory leak introduced in
  2558. resume support
  2559. - Stratum: If old protocol fails as well, try to resume again next time around
  2560. - Bugfix: Stratum: Only failover to old mining.subscribe protocol if the
  2561. previous attempt was the new one (fixes a flood of retries)
  2562. - Try to extract the sessionid associated with mining.notify on 3rd level array
  2563. and submit it along with the userid to support mining resume, failing gracefully
  2564. and restarting if the pool rejects it.
  2565. - Cope with misread sessionid on stratum for now.
  2566. - Use the sessionid as passed on stratum connect to attempt to resume a
  2567. connection once and then clear it if it fails, to use a new connection.
  2568. - Move to storing the nonce1 in the work struct instead of the sessionid for the
  2569. now defunct first draft mining.resume protocol.
  2570. - Only continue submitting shares with mining.resume support on stratum when the
  2571. session id matches.
  2572. - Provide support for mining.resume with stratum, currently re-authorising after
  2573. successful resumption pending finalising of the protocol process.
  2574. - Provide basic framework for restarting stratum depending on whether resume
  2575. support exists or not.
  2576. - Abstract out the setting up of the stratum curl socket.
  2577. - Remove redundant setting of strings to NULL since the whole work struct is
  2578. zeroed.
  2579. - Only clear stratum shares mandatorily on stratum dropouts when the pool does
  2580. not support resume.
  2581. - Stratum: Keep trying to submit shares, even across reconnects
  2582. - Use new select loop primitives in submission thread
  2583. - Bugfix: Missing pool_no parameter to applog for no-stratum-sessionid debug
  2584. message
  2585. - Do as much outside of mutex locking of sshare_lock as possible.
  2586. - Remove last reference to struct work used outside the sshare_lock in
  2587. submit_work_thread
  2588. - Unlock the sshare_lock in submit_work_thread when all references to work and
  2589. sshare are complete.
  2590. - Bugfix: Copy and free sessionid on work objects
  2591. - Add timestamps to stratum_share structs as they're generated and copy the
  2592. stratum sessionid if it exists to stratum work generated.
  2593. - Store session id for stratum if the pool supports it for future mining.resume
  2594. support.
  2595. - Keep the unique id of each work item across copy_work to prevent multiple work
  2596. items having the same id.
  2597. - x6500: Never consider processors idle if they're enabled
  2598. - x6500: Make mutex management cleaner by blocking device select loop during
  2599. idle get_stats
  2600. - Bugfix: minerloop_async: Always refer to real thread for select loop
  2601. - Bugfix: Initialize work_restart_notifier[1] to INVSOCK instead of -1 to be
  2602. portable
  2603. - ztex: Use restart_wait to react quicker to work updates
  2604. - Handy TIMEVAL_USECS macro
  2605. - Restore blocking restart_wait function with nearly identical semantics as old
  2606. one
  2607. - Bugfix: bitforce: Rework sleep delay adjustment logic to properly deal with
  2608. more accurate timing readings (added in device API update)
  2609. - Hidden --force-rollntime option for getwork pools (use like --pool-priority,
  2610. after each pool definition)
  2611. - Include processor id in get_work logging
  2612. - Support for BIP23 BPE request target extension via new --request-diff option
  2613. - Hidden option to reduce "work update" messages to debug level:
  2614. --quiet-work-updates
  2615. - Change "work restart" to "work update" in messages to reflect reality more
  2616. accurately (no work is lost), and normalize case of "longpoll"
  2617. - HACK: Since get_work still blocks, reportin all processors dependent on this
  2618. thread
  2619. - Move FD_SETSIZE definition to configure so it affects everywhere it needs to
  2620. - Move absolute_uri function to util.c
  2621. - Remove now-unused blocking-wait code (restart_cond, restart_wait, and
  2622. stale_wait)
  2623. - Bugfix: bitforce: Zero hashes complete if we get an invalid response
  2624. - HACK: Since get_work still blocks, reportout all processors dependent on this
  2625. thread
  2626. - bitforce: Support for work queue protocol on BitForce SC devices
  2627. - Use new double-stage format for SC devices
  2628. - modminer+x6500: Expose frequencies to API in terms of MHz to be consistent
  2629. with ztex driver and cgminer
  2630. - bitforce: Replace (bool)cgpu->nonce_range with (enum)bitforce_data->proto
  2631. - bitforce: XLINK support for multiple processors
  2632. - bitforce: Prepare log messages for XLINK by separating into proc and dev
  2633. messages
  2634. - bitforce: Always use fd/mutex pointers on actual device, to prepare for XLINK
  2635. support
  2636. - bitforce: Get fd/mutex pointers only once per function
  2637. - bitforce: Abstract commands to bitforce_cmd1 (single-stage) and bitforce_cmd2
  2638. (double-stage) functions
  2639. - bitforce: Debuglog device information during detection
  2640. - Bugfix: Missing includes needed on Windows
  2641. - Bugfix: Use waddstr instead of wprintw to display completed device summary
  2642. line, so literal %s don't get interpreted as formatting options
  2643. - Bugfix: bitforce: Avoid polling continuously between work restart and job
  2644. completion
  2645. - bitforce: Use poll device API when job_get_results needs to wait
  2646. - bitforce: Use poll device API when job_start needs to wait
  2647. - stale_work_future function to determine in advance if a work/share will be
  2648. stale at some future time
  2649. - bitforce: Minimally refactor to adapt to new minerloop_async
  2650. - minerloop_async: Break out of select on work_restart_notifier
  2651. - Replace UNIX-only work_restart_fd pipe with portable work_restart_notifier
  2652. - Bugfix: Clean out unused variables from minerloop_async
  2653. - Move new device API code to new deviceapi.c source file
  2654. - Make minerloop_async more async, using some callbacks to handle event
  2655. completions
  2656. - Split part of minerloop_async into do_get_results, and a bit other
  2657. reorganization
  2658. - Abstract select_timeout function to convert a realtime timeval to a timeout
  2659. pointer for select()
  2660. - Split part of minerloop_async into do_process_results, and don't allow
  2661. api->job_get_results to return hashes
  2662. - Split part of minerloop_async into do_job_prepare and do_job_start
  2663. - Initialize thr->tv_poll to -1 (disabled)
  2664. - Update the hashmeter one last time before disabling a device
  2665. - minerloop_async: Break out of select for wakeup notifications
  2666. - Replace mining thread queues (which were only used for wakeup pings) with
  2667. notifiers (which can be used with select and co)
  2668. - Unify all mining thread wakeup to mt_enable (simplifying code)
  2669. - Bugfix: get_statline: Correct device summary status, only showing DEAD or OFF
  2670. if it affects all processors
  2671. - Working processor disable/enable with new async minerloop (currently gets
  2672. stuck if all processors disabled)
  2673. - Bugfix: get_statline: Only care about the processor status if
  2674. --show-processors is set
  2675. - Bugfix: watchdog: Use processor thr_info even if it isn't a real thread
  2676. - Only support thread-per-device or N-threads-per-processor; simplify
  2677. work_restart check
  2678. - x6500: Remove mutex, since driver is single-threaded now
  2679. - Bugfix: Update utility every get_statline call, and include every processor
  2680. involved
  2681. - HACKING: New text file to document the internal workings of (currently) the
  2682. device API
  2683. - Bugfix: mining_threads is now a total of thr_info objects, not necessarily
  2684. actual running threads
  2685. - x6500: Working (but incomplete) asynchronous/single-threaded driver
  2686. - Incomplete (but workable) asynchronous minerloop
  2687. - Core support for managing multiple processors from a single thread
  2688. - Allow device drivers to implement their own minerloop
  2689. - Move cgpu_info and thr_info initialization to main, and ensure all get
  2690. initialized before starting any threads
  2691. - Refactor and simplify miner_thread (no major behavioural changes)
  2692. - Move difficulties to end of share result message, so they can be made to line
  2693. up nicely
  2694. - Bugfix: Consolidate share result message code (including fixing displayed
  2695. hash portion for stratum)
  2696. - miner.php: Include ProcID in Device column as a letter
  2697. - Show summaries per-device unless --show-processors is used (also available on
  2698. Display TUI menu)
  2699. - Order next_proc linked list in processor id order
  2700. - Consolidate processor summary line generation for TUI and text-only modes
  2701. - RPC: Update to include ProcID so multiprocessor devices can be understood
  2702. correctly
  2703. - RPC: Common function for adding device-identifying fields
  2704. - modminer: Make single-processor statline look like other temperature-only
  2705. statlines
  2706. - modminer: Split each FPGA into its own logical processor (in the same device
  2707. still)
  2708. - modminer: Get mutex pointer only once per function
  2709. - ztex: Combine master+slave devices into a single multiprocessor device
  2710. - Preformat dev_repr (device representation) and proc_repr (processor
  2711. representation) once for use everywhere
  2712. - x6500: Split each FPGA into its own logical processor (in the same device
  2713. still)
  2714. - x6500: Get mutex pointer only once per function
  2715. - Minimal support for defining devices with multiple logical processors
  2716. - Rename all README files to standard README.* style
  2717. BFGMiner Version 2.10.6 - April 5, 2013
  2718. - Bugfix: Restore missing variable
  2719. - Bugfix: openwrt: Never include _ in platform name
  2720. - Bugfix: Fixed typo in bfgminer-rpc usage
  2721. - pool_active: Ensure temporary curl is always cleaned up
  2722. - Try to find jansson via pkg-config first, and fall back to checking system
  2723. defaults if that fails
  2724. - Attempt to find libjansson via pkg-config if AC_CHECK_LIB fails
  2725. - Update scrypt readme re drivers and sdk.
  2726. - Bugfix: README: Move --device out of GPU only options
  2727. - Update .gitignore
  2728. - Added bfgminer-rpc binary to .gitignore
  2729. - Bugfix: Actually change to the newly selected pool when statum is inactive and
  2730. it decides to change
  2731. - Bugfix: modminer: Properly fail on dynclock error
  2732. - Bugfix: opencl: Clean pc_data->work before freeing pc_data
  2733. - Bugfix: Correct order of libblkmaker libraries so static builds work
  2734. - Bugfix: Need to ensure __BIG_ENDIAN__ is defined before including uthash.h
  2735. - Bugfix: Stratum: When destroying cURL easy handle, be sure to clear pool
  2736. stratum_curl pointer
  2737. - Bugfix: bitforce: Fix warning
  2738. - Bugfix: Stratum: Properly handle non-integer "id" for client.get_version
  2739. requests
  2740. - json_dumps_ANY utility function to portably implement json_dumps(..., ... |
  2741. JSON_ENCODE_ANY)
  2742. - Bugfix: bitforce: Free old name when updating it on reinitialization
  2743. - Stratum: Include pool number in send/recv protocol logging
  2744. - Include pool number in stratum thread name
  2745. - API always report failed send() replies
  2746. - API.java allow partial reads
  2747. - Bugfix: Stratum: Use curl_easy_cleanup to close connection, so cURL
  2748. understands what is going on
  2749. - Bugfix: hash_pop: If a work should be rolled, use a clone of it rather than
  2750. consume a rollable work
  2751. - openwrt: Move Makefile into a bfgminer subdirectory to avoid symlinking issues
  2752. - openwrt: Use --with-curses=ncurses to avoid ncursesw dependency
  2753. - configure: Support --with-curses=FOO to look for curses implementation in
  2754. libFOO
  2755. - Set pool socket to INVSOCK after closing connection, just in case
  2756. - Clean up compiler warnings
  2757. - Bugfix: Check that pool is active one last time before selecting it
  2758. - Bugfix: Trim whitespace (like newlines) off the end of debug info from
  2759. libcurl
  2760. - Bugfix: submit_nonce: Backup the original work->blk.nonce since the miner
  2761. code uses it to track work consumption
  2762. - Bugfix: Scheduler needs to unpause disabled devices, even if it isn't waking
  2763. them up
  2764. - Bugfix: Use SOCKETTYPE for notifiers, to avoid potential overflow on Win64
  2765. - Bugfix: Some versions of MingW define localtime_r, but don't handle the
  2766. timeval.tv_sec case that we use; so undef any preexisting one and use our own
  2767. - Bugfix: reinit_gpu: Remember the selected device to correctly change
  2768. properties of
  2769. - Bugfix: cpu: reinit_device hasn't worked since 93b284d, so just remove it
  2770. entirely instead of letting it screw with thread 0
  2771. - Document necessity to run ldconfig and possibly configure ld.so
  2772. - Bugfix: Complete startup after just one pool is found active, no need to wait
  2773. for the rest
  2774. - Bugfix: Update links
  2775. - miner.php: Replace PGA dev number with concatenated device ID
  2776. - Bugfix: miner.php: Display devices with aligned columns instead of assuming
  2777. they come out of the RPC aligned
  2778. - Bugfix: miner.php: Silence PHP "local timezone" warning
  2779. - Bugfix: api-example: Try to use BSD sockets on any non-Windows platform
  2780. - Bugfix: stratum: Delay mining.get_transactions request until after auth has
  2781. succeeded, so its failure doesn't abort the connection (also avoids any delay
  2782. from a large result)
  2783. - --no-getwork option to disable getwork protocol support
  2784. - Clarify dependencies with Debian/Ubuntu package names
  2785. BFGMiner Version 2.10.5 - February 8, 2013
  2786. - Bugfix: Actually increment template_nonce when we use it
  2787. - Change file modes.
  2788. - Fix logic fail on partial writes with stratum send that was leading to corrupt
  2789. message submissions.
  2790. BFGMiner Version 2.10.4 - February 7, 2013
  2791. - New platform ports: OpenWrt and Win64
  2792. - Update official Windows build compiler and libraries:
  2793. - - Upgrade GCC from 4.6.3 to 4.7.2
  2794. - - Upgrade libusbx from 1.0.10 to 1.0.14
  2795. - - Upgrade jansson from 2.3.1 to 2.4
  2796. - - Upgrade libcurl from 7.26.0 to 7.28.1
  2797. - - Upgrade pthreads-win32 from 2.8.0 to 2.9.1
  2798. - Bugfix: Release libudev handle when ID_MODEL doesn't match what we're looking
  2799. for
  2800. - openwrt: Script to build for multiple platforms easily
  2801. - openwrt: Bitstreams should be "all" arch
  2802. - Working OpenWrt Buildroot Makefile
  2803. - Do not enable the pool disable on reject feature unless explicitly enabled
  2804. with --disable-rejecting.
  2805. - Check for calloc failure for completeness in gen_stratum_work.
  2806. - Cache the coinbase length to speed up stratum work generation.
  2807. - Cache the header length when generating stratum work to avoid calculating it
  2808. on every work generation, and to only need one alloc+sprintf, speeding up work
  2809. generation.
  2810. - Use heap ram for coinbase in gen_stratum_work, zeroing it before use.
  2811. - Provide a wrapper for aligning lengths of size_t to 4 byte boundaries.
  2812. - Bugfix: ztex: While 1.15y can finish highspeed FPGA config immediately, at
  2813. least 1.15x needs some delay
  2814. - Use CURLOPT_OPENSOCKETFUNCTION to intercept the socket being created for
  2815. stratum, in order to workaround CURLINFO_LASTSOCKET breakage on Win64
  2816. - make-release: Update for Win64 and bfgminer-rpc.exe
  2817. - Use localtime_r instead of localtime, including a Windows implementation that
  2818. handles Win64's broken struct timeval.tv_sec
  2819. - Use standard execv arg type on Win64
  2820. - Bugfix: Correct various size mismatches
  2821. - Ensure winsock2.h is always included before windows.h
  2822. - Bugfix: Add necessary Winsock library to bfgminer-rpc linking
  2823. - Bugfix: Remove dependencies of compat.h on miner.h for Windows (moves
  2824. timersub/timeradd to compat.h where it belongs)
  2825. - modminer: Raise default/maximum clocks to 210 and 250 respectively
  2826. - modminer: Use better-performing X6500 overclocker bitstream
  2827. - Disable libusb linkage/usage when neither X6500 nor ZTEX support is desired
  2828. - Add support for "--scan-serial all" via simply globbing /dev
  2829. - fpgautils: serial_autodetect implementation using sysfs
  2830. - fpgautils: Unified serial_autodetect function to find a serial device
  2831. regardless of the underlying method
  2832. - fpgautils: Look for bitstreams in ../share/bfgminer/ too
  2833. - Bugfix: Ensure curses library is always linked in NCURSES_LIBS, to avoid
  2834. unnecessary dependencies for (non-curses) tools
  2835. - Bugfix: GBT: work->data is always little-endian, but libblkmaker wants the
  2836. nonce in native-endian
  2837. - Bugfix: cpu: Corrections necessary to get 'c' and 'cryptopp' algorithms
  2838. working on big endian
  2839. - Bugfix: Sanity check for bits exponent in real_block_target
  2840. - Bugfix: cpu: Increment nonce after checking (rather than before), to avoid
  2841. skipping the first nonce of each scanhash call
  2842. - cpu: via: Only swap back the nonce, rather than all data
  2843. - cpu: Minor optimization by checking H==0 before calling fulltest
  2844. - Bugfix: Skip yasm check when building for non-x86 platforms
  2845. - Allow --scantime alias to --scan-time
  2846. - Build bfgminer-rpc program from api-example.c
  2847. - Bugfix: Remove miner.h include from api-example.c since it isn't needed and
  2848. pulls in libblkmaker
  2849. - Make wrapping consistent at 79-80 characters per line
  2850. - Bugfix: Correct numerous misspellings, typos, etc
  2851. - Bugfix: Prefer using a non-frozen mining thread for watchdog
  2852. - Bugfix: x6500: Expose x6500_fpga_data even if JTAG reset/detect fail, since
  2853. it is still used to store temperature info if the other FPGA initializes
  2854. - Adding ZTEX Windows guide from Jason Snell
  2855. BFGMiner Version 2.10.3 - January 22, 2013
  2856. - Revert "x6500: Whenever we get a hardware error, purge buffers just in case
  2857. of read/write desync"
  2858. - Bugfix: libblkmaker: Check that zero-padding on base58check input matches
  2859. output (needed to properly reject addresses with too many or too few prefix/pad
  2860. '1's)
  2861. - Bugfix: Free bin2hex output in __update_block_title
  2862. - Bugfix: Allocate space for the terminating null byte on new current_hash
  2863. - Display tail end of prevblock hash rather than start+32bits
  2864. - Try to extract block height from coinbase scriptSig, when mining stratum
  2865. - Display next block height when using GBT
  2866. - Use suffixes for target-difficulty also, in share accept/reject loglines
  2867. - Bugfix: Implement common target_diff function, fixing scrypt-specific bugs in
  2868. and simplifying common code shared by set_blockdiff, calc_diff, and share_diff
  2869. - Set DISPLAY to :0 by default (on non-Windows)
  2870. - Bugfix: Reset pool bytes received when zeroing stats
  2871. - miner.php trim trailing zeros on some of the STATS numbers
  2872. - Semi-Cherrypick: API stats - include pool network bytes + in miner.php
  2873. - Best Share readme
  2874. - API zero - zero statistics - all or bestshare - with optional on screen
  2875. summary
  2876. - api.c pgaenable not re-enabling the device - plus related debug
  2877. - diffexactone pool diff1 used for share value calculation is ffffffff... not
  2878. 100000000... :P
  2879. - miner.php user/pass fix 'usr' is readonly
  2880. - miner.php optional user/pass login restrictions
  2881. - zero (most) API stats
  2882. - Remember best share per pool and return in API pools
  2883. - ztex: precheck the secondary solutions to avoid hw errors the ztex bitstreams
  2884. gives back the latest checked nonce and its hash7 value and two possible
  2885. solutions.
  2886. - Bugfix: configure: if blocks require at least one command, so fill with true
  2887. - Bugfix: Only log stratum resume if it was actually "idle" before
  2888. - Zero the best share string memory when zeroing stats.
  2889. - Change the pool stratum socket buffer to new cgminer implementation, to
  2890. allocate it in a grow-only fashon and reduce virtual memory fragmentation at
  2891. the expense of CPU time.
  2892. - Differentiate socket full from sock full.
  2893. - Allow stratum to startup without notify but check it is valid before creating
  2894. stratum work.
  2895. - Do not try to generate stratum work unless the notify command has succeeded.
  2896. - Document Mac OS X configure usage with Homebrew pkg-config path
  2897. - Clean up post-configure display of compile environment
  2898. - Bugfix: If native ncurses detection fails, print "none?" result before moving
  2899. on to try AC_SEARCH_LIBS scan
  2900. - Fix more printf-format non-compatibilities
  2901. - Update windows-build.txt
  2902. BFGMiner Version 2.10.2 - December 27, 2012
  2903. - Update documentation to include block difficulty
  2904. - Reset all stats when requested
  2905. - Reset total diff1 shares when zeroing stats as well to show correct work
  2906. utility.
  2907. - Update documentation.
  2908. - Parse anything in the stratum socket if it's full without waiting. Empty the
  2909. socket even if a connection is not needed in case there are share returns.
  2910. - Provide a mechanism to zero all the statistics from the menu.
  2911. - Display the current pool diff in the status line.
  2912. - Display block diff in status line.
  2913. - Generalise the code for solving a block to enable block solve detection with
  2914. scrypt mining.
  2915. - Generate the output hash for scrypt as well and use the one function to set
  2916. share_diff.
  2917. - Use one size for scratchbuf as a macro in scrypt.c
  2918. - Remove the unused sha224 functions.
  2919. - Check staged_rollable under staged lock, when cloning available work.
  2920. - scrypt_diff uses a uint64_t as well.
  2921. - Correct target for stratum support with scrypt mining.
  2922. - Bugfix: Ensure nonces are put in data as little-endian in test_nonce*
  2923. - Add low-level debugging info for data_buffer (some only enabled with
  2924. -DDEBUG_DATABUF)
  2925. - Make all_data_cb fwrite-compliant by returning nmembs, and check for unlikely
  2926. overflows
  2927. - Bugfix: Need to do extract_sockaddr before trying to initiate stratum
  2928. (erroneous http URI usage, except at startup)
  2929. - Bugfix: Update last GBT work in pool_active before staging it, since otherwise
  2930. it could possibly be consumed before we copy it
  2931. - Bugfix: Address Windows-specific formatting issues (including lack of support
  2932. for %ll*)
  2933. - Bugfix: ztex: Correct formatting for reset failure error
  2934. - ztex: Fix formatting in a debug message
  2935. - cairnsmore: Don't bother timing dynclock detection, since there's no standard
  2936. way to log it accurately
  2937. - Correct formatting in FPGA drivers
  2938. - opencl/adl: Fix formatting to fit strict rules
  2939. - Explicitly cast all_data.buf to char* for debug printing
  2940. - Follow strict time_t handling rules
  2941. - Use GNU format-checking attribute when available for applog
  2942. BFGMiner Version 2.10.1 - December 21, 2012
  2943. - libztex: fixed a typo
  2944. - libztex: check returnvalue of libusb_claim_interface() and release the
  2945. interface in case of early exit
  2946. - Bugfix: submissions: Skip FD_ISSET when fd==-1 (let the next select setup deal
  2947. with cleaning them out)
  2948. - Bugfix: Remove sws from write_sws list when discarding it due to pre-send
  2949. stratum disconnection
  2950. - Bugfix: Shutdown stratum socket when initiate fails, so it doesn't linger
  2951. - Bugfix: Clear stratum receive buffer when initializing, in case there was
  2952. extra unprocessed data in it from a previous connection
  2953. - Stop all work from the current pool if it's a stratum pool once it is
  2954. disconnected since it will be invalid upon reconnecting.
  2955. - Discard all staged work from stratum pools as well as the shares upon
  2956. disconnection since all the work becomes invalid.
  2957. - Use correct cbreak after 15 second delay when no pool is found alive.
  2958. - modminer: Set default clock frequency to user request so it sticks better
  2959. - modminer: Make valid frequency range consistent: 2-230
  2960. - Allow stratum to work with scrypt.
  2961. - MMQ add api pgaset for clock
  2962. - API V1.23 - new pgaset command, to be used soon
  2963. - Protect the best_share/best_diff values under control lock.
  2964. - Bugfix: modminer: Return failure to change frequency when device reports it
  2965. - opencl: Look in the right place for OpenCL library on Mac OS X
  2966. - Bugfix: AC_C_BIGENDIAN is reported to have problems, and invasive even if
  2967. buried in a conditional, so don't use it
  2968. - Bugfix: Check for bswap_* first, to avoid redefinition based on other variants
  2969. - Bugfix: autoheader isn't smart enough to figure out variable defines, so use
  2970. AH_TEMPLATE for each possible header
  2971. - Check a stratum pool hasn't gone dead while being a backup pool and missed
  2972. having its idle flag cleared.
  2973. - Fix null pointer issue when one chip on an X6500 is not initialized yet when
  2974. reading temperature.
  2975. - Hot-patch broken libcurl pkgconfig CFLAGS found in libcurl's Windows binaries
  2976. - Update OpenCL 1.2 headers from http://www.khronos.org/registry/cl/api/1.2/
  2977. - Reorganize detection of platform byteswap macros and endian to be more robust
  2978. using autoconf
  2979. - Move new bandwidth-based Efficiency to status line
  2980. - Replace work-based efficiency with new bandwidth-based efficiency
  2981. - Bugfix: Pull out GBT request collapsing since it is no longer needed with new
  2982. get_work main loop
  2983. - Bugfix: Free unused work when waiting on external GBT request
  2984. - README: Explicitly mention automake dependency
  2985. - README: Update AMD APP SDK URIs
  2986. - Bugfix: Free shares discarded before beginning submission
  2987. - Bugfix: Discard stratum shares waiting for a writable socket, if the pool
  2988. disconnects in the meantime
  2989. - Bugfix: Always let watchpool thread handle dead pool recovery (including for
  2990. stratum-only pools)
  2991. - Bugfix: Avoid lingering stratum_auth when connection is lost
  2992. - API-README explain custom page extensions in miner.php
  2993. - miner.php add a sample group pool report
  2994. - miner.php allow where,group,having on cumstom pages
  2995. - Bugfix: Hook CURLOPT_DEBUGFUNCTION to count actual bytes sent/received by
  2996. libcurl
  2997. - Bugfix: Reset pool transparency_time when connecting to stratum
  2998. - Bugfix: Immediately discard shares found on disconnected stratum pools, since
  2999. there is no way to submit them
  3000. - Bugfix: Decrement total_submitting when stale shares are discarded before any
  3001. submission attempts
  3002. - Bugfix: Only try to compare stratum job_id for work that has a job_id (ie,
  3003. ones that came from stratum)
  3004. - Bugfix: Recheck has_stratum even if the pool hasn't changed, in case pool has
  3005. switched to another protocol in the process; also only delay 5 seconds before
  3006. retry if pool is the same
  3007. - Bugfix: Try GBT if no pool protocol is known (can occur in the process of
  3008. stratum failover to GBT)
  3009. - Bugfix: Correctly track discarded stratum shares, and log them as "disconnect"
  3010. in sharelog
  3011. - Check for EWOULDBLOCK when supported in send and recv as well.
  3012. - Use the raw send() command instead of curl_easy_send since curl raw socket
  3013. usage introduces random bugs on windows.
  3014. - Use raw recv() command in place of curl_easy_recv since the curl
  3015. implementation introduces random bugs on windows builds when the recv fails.
  3016. - miner.php when displaying a single rig, add prev/next rig buttons if they
  3017. exist, next to refresh
  3018. - miner.php allow custom page joins for STATS
  3019. - miner.php - include windows easyphp link
  3020. - driver-ztex: use the correct size for the swap array
  3021. - API stats - display pool byte transfer stats
  3022. - Pool store data transfer stats
  3023. - Benchmark incorrect work size
  3024. - ChangeLog refer to NEWS
  3025. - driver-ztex: search the complete noncerange based on the actual speed
  3026. - API-README update
  3027. - api use a dynamic io buffer, truncated before it reaches the current ~64k
  3028. limit
  3029. BFGMiner Version 2.10.0 - December 11, 2012
  3030. - Bugfix: Free work before replacing it with clone
  3031. - Bugfix: Since we are using pipes for select notifier on *nix, we need to use
  3032. read/write there
  3033. - Bugfix: Winsock needs send/recv for sockets, not write/read
  3034. - Bugfix: opencl: Initialize pc_data to avoid clean_work checking uninitialized
  3035. pointers
  3036. - Bugfix: Correct parenthesis in bind() call in Windows notifier_init
  3037. - Include Windows error messages in notifier_init errors
  3038. - Include prctl header for thread renaming to work.
  3039. - Set tv_idle time if a pool is not active when input from the menu.
  3040. - minor unlikely zero pointer test
  3041. - BeaverCreek doesn't like BFI INT patching.
  3042. - Only stratum pools that are idle need to be kicked via cnx_needed.
  3043. - Do not do any setup if opt_api_listen is disabled in api.c.
  3044. - libztex: in case the selectFpga() failed set the selected fpga to unknown
  3045. - Only set the lagging flag for select_pool() on failed getwork if we're not in
  3046. opt_fail_only mode.
  3047. - driver-ztex: support for broken fpga on a multifpga board
  3048. - libztex: use a function for the twice called firmware reset code
  3049. - libztex: removed an unused struct member (ztex->valid)
  3050. - Set the pool lagging flag on startup to avoid it being shown initially, and
  3051. only unset it once the maximum number of staged work items has been reached.
  3052. - libztex: Include compat.h for substitute libusb_error_name (on older libusb
  3053. versions missing it)
  3054. - Suppress warning about "succeeded" not being used in finish_req_in_progress
  3055. for now
  3056. - Bugfix: Always give the get_work thread a curl, regardless of other
  3057. outstanding curls in use
  3058. - Bugfix: Failover after even a single job-request failure (or else it takes
  3059. too long on timeouts)
  3060. - Bugfix: Need to remove and re-add curl easy handles from multi to start a new
  3061. request
  3062. - Access total_submitting under mutex lock to avoid any potential races, and
  3063. increment it as soon as we queue the submission up
  3064. - Just leave the submit_work thread running persistently
  3065. - Bugfix: Restore work->pool after prepare_rpc_req since clean_work now clears
  3066. it
  3067. - Bugfix: Now that stage_work is trying to manipulate staged_work in the same
  3068. thread, clone_available needs to stage it outside of its own lock
  3069. - Make main() the getwork scheduler once everything is set up, so that all app
  3070. exits use the kill_work and quit paths.
  3071. - Set successful connect to true on auth stratum to allow summary on exit from
  3072. single stratum pool.
  3073. - Hash_pop should signal further waiters on its own pthread conditional in case
  3074. there are multiple waiters.
  3075. - Check the job_id has not changed on stratum work when deciding if the work is
  3076. stale as might occur across disconnections.
  3077. - Perform pool_resus on getwork pool that generates work in getwork_thread.
  3078. - Set pool lagging message for getwork pool that falls to zero staged in getwork
  3079. thread.
  3080. - Stage extra work when the primary pool is a getwork pool without rolltime.
  3081. - Do not try to clean up twice if kill message is given.
  3082. - Only recalculate total_staged in getwork thread if required.
  3083. - Include the correct config header in libztex and include it before other
  3084. includes.
  3085. - Implement a completely new getwork scheduler. Stage all work from the one
  3086. thread, making it possible to serialise all requests minimising the number of
  3087. getworks requested or local work generated. Use a pthread conditional to wake up
  3088. the thread whenever work is removed to generate enough work to stay above the
  3089. watermark set by opt_queue. Remove all remnants of the old queueing mechanism,
  3090. deleting the now defunct queued count.
  3091. - Bugfix: Clean up share hashing and target checks, fixing share difficulty
  3092. calculation for above-target would-be-shares
  3093. - Use templates from pool_active and longpolls without fetching more
  3094. unnecessarily
  3095. - Try to avoid requesting GBT jobs when there is already a request in progress
  3096. that will likely provide sufficient work
  3097. - Reuse most recent GBT job if in get_work_thread if it isn't stale
  3098. - libztex: fixed some warnings and removed some whitespaces
  3099. - Remove all references to the now unused workio_cmd structure.
  3100. - Remove the old workio command queue thread, replacing it with a kill
  3101. conditional to exit the program.
  3102. - Remove getwork command from workio_cmd queues and do them directly from
  3103. queue_request.
  3104. - Begin tearing down the old workio command queues by removing submit commands
  3105. from there and submit them asynchronously via their own threads.
  3106. - driver-ztex: changed two pairs of malloc()/memset() to calloc()
  3107. - libztex: Read bitstream file in 2kb blocks with simpler and faster code
  3108. - Added the binary versions of ztex_ufm1_15d4.ihx and ztex_ufm1_15y1.ihx
  3109. - libztex: Add firmware download support for ZTEX 1.15d and 1.15x
  3110. - libztex: Factor out local version of libusb_get_string_descriptor_ascii()
  3111. - libztex: Don't return error when a bitstream was already configured
  3112. - libztex: Read bitstream file in 64kb blocks with simpler and faster code
  3113. - libztex: Verify that the mining firmware is not a dummy firmware
  3114. - libztex: Match mining firmware ZTEX descriptor against the dummy firmware
  3115. - libztex: Start download sequence only after reading in the new firmware
  3116. - libztex: Download mining firmware to all devices with dummy firmware
  3117. - Update windows build instructions.
  3118. - Set pool probed to true on successful authorisation with stratum to avoid it
  3119. being pinged later.
  3120. - Style changes.
  3121. - Allow pool active to be called on stratum or disabled pools in the watchpool
  3122. thread if the pool has not been probed.
  3123. - lock (most of) the threaded statistics updates
  3124. - README stats don't add up
  3125. - Rearrange summary lines and include count of active submissions in progress
  3126. - Defer submissions instead of blocking in pop_curl_entry
  3127. - Run a single share submission thread asynchronously submitting all shares in
  3128. parallel
  3129. - Handle share submissions asynchronously, one at a time (still threaded)
  3130. - Split up json_rpc_call so it can be used asynchronously in libcurl-multi
  3131. - Split submit_upstream_work into _request and _completed stages, pulling out
  3132. json_rpc_call
  3133. - Bugfix: Adjust USB_* variables to new LIBUSB_* names
  3134. - Bugfix: Avoid double-free due to realloc_strcat moving memory around
  3135. - Bugfix: Stratum connections might be needed for share submissions up to a
  3136. minute after the last time they are used to generate work
  3137. - Bugfix: Clean work before trying to generate new stratum work on top of it
  3138. - Bugfix: modminer: Get rid of useless usbutils include
  3139. - Make need connection return true if a pool is idle.
  3140. - New --skip-security-checks option to allow miners to skip checks when it
  3141. saves bandwidth
  3142. - Skip stratum transaction download when there are no transactions
  3143. - API add Best Share to summary
  3144. - API lock access to some summary statistics (and copy them)
  3145. - Enable backup stratum connections for getwork when the primary pool doesn't
  3146. have longpoll aka solo mining.
  3147. - Check for correct absence of opt_fail_only in cnx_needed.
  3148. - Remove unused variable.
  3149. - The specification for stratum has been elaborated to say that a changed diff
  3150. applies only to new work so do not retarget when submitting shares.
  3151. - Suspend stratum connections to backup pools when there is no requirement to
  3152. potentially grab work from them.
  3153. - Rename rename_thr to RenameThread to match cgminer
  3154. - modminer: Adopt symbolic command names from kanoi
  3155. - Make gen_stratum_work more robust by using a dynamically allocated array for
  3156. the header in case bogus data is sent by the pool to avoid overflowing a static
  3157. array.
  3158. - scrypt_diff now returns a uint64_t
  3159. - Support monitoring and reporting much higher diffs for scrypt mining,
  3160. truncating irrelevant zeroes from displayed hash.
  3161. - Pass ostate values around in scrypt to be able to extract full hashes if
  3162. needed later on.
  3163. - Revert "Handle crash exceptions by trying to restart cgminer unless the
  3164. --no-restart option is used."
  3165. - Provide helper function realloc_strcat to extend arbitrary length arrays
  3166. based on string length.
  3167. - Use base_work for comparison just for cleanness in __copy_work
  3168. - Remove all static work structs, using the make and free functions.
  3169. - Add pool no. to stale share detected message.
  3170. - Add info about which pool share became stale while resubmitting.
  3171. - Reduce extra slots in the max backlog for ztex to minimise memory waste.
  3172. - Get rid of unused last_work in opencl thread data.
  3173. - Do away with the flaky free_work api in the driver code which would often lose
  3174. the work data in opencl and simply flush it before exiting the opencl scanhash.
  3175. - Minor work handling restructure, including moving some stratum data from
  3176. fixed-size buffers to their own heap allocations.
  3177. - opencl: Use new dev_error function for REASON_DEV_NOSTART
  3178. - Provide rudimentary support for the balancing failover strategies with stratum
  3179. and GBT by switching pools silently on getwork requests.
  3180. - Convert remaining modminer and bfl uses of usleep to nmsleep.
  3181. - Convert libztex to nmsleep where possible.
  3182. - Convert unreliable usleep calls to nmsleep calls in ztex driver.
  3183. - Tidy up device error counts
  3184. - Only increase gpu engine speed by a larger step if the temperature is below
  3185. hysteresis instead of increasing it to max speed.
  3186. - Convert pool not responding and pool alive message on backup pools to verbose
  3187. level only since they mean a single failed getwork.
  3188. - Use stratum block change from backup pools as an alternative to longpoll for
  3189. pools that don't support LP.
  3190. - Round some more static string arrays to 4 byte boundaries.
  3191. - There is no need for the static arrays to be larger than required, so long as
  3192. they're 4 byte aligned to appease ARM.
  3193. - Hash1 is only used by the CPU mining code and never changes so remove it from
  3194. the work struct and bypass needing to process the value for all other mining.
  3195. BFGMiner Version 2.9.5 - December 11, 2012
  3196. - Bugfix: Copy share hash to work->hash before doing 4-byte flip required by
  3197. fulltest
  3198. - driver-ztex: libztex_setFreq() must be called before ztex_releaseFpga()
  3199. - libztex: Make log messages say bitstream when refering to bitstreams
  3200. - Increase FD_SETSIZE to 4096 on Windows
  3201. - Bugfix: Use AC_PROG_CPP in libusb include subdirectory detection for improved
  3202. portability
  3203. - Bugfix: Free input memory after prioritising pools in TUI
  3204. - Bugfix: Free filename entry for writing config file when done with it
  3205. - Bugfix: Free stratum nonce1 before replacing it with new value on reconnect
  3206. BFGMiner Version 2.9.4 - December 4, 2012
  3207. - Update libblkmaker to 0.2.1
  3208. - Count template number, and append it to the coinbase of templates without any
  3209. cbtxn
  3210. - Bugfix: bitforce: Always increment global hw error counter when incrementing
  3211. device hwe
  3212. - Bugfix: Correct order of printf-style arguments in cbappend fail
  3213. - Bugfix: Capitalize "MHz" correctly
  3214. - ztex: Correctly release mutex and reset FPGA if configuration fails
  3215. - ztex: Harmonize low-speed FPGA configuration code with high-speed code
  3216. - libztex: Silence warning: comparison between signed and unsigned
  3217. - Count longpoll decodes as queued work since the count otherwise remains
  3218. static.
  3219. - Bugfix: Assign header-based rolltime before decoding work, so GBT expires
  3220. overrides it properly
  3221. - Look for libusb_init in -lusb, since FreeBSD has it there
  3222. - Bugfix: Use pkgconfig for libusb when available, and try to guess the include
  3223. path if not
  3224. - Bugfix: FPGA-README: Correct idVendor in example MMQ udev rule
  3225. - fixes target calc for mips openwrt
  3226. - Bugfix: clear_work: Whether the template is in fact being freed or not, the
  3227. work reference to it needs to be
  3228. - libztex: Work around ZTEX USB firmware bug exposed by the FreeBSD libusb
  3229. - README: Document solo mining usage
  3230. - README: Update dependencies
  3231. - Bugfix: We should never roll stale work
  3232. - Ubuntu: Removing erroneous libssl dep again. GITHUB#94
  3233. - Bugfix: Clear out stratum share work before freeing it
  3234. - Provide rudimentary support for literal ipv6 addresses when parsing stratum
  3235. URLs.
  3236. - Do not attempt to remove the stratum share hash after unsuccessful submission
  3237. since it may already be removed by clear_stratum_shares.
  3238. BFGMiner Version 2.9.3 - November 16, 2012
  3239. - Bugfix: Properly process new stratum jobs through test_work_current, even if
  3240. old shares are still accepted, and copy submit_old flag correctly
  3241. - Ensure pdiff 1 is always caught regardless of bdiff precision, and ceil all
  3242. other cases to ensure we never lose valid shares
  3243. - Check against a double for current pool diff.
  3244. - Support for fractional diffs and the classic just-below-1 share all FFs diff
  3245. target.
  3246. - Check share target diff for best_share to be calculated when solo mining.
  3247. - Store the full stratum url information in rpc_url for correct configuration
  3248. file saving.
  3249. - Put in a hack to prevent dud work from sneaking into test_work_current being
  3250. seen as a new block.
  3251. - Reset the work->longpoll flag where it will affect stratum work items as
  3252. well.
  3253. - Bugfix: Stratum does not guarantee notify messages every minute, so extend
  3254. timeout to 2 full minutes
  3255. - Bugfix: Always honour libblkmaker time limits
  3256. - Always (debug)log when stratum template is updated by the pool
  3257. - Bugfix: When a stratum connection is interrupted, ensure all work/shares for
  3258. it are considered stale
  3259. - Bugfix: clear_sock should return on socket errors
  3260. - Bugfix: Force calculation of work_difficulty since set_work_target fails to
  3261. consider the pdiff<bdiff difference
  3262. - Bugfix: Minimal support for handling real difficulties from stratum server
  3263. - Bugfix: Never consider shares to be accepted if the submission response is an
  3264. error
  3265. - Bugfix: Always fail scrypt detection if Stratum is chosen
  3266. BFGMiner Version 2.9.2 - November 7, 2012
  3267. - Add endian swap defines for where missing.
  3268. - Only retarget stratum shares to new pool diff if diff has dropped.
  3269. - Bugfix: x6500: Use json_object_set_new to correctly count references to
  3270. per-FPGA RPC data
  3271. - Bugfix: modminer: Use json_object_set_new to correctly count references to
  3272. per-FPGA RPC data
  3273. - Bugfix: Only append newline when printing protocol data
  3274. - Bugfix: Use memchr to look for newlines in socket line data, since the buffer
  3275. isn't null terminated
  3276. - Bugfix: Ensure GETWORK_MODE_GBT isn't replaced with GETWORK_MODE_POOL
  3277. - Count lost stratum share submits and increase message priority to warning.
  3278. - Show which pool untracked share messages have come from.
  3279. - Sleep 5 seconds before retrying submit.
  3280. - Changes to build prototypes to support building on FreeBSD 9.1-RC2 amd64
  3281. - Count lost shares with stratum as submit stale lost.
  3282. - Discard record of stratum shares sent and report lost shares on disconnection
  3283. since they will never be reported back.
  3284. - Check that count of transactions received via stratum is reasonable
  3285. - Use realloc'd data_buffer to support stratum lines longer than 8 KB, and
  3286. parse stratum responses during auth
  3287. - Use mining.get_transactions to check for stratum pool transparency (actual
  3288. response ignored for now)
  3289. - ztex: Silence false "unexpected" hardware errors, and don't count them as hw
  3290. errors
  3291. - README: Update build instructions to reflect current reality
  3292. - x6500: Expose per-FPGA details to RPC API
  3293. - x6500: Implement support for --temp-target
  3294. - x6500: Increase default clock frequency to 200 Mhz, now that new bitstream
  3295. seems to run well around that
  3296. - x6500: Flush nonces in FPGA buffer at initialization to avoid false hw errors
  3297. on restart
  3298. - x6500: Release device lock sooner during initialization, before logging
  3299. initial frequency info
  3300. - x6500: Read temperature sensors after sending work, when enabled
  3301. - Bugfix: jtag: Fix optimized register reading code (it was reading an extra
  3302. bit before the last, corrupting outside the buffer)
  3303. - Implement new --force-dev-init option to force bitstream upload to modminer
  3304. and x6500 devices
  3305. - Bugfix: x6500: Include --scan-serial option even for x6500-only builds
  3306. - Bugfix: ztex: Include --scan-serial option even for ztex-only builds, so it
  3307. can be used to disable autodetect if needed
  3308. - FPGA-README: Discuss X6500 --scan-serial usage of cases where it may be
  3309. needed
  3310. - ft232r: If we are searching for a specific serial, pay no attention to the
  3311. product id
  3312. - x6500: Try a more flexible approach to applying dynclock logic
  3313. - Bugfix: dynclock: Use standard C struct initializer to handle initialization,
  3314. instead of memsetting memory to nulls
  3315. - x6500: Whenever we get a hardware error, purge buffers just in case of
  3316. read/write desync
  3317. - Bugfix: x6500: When purging ft232r buffers (during bitstream upload), also
  3318. clear JTAG delayed read counter to avoid any potential desync
  3319. - Bugfix: ft232r: Always flush writes before purging buffers, and empty local
  3320. read buffer when flushing ftdi read buffer
  3321. - There is no need for addrinfo any more.
  3322. - Fix filename for x6500 bitstream to match previous commit's rename
  3323. - Rename x6500 bitstream to match existing licensing naming setup
  3324. - x6500 dual temp sensor support
  3325. - x6500 is far more stable with its own bitstream
  3326. BFGMiner Version 2.9.1 - October 30, 2012
  3327. - When we find a block, always progress to it for mining
  3328. - Bugfix: Enforce --expiry, but split --expiry-lp for a longer expiry on
  3329. longpoll setups
  3330. - Bugfix: regeneratehash needs to compare hash segments in Little Endian, not
  3331. Big Endian
  3332. - Bugfix: Always fail scrypt detection if Stratum is working
  3333. - Bugfix: Scan for ft232r devices later, after console lock and other mutexes
  3334. are initialized properly
  3335. - ft232r: Debuglog non-FTDI device IDs found
  3336. - Bugfix: Wait to release JSON result in case of JSON-RPC error until we've
  3337. logged the error
  3338. - Bugfix: RPC: Defer release of JSON until after cmd is used
  3339. - Bugfix: Release JSON result in case of JSON-RPC error
  3340. - Bugfix: Release job JSON result as soon as we are done using it
  3341. - Bugfix: Release JSON received from RPC socket after we're done using it
  3342. - Bugfix: Use clear_work and workdup everywhere work is copied around
  3343. - Bugfix: Clear work before replacing it with new, to free any pointers
  3344. - server and client sockaddr_in are no longer used in struct pool.
  3345. - Set sshare id and swork_id within the sshare mutex to avoid multiple share
  3346. submits with the same id.
  3347. - Bugfix: Really use freeaddrinfo to clean up in extract_sockaddr
  3348. - Update documentation for X6500
  3349. - Bugfix: Free unused JSON returned when switching to Stratum
  3350. - Bugfix: Free unused work when switching to Stratum instead
  3351. - Bugfix: Use freeaddrinfo to clean up in extract_sockaddr
  3352. - RPC: Include PGA support for X6500-only builds
  3353. - RPC: Abstract code to handle any new device drivers as PGAs without special
  3354. support
  3355. - Bugfix: Release GBT submission JSON objects after dumping them
  3356. - Bugfix: Free old stratum_work data before replacing it
  3357. - Bugfix: Release memory allocated by prior stratum sockaddr extractions
  3358. - Bugfix: Clear work template when preparing a new request
  3359. - Bugfix: Initialize temporary stratum work
  3360. - Bugfix: x6500: jtag_read buffer needs to be initialized since reading JTAG
  3361. implies writing too
  3362. - Replace now-redundant accepted_weighed with equivalent diff_accepted
  3363. - Fail on select() failing in stratum thread without needing to attempt
  3364. recv_line.
  3365. - Add share to stratum database before sending it again in case we get a
  3366. response from the pool before it's added.
  3367. - Bugfix: modminer: Check that we have a valid fd before trying to start work
  3368. - Shorten the initiate stratum connect timeout to 30 seconds.
  3369. - Shorten the stratum timeout on read to 90 seconds to detect unresponsive pool.
  3370. - Display best share difficulty on exit.
  3371. - Make stratum socket fail more robust on windows by disabling the send buffer.
  3372. - Reuse the same curl handle forcing a new connection instead of risking
  3373. derefencing.
  3374. - Add information about submission failure to stratum send.
  3375. BFGMiner Version 2.9.0 - October 28, 2012
  3376. - modminer: Remove dead code
  3377. - Bugfix: Include headers in order needed for Mingw build
  3378. - Bugfix: Save pool pointer to avoid dereferencing work after it might
  3379. potentially be freed
  3380. - Bugfix: Cleanup some harmless warnings
  3381. - Bugfix: TUI: Avoid clearing the whole screen when we just want to clear the
  3382. log window
  3383. - Wishlist #130 implemented by "blinkier":
  3384. - - Add all-at-once pool priority reassignment to curses TUI interface
  3385. - - Save/restore pool priorities in config file
  3386. - - Allow setting initial pool priorities via command line
  3387. - Bugfix: Replace reportin hack with a reset back to LIFE_INIT for bitstream
  3388. upload
  3389. - Bugfix: SI kilo prefix is a lowercase "k"
  3390. - Bugfix: If userpass is missing a password, treat it as a null password
  3391. (regression fix)
  3392. - Upgrade libblkmaker to 0.2.0
  3393. - Bugfix: Build correct pay-to-scripthash script
  3394. - Implement --coinbase-addr for solo mining
  3395. - x6500: Since we program in about a minute now, only report status verbosely
  3396. every 25%
  3397. - x6500: Poll nonce less often since USB latency slows us down anyway
  3398. - jtag: Avoid writing an extra readback byte when we are ignoring tdo anyway
  3399. - ft232r: Set output buffer size to 4096 bytes
  3400. - x6500: Adjust dynclock so it works more reasonably
  3401. - x6500: Dynclock support
  3402. - Provide a simple/dummy libusb_error_name when it is missing (libusb < 1.0.9)
  3403. - x6500: Stop abusing pointer type to store bitstream upload progress
  3404. - Bugfix: ft232r: Avoid reuse of USB device count variable
  3405. - x6500: Implement basic hashrate prediction and efficient job completion
  3406. - jtag: Optimized implementation of JTAG reads to workaround ft232r slowness
  3407. - x6500: Try nonce with previous work if it is wrong for current
  3408. - x6500: Ensure ft232r buffer is flushed to change registers
  3409. - x6500: Start clock speed off at 180, and extra debugging for
  3410. x6500_set_register
  3411. - x6500: When programming, poll each FPGA status individually since they might
  3412. not be ready at the same time
  3413. - x6500: Various tweaks and hacks to get mining working
  3414. - Bugfix: x6500: Remove erroneous bitendianflip
  3415. - Bugfix: jtag: Handle ftdi-common environmental stuff properly
  3416. - jtag: Defer ignored reads a bit to avoid USB latency
  3417. - Bugfix: ft232r: First 2 bytes of every 0x40 are FTDI status or something
  3418. - x6500: Implement mining protocols (doesn't work yet)
  3419. - x6500: Cleanup dead code and implement bailout2
  3420. - x6500: Clean up and finish FPGA initialization
  3421. - x6500: Comment bitstream upload function better
  3422. - fpgautils: Abstract open_xilinx_bitstream out from modminer and x6500 drivers
  3423. - x6500: Get bitstream upload working
  3424. - Bugfix: jtag: Use the correct bit for reading/writing data streams
  3425. - ft232r: Buffer writes to improve performance
  3426. - x6500: Get FPGA probe working
  3427. - jtag: JTAG implementation for X6500 (over ft232r)
  3428. - ft232r: ft232r_read_all function to simplify exact-length reads
  3429. - ft232r: Implement read buffer so ft232r_read always works like read(2)
  3430. - ft232r: Complete necessary interfaces for X6500
  3431. - x6500: Bare minimum detection-only X6500 support via libusb
  3432. - Minor debian packaging fixes.
  3433. - Only add stratum share to database if we succeeded in submitting it, with a
  3434. debug output saying it succeeded.
  3435. - Use keepalive with stratum sockets to improve its ability to detect broken
  3436. connections.
  3437. - Show only the URL in the status bar to avoid long prefixes making for extra
  3438. long lines.
  3439. - Display compact status in menu and update README to reflect current menu
  3440. entries.
  3441. - Add a compact display mode that does not list per device statistics in the
  3442. status window.
  3443. - Add blank spaces after best share displayed.
  3444. - Round a few static string arrays up to 4 byte boundaries for ARM.
  3445. - Display best share diff for scrypt as well.
  3446. - Show the best diff share as "best share" and add info to the README.
  3447. - Display the best diff share submitted so far.
  3448. - Redundant check.
  3449. - The work struct pointer in struct pc_data in findnonce is never freed yet
  3450. there is no need to allocate it separately so make struct work a static part of
  3451. the struct pc_data. s
  3452. - No longer should hide --no-restart option if OpenCL support is missing
  3453. - Handle crash exceptions by trying to restart cgminer unless the --no-restart
  3454. option is used.
  3455. - Switch queued count when choosing a different pool from a failed stratum pool
  3456. in getwork thread.
  3457. - Put a mandatory 5s wait between reattempting a getwork on failure to avoid
  3458. hammering requests.
  3459. - Make sure to check pool stratum curl exists under lock before attempting any
  3460. recv to not risk dereferencing upon attempting to reinitiate stratum.
  3461. - Avoid redefining macros and align to 4 byte boundaries.
  3462. - API - add Stratum information to pools
  3463. - update FPGA-README for MMQ
  3464. - Time for dynamic is in microseconds, not ms.
  3465. - x86_64 builds of mingw32 are not supported directly and should just configure
  3466. as generic mingw32 builds since they're NOT 64 bit.
  3467. - Use 3 significant digits when suffix string is used and values are >1000.
  3468. - Get rid of unused warning for !scrypt.
  3469. - Use select on stratum send to make sure the socket is writeable.
  3470. - Cope with dval being zero in suffix_string and display a single decimal place
  3471. when significant digits is not specified but the value is greater than 1000.
  3472. - Pad out the suffix string function with zeroes on the right.
  3473. - Failure to calloc in bin2hex is a fatal failure always so just check for that
  3474. failure within the function and abort, simplifying the rest of the code.
  3475. - Provide locking around the change of the stratum curl structures to avoid
  3476. possible races.
  3477. - Bump opencl kernel version numbers.
  3478. - Remove atomic ops from opencl kernels given rarity of more than once nonce on
  3479. the same wavefront and the potential increased ramspeed requirements to use the
  3480. atomics.
  3481. - Clear the pool idle flag in stratum when it comes back to life.
  3482. - Display correct share hash and share difficulty with scrypt mining.
  3483. - Show work target diff for scrypt mining.
  3484. - Watch for buffer overflows on receiving data into the socket buffer.
  3485. - Dramatically simplify the dynamic intensity calculation by oversampling many
  3486. runs through the opencl kernel till we're likely well within the timer
  3487. resolution on windows.
  3488. - Align static arrays to 4 byte boundaries to appease ARM builds for stratum.
  3489. - Update documentation.
  3490. - Left align values that are suffix_string generated.
  3491. - Share_diff should not be converting the work data to hex.
  3492. - Update readme describing difficulty displayed on log lines.
  3493. - Off by one error.
  3494. - Prevent overflows of the port char array in extract_sockaddr.
  3495. - Disable stratum detection with scrypt.
  3496. - Display the actual share diff next to the pool required diff, using a suffix
  3497. creation function to prevent values of >1000 being shown in their entirety.
  3498. - Fix 4 * 0 being 0 that would break dynamic intensity mode.
  3499. - Supplement other 64-bit endian swap macros
  3500. - Bugfix: Fix htobe64 on big endian platforms that don't define it
  3501. - Fix lack of htobe64 on mingw32.
  3502. - Reinstate the history on dynamic intensity mode to damp fluctuations in
  3503. intensity but use an upper limit on how much the value can increase at any time
  3504. to cope with rare overflows.
  3505. - Update to cgminer's newer dynamic intensity algorithm
  3506. - Support for the stratum mining protocol.
  3507. - Simplify target generation code.
  3508. - Add support for client.get_version for stratum.
  3509. - Use a 64 bit unsigned integer on the diff target to generate the hex target.
  3510. - Update reconnect message to show whole address including port.
  3511. - Look for null values and parse correct separate array entries for url and port
  3512. with client reconnect commands for stratum.
  3513. - The command for stratum is client.reconnect, not mining.reconnect.
  3514. - Only copy the stratum url to the rpc url if an rpc url does not exist.
  3515. - Implement rudimentary mining.reconnect support for stratum.
  3516. - Ignore the value of stratum_active on calling initiate_stratum and assume
  3517. we're always trying to reinitiate it, and set the active flag to false in that
  3518. function.
  3519. - stratum auth can be unset if we fail to authorise on subsequent calls to
  3520. auth_stratum which undoes the requirement of setting it in one place so set it
  3521. in pool_active.
  3522. - Format Stratum submission-start debug the same way as other submissions
  3523. - Bugfix: Set work_restart_id in gen_stratum_work for when work is reused to
  3524. avoid thinking it's all stale.
  3525. - Only auto-switch to Stratum internally, but save HTTP URI in case pool stops
  3526. using Stratum; also always shows original pool URI on RPC
  3527. - SHUT_RDWR is now always defined for us, so no need to check ifdef on LP hang
  3528. - Implement --no-stratum option to disable autodetection
  3529. - Show Stratum pools as "Strtm" protocol in "Pool management" TUI
  3530. - Bugfix: BFGMiner doesn't use rpc_proxytype
  3531. - Remove free that could segfault.
  3532. - Use the stratum url as the rpc url advertised if we switch to it.
  3533. - Count an invalid nonce count as a hardware error on opencl.
  3534. - Count each stratum work item as local work.
  3535. - Cope with one stratum pool being the only active pool when it dies by sleeping
  3536. for 5 seconds before retrying to get work from it instead of getting work
  3537. indefinitely.
  3538. - Detect stratum outage based on either select timing out or receiving an empty
  3539. buffer and properly re-establish connection by disabling the stratum_active
  3540. flag, coping with empty buffers in parse_stratum.
  3541. - Fix various modminer warnings on mingw.
  3542. - Fix sign warning on windows build for bitforce.
  3543. - Cast socketfail to integer since SOCKET is an unsigned int on windows.
  3544. - Use the stratum thread to detect when a stratum pool has died based on no
  3545. message for 2 minutes.
  3546. - Only set the stratum auth flag once and once the stratum thread is started,
  3547. use that to set/unset the stratum active flag.
  3548. - Only hand off to stratum from getwork if we succeed in initiating the
  3549. protocol.
  3550. - Target should only be 32 bytes copied.
  3551. - Use a static array for work submission data instead of stack memory.
  3552. - Clear the buffer data before sprinting to it.
  3553. - Clear work stratum strings before setting them and add them to debug output.
  3554. - Drop stratum connect failed message to verbose level only since it's a regular
  3555. probing message.
  3556. - TCP Keepalive in curl is only in very recent versions and not required with
  3557. regular messages on stratum anyway.
  3558. - Move stratum sockets to curl infrastructure with locking around send+recv to
  3559. begin support for proxies and ssl.
  3560. - Make detect stratum fail if a proxy has been set up.
  3561. - Stratum does not currently have any proxy support so do not try to switch to
  3562. stratum if a proxy has been specified.
  3563. - Windows doesn't work with MSG_PEEK on recv so move to a continuously updating
  3564. buffer for incoming messages.
  3565. - Alloca is unreliable on windows so use static arrays in util.c stratum code.
  3566. - Begin support for mingw stratum build.
  3567. - Add space to reject reason.
  3568. - Parse the reject reason where possible from stratum share submission.
  3569. - Pass json error value to share result function to be able to parse reject
  3570. reason in stratum.
  3571. - Don't try to parse unneeded parameters in response to mining.subscribe.
  3572. - Remove the sshare hash entry if we failed to send it.
  3573. - Change notify message to info level to avoid spamming repeatedly when a pool
  3574. is down.
  3575. - Check the stratum pool difference has not changed compared to the work diff
  3576. when testing whether a share meets the target or not and retarget if necessary.
  3577. - Bit error in target calculation for stratum.
  3578. - Offset the current block detection to the prev block hash.
  3579. - We should be testing for id_val, not id in parse stratum response.
  3580. - Make target on stratum scale to any size by clearing sequential bits according
  3581. to diff.
  3582. - Correct target calculation in gen_stratum_work.
  3583. - If a share result has an error code but still has an id, it is likely a
  3584. reject, not an error.
  3585. - Initiate stratum the first time in pool_active only, allowing us to switch to
  3586. it on getting a failed getwork and detecting the presence of stratum on the url
  3587. at that time.
  3588. - Use 5 second timeout on sock full for now as a temporary workaround.
  3589. - If no stratum url is set by the end of the detect stratum routine, copy the
  3590. sockaddr url.
  3591. - Make all buffers slightly larger to prevent overflow.
  3592. - Make the stratum recv buffer larger than the recvsize.
  3593. - Userpass needs to be copied to user and pass earlier to allow stratum
  3594. authorisation to work with it.
  3595. - Store a sockaddr url of the stripped url used in determining sockaddr to not
  3596. confuse it with the stratum url and fix build warnings.
  3597. - Decrease the queued count with stratum work once it's staged as well.
  3598. - Allow the stratum retry to initiate and auth stratum in pool_alive to make
  3599. sure the stratum thread is started.
  3600. - Avoid duplicating pool->rpc_url and setting pool->stratum_url twice to itself.
  3601. - Detect if a getwork based pool has the X-Stratum header on startup, and if so,
  3602. switch to the stratum based pool.
  3603. - Comment update.
  3604. - Minor message change.
  3605. - Create a work item from a "clean" request from stratum allowing the new block
  3606. to be detected and the appropriate block change message to be given.
  3607. - Use statically allocated stratum strings in struct work to cope with the
  3608. inability to safely deallocate dynamically allocated ram.
  3609. - Use the current pool when deciding whether to reuse work from a stratum source
  3610. rather than the work's previous pool.
  3611. - Copy the stratum url to the rpc url to avoid none being set.
  3612. - Provide locking around stratum send operations to avoid races.
  3613. - Submit shares from stratum through the abstracted submit share function
  3614. detecting what message they belong to and showing the data from the associated
  3615. work, and then deleting it from the hash.
  3616. - Use a more robust mechanism to obtain a \n terminated string over a socket.
  3617. - Abstract out share submit as a function to be useable by stratum.
  3618. - Rename parse_stratum to parse_method as it is only for stratum messages that
  3619. contain methods.
  3620. - Display stratum as mechanism in status line when current pool is running it.
  3621. - Count each stratum notify as a getwork equivalent.
  3622. - Correct nonce submitted with share.
  3623. - Extranonce2 should be added before coinbase2.
  3624. - We should be hashing the binary coinbase, not the hex one.
  3625. - Fix endianness of nonce submitted for stratum.
  3626. - Check that stratum is already active in initiate_stratum to avoid
  3627. de-authorising ourselves by subscribing again.
  3628. - Begin implementing a hash database of submissions and attempt sending results.
  3629. - Copy parameters from stratum work required for share submission.
  3630. - Set lagging flag on first adding a pool to prevent pool slow warning at
  3631. startup.
  3632. - Fix work->target being a 32 byte binary in gen_stratum_work.
  3633. - Store and display stripped url in its own variable.
  3634. - Create machinery to divert work requests to stratum.
  3635. - Generate the work target in gen_stratum_work, setting default diff to 1 in
  3636. case it is not yet set.
  3637. - Generate work data, midstate and hash1 in gen_stratum_work.
  3638. - Generate header created from stratum structures in gen_stratum_work.
  3639. - Generate merkle root hash in gen_stratum_work.
  3640. - Generate the coinbase for generation of stratum based work.
  3641. - The number of transactions is variable so make merkle a variable length
  3642. dynamically allocated array and track how many there are for stratum.
  3643. - Rename nonce2 to n2size reflecting that it's a size variable and not the
  3644. actual nonce.
  3645. - Provide rudimentary support for stratum clean work command in the stratum
  3646. thread.
  3647. - Cope with pools being removed in the stratum thread.
  3648. - Use the pool sock value directly in the stratum thread in case it changes
  3649. after reconnecting.
  3650. - Create a stratum thread per pool that has stratum that monitors the socket and
  3651. serves received data.
  3652. - Check return value of stratum_parse.
  3653. - Complete authorisation in stratum.
  3654. - Implement stratum parsing of notify parameters and storing them in the pool
  3655. stratum work structure.
  3656. - Create helper functions for duplicating json strings to avoid keeping json
  3657. references in use.
  3658. - Append \n in the sock_send function instead of adding it when constructing
  3659. json in stratum.
  3660. - Don't keep any json references around with stratum structures.
  3661. - Create parse_stratum function that hands off stratum parameters to other
  3662. functions to manage pool stratum work struct variables. Implement mining
  3663. difficulty setting.
  3664. - Create helper functions for checking when a socket is ready to read on and
  3665. receive a single line at a time. Begin stratum authorisation process.
  3666. - Provide a helper function for reading a single \n terminated string from a
  3667. socket.
  3668. - Create a stratum work structure to store current work variables.
  3669. - Test specifically for stratum being active in pool_active.
  3670. - Detect stratum in common place when adding urls, and use a bool to tell us
  3671. when it's active.
  3672. - Remove unused add_pool_details5
  3673. - Fix warnings.
  3674. - Extract and store various parameters on stratum init confirming successful
  3675. mining notify.
  3676. - Use existing socket macros and close the socket on failure in init stratum.
  3677. - Initiate stratum and grab first json result.
  3678. - Get detailed addressinfo from the parsed URL for future raw socket usage when
  3679. possible. IPV4 only for now.
  3680. - Prepare for getaddrinfo call.
  3681. - Add data structures to pool struct for socket communications.
  3682. - Put all socket definitions in util.h to allow reusing by added socket
  3683. functions to be used in util.c.
  3684. BFGMiner Version 2.8.3 - October 18, 2012
  3685. - Update to libblkmaker 0.1.3
  3686. - Use explicit host to BE functions in scrypt code instead of hard coding
  3687. byteswap everywhere.
  3688. - Ease the checking on allocation of padbuffer8 in the hope it works partially
  3689. anyway on an apparently failed call.
  3690. - Round target difficulties down to be in keeping with the rounding of detected
  3691. share difficulties.
  3692. - String alignment to 4 byte boundaries and optimisations for bin<->hex
  3693. conversions.
  3694. - Fix GPU memory allocation size for scrypt
  3695. - Fix access violation with scrypt mining
  3696. - Bugfix: Only free rpc_req after using it, not before
  3697. - Bugfix: Increment work->pool->staged inside of mutex to avoid work being
  3698. freed (and staged decremented) before we dereference it
  3699. - Revert "No need for extra variable in hash_push.": The extra variable is
  3700. needed to avoid a rare dereference-after-free error.
  3701. - In opencl_free_work, make sure to still flush results in dynamic mode.
  3702. - Workaround: Debug log only after dec_queued, to make a free/use race more
  3703. rare
  3704. - Bugfix: Remove redundant \n in debug messages
  3705. - Bugfix: Free rpc_req in pool_active and longpolls
  3706. - README: Explicitly provide Ubuntu package name for libjansson-dev
  3707. - Bugfix: Include flash_led bool in cgpu_info for Icarus-but-not-BitForce
  3708. builds, since Cairnsmore uses it
  3709. - Only check work block id against pool's if the pool has a known block id
  3710. - Avoid clearing pool->block_id unless we really are changing pools
  3711. BFGMiner Version 2.8.2 - October 8, 2012
  3712. - Update to libblkmaker 0.1.2
  3713. - Bugfix: --temp-target no longer has a simple default (fixes build without
  3714. OpenCL support)
  3715. - Bugfix: icarus: Silence false epoll error
  3716. - Bugfix: icarus: Set firstrun for errors starting next job, so the current
  3717. one finishes properly
  3718. - Bugfix: icarus: Restore generic failure management for write errors
  3719. - Use strtod not strtol for bitforce temp backup.
  3720. - Cope with broken drivers returning nonsense values for bitforce temperatures.
  3721. - Minor warning fixes.
  3722. - Fix unused warnings on ming build.
  3723. - Fix sign warning in ocl.c
  3724. - fds need to be zeroed before set in modminer.
  3725. - Put scrypt warning on separate line to avoid 0 being shown on windows as
  3726. bufsize.
  3727. - Prevent corrupt values returned from the opencl code from trying to read
  3728. beyond the end of the buffer by masking the value to a max of 15.
  3729. - Icarus USB write failure is also a comms error
  3730. - api.c DEBUG message has no paramter
  3731. - Icarus catch more USB errors and close/reopen the port
  3732. - API-README update cgminer verison number
  3733. - hashmeter fix stats kh/s on 32bit windows
  3734. - cairnsmore: Increase maximum clock frequency to 210 Mhz
  3735. - icarus: Hashrate estimates really don't need the attention of a warning,
  3736. demote them to debug
  3737. - cairnsmore: Automatically "downgrade" default FPGA-per-device to 1 for
  3738. dynclock devices
  3739. - Bugfix: cairnsmore: Get autodetection of dynclock to work consistently
  3740. - cairnsmore: Adjust dynclock usage to react in proper time
  3741. - dynclock: Document function usage
  3742. - cairnsmore: Fix race on dynclock detection
  3743. - icarus: Detect attempts to send commands via work and neuter them
  3744. - cairnsmore: Glasswalker has a minimum multiplier of 20 :(
  3745. - cairnsmore: Detect frequency changing support despite hashing of commands
  3746. - modminer: Allow clocks down to 2 Mhz just in case
  3747. - Allow device drivers and users to properly change target temperatures for
  3748. non-GPUs
  3749. - Check that ncurses*-config installs actually work before deciding to use
  3750. them
  3751. - Bugfix: Fix multiple bugs in autogen.sh
  3752. - - Don't use readlink -f unneccesarily (it's not portable)
  3753. - - Always run autoreconf within the real source directory
  3754. - - Run configure from PWD, *not* the real source directory
  3755. - Bugfix: Include nonce in data buffer for debugging
  3756. - Bugfix: swap32* wants count of 32-bit blocks, not bytes
  3757. - Initial Cygwin port
  3758. - Revert "Remove needless roundl define.", since it is needed for Cygwin and
  3759. OpenWRT
  3760. - Bugfix: Deal with various compiler warnings
  3761. - modminer: Implement --temp-hysteresis logic
  3762. - Support for maximum frequency being below the default, eg when the maximum
  3763. is temporarily reduced to deal with temperature
  3764. - Bugfix: modminer: Reduce dynclock max frequency as needed to keep
  3765. temperature below cutoff
  3766. - Bugfix: Restore disabled label, needed to skip over hashrate calculations
  3767. (which mess up otherwise)
  3768. - Bugfix: bitforce: Count actual throttling as hardware errors
  3769. - icarus: Allow failure in case of reopen failure, now that the miner core
  3770. will retry on its own
  3771. - If a device dies, attempt to reinitialize it occasionally
  3772. - Bugfix: The REST flag is now preferred over WAIT, since the former might
  3773. trigger the latter
  3774. - Bugfix: modminer: Update temperature readings when disabled (fixes thermal
  3775. cutoff recovery)
  3776. - Bugfix: Move thermal cutoff to general watchdog code (fixes bitforce
  3777. recovery)
  3778. - Rename enable_device to register_device, since it only works for setting it
  3779. up at startup
  3780. - Move targettemp from ADL to cgpu_info, so all devices can readily use it
  3781. - Bugfix: "REST" flag had too much padding
  3782. - Bugfix: adl: Only warn and disable GPU due to thermal cutoff, if it's
  3783. actually enabled
  3784. - Bugfix: bitforce: Only warn and disable bitforce due to thermal cutoff, if
  3785. it's actually enabled
  3786. BFGMiner Version 2.8.1 - September 27, 2012
  3787. - Avoid strndup for Windows compatibility
  3788. - Bugfix: cairnsmore: Add missing compat.h include (for sleep)
  3789. - cairnsmore: Implement "identify" for supported firmware
  3790. - Adjust identify_device API to return a bool whether supported or not, for
  3791. runtime capability detection
  3792. - Bugfix: cairnsmore: Fix invalid share detection on LE
  3793. - Bugfix: icarus: Fix logging message to not assume "Icarus" always, and use
  3794. device driver name
  3795. - Bugfix: cairnsmore: Correct frequency scaling detection logic
  3796. - cairnsmore: When changing frequency, adjust Hs expectations accordingly
  3797. - cairnsmore: Detect availability of frequency scaling, and only enable it
  3798. when supported
  3799. - cairnsmore: Implement dynamic clocking support for Glasswalker's bitstream
  3800. - Update libblkmaker to 0.1.1
  3801. - Advertise BFGMiner in blocks found by default (without --coinbase-sig)
  3802. - RPC: Add "Coinbase-Sig" to config/setconfig
  3803. - New --coinbase-sig option to add arbitrary data to blocks you generate (GBT
  3804. only)
  3805. - opencl: Defer nonce validity checking to submit_nonce
  3806. - scrypt: Implement test_nonce2 and submit_nonce hw error check
  3807. - Bugfix: modminer: Convert nonce to native endian
  3808. - Interpret any attempts to submit a H-not-zero nonce as a hardware error
  3809. - make-release: Strip DLLs and EXE in Windows binary
  3810. - dynclock: Use consistent messages for frequency changes
  3811. - modminer: Port to dynclock
  3812. - dynclock: Split dynamic clocking algorithm out of Ztex driver
  3813. - Bugfix: When changing GPU memclock, adjust internal variable so it is
  3814. correctly saved to config file
  3815. - Bugfix: Re-probe longpoll header for each pool alive check, including
  3816. retries when a preferred protocol fails
  3817. - Bugfix: modminer: Bitstream binary filenames are *.bit
  3818. - modminer: Start frequency off at 200 Mhz
  3819. - Reorder libztex header include order to fix missing struct definition.
  3820. - Display share difficulty on log with a shortened hash display on submission.
  3821. - API stats add some pool getwork difficulty stats
  3822. - Ignore any pings pushed to the worker threads if the thread is still paused to
  3823. prevent it being enabled and disabled repeatedly.
  3824. - Test for sequential getwork failures on a pool that might actually be up but
  3825. failing to deliver work as we may end up hammering it repeatedly by mistake.
  3826. - reduce windows compile warnings
  3827. - util.c - bug - proxy - no data end condition
  3828. - API don't change 'Diff1 Shares' - backward compatability FTW
  3829. - miner.php highlighting correctly handling difficulty
  3830. - API - Add last share difficulty for devices and pool
  3831. - Store and report Accepted,Rejected,Stale difficulty in the summary and API
  3832. - WorkTime - display prevblock for scrypt
  3833. - api.c remove compile warnings
  3834. - Calculate work difficulty for each getwork and display with WorkTime debug
  3835. - FPGA - allow long or short device names in detect code + style police
  3836. - WorkTime - multiple nonce per work and identify the work source
  3837. - Optional WorkTime details with each Accepted/Rejected work item
  3838. - Icarus - ignore hardware errors in timing mode
  3839. - miner.php oops - mistype
  3840. - API pgaidentify - unsupported message should be a warning
  3841. - API/BFL identify a device - currently only BFL to flash the led
  3842. - BFL add throttle count to internal stats + API
  3843. - BFL: missing device id in log message
  3844. - Bugfix: ztex: Clear device_ztex before freeing it
  3845. - Bugfix: ztex: statline existence depends on whether the libztex structure
  3846. exists, not whether the cgpu is enabled
  3847. - Bugfix: README: Make usermod commands consistent, including important -a
  3848. option
  3849. - Bugfix: Address a couple of rare TQ leaks, and improve logging a bit
  3850. - Bugfix: Properly quote configure options
  3851. BFGMiner Version 2.8.0 - September 15, 2012
  3852. - Be specific about jansson version requirement
  3853. - Replace "Alive" in pool status with protocol in use (GBT or GWork)
  3854. - Remove copy of old jansson from source repository
  3855. - Honour block template expiry (BIP 23 Basic Pool Extensions "expires")
  3856. - Add --no-gbt option so getblocktemplate can be disabled if it causes
  3857. problems
  3858. - BIP 22 long polling
  3859. - Properly detect pool protocol
  3860. - Bugfix: Sort out work template refcounting by properly using work_free and
  3861. new workcpy
  3862. - Support for rolling extranonce in templates
  3863. - Initial libblkmaker integration, using a git submodule
  3864. - cairnsmore: There's no set hashrate like Icarus, so always use short timing
  3865. mode by default
  3866. - Bugfix: Include unistd.h needed for ssize_t type
  3867. - fpgautils: Don't try to scan serial at all anymore, if a device is claimed
  3868. - fpgautils: serial_claim function to politely ask other drivers not to try to
  3869. use device
  3870. - RPC: Update to work with Cairnsmore
  3871. - cairnsmore: Windows autodetect using FTDI library
  3872. - cairnsmore: Beginnings of new driver, with automatic upgrade from Icarus
  3873. detection
  3874. - icarus: Support disabling reopen quirk via --icarus-options
  3875. - proxy: Replace mess of encoding proxy into pool URI with a --pool-proxy
  3876. option, and use cURL's builtin proxy URI support
  3877. - save individual pool proxy settings to config
  3878. - API-README update for pools proxy info
  3879. - CURL support for individual proxy per pool and all proxy types
  3880. - Bugfix: Update current_block_id for fixed set_curblock
  3881. - miner.php by default don't display IP/Port numbers in error messages
  3882. - api.c all STATUS messages automatically escaped
  3883. - API add display of and setting queue,scantime,expiry
  3884. - README - FPGA device FAQ
  3885. - API add device diff1 work
  3886. - count device diff1 shares
  3887. - API-README update
  3888. - api.c Correct diff1 field name
  3889. - Bugfix: Sanitize block hash handling (including fixing on big endian)
  3890. - Bugfix: Print the (full) correct block hash when warning about work issued
  3891. against old blocks
  3892. - Bugfix: When comparing current block, only pay attention to the prevblock
  3893. header
  3894. - Allow mixing user+pass and userpass, so long as user+pass are balanced
  3895. before userpass options
  3896. - ztex: Include device serial number and FPGA number in cgpu name field
  3897. - ztex: Abstract common cgpu_info creation code
  3898. - ztex: Do thread initialization in thread_init rather than thread_prepare
  3899. - Bugfix: Tolerate working on old blocks when there is only one pool enabled
  3900. - Bugfix: ztex: Detect through fpgautils so -S noauto correctly inhibits
  3901. autodetection
  3902. - ztex: Workaround duplicate share submissions by doubling "backlog" size
  3903. - ztex: Use consistent device ids for logging
  3904. - Bugfix: ztex: Increment global hw_errors too
  3905. - Bugfix: free adhoc string elist element when removing it from list
  3906. - Bugfix: icarus: Initialize lret variable after work restart reentry
  3907. - Bugfix: ztex: Free lastnonce heap memory if backlog allocation fails
  3908. - icarus: Initialize epoll event structure in a way Valgrind is happier with
  3909. - Bugfix: Use strtok_r for parse_config since some options use strtok
  3910. themselves
  3911. - Import strtok_r from gnulib for Windows portability
  3912. - Bugfix: ztex: Don't try to destroy a mutex that was never created (single
  3913. FPGA Ztex devices)
  3914. - ztex: Clean up redundant dereferencing in ztex_shutdown
  3915. - API-README more debug parameter information
  3916. - API allow full debug settings control
  3917. - Sort the blocks database in reverse order, allowing us to remove the first
  3918. block without iterating over them. Output the block number to debug.
  3919. - Adjust opencl intensity when adjusting thread count to prevent it getting
  3920. pegged at a value below the minimum threads possible.
  3921. - miner.h max_hashes -> int64_t
  3922. - Keep the local block number in the blocks structs stored and sort them by
  3923. number to guarantee we delete the oldest when ageing the block struct entries.
  3924. - Use correct sdk version detection for SDK 2.7
  3925. - Bugfix: Align Ztex statline properly by removing redundant frequency
  3926. - make-release: Convert text files to DOS format for Windows ZIP
  3927. BFGMiner Version 2.7.5 - August 27, 2012
  3928. - Revert "Do a complete cgminer restart if the ATI Display Library fails, as
  3929. it does on windows after running for some time, when fanspeed reporting
  3930. fails."
  3931. - Stop special-casing worksize default to 256 for Cypress, since it incurs a 5
  3932. MH/s hit with stock config
  3933. - New "--scan-serial all" feature to probe all enumerated serial ports
  3934. - modminer: Revamp dynamic clocking algorithm per request from cablepair
  3935. - Test for lagging once more in queue_request to enable work to leak to backup
  3936. pools.
  3937. - There is no need to try to switch pools in select_pool since the current pool
  3938. is actually not affected by the choice of pool to get work from.
  3939. - Only clear the pool lagging flag if we're staging work faster than we're using
  3940. it.
  3941. - needed flag is currently always false in queue_request. Remove it for now.
  3942. - thr is always NULL going into queue_request now.
  3943. - Fix for non-ADL OpenCL device formatting issue
  3944. BFGMiner Version 2.7.4 - August 23, 2012
  3945. - Perform select_pool even when not lagging to allow it to switch back if needed
  3946. to the primary.
  3947. - Simplify macros in output kernels avoiding apparent loops and local variables.
  3948. - Carry the needed bool over the work command queue.
  3949. - Move the decision to queue further work upstream before threads are spawned
  3950. based on fine grained per-pool stats and increment the queued count immediately.
  3951. - Track queued and staged per pool once again for future use.
  3952. - OpenCL 1.0 does not have native atomic_add and extremely slow support with
  3953. atom_add so detect opencl1.0 and use a non-atomic workaround.
  3954. - Pools: add RollTime info to API 'stats' and 'Stats' button in miner.php
  3955. BFGMiner Version 2.7.3 - August 23, 2012
  3956. - Minimise the number of getwork threads we generate.
  3957. - Pick worksize 256 with Cypress if none is specified.
  3958. - Give warning with sdk2.7 and phatk as well.
  3959. - Whitelist sdk2.7 for diablo kernel as well.
  3960. - Only keep the last 6 blocks in the uthash database to keep memory usage
  3961. constant. Storing more is unhelpful anyway.
  3962. - Increase kernel versions signifying changed APIs.
  3963. - BFL flash - more FPGA-README
  3964. - Check we haven't staged work while waiting for a curl entry before proceeding.
  3965. - Use atomic ops to never miss a nonce on opencl kernels, including nonce==0,
  3966. also allowing us to make the output buffer smaller.
  3967. - Remove compile errors/warnings and document compile/usage in FPGA-README
  3968. - Ignore the submit_fail flag when deciding whether to recruit more curls or not
  3969. since we have upper bounds on how many curls can be recruited, this test is
  3970. redundant and can lead to problems.
  3971. - API-README update cgminer version number
  3972. - API-README fix groups P: example mistake
  3973. - API-README add COIN and other edits
  3974. - miner.php allow 'coin' is custom pages
  3975. BFGMiner Version 2.7.1 - August 22, 2012
  3976. - Update windows build instructions courtesy of sharky.
  3977. - Increase max curls to number of mining threads + queue * 2, accounting for up
  3978. and downstream comms.
  3979. - Queue enough requests to get started.
  3980. - There is no point trying to clone_work in get_work() any more since we clone
  3981. on every get_work_thread where possible.
  3982. - There is no point subtracting 1 from maxq in get_work_thread.
  3983. - miner.php allow page title to be defined in myminer.php
  3984. - Only set lagging flag once there are no staged work items.
  3985. - select_pool does not switch back to the primary once lagging is disabled.
  3986. - Increment total work counter under mutex lock.
  3987. - Increment the queued count after the curl is popped in case there's a delay
  3988. waiting on curls and we think we've queued work when in fact we're waiting on
  3989. curls.
  3990. - Do the dynamic timing in opencl code over a single pass through scanhash to
  3991. make sure we're only getting opencl times contributing to the measured
  3992. intervals.
  3993. - Increase curl reaping time to 5 minutes since comms between curl requests can
  3994. be 2 mins apart with lots of rolltime.
  3995. - No need for extra variable in hash_push.
  3996. - Remove short options -r and -R to allow them to be reused and remove readme
  3997. entries for deprecated options.
  3998. - Deprecate the opt_fail_pause parameter, leaving a null placeholder for
  3999. existing configurations.
  4000. - Free work before retrying in get_work_thread.
  4001. - Don't pause after failed getwork, set lagging flag and reassess.
  4002. - We should not be pausing in trying to resubmit shares.
  4003. - Get rid of the extending fail pause on failed connects since we discard work
  4004. after a period.
  4005. - get_work always returns true so turn it into a void function.
  4006. - get_work never returns false so get rid of fail pause loop.
  4007. - Get rid of pause and retry from get_upstream_work so we only do it from one
  4008. place.
  4009. - Remove all cases where --retries aborts BFGMiner, making it for submission
  4010. retries only, where it makes sense.
  4011. BFGMiner Version 2.7.0 - August 21, 2012
  4012. - Implement a new pool strategy, BALANCE, which monitors work performed per pool
  4013. as a rolling average every 10 minutes to try and distribute work evenly over all
  4014. the pools. Do this by monitoring diff1 solutions to allow different difficulty
  4015. target pools to be treated equally, along with solo mining. Update the
  4016. documentation to describe this strategy and more accurately describe the
  4017. load-balance one.
  4018. - fpga serial I/O extra debug (disabled by default)
  4019. - Getwork fail was not being detected. Remove a vast amount of unused variables
  4020. and functions used in the old queue request mechanism and redefine the getfail
  4021. testing.
  4022. - Consider us lagging only once our queue is almost full and no staged work.
  4023. - Simplify the enough work algorithm dramatically.
  4024. - Only queue from backup pools once we have nothing staged.
  4025. - Don't keep queueing work indefinitely if we're in opt failover mode.
  4026. - Make sure we don't opt out of queueing more work if all the queued work is
  4027. from one pool.
  4028. - Set lagging flag if we're on the last of our staged items.
  4029. - Reinstate clone on grabbing work.
  4030. - Grab clones from hashlist wherever possible first.
  4031. - Cull all the early queue requests since we request every time work is popped
  4032. now.
  4033. - Keep track of staged rollable work item counts to speed up clone_available.
  4034. - Make expiry on should_roll to 2/3 time instead of share duration since some
  4035. hardware will have very fast share times.
  4036. - Check that we'll get 1 shares' worth of work time by rolling before saying we
  4037. should roll the work.
  4038. - Simplify all those total_secs usages by initialising it to 1 second.
  4039. - Overlap queued decrementing with staged incrementing.
  4040. - Artificially set the pool lagging flag on pool switch in failover only mode as
  4041. well.
  4042. - Artificially set the pool lagging flag on work restart to avoid messages about
  4043. slow pools after every longpoll.
  4044. - Factor in opt_queue value into enough work queued or staged.
  4045. - Roll work whenever we can on getwork.
  4046. - Queue requests for getwork regardless and test whether we should send for a
  4047. getwork from the getwork thread itself.
  4048. - Get rid of age_work().
  4049. - Don't try to get bitforce temperature if we're polling for a result to
  4050. minimise the chance of interleaved responses.
  4051. - Fix harmless unused warnings in scrypt.h.
  4052. - Check we are not lagging as well as there is enough work in getwork.
  4053. BFGMiner Version 2.6.5 - August 20, 2012
  4054. - API new command 'coin' with mining information
  4055. - Add message to share if it's a resubmit.
  4056. - Add virtual adl mapping for when none is specified on the command line to
  4057. not crash without a map specified.
  4058. - Fix ADL gpu-map not working when there are more ADL devices than openCL.
  4059. Patch supplied and tested by Nite69.
  4060. - bitforce: Initial import of Linux-only bitforce-firmware-flash utility
  4061. - Revert stale-on-arrival failsafe, since it ends up needing exceptions for
  4062. everything
  4063. - Bugfix: opencl: Declare opencl_dynamic_cleanup in header
  4064. - Even if we want to submit stale shares, give up if we have more submissions
  4065. waiting on threads (even before failing)
  4066. - Even if we want to submit stale shares, give up if they've failed and we
  4067. have more submissions waiting on threads
  4068. - opencl: Use timeBeginPeriod on Windows to ensure gettimeofday has sufficient
  4069. precision for dynamic intensity
  4070. - Bugfix: opencl: Move ADL fanspeed warning messages to a new thread to get
  4071. around summary-update deadlocking
  4072. - README: Note that user groups don't get updated until re-login
  4073. - Initialise cnt in libztex.c
  4074. - Don't try to start devices that don't support scrypt when scrypt mining.
  4075. - Repeating on timeout in ztex could make the code never return.
  4076. - Offset libusb reads/writes by length written as well in ztex.
  4077. - Cope with timeouts and partial reads in ztex code.
  4078. - If there are more devices than nDevs, don't iterate over them as they may
  4079. overwrite devices mapped below that with the mapping option.
  4080. - Fix README faq on bfl auto-detect.
  4081. - Set memory clock based on memdiff if present from with engine changes,
  4082. allowing it to parallel manual changes from the menu as well.
  4083. - api.c typo
  4084. - API allow display/change failover-only setting
  4085. - API-README corrections
  4086. - miner.php documentation (in API-README) v0.1
  4087. - Bugfix: opencl: Show blank device-info statline area if GPU doesn't have
  4088. ADL, to fix column alignment
  4089. - README: Document usage of 0 to indicate "leave at default" for comma-
  4090. delimited GPU options
  4091. - Correct API-README versions to match when BFGMiner included them
  4092. - API-README update changelog
  4093. - Minimise locking and unlocking when getting counts by reusing shared mutex
  4094. lock functions.
  4095. - Avoid getting more work if by the time the getwork thread is spawned we find
  4096. ourselves with enough work.
  4097. - The bitforce buffer is cleared and hw error count incremented on return from a
  4098. failed send_work already so no need to do it within the send_work function.
  4099. - Don't make mandatory work and its clones last forever.
  4100. - modminer: Log debug info for nonces found
  4101. BFGMiner Version 2.6.4 - August 11, 2012
  4102. - Bugfix: Define my_cancellable_getch in miner.h
  4103. - Escape " and \ when writing json config file
  4104. - miner.php allow a custom page section to select all fields with '*' - e.g. to
  4105. create a STATS section on a custom page
  4106. - miner.php optional single rig totals (on by default)
  4107. - Bugfix: Initialize submitting mutex
  4108. - Bugfix: bitforce: Allocate enough space for FTDI description pointers
  4109. - Queue one request for each staged request removed, keeping the staged
  4110. request count optimal at all times.
  4111. - Bugfix: Avoid cancelling threads while locks are held
  4112. - Set recognizable names on threads for debugging
  4113. - Bugfix: Don't keep making new get_work threads if all pools are dead
  4114. - Enable configuring submission thread limit with --submit-threads option
  4115. - Bugfix: Limit active submission threads to 0x40 so we don't overflow
  4116. - Bugfix: Properly handle switching to pools that aren't on the latest block,
  4117. and warn if a pool actively switches to an old block
  4118. - Log more details of reasons in stale_work debug messages
  4119. - Failsafe against stale-on-arrival work: disable the pool
  4120. - Bugfix: Debug message should show "Work stale due to work restart" when it's
  4121. not a share
  4122. - windows-build: Remove APP SDK section since it is no longer needed
  4123. - modminer: HACK: Let last_work handle the end of the work, and start the next
  4124. one immediately
  4125. - Bugfix: modminer: Remove erroneous "else" statement, to fix hashrate
  4126. reporting
  4127. - README: Document user group required for FPGAs on Gentoo and Ubuntu
  4128. - BFGMiner-specific README adjustments
  4129. - Bugfix: opencl: Ignore error getting device ids from platforms unless they
  4130. are explicitly chosen
  4131. - New --debuglog option to include debug info in stderr logfile even if not in
  4132. the console
  4133. - Bumped down debhelper compatibility reqs so that this will build on Lucid.
  4134. - Updated to match packaging changes.
  4135. - Switched to native packages so we don't have to muck around creating fake
  4136. upstream tarballs, and can easily generate minor versions for upload to
  4137. Launchpad.
  4138. - Removed accidentally included debugging line.
  4139. - Minor version bump again because of launchpad. Will sort this out for next
  4140. release.
  4141. - Updated to patch bitforce module issue on Debian/Ubuntu.
  4142. - Added local quilt config dir to ignore.
  4143. - modminer: Check nonce against previous work, in case of race
  4144. - Bugfix: Enable --kernel-path option if ModMiner or Ztex is enabled (even if
  4145. no OpenCL)
  4146. - Bugfix: Escape backslashes and double-quotes in strings that rightfully may
  4147. have them, when writing JSON config file
  4148. - Clean object (.o) and dependency (.d) files out of source tree
  4149. - Bugfix: bitforce: Don't count hashes that never happened due to throttling
  4150. - Bugfix: Deal with serial_open timeout maximum (25.5s)
  4151. - - fpgautils: Linux only supports uint8_t decisecond values for timeouts, so
  4152. use uint8_t for timeout value; this gets smart compilers to throw warnings
  4153. when overflowed in some cases
  4154. - - bitforce: Reduce serial timeout to 25 seconds (was 30) and increase job
  4155. long timeout to 25 seconds (was 15) to handle throttling gracefully
  4156. - modminer: Add debug info to API extra device stats
  4157. - modminer: Raise clock speed when there's only good nonces for a while
  4158. - modminer: Only print clock speed adjustments when they actually change
  4159. - modminer: Increase tolerance for bad nonces to 2%
  4160. - modminer: Reset bad-nonce ratio measurement when the clock speed changes
  4161. - Bugfix: bitforce: Include the correct device id in "garbled response" warning
  4162. - ADL: Add attribution and disclaimer to interfaces
  4163. - Cleaned out refs to AMD SDKs.
  4164. - Updated README about debian packaging, changelog with minor version bump to
  4165. work around Launchpad reqs.
  4166. - Updated changelog with Ubuntu release specific version, needed to build for
  4167. multiple releases. Also stripped out ADL SDK stuff in the build rules.
  4168. - Initial work to adjust debian packaging from cgminer. Should build correctly
  4169. now with pbuilder/pdebuild, and include docs.
  4170. - Adapt miner code to free ADL structures
  4171. - Import free ADL interfaces
  4172. - Include scrypt.h in Makefile.
  4173. - Fix windows bitforce build.
  4174. - Convert the serial autodetect functions to use int instead of char to
  4175. enumerate devices.
  4176. - Uglify windows autodetect code for BFL.
  4177. - There is no point zeroing temperature in BFL if we fail to get a response, and
  4178. we should register it as a HW error, suggesting throttling.
  4179. - Update SCRYPT README with information about HW errors.
  4180. - Use the scrypt CPU code to confirm results from OCL code, and mark failures as
  4181. HW errors, making it easier to tune scrypt parameters.
  4182. - We may as well leave one curl still available per pool instead of reaping the
  4183. last one.
  4184. - Display reaped debug message outside mutex lock to avoid recursive locking.
  4185. - api.c update API start message and include port number
  4186. - miner.php ignore arg when readonly
  4187. - miner.php allow pool inputs: delete, addpool, poolpriority
  4188. - bitforce: Reopen on communication error
  4189. - Bugfix: Calculate hw err percent for the affected FPGA only
  4190. - make-release: Adapt to new autogen by using NOCONFIGURE var
  4191. BFGMiner Version 2.6.3 - August 6, 2012
  4192. - modminer: Relax no-nonces downclocking condition to be more reasonable
  4193. - README: Update scrypt configure option
  4194. - README: Update configure options
  4195. - Bugfix: Display --disable-modminer in configure --help now that it is
  4196. enabled by default
  4197. - Add specific information when ADL detects error -10 saying the device is not
  4198. enabled.
  4199. - modminer: Shorten upload warning message to fit better
  4200. - modminer: Sending a "ping" first, to workaround bug in new firmware betas
  4201. - modminer: Include Hardware Errors and Valid Nonces in extra device status
  4202. - Bugfix: modminer: Calculate bad-nonce percentage based only on the same
  4203. FPGA's hardware errors, accurately
  4204. - modminer: Show bitstream upload progress in statline, and only report to log
  4205. every 10%
  4206. - modminer: Be more verbose about why the clock is getting reduced
  4207. - Document how Icarus golden nonce is handled by other FPGAs
  4208. - Rewrite should_run for sched, to properly handle one-shot schedules spanning
  4209. midnight
  4210. - Bugfix: Check list_empty in pop_curl_entry after condition wait
  4211. - Bugfix: Only add new pools to array after completing basic structure
  4212. initialization
  4213. - If __BFGMINER_SEGFAULT_ERRQUIT is set in the environment, segfault on
  4214. non-zero quit()s
  4215. - Check against NULL pointers getting into curlring
  4216. - modminer: Finish a process results run with a nonce poll, rather than sleep
  4217. - modminer: Workaround Windows driver failures
  4218. - Count likely throttling episodes on bitforce devices as hardware errors.
  4219. - Bugfix: bitforce: Increase serial read timeout to 30 seconds during actual
  4220. mining, to tolerate more throttling
  4221. - Style cleanups.
  4222. - Make pool_disabled the first in the enums == 0, fixing the pool enabled count
  4223. which compares if value is not enabled before enabling it.
  4224. - Correct writing of scrypt parameters to config file based on command line
  4225. parameters only.
  4226. - Add scrypt support while writing conf
  4227. - Use different variables for command line specified lookup gap and thread
  4228. concurrency to differentiate user defined versus auto chosen values.
  4229. - Queue a request on pool switch in case we have no work from the new pool yet.
  4230. - API remove unused warning in non-GPU compile
  4231. - api.c in linux allow to open a closed socket in TIME_WAIT
  4232. - Display failover only mode in pool menu and allow it to be toggled live.
  4233. - Reinstate check for system queueing lag when the current pool's queue is maxed
  4234. out, there is no staged work, and the work is needed now.
  4235. - Fix harmless warnings.
  4236. - Check the current staged and global queued as well before queueing requests.
  4237. Discard stales before ageing work in the watchdog thread. Queue requests after
  4238. discarding and ageing work in watchdog thread. Display accurate global queued in
  4239. curses output. Reuse variable in age_work().
  4240. - The queueing mechanism has become a complex state machine that is no longer
  4241. predictable. Rewrite it from scratch watching only current queues in flight and
  4242. staged work available on a pool by pool basis.
  4243. - Update debian package configs to v2.6.2
  4244. - Queue an extra request whenever staged work drops below mining thread count in
  4245. hash_pop.
  4246. - Bugfix: Initialize logwin to 1 line high temporarily, to avert PDCurses crash
  4247. - Enable FPGA support by default, as long as their dependencies are met
  4248. - Bugfix: modminer: Search for *ModMiner* in udev ID_MODEL
  4249. - make-release: build with --enable-scrypt
  4250. - miner.php support custom report section joins
  4251. - ICA default fpga_count to work_division if specified
  4252. - FPGA-README document new hidden --icarus-options
  4253. - ICA support 57600 baud rate, up to 8 FPGA and partial working FPGA boards
  4254. - Scrypt mining does not support block testing yet so don't try to print it.
  4255. - Clear the bitforce buffer whenever we get an unexpected result as it has
  4256. likely throttled and we are getting cached responses out of order, and use the
  4257. temperature monitoring as a kind of watchdog to flush unexpected results.
  4258. - It is not critical getting the temperature response in bitforce so don't
  4259. mandatorily wait on the mutex lock.
  4260. - Check there is a cutoff temp actually set in bitforce before using it as a cut
  4261. off value otherwise it may think it's set to zero degrees.
  4262. - We dropped the temporary stopping of curl recruiting on submit_fail by
  4263. mistake, reinstate it.
  4264. - Make threads report in either side of the scanhash function in case we miss
  4265. reporting in when restarting work.
  4266. - Add debugging output when work is found stale as to why.
  4267. - Print the 3 parameters that are passed to applog for a debug line in
  4268. bitforce.c
  4269. - Clear bitforce buffer on init as previously.
  4270. - Add some headroom to the number of curls available per pool to allow for
  4271. longpoll and sendwork curls.
  4272. - Show the correct base units on GPU summary.
  4273. - Bugfix: bitforce: 1 decisecond timeout is unreasonably short, give it a
  4274. second
  4275. - Bugfix: Don't try to log abandon time, since we aren't keeping track
  4276. reasonably
  4277. - Import uthash 1.9.6
  4278. - Bugfix: bitforce: Pause after send_work failures
  4279. - Fix comm error handling to not consider work restarts an error condition
  4280. - comm error bug fix
  4281. - Bugfix: No endian.h on Windows
  4282. - Remove unused mkinstalldirs
  4283. - Display scrypt as being built in as well.
  4284. - Fix build warning about KL_SCRYPT when built without scrypt support.
  4285. - News update.
  4286. - More scrypt intensity information.
  4287. - Minor readme updates.
  4288. - Update README with more build instructions.
  4289. - Remove the low hash count determinant of hardware being sick. A low hash rate
  4290. can be for poor network connectivity or scrypt mining, neither of which are due
  4291. to sick hardware.
  4292. - Style
  4293. - API-README poolpriority changes
  4294. - api.c verify poolpriority parameters before changing pools
  4295. - api.c poolpriority changes
  4296. - Implement shared swap32(yes|tole|tobe) function to handle endian flipping
  4297. 32-bit chunks in blocks
  4298. - Use correct macros for endian handling code
  4299. BFGMiner Version 2.6.1 - July 29, 2012
  4300. - Autoselect --scrypt iff all pools send scrypt work
  4301. - Adapt SCRYPT-README to BFGMiner (directing Bitcoin donations the correct
  4302. direction to reach Con)
  4303. - Remove mentions of Litecoin specifically
  4304. - Bugfix: Fix build without OpenCL but with scrypt
  4305. - make-release: Add SCRYPT-README
  4306. - Bump version 2.6.0, adding SCRYPT README to makefile.
  4307. - Smarter autogen.sh script.
  4308. - Sleeping on intensity decrease is broken, remove it.
  4309. - Sleep only the extra amount of time we overran the dynamic interval in dynamic
  4310. mode.
  4311. - Add scrypt documentation in the form of a separate readme.
  4312. - Fix build error without scrypt enabled.
  4313. - Limit thread concurrency for scrypt to 5xshaders if shaders is specified.
  4314. - Simplify repeated use of gpus[gpu]. in ocl.c
  4315. - Find the nearest power of 2 maximum alloc size for the scrypt buffer that can
  4316. successfully be allocated and is large enough to accomodate the thread
  4317. concurrency chosen, thus mapping it to an intensity.
  4318. - Don't make opt_scrypt mandatory blocking with opencl code.
  4319. - Update kernel versions reflecting changes in the API.
  4320. - Make the thread concurrency and lookup gap options hidden on the command line
  4321. and autotune parameters with a newly parsed --shaders option.
  4322. - Fix target testing with scrypt kernel as it would have been missing shares
  4323. below target.
  4324. - Always create the largest possible padbuffer for scrypt kernels even if not
  4325. needed for thread_concurrency, giving us some headroom for intensity levels.
  4326. - Use the detected maximum allocable memory on a GPU to determine the optimal
  4327. scrypt settings when lookup_gap and thread_concurrency parameters are not given.
  4328. - Check the maximum allocable memory size per opencl device.
  4329. - Add debugging output if buffer allocation fails for scrypt and round up
  4330. bufsize to a multiple of 256.
  4331. - Nonce testing for btc got screwed up, leading to no accepted shares. Fix it.
  4332. - Display size of scrypt buffer used in debug.
  4333. - Allow intensities up to 20 if scrypt is compiled in.
  4334. - Add name to scrypt kernel copyright.
  4335. - Allow lookup gap and thread concurrency to be passed per device and store
  4336. details in kernel binary filename.
  4337. - Ignore negative intensities for scrypt.
  4338. - Change the scale of intensity for scrypt kernel and fix a build warning.
  4339. - Correct target value passed to scrypt kernel.
  4340. - Use 256 output slots for kernels to allow 1 for each worksize.
  4341. - Test the target in the actual scrypt kernel itself saving further
  4342. calculations.
  4343. - Reinstate GPU only opencl device detection.
  4344. - Decrease lookup gap to 1. Does not seem to help in any way being 2.
  4345. - Fix build.
  4346. - Make pad0 and pad1 local variable in scrypt kernel.
  4347. - Constify input variable in scrypt kernel.
  4348. - Send correct values to scrypt kernel to get it finally working.
  4349. - Create command queue before compiling program in opencl.
  4350. - Fix external scrypt algo missing.
  4351. - Limit scrypt to 1 vector.
  4352. - Handle KL_SCRYPT in config write.
  4353. - Get rid of stuff.
  4354. - Don't enqueuewrite buffer at all for pad8 and pass work details around for
  4355. scrypt in dev_blk.
  4356. - Set the correct data for cldata and prepare for pad8 fixes.
  4357. - Get rid of spaces in arrays in scrypt kernel.
  4358. - Start with smaller amount of hashes in cpu mining to enable scrypt to return
  4359. today sometime.
  4360. - Free the scratchbuf memory allocated in scrypt and don't check if CPUs are
  4361. sick since they can't be. Prepare for khash hash rates in display.
  4362. - Add cpumining capability for scrypt.
  4363. - Set scrypt settings and buffer size in ocl.c code to be future modifiable.
  4364. - Cope with when we cannot set intensity low enough to meet dynamic interval by
  4365. inducing a forced sleep.
  4366. - Make dynamic and scrypt opencl calls blocking.
  4367. - Fix nonce submission code for scrypt.
  4368. - Make sure goffset is set for scrypt and drop padbuffer8 to something
  4369. manageable for now.
  4370. - Set up buffer8 for scrypt.
  4371. - Build fix for opt scrypt.
  4372. - Don't check postcalc nonce with sha256 in scrypt.
  4373. - Don't test nonce with sha and various fixes for scrypt.
  4374. - Make scrypt buffers and midstate compatible.
  4375. - Use specific output array entries in scrypt kernel.
  4376. - Provide initial support for the scrypt kernel to compile with and mine scrypt
  4377. with the --scrypt option.
  4378. - Enable completely compiling scrypt out.
  4379. - Begin import of scrypt opencl kernel from reaper.
  4380. BFGMiner Version 2.5.3 - July 29, 2012
  4381. - Bugfix: Add zlib1.dll to Win32 release archive
  4382. - Bugfix: SICK low-hashrate is now determined by being under 1/3 the runtime
  4383. average hashrate
  4384. - Bugfix: cpu_set_t is never #defined, so use CPU_ZERO which is a macro
  4385. BFGMiner Version 2.5.2 - July 29, 2012
  4386. - Limit total number of curls recruited per pool to the number of mining threads
  4387. to prevent blasting the network when we only have one pool to talk to.
  4388. - Bugfix: Skip writing configuration of range-limited int options with negative
  4389. values
  4390. - Bugfix: Correctly attempt to load ~/.bfgminer/bfgminer.conf or
  4391. ~/.cgminer/cgminer.conf as defaults
  4392. - Send X-Minimum-Wait header on longpolls, to explicitly inform pools we will
  4393. handle a response with no delay
  4394. - bitforce: Abandon (only) stale searches for work restarts
  4395. - Keep a counter of enabled pools and use that instead of iterating over the
  4396. pool list. Use that value to ensure we don't set the last remaining active pool
  4397. to the rejecting state.
  4398. - bitforce: Skip out of sending work if work restart requested
  4399. - RPC: Writeup on poolpriority command usage
  4400. - Bugfix: API: Report errors from poolpriority command
  4401. - RPC: New "poolpriority" command to set the order of pool priorities
  4402. - strtok_ts: Thread-safe strtok that work on POSIX or Windows
  4403. - Bugfix: Supress "caught up" event when first switching to a pool
  4404. - Announce and restart work immediately when current pool has caught up to the
  4405. current block
  4406. - Bugfix: Don't consider work stale due to other pools' longpolls, if
  4407. --failover-only is active
  4408. - Refactor stale_work function to only flag actual stale shares
  4409. - stale_work: Don't factor getwork delay into expiry for shares (only for work
  4410. itself)
  4411. - Bugfix: Use pool number rather than numeric pointer to strict pool, in block
  4412. found notice
  4413. - Accept JSON Numbers in config file parameters
  4414. - Improve readability of OPT_HASARG in parse_config
  4415. - Allow JSON false as a valid value for strictly boolean options
  4416. - Include scan-serial in example configuration file
  4417. - fpgautils: add support for 57.6 kBd serial
  4418. - miner.php add a socket RCV timeout for if cgminer is hung and the API thread
  4419. is still running
  4420. - BFL force all code to timeout to avoid hanging
  4421. - Initialise mdplatform.
  4422. - Find the gpu platform with the most devices and use that if no platform option
  4423. is passed.
  4424. - Bugfix: It is not a hardware error if nonces returned from modminer don't
  4425. meet the pool target
  4426. - bitforce & icarus: Log detection failures at debug log level, so we don't
  4427. confuse users who have different devices (which is why these drivers are
  4428. failing detection!)
  4429. - Show "WAIT" (LIFE_WAIT status) if a cgpu is idle waiting for work (pool
  4430. slow/dead)
  4431. - Instead of quitting on failing N retries, just discard the share
  4432. - Bugfix: Don't discard stale shares after submission failure, if user or pool
  4433. wants stales submitted
  4434. - Bugfix: Record discard-during-retry shares in the sharelog
  4435. - Bugfix: Only show Algorithm in RPC summary if CPU mining is actually active
  4436. - OpenCL: Remove intensity from statline, since it overflowed
  4437. - Move "Q" (requested getworks) to second status line as "GW" to balance out
  4438. better
  4439. - Bugfix: Use a mutex to control non-curses output
  4440. - Simplify code to a single vprintf path for curses-less printing
  4441. - Move opt_quiet check to my_log_curses, so it works for curses-less builds
  4442. - Use log_generic for vapplog to cut down on code duplication
  4443. - Bugfix: Copy argv[0] given to dirname()
  4444. - Find the gpu platform with the most devices and use that if no platform
  4445. option is passed.
  4446. - Allow more platforms to be probed if first does not return GPUs.
  4447. - Detach pthread from within the api thread in case it is terminated due to not
  4448. being instantiated before pthread_cancel is called from main, leading to a
  4449. segfault.
  4450. - Debug output per thread hashrate is out by a factor of 1000.
  4451. - Don't check if CPUs are sick since they can't be.
  4452. - Calculate midstate in separate function and remove likely/unlikely macros
  4453. since they're dependent on pools, not code design.
  4454. - Display in debug mode when we're making the midstate locally.
  4455. - Bugfix: Document --no-adl and --gpu-platform
  4456. - Bugfix: Remove redundant documentation of --auto-fan and --auto-gpu (they
  4457. are in GPU-specific options)
  4458. - CPU mining may not be included in binaries, but it's not deprecated for
  4459. BFGMiner either
  4460. - Bugfix: Restore case-insensitivity to input
  4461. - Scroll the device list with up/down arrow keys, if it is overflowed
  4462. - Use select statement to handle input
  4463. - Bugfix: Actually check that the device fits in the individual summary window
  4464. before trying to print it
  4465. - Bugfix: Fix build without curses but with OpenCL
  4466. - Bugfix: Don't show a Temperature key if it isn't known
  4467. - BFGMiner-specific NEWS fix
  4468. BFGMiner Version 2.5.1 - July 13, 2012
  4469. - Replace CPU Algo in header with runtime
  4470. - Bugfix: Calculate diff-1 utility to fix utility-hashrate on pools with
  4471. diff!=1
  4472. - Add utility hashrate to curses display
  4473. - Show units in kh, Gh, Th, etc as needed to use at most 3 integer digits
  4474. - Use FTD2XX.DLL on Windows to autodetect BitFORCE SHA256 devices
  4475. - bitforce_get_result returns -1 on error now.
  4476. - Check return value of read in BFgets
  4477. - Bugfix: modminer: Count hashes done before work restart
  4478. - Bugfix: modminer: Adapt "get nonce" error condition to new scanhash=>-1
  4479. error API
  4480. - Bugfix: Make our Windows nanosleep/sleep replacements standards-compliant
  4481. (which fixes nmsleep) and include compat.h for bitforce (for sleep)
  4482. - miner.php fix rig # when miners fail
  4483. - Fix whitespace mangling.
  4484. - bitforce: Use "full work" vs "nonce range" for kernel name
  4485. - Abbrv. correction
  4486. - Remove superfluous ave_wait
  4487. - Put kname change for broken nonce-range back in
  4488. - Add average wait time to api stats
  4489. - Revert "Merge branch 'ave_time' of https://github.com/pshep/cgminer.git"
  4490. - Add average return time to api stats
  4491. - Missed one nonce-range disabling.
  4492. - Change timeouts to time-vals for accuracy.
  4493. - More BFL tweaks. Add delay between closing and reopening port. Remove buffer
  4494. clear in re-init Add kernel type (mini-rig or single)
  4495. - Revert "Change BFL driver thread initialising to a constant 100ms delay
  4496. between devices instead of a random arrangement."
  4497. - Only try to shut down work cleanly if we've successfully connected and started
  4498. mining.
  4499. - Fix spelling.
  4500. - modminer: Firmware returns 0xffffff00 immediately if we set clockspeed too
  4501. high
  4502. - Bugfix: modminer: Actually count good shares
  4503. - Bugfix: Adapt OpenCL scanhash errors to driver API change (errors are now -1,
  4504. not 0)
  4505. - Remove bitforce_thread_init The delay thing does nothing useful... when long
  4506. poll comes around, all threads restart at the same time anyway.
  4507. - fix API support for big endian machines
  4508. - Bugfix: Use const struct device_api* for mt_disable
  4509. - modminer: Show progress of bitstream upload
  4510. - Bugfix: Don't declare devices SICK if they're just busy initializing
  4511. - Bugfix: Calculate nsec in nmsleep correctly
  4512. - miner.php allow rig names in number buttons
  4513. - Change BFL driver thread initialising to a constant 100ms delay between
  4514. devices instead of a random arrangement.
  4515. - Spelling typo.
  4516. - Time opencl work from start of queueing a kernel till it's flushed when
  4517. calculating dynamic intensity.
  4518. - Modify te scanhash API to use an int64_t and return -1 on error, allowing zero
  4519. to be a valid return value.
  4520. - Check for work restart after the hashmeter is invoked for we lose the hashes
  4521. otherwise contributed in the count.
  4522. - Remove disabled: label from mining thread function, using a separate
  4523. mt_disable function.
  4524. - Style changes.
  4525. - Cope with signals interrupting the nanosleep of nmsleep.
  4526. - Use standard cfsetispeed/cfsetospeed to set baud rate on *nix
  4527. - miner.php split() flagged deprecated in PHP 5.3.0
  4528. - Bugfix: Use nmsleep instead of restart_wait, so we always wait the full time
  4529. - Make long timeout 10seconds on bitforce for when usleep or nanosleep just
  4530. can't be accurate...
  4531. BFGMiner Version 2.5.0 - July 7, 2012
  4532. - Fix BitFORCE driver to not silenty discard valid shares (bug introduced by
  4533. CGMiner merges)
  4534. - Fix --benchmark not working since the dynamic addition of pools and pool
  4535. stats.
  4536. - Make disabling BFL nonce range support a warning since it has to be explicitly
  4537. enabled on the command line now.
  4538. - miner.php allow renaming table headers
  4539. - Make bitforce nonce range support a command line option --bfl-range since
  4540. enabling it decrease hashrate by 1%.
  4541. - Add sanity checking to make sure we don't make sleep_ms less than 0 in
  4542. bitforce.
  4543. - The fastest minirig devices need a significantly smaller starting sleep time.
  4544. - Use a much shorter initial sleep time to account for faster devices and nonce
  4545. range working, and increase it if nonce range fails to work.
  4546. - Use nmsleep instead of usleep in bitforce.
  4547. - Provide a ms based sleep function that uses nanosleep to avoid the inaccuracy
  4548. of usleep on SMP systems.
  4549. - delay_time_ms is always set so need not be initialised in bitforce.
  4550. - Increase bitforce timeout to 10 seconds.
  4551. - Add more hysteresis and poll ~5 times to allow for timer delays in bitforce
  4552. devices.
  4553. - miner.php allow alternating line colours (off by default)
  4554. - Display the actual duration of wait when it is greater than the cutoff.
  4555. - Set nonce to maximum once we determine nonce range support is broken.
  4556. - Initial wait time is always known so no need to zero it beforehand in
  4557. bitforce.
  4558. - No point counting wait time until the work is actually sent to bitforce
  4559. devices.
  4560. - Use string comparison functions instead of explicit comparisons.
  4561. - Account for wait_ms time when nonce_range is in use on BFL.
  4562. - Split nonces up into 1/5 chunks when nonce range is supported.
  4563. - limit clear buffer iterations.
  4564. - Ad fd check to clear buffer.
  4565. - miner.php remove incorrect 'DATE' error message
  4566. - miner.php allow summary header in custom pages
  4567. - Disable nonce range support in BFL when broken support is detected.
  4568. - Restart_wait is only called with a ms value so incorporate that into the
  4569. function.
  4570. - Only try to adjust dev width when curses is built in.
  4571. - miner.php define custom sum fields as a simple array
  4572. - Fix off-by-one error in nonce increment in bfl.
  4573. - Use BE when setting nonce in bitforce nonce range work.
  4574. - Enable nonce range in the normal init sequence for bfl.
  4575. - Queue extra work at 2/3 differently depending on whether we're using nonce
  4576. range or not.
  4577. - Initially enable support for nonce range support on bfl, splitting nonces up
  4578. into 3/4 size and only disable it if it fails on work submit.
  4579. - Attempt to detect nonce range support in BFL by sending work requring its
  4580. support.
  4581. - Limit retrying on busy for up to BITFORCE_TIMEOUT_MS
  4582. - Attempt to initialise while bitforce device returns BUSY.
  4583. - Extend length of string that can be passed to BFL devices.
  4584. - Fix signedness warning.
  4585. - Adjust device width column to be consistent.
  4586. - Use cgpu-> not gpus[] in watchdog thread.
  4587. - Add api stats (sleep time)
  4588. - Timing tweaks Added long and short timeouts, short for detecting throttling,
  4589. long to give up totally. Reset sleep time when device re-initialised Still check
  4590. results after timeout Back up a larger time if result on first poll.
  4591. - Add API Notify counter 'Comms Error'
  4592. - Style police on api.c
  4593. - Do all logging outside of the bitforce mutex locking to avoid deadlocks.
  4594. - Remove applog call from bfwrite to prevent grabbing nested mutexes.
  4595. - Bitforce style changes.
  4596. - Minor style changes.
  4597. - Remove needless roundl define.
  4598. - Made JSON error message verbose.
  4599. - Fine-tune timing adjustment. Also remove old work_restart timing.
  4600. - Check for gpu return times of >= 0, not just 0, to fix intensity dropping to
  4601. -10.
  4602. - Restart is zeroed in the mining thread so no need to do it inside the bitforce
  4603. code.
  4604. - More improvements to comms. BFL return nothing when throttling, so should not
  4605. be considered an error. Instead repeat with a longer delay.
  4606. - Polling every 10ms there's not much point checking the pthread_cond_timedwait
  4607. as it just adds overhead. Simply check the value of work_restart in the bfl main
  4608. polling loop.
  4609. - Use a pthread conditional that is broadcast whenever work restarts are
  4610. required. Create a generic wait function waiting a specified time on that
  4611. conditional that returns if the condition is met or a specified time passed to
  4612. it has elapsed. Use this to do smarter polling in bitforce to abort work, queue
  4613. more work, and check for results to minimise time spent working needlessly.
  4614. - Add busy time to wait time.
  4615. - api.c put version up to 1.14
  4616. - Add tiny delay after writing to BFL Change BFL errors to something more human
  4617. readable Send work busy re-tries after 10ms delay
  4618. - Fix race condition in thread creation that could under some conditions crash
  4619. BFGMiner at startup
  4620. BFGMiner Version 2.4.4 - July 1, 2012
  4621. - Fix builds on non gnu platforms.
  4622. - api.c ensure old mode is always available when not using --api-groups + quit()
  4623. on param errors
  4624. - Implement rudimentary X-Mining-Hashrate support.
  4625. - Detect large swings in temperature when below the target temperature range and
  4626. change fan by amounts dependant on the value of tdiff.
  4627. - Adjust the fanspeed by the magnitude of the temperature difference when in the
  4628. optimal range.
  4629. - Revert "Restarting cgminer from within after ADL has been corrupted only leads
  4630. to a crash. Display a warning only and disable fanspeed monitoring."
  4631. - api.c fix json already closed
  4632. - implement and document API option --api-groups
  4633. - Put upper bounds to under 2 hours that work can be rolled into the future for
  4634. bitcoind will deem it invalid beyond that.
  4635. - define API option --api-groups
  4636. - api.c allow unwell devices to be enabled so they can be cured
  4637. - miner.php - fix/enable autorefresh for custom pages
  4638. - miner.php allow custom summary pages - new 'Mobile' summary
  4639. - Work around pools that advertise very low expire= time inappropriately as this
  4640. leads to many false positives for stale shares detected.
  4641. - Only show ztex board count if any exist.
  4642. - There is no need for work to be a union in struct workio_cmd
  4643. - fpgautils.c include a debug message for all unknown open errors
  4644. - Don't keep rolling work right up to the expire= cut off. Use 2/3 of the time
  4645. between the scantime and the expiry as cutoff for reusing work.
  4646. - Log a specific error when serial opens fail due to lack of user permissions
  4647. - Increase GPU timing resolution to microsecond and add sanity check to ensure
  4648. times are positive.
  4649. - Opencl code may start executing before the clfinish order is given to it so
  4650. get the start timing used for dynamic intensity from before the kernel is
  4651. queued.
  4652. - fpgautils.c - set BAUD rate according to termio spec
  4653. - fpgautils.c - linux ordering back to the correct way
  4654. - miner.php remove unneeded '.'s
  4655. - miner.php add auto refresh options
  4656. - miner.php add 'restart' next to 'quit'
  4657. - miner.php make fontname/size configurable with myminer.php
  4658. - Make the pools array a dynamically allocated array to allow unlimited pools to
  4659. be added.
  4660. - Make the devices array a dynamically allocated array of pointers to allow
  4661. unlimited devices.
  4662. - Dynamic intensity for GPUs should be calculated on a per device basis. Clean
  4663. up the code to only calculate it if required as well.
  4664. - Bugfix: Provide alternative to JSON_ENCODE_ANY for Jansson 1.x
  4665. - Use a queueing bool set under control_lock to prevent multiple calls to
  4666. queue_request racing.
  4667. - Use the work clone flag to determine if we should subtract it from the total
  4668. queued variable and provide a subtract queued function to prevent looping over
  4669. locked code.
  4670. - Don't decrement staged extras count from longpoll work.
  4671. - Count longpoll's contribution to the queue.
  4672. - Increase queued count before pushing message.
  4673. - Test we have enough work queued for pools with and without rolltime
  4674. capability.
  4675. - As work is sorted by age, we can discard the oldest work at regular intervals
  4676. to keep only 1 of the newest work items per mining thread.
  4677. - Roll work again after duplicating it to prevent duplicates on return to the
  4678. clone function.
  4679. - Abstract out work cloning and clone $mining_threads copies whenever a rollable
  4680. work item is found and return a clone instead.
  4681. - api.c display Pool Av in json
  4682. - Take into account average getwork delay as a marker of pool communications
  4683. when considering work stale.
  4684. - Work out a rolling average getwork delay stored in pool_stats.
  4685. - Getwork delay in stats should include retries for each getwork call.
  4686. - Walk through the thread list instead of searching for them when disabling
  4687. threads for dynamic mode.
  4688. - Extend nrolltime to support the expiry= parameter. Do this by turning the
  4689. rolltime bool into an integer set to the expiry time. If the pool supports
  4690. rolltime but not expiry= then set the expiry time to the standard scantime.
  4691. - When disabling fanspeed monitoring on adl failure, remove any twin GPU
  4692. association. This could have been leading to hangs on machines with dual GPU
  4693. cards when ADL failed.
  4694. - modminer: Don't delay 2nd+ FPGAs during work restart
  4695. - Disable OpenCL code when not available.
  4696. - Fix openwrt crashing on regeneratehash() by making check_solve a noop.
  4697. - Fix sign warning.
  4698. - Bugfix: icarus: properly store/restore info and work end times across longpoll
  4699. restarts
  4700. - Enable modminer for release builds
  4701. BFGMiner Version 2.4.3 - June 14, 2012
  4702. - Change device API "name" to reflect driver name abbreviation instead of device type name
  4703. - miner.php allow a separate user settings file
  4704. - modminer: Implement extended device stats to expose each Board to the RPC API
  4705. - Bugfix: Use new cgpu->thr for longpoll waking
  4706. - bitforce: Remove 4.5s delay before polling starts, since MiniRig finishes sooner
  4707. - FPGA - allow device detect override without an open failure
  4708. - Bugfix: Missing printf value in merge from cgminer
  4709. - Ensure C compiler is in C99 mode
  4710. - Add CPU core count detection for BSD/Mac
  4711. - Set CPU mining idle priority on Windows
  4712. - can_roll and should_roll should have no bearing on the cycle period within the
  4713. miner_thread so remove it.
  4714. - Check for strategy being changed to load balance when enabling LPs.
  4715. - Check that all threads on the device that called get_work are waiting on
  4716. getwork before considering the pool lagging.
  4717. - Iterate over each thread belonging to each device in the hashmeter instead of
  4718. searching for them now that they're a list.
  4719. - When using rotate pool strategy, ensure we only select from alive enabled
  4720. pools.
  4721. - Start longpoll from every pool when load balance strategy is in use.
  4722. - Add mandatory and block fields to the work struct. Flag any shares that are
  4723. detected as blocks as mandatory to submit, along with longpoll work from a
  4724. previously rejecting pool.
  4725. - Consider the fan optimal if fanspeed is dropping but within the optimal speed
  4726. window.
  4727. - Fix typo in some API messages (succeess/success)
  4728. - api.c MMQ stat bugs
  4729. - Bugfix: Fix warnings when built without libudev support
  4730. - Bugfix: slay a variety of warnings
  4731. - Bugfix: modminer: Fix unsigned/signed comparison and similar warnings
  4732. - API add ModMinerQuad support
  4733. - Bugfix: Honour forceauto parameter in serial_detect functions
  4734. - modminer: Temperature sensor improvements
  4735. - modminer: Make log messages more consistent in format
  4736. - Only adjust GPU speed up if the fanspeed is within the normal fanrange and
  4737. hasn't been turned to maximum speed under overheat conditions.
  4738. - ModMiner use valid .name
  4739. - New driver: BTCFPGA ModMiner
  4740. - Abstract generally useful FPGA code into fpgautils.c
  4741. - API add stats for pool getworks
  4742. - miner.php option to hide specific fields from the display
  4743. - miner.php add version numbers to the summary page
  4744. - Update debian configs to v2.4.2
  4745. - Add API and FPGA READMEs into Makefile to be included in source distribution.
  4746. - Icarus - fix unit64_t printf warnings
  4747. BFGMiner Version 2.4.2 - June 2, 2012
  4748. - Use epoll to immediately interrupt Icarus with new work on longpolls (Linux)
  4749. - API.class compiled with Java SE 6.0_03 - works with Win7x64
  4750. - miner.php highlight devs too slow finding shares (possibly failing)
  4751. - API update version to V1.11 and document changes
  4752. - API save default config file if none specified
  4753. - api.c save success incorrectly returns error
  4754. - api.c replace BUFSIZ (linux/windows have different values)
  4755. - Move RPC API content out of README to API-README
  4756. - Open a longpoll connection if a pool is in the REJECTING state as it's the
  4757. only way to re-enable it automatically.
  4758. - Use only one longpoll as much as possible by using a pthread conditional
  4759. broadcast that each longpoll thread waits on and checks if it's the current pool
  4760. before
  4761. - If shares are known stale, don't use them to decide to disable a pool for
  4762. sequential rejects.
  4763. - Restarting cgminer from within after ADL has been corrupted only leads to a
  4764. crash. Display a warning only and disable fanspeed monitoring.
  4765. - Icarus: fix abort calculation/allow user specified abort
  4766. - Icarus: make --icarus-timing hidden and document it in FPGA-README
  4767. - Icarus: high accuracy timing and other bitstream speed support
  4768. - add-MIPSEB-to-icarus-for-BIG_ENDIAN
  4769. - work_decode only needs swab32 on midstate under BIG ENDIAN
  4770. - add compile command to api-example.c
  4771. - save config bugfix: writing an extra ',' when no gpus
  4772. - Add dpkg-source commits
  4773. BFGMiner Version 2.4.1 - May 6, 2012
  4774. - Icarus: Calibrate hashrate yet even more accurately
  4775. - In the unlikely event of finding a block, display the block solved count with
  4776. the pool it came from for auditing.
  4777. - Display the device summary on exit even if a device has been disabled.
  4778. - Use correct pool enabled enums in api.c.
  4779. - Import Debian packaging configs
  4780. - Ensure we test for a pool recovering from idle so long as it's not set to
  4781. disabled.
  4782. - Fix pool number display.
  4783. - Give BFGMiner -T message only if curses is in use.
  4784. - Reinit_adl is no longer used.
  4785. - API 'stats' allow devices to add their own stats also for testing/debug
  4786. - API add getwork stats to BFGMiner - accesable from API 'stats'
  4787. - Don't initialise variables to zero when in global scope since they're already
  4788. initialised.
  4789. - Get rid of unitialised variable warning when it's false.
  4790. - Move a pool to POOL_REJECTING to be disabled only after 3 minutes of
  4791. continuous rejected shares.
  4792. - Some tweaks to reporting and logging.
  4793. - API support new pool status
  4794. - Add a temporarily disabled state for enabled pools called POOL_REJECTING and
  4795. use the work from each longpoll to help determine when a rejecting pool has
  4796. started working again. Switch pools based on the multipool strategy once a pool
  4797. is re-enabled.
  4798. - Removing extra debug
  4799. - Fix the benchmark feature by bypassing the new networking code.
  4800. - Reset sequential reject counter after a pool is disabled for when it is
  4801. re-enabled.
  4802. - ztex updateFreq was always reporting on fpga 0
  4803. - Trying harder to get 1.15y working
  4804. - Specifying threads on multi fpga boards extra cgpu
  4805. - Missing the add cgpu per extra fpga on 1.15y boards
  4806. - API add last share time to each pool
  4807. - Don't try to reap curls if benchmarking is enabled.
  4808. BFGMiner Version 2.4.0 - May 3, 2012
  4809. - Only show longpoll warning once when it has failed.
  4810. - Convert hashes to an unsigned long long as well.
  4811. - Detect pools that have issues represented by endless rejected shares and
  4812. disable them, with a parameter to optionally disable this feature.
  4813. - Bugfix: Use a 64-bit type for hashes_done (miner_thread) since it can overflow
  4814. 32-bit on some FPGAs
  4815. - Implement an older header fix for a label existing before the pthread_cleanup
  4816. macro.
  4817. - Limit the number of curls we recruit on communication failures and with
  4818. delaynet enabled to 5 by maintaining a per-pool curl count, and using a pthread
  4819. conditional that wakes up when one is returned to the ring buffer.
  4820. - Generalise add_pool() functions since they're repeated in add_pool_details.
  4821. - Bugfix: Return failure, rather than quit, if BFwrite fails
  4822. - Disable failing devices such that the user can attempt to re-enable them
  4823. - Bugfix: thread_shutdown shouldn't try to free the device, since it's needed
  4824. afterward
  4825. - API bool's and 1TBS fixes
  4826. - Icarus - minimise code delays and name timer variables
  4827. - api.c V1.9 add 'restart' + redesign 'quit' so thread exits cleanly
  4828. - api.c bug - remove extra ']'s in notify command
  4829. - Increase pool watch interval to 30 seconds.
  4830. - Reap curls that are unused for over a minute. This allows connections to be
  4831. closed, thereby allowing the number of curl handles to always be the minimum
  4832. necessary to not delay networking.
  4833. - Use the ringbuffer of curls from the same pool for submit as well as getwork
  4834. threads. Since the curl handles were already connected to the same pool and are
  4835. immediately available, share submission will not be delayed by getworks.
  4836. - Implement a scaleable networking framework designed to cope with any sized
  4837. network requirements, yet minimise the number of connections being reopened. Do
  4838. this by create a ring buffer linked list of curl handles to be used by getwork,
  4839. recruiting extra handles when none is immediately available.
  4840. - There is no need for the submit and getwork curls to be tied to the pool
  4841. struct.
  4842. - Do not recruit extra connection threads if there have been connection errors
  4843. to the pool in question.
  4844. - We should not retry submitting shares indefinitely or we may end up with a
  4845. huge backlog during network outages, so discard stale shares if we failed to
  4846. submit them and they've become stale in the interim.
  4847. BFGMiner Version 2.3.6 - April 29, 2012
  4848. - Shorten stale share messages slightly.
  4849. - Protect the freeing of current_hash under mutex_lock to prevent racing on it
  4850. when set_curblock is hit concurrently.
  4851. - Change default behaviour to submitting stale, removing the --submit-stale
  4852. option and adding a --no-submit-stale option.
  4853. - Make sure to start the getwork and submit threads when a pool is added on the
  4854. fly. This fixes a crash when a pool is added to running BFGMiner and then
  4855. switched to.
  4856. - Faster hardware can easily outstrip the speed we can get work and submit
  4857. shares when using only one connection per pool.
  4858. - Test the queued list to see if any get/submits are already queued and if they
  4859. are, start recruiting extra connections by generating new threads.
  4860. - This allows us to reuse network connections at low loads but recuit new open
  4861. connections as they're needed, so that BFGMiner can scale to hardware of any
  4862. size.
  4863. BFGMiner Version 2.3.5 - April 28, 2012
  4864. - Restarting BFGMiner leads to a socket that can't be bound for 60 seconds, so
  4865. increase the interval that API binding waits to 30 seconds to minimise the
  4866. number of times it will retry, spamming the logs.
  4867. - Give a longpoll message for any longpoll that detects a block change, primary
  4868. or backup, and also display which pool it was.
  4869. - Decrease utility display to one decimal place.
  4870. - Small cosmetic output alignment.
  4871. - Add pool number to stale share message.
  4872. - Add space to log output now that there is more screen real estate available.
  4873. - Indentation clean up.
  4874. - Remove thread id display from rejected shares as well.
  4875. - Merge pull request #185 from Diapolo/diakgcn
  4876. - add goffset support for diakgcn with -v 1 and update kernel version
  4877. - Set have_longpoll to true when there is at least one pool with longpoll.
  4878. - Don't display the thread ID since it adds no useful information over the
  4879. device number.
  4880. - Don't display the first 8 bytes of a share since they will always be zero at
  4881. >= 1 difficulty.
  4882. - work->longpoll is reset across test_work_current so we need to recheck what
  4883. pool it belongs to.
  4884. - Use longpolls from backup pools with failover-only enabled just to check for
  4885. block changes, but don't use them as work.
  4886. - Start longpoll only after we have tried to extract the longpoll URL.
  4887. - Check for submitold flag on resubmit of shares, and give different message for
  4888. stale shares on retry.
  4889. - Check for submitold before submitstale.
  4890. - Don't force fresh curl connections on anything but longpoll threads.
  4891. - Create one longpoll thread per pool, using backup pools for those pools that
  4892. don't have longpoll.
  4893. - Use the work created from the longpoll return only if we don't have
  4894. failover-enabled, and only flag the work as a longpoll if it is the current
  4895. pool.
  4896. - This will work around the problem of trying to restart the single longpoll
  4897. thread on pool changes that was leading to race conditions.
  4898. - It will also have less work restarts from the multiple longpolls received from
  4899. different pools.
  4900. - Remove the invalid entries from the example configuration file.
  4901. - Add support for latest ATI SDK on windows.
  4902. - Export missing function from libztex.
  4903. - miner.php change socktimeoutsec = 10 (it only waits once)
  4904. - Bugfix: Make initial_args a const char** to satisfy exec argument type warning
  4905. (on Windows only)
  4906. - miner.php add a timeout so you don't sit and wait ... forever
  4907. - Create discrete persistent submit and get work threads per pool, thus allowing
  4908. all submitworks belonging to the same pool to reuse the same curl handle, and
  4909. all getworks to reuse their own handle.
  4910. - Use separate handles for submission to not make getwork potentially delay
  4911. share submission which is time critical.
  4912. - This will allow much more reusing of persistent connections instead of opening
  4913. new ones which can flood routers.
  4914. - This mandated a rework of the extra longpoll support (for when pools are
  4915. switched) and this is managed by restarting longpoll cleanly and waiting for a
  4916. thread join.
  4917. - miner.php only show the current date header once
  4918. - miner.php also add current time like single rig page
  4919. - miner.php display rig 'when' table at top of the multi-rig summary page
  4920. - README - add some Ztex details
  4921. - api.c include zTex in the FPGA support list
  4922. - api.c ensure 'devs' shows PGA's when only PGA code is compiled
  4923. - miner.c sharelog code consistency and compile warning fix
  4924. - README correct API version number
  4925. - README spelling error
  4926. - api.c combine all pairs of sprintfs()
  4927. - api.c uncomment and use BLANK (and COMMA)
  4928. - Code style cleanup
  4929. - Annotating frequency changes with the changed from value
  4930. - README clarification of 'notify' command
  4931. - README update for API RPC 'devdetails'
  4932. - api.c 'devdetails' list static details of devices
  4933. - Using less heap space as my TP-Link seems to not handle this much
  4934. BFGMiner Version 2.3.4 - April 26, 2012
  4935. - New maintainership of code with modular FPGA/GPU focus, under BFGMiner name
  4936. - Complete working support for cross-compiling Windows builds on Linux.
  4937. - Fix usage of low --scan-time settings so it doesn't busy-loop
  4938. - JSON API: Add new 'devdetail' command to get fixed device information
  4939. - JSON API: Implement driver abstraction for extra device status
  4940. - Icarus: Use epoll to wait for serial port input properly, when available
  4941. - Icarus: Workaround buggy USB-UART that causes Icarus to stop mining rarely
  4942. - Icarus: Estimate mining hashrate correctly, calibrated from real-world data
  4943. - Icarus: Parallelize work setup with Icarus hash search improving performance
  4944. - Icarus: More reliable detection and runtime
  4945. - OpenCL: Move GPU-specific data fetching from JSON API to OpenCL driver
  4946. - OpenCL: Dynamically load OpenCL library, to be more vendor-independent and
  4947. allow use without actually having OpenCL (i.e. FPGA-only rigs).
  4948. CGMiner Version 2.3.4 - April 25, 2012
  4949. - Extensively document the cause of GPU device issues and the use of --gpu-map.
  4950. - Support for share logging
  4951. - Detect poorly performing combination of SDK and phatk kernel and add verbose
  4952. warning at startup.
  4953. - Icarus update to new add_cgpu()
  4954. - Icarus driver working with Linux and Windows
  4955. - api.c fix unused variable compile warning
  4956. - Display all OpenCL devices when -n is called as well to allow debugging of
  4957. differential mapping of OpenCL to ADL.
  4958. - Add a --gpu-map option which will allow arbitrarily mapping ADL devices to
  4959. OpenCL devices for instances where association by enumeration alone fails.
  4960. - Increase upper limit on number of extra items to queue as some FPGA code can't
  4961. yet reliably keep many devices busy.
  4962. - Display configuration file information when -c option is passed and only when
  4963. file exists on loading default config file.
  4964. - Display configuration file loaded, if any, and debug output if configuration
  4965. file parsing failed.
  4966. - Add missing ztex header to Makefile for distribution.
  4967. - Document long-form COM port device names on Windows, required to specify
  4968. serial ports above 9
  4969. - Include ztex bitstreams firmware in distribution and install if configured in.
  4970. - Style police on driver-ztex.c
  4971. - work_restart should only be changed by cgminer.c now
  4972. - Shut down the api cleanly when the api thread is cancelled. This should allow
  4973. the api socket to be closed successfully to next be reopened with app_restart.
  4974. - Make a union for cgpu device handles, and rename "device" to "device_ztex"
  4975. since it's Ztex-specific
  4976. - Initialise name variable.
  4977. - Remove unnecessary check for variable that always has memory allocated.
  4978. - Bugfix: Missing "break" no-op in default case
  4979. - Make the status window and log window as large as can fit on startup,
  4980. rechecking to see if it can be enlarged after the fact. This allows any number
  4981. of devices to be displayed provided the window is made long enough without
  4982. corrupting the output.
  4983. - Style police on libztex.c.
  4984. - API add removepool like the screen interface
  4985. - api.c escape required characters in return strings + pools returns the
  4986. username
  4987. - Set lp_path to NULL after free for consistency.
  4988. - Removing dmalloc import left behind by mistake
  4989. - Fixing leak in resp_hdr_cb
  4990. - miner.php warning highlight GPU stats if they are zero (e.g. ADL not enabled)
  4991. - miner.php highlight any device that isn't 'Enabled'
  4992. - miner.php highlight any Status that isn't 'Alive'
  4993. - miner.php optionally support multiple rigs
  4994. - Initial Ztex support 1.15x board.
  4995. CGMiner Version 2.3.3 - April 15, 2012
  4996. - Don't even display that cpumining is disabled on ./configure to discourage
  4997. people from enabling it.
  4998. - Do a complete cgminer restart if the ATI Display Library fails, as it does on
  4999. windows after running for some time, when fanspeed reporting fails.
  5000. - Cache the initial arguments passed to cgminer and implement an attempted
  5001. restart option from the settings menu.
  5002. - Disable per-device status lines when there are more than 8 devices since
  5003. screen output will be corrupted, enumerating them to the log output instead at
  5004. startup.
  5005. - Reuse Vals[] array more than W[] till they're re-initialised on the second
  5006. sha256 cycle in poclbm kernel.
  5007. - Minor variable alignment in poclbm kernel.
  5008. - Make sure to disable devices with any status not being DEV_ENABLED to ensure
  5009. that thermal cutoff code works as it was setting the status to DEV_RECOVER.
  5010. - Re-initialising ADL simply made the driver fail since it is corruption over
  5011. time within the windows driver that's responsible. Revert "Attempt to
  5012. re-initialise ADL should a device that previously reported fanspeed stops
  5013. reporting it."
  5014. - Microoptimise poclbm kernel by ordering Val variables according to usage
  5015. frequency.
  5016. CGMiner Version 2.3.2 - March 31, 2012
  5017. - Damping small changes in hashrate so dramatically has the tendency to always
  5018. make the hashrate underread so go back to gentle damping instead.
  5019. - Revert the crossover of variables from Vals to W in poclbm kernel now that
  5020. Vals are the first declared variables so they're used more frequently.
  5021. - Vals variables appearing first in the array in poclbm is faster.
  5022. - Change the preferred vector width to 1 for Tahiti only, not all poclbm
  5023. kernels.
  5024. - Use a time constant 0.63 for when large changes in hashrate are detected to
  5025. damp change in case the large change is an aliasing artefact instead of a real
  5026. chang
  5027. - Only increment stale counter if the detected stales are discarded.
  5028. - Attempt to re-initialise ADL should a device that previously reported fanspeed
  5029. stops reporting it.
  5030. - Move the ADL setup and clearing to separate functions and provide a reinit_adl
  5031. function to be used when adl fails while running.
  5032. - Use slightly more damping on the decay time function in the never-ending quest
  5033. to smooth off the hashmeter.
  5034. - Set the starting fanspeed to a safe and fairly neutral 50% when autofan is
  5035. enabled.
  5036. - Provide locking around updates of cgpu hashrates as well to prevent multiple
  5037. threads accessing data fields on the same device.
  5038. - Display the beginning of the new block in verbose mode in the logs.
  5039. - Reinstate old diablo kernel variable ordering from 120222, adding only goffset
  5040. and vector size hint. The massive variable ordering change only helped one SDK
  5041. on
  5042. - Change the version number on the correct kernels.
  5043. - api.c devicecode/osinfo incorrectly swapped for json
  5044. - Add extensive instructions on how to make a native windows build.
  5045. - Update version numbers of poclbm and diablo kernels as their APIs have also
  5046. changed.
  5047. - Use global offset parameter to diablo and poclbm kernel ONLY for 1 vector
  5048. kernels.
  5049. - Use poclbm preferentially on Tahiti now regardless of SDK.
  5050. - Remove unused constant passed to poclbm.
  5051. - Clean up use of macros in poclbm and use bitselect everywhere possible.
  5052. - Add vector type hint to diablo kernel.
  5053. - Add worksize and vector attribute hints to the poclbm kernel.
  5054. - Spaces for non-aligned variables in poclbm.
  5055. - Swap Vals and W variables where they can overlap in poclbm.
  5056. - More tidying of poclbm.
  5057. - Tidy up first half of poclbm.
  5058. - Clean up use of any() by diablo and poclbm kernels.
  5059. - Minor variable symmetry changes in poclbm.
  5060. - Put additions on separate lines for consistency in poclbm.
  5061. - Consolidate last use of W11 into Vals4 in poclbm.
  5062. - Change email due to SPAM
  5063. - api.c miner.php add a '*' to the front of all notify counters - simplifies
  5064. future support of new counters
  5065. - miner.php add display 'notify' command
  5066. - Small change to help arch's without processor affinity
  5067. - Fix bitforce compile error
  5068. - api.c notify should report disabled devices also - of course
  5069. - API returns the simple device history with the 'notify' command
  5070. - code changes for supporting a simple device history
  5071. - api.c Report an OS string in config to help with device issues
  5072. - api.c fix Log Interval - integer in JSON
  5073. - api.c config 'Device Code' to show list of compiled devices + README
  5074. - api.c increase buffer size close to current code allowable limit
  5075. - removed 8-component vector support from kernel, as this is not supported in
  5076. CGMINER anyway
  5077. - forgot to update kernel modification date, fixed ;)
  5078. - reordered an addition in the kernel, which results in less instructions used
  5079. in the GPU ISA code for GCN
  5080. - miner.php: option for readonly or check privileged access
  5081. - Ignore reduntant-with-build options --disable-gpu, --no-adl, and --no-restart
  5082. - miner.php: ereg_replace is DEPRECATED so use preg_replace instead
  5083. - Make curses TUI support optional at compile-time.
  5084. - Bugfix: AC_ARG_WITH provides withval instead of enableval
  5085. - miner.php split devs output for different devices
  5086. - api.c: correct error messages
  5087. - icarus.c modify (regular) timeout warning to only be debug
  5088. - icarus.c set the windows TODO timeout
  5089. - Allow specifying a specific driver for --scan-serial
  5090. - optimized nonce-check and output code for -v 2 and -v 4
  5091. - Bugfix: Check for libudev header (not just library) in configure, and document
  5092. optional dependency
  5093. - Add API support for Icarus and Bitforce
  5094. - Next API version is 1.4 (1.3 is current)
  5095. - README/api.c add "When" the request was processed to STATUS
  5096. - Bugfix: ZLX to read BitFORCE temp, not ZKX -.-
  5097. - Use libudev to autodetect BitFORCE GPUs, if available
  5098. - Use the return value of fan_autotune to set fan_optimal instead of passing it
  5099. as a pointer.
  5100. - Pass the lasttemp from the device we're using to adjust fanspeed in twin
  5101. devices.
  5102. - fix the name to 3 chars, fix the multi-icarus support
  5103. - Bugfix: "-S auto" is the default if no -S is specified, and there is no such
  5104. delay in using it
  5105. - README add information missing from --scan-serial
  5106. - Update README RPC API Version comment
  5107. - Bugfix: Allow enabling CPU even without OpenCL support
  5108. - Change failed-to-mine number of requested shares messge to avoid segfault on
  5109. recursive calling of quit().
  5110. - Get rid of extra char which is just truncated in poclbm kernel.
  5111. - only small code formating changes
  5112. - removed vec_step() as this could lead to errors on older SDKs
  5113. - unified code for generating nonce in kernel and moved addition of base to the
  5114. end -> faster
  5115. CGMiner Version 2.3.1 - February 24, 2012
  5116. - Revert input and output code on diakgcn and phatk kernels to old style which
  5117. worked better for older hardware and SDKs.
  5118. - Add a vector*worksize parameter passed to those kernels to avoid one op.
  5119. - Increase the speed of hashrate adaptation.
  5120. - Only send out extra longpoll requests if we want longpolls.
  5121. - API implement addpool command
  5122. - API return the untouched Total MH also (API now version 1.3)
  5123. - Add enable/disablepool to miner.php example and reduce font size 1pt
  5124. CGMiner Version 2.3.0 - February 23, 2012
  5125. - Consider extra longpoll work items as staged_extra so as to make sure we queue
  5126. more work if queueing regular work items as longpolls.
  5127. - Use diablo kernel on all future SDKs for Tahiti and set preferred vector width
  5128. to 1 on poclbm kernel only.
  5129. - Explicitly type the constants in diakgcn kernel as uint, to be in line with
  5130. poclbm kernel.
  5131. - Reset all hash counters at the same time as resetting start times to get
  5132. accurate hashrates on exiting which is mandatory for benchmarking.
  5133. - Report thread out before it starts to avoid being flagged as sick when waiting
  5134. for the first work item.
  5135. - Don't disable and re-enable devices as they may recover and in the meantime
  5136. have their status set to OFF.
  5137. - API new commands enablepool and disablepool (version already incremented)
  5138. - Tolerate new-format temperature readings for bitforce
  5139. - Modify cgminer.c pool control to allow API to call it
  5140. - Bugfix: Fix BitFORCE driver memory leak in debug logging
  5141. - Extra byte was being unused in poclbm leading to failure on some platforms.
  5142. - Explicitly type the constants in poclbm kernel as uint.
  5143. - Don't save 'include' when saving the configuration
  5144. - Allow configuration file to include another recursively
  5145. - Use the SDK and hardware information to choose good performing default
  5146. kernels.
  5147. - Move phatk kernel to offset vector based nonce bases as well.
  5148. - Add a --benchmark feature which works on a fake item indefinitely to compare
  5149. device performance without any server or networking influence.
  5150. - Allow writing of multiple worksizes to the configuration file.
  5151. - Allow writing of multiple vector sizes to the configuration file.
  5152. - Allow writing of multiple kernels to the configuration file.
  5153. - Allow multiple different kernels to be chosen per device.
  5154. - Allow the worksize to be set per-device.
  5155. - Allow different vectors to be set per device.
  5156. - If we're well below the target temperature, increase gpu engine speed back to
  5157. maximum in case we have gotten lost between profiles during an idle period.
  5158. - We should be setting the value of fan_optimal, not its address.
  5159. - As all kernels will be new versions it's an opportunity to change the .bin
  5160. format and make it simpler. Specifying bitalign is redundant and long can be l.
  5161. - Use any() in kernel output code.
  5162. - Put the nonce for each vector offset in advance, avoiding one extra addition
  5163. in the kernel.
  5164. - Reset times after all mining threads are started to make estimating hashrates
  5165. easier at startup.
  5166. - Bugfix: allow no-exec (NX) stack
  5167. - Fix minor warning.
  5168. - fix the bitforce.c code style follow 1TBS
  5169. - fix icarus.c compile warning
  5170. - small changes to speedup no vec for AMD 898.1 OCL runtime
  5171. - Update licensing to GPL V3.
  5172. - Reset the longpoll flag after it's been used once to prevent it restarting
  5173. work again.
  5174. - Begin import of DiabloMiner kernel.
  5175. - Modify API debug messages to say API instead of DBG
  5176. - When API shuts down cgminer don't kill itself
  5177. - Don't make rolled work from the longpoll be seen as other longpoll work items.
  5178. - API add 'privileged' command so can verify access level
  5179. - Set the lp_sent variable under lock since there will almost always be a race
  5180. on setting this variable, potentially leading to multiple LPs being sent out.
  5181. - API restrict access to all non display commands by default
  5182. - Update API version to 1.2 for new 'Log Interval'
  5183. - API add --log Interval to 'config' reply
  5184. - --api-allow special case 0/0 means all
  5185. CGMiner Version 2.2.7 - February 20, 2012
  5186. - Send out extra longpolls when we have switched pools and the longpoll thread
  5187. is still bound to the old one. This is particularly useful with p2pool where
  5188. longpolls do not correlate with main bitcoin block change and would have led to
  5189. high reject rates on failover.
  5190. - Store whether a work item is the result of a longpoll or not in struct work
  5191. and use it to help determine block changes directly from the work longpoll bool.
  5192. - Keep track of when a longpoll has been sent for a pool and if the current pool
  5193. is requesting work but has not sent a longpoll request, convert one of the work
  5194. items to a longpoll.
  5195. - Store the longpoll url in the pool struct and update it from the pool_active
  5196. test in case it changes. This is to allow further changes to longpoll management
  5197. on switching pools.
  5198. - Re-check for a longpoll supporting pool every 30 seconds if none is found
  5199. initially.
  5200. - Report threads as busy waiting on getwork on startup to avoid them being
  5201. flagged sick on startup during slow networking.
  5202. - Allow devices that are disabled due to overheating to be flagged as recovering
  5203. instead of disabling them and re-enable them if they're below ideal temperatures
  5204. - Tahiti prefers worksize 64 with poclbm.
  5205. - No need to expressly retain the opencl program now that the zero binary issue
  5206. is fixed. This actually fixes cgminer to work with the latest SDK included with
  5207. the ATI catalyst driver 12.2.
  5208. - Show error code on any opencl failure status.
  5209. - Add detection for version 898.1 SDK as well but only give SDK 2.6 warning once
  5210. on startup instead of with each device initialisation.
  5211. - Always use a fresh connection for longpoll as prolonged persistent connections
  5212. can fail for many reasons.
  5213. - Keep track of intended engine clock speed and only adjust up if it's higher
  5214. than the last intended speed. This avoids setting the clock speed to one
  5215. relative to a lower profile one by mistake.
  5216. - Use gpu-memdiff on startup if an engine clockspeed is set and a memdiff value
  5217. is set.
  5218. - Revert "Adjust engine speed up according to performance level engine setting,
  5219. not the current engine speed." - ineffectual.
  5220. - Freeze the queues on all threads that are sent the pause message to prevent
  5221. them trying to start up again with saved pings in their queues.
  5222. - Updates to diakgcn kernel/
  5223. - Consolidate all screen updates to the watchdog thread and touch both windows
  5224. before refresh.
  5225. - Curses will be disabled in clean_up so don't do it early in kill_work, and
  5226. disable_adl so that GPU settings may be restored to normal in case shutting down
  5227. curses leads to instability on windows.
  5228. - Stop the mining threads before trying to kill them.
  5229. - Plain refresh() does not give reliably screen updates so get rid of all uses
  5230. of it.
  5231. - First release with working diakgcn kernel.
  5232. CGMiner Version 2.2.6 - February 16, 2012
  5233. - Provide warning on each startup about sdk 2.6
  5234. - Fix unused warnings on win32.
  5235. - bitforce: Simplify BFopen WIN32 ifdef/else
  5236. - Fix initialization warning with jansson 1.3
  5237. - bitforce: Cleanup extraneous TODO that isn't needed
  5238. - Move tcsetattr (and new tcflush) into *nix BFopen to simplify things a bit
  5239. - Add message explaining 2nd thread disabling for dynamic mode and how to tune
  5240. it.
  5241. - Move logwindow down once number of devices is known.
  5242. - Automatically choose phatk kernel for bitalign non-gcn ATI cards, and then
  5243. only select poclbm if SDK2.6 is detected.
  5244. - Allow the refresh interval to be adjusted in dynamic intensity with a
  5245. --gpu-dyninterval parameter.
  5246. - Make curses display visible right from the beginning and fix the window sizes
  5247. so the initial messages don't get lost once the status window is drawn.
  5248. - The amount of work scanned can fluctuate when intensity changes and since we
  5249. do this one cycle behind, we increment the work more than enough to prevent
  5250. repeati
  5251. - bitforce: Set a 30 second timeout for serial port on Windows, since the
  5252. default is undefined
  5253. - Use PreVal4addT1 instead of PreVal4 in poclbm kernel.
  5254. - Import PreVal4 and PreVal0 into poclbm kernel.
  5255. - Import more prepared constants into poclbm kernel.
  5256. - Keep variables in one array but use Vals[] name for consistency with other
  5257. kernel designs.
  5258. - Replace constants that are mandatorily added in poclbm kernel with one value.
  5259. - Remove addition of final constant before testing for result in poclbm kernel.
  5260. - Hand optimise variable addition order.
  5261. - Hand optimise first variable declaration order in poclbm kernel.
  5262. - Radical reordering machine based first pass to change variables as late as
  5263. possible, bringing their usage close together.
  5264. - fix strcpy NULL pointer if env HOME unset.
  5265. - bitforce: Disable automatic scanning when at least one device is specified
  5266. manually
  5267. - Unroll all poclbm additions to enable further optimisations.
  5268. CGMiner Version 2.2.5 - February 13, 2012
  5269. - Make output buffer write only as per Diapolo's suggestion.
  5270. - Constify nonce in poclbm.
  5271. - Use local and group id on poclbm kernel as well.
  5272. - Microoptimise phatk kernel on return code.
  5273. - Adjust engine speed up according to performance level engine setting, not the
  5274. current engine speed.
  5275. - Try to load a binary if we've defaulted to the poclbm kernel on SDK2.6
  5276. - Use the poclbm kernel on SDK2.6 with bitalign devices only if there is no
  5277. binary available.
  5278. - Further generic microoptimisations to poclbm kernel.
  5279. - The longstanding generation of a zero sized binary appears to be due to the
  5280. OpenCL library putting the binary in a RANDOM SLOT amongst 4 possible binary
  5281. locations. Iterate over each of them after building from source till the real
  5282. binary is found and use that.
  5283. - Fix harmless warnings with -Wsign-compare to allow cgminer to build with -W.
  5284. - Fix missing field initialisers warnings.
  5285. - Put win32 equivalents of nanosleep and sleep into compat.h fixing sleep() for
  5286. adl.c.
  5287. - Restore compatibility with Jansson 1.3 and 2.0 (api.c required 2.1)
  5288. - Modularized logging, support for priority based logging
  5289. - Move CPU chipset specific optimization into device-cpu
  5290. CGMiner Version 2.2.4 - February 11, 2012
  5291. - Fix double definition of A0 B0 to zeroA zeroB.
  5292. - Retain cl program after successfully loading a binary image. May decrease
  5293. failures to build kernels at startup.
  5294. - Variable unused after this so remove setting it.
  5295. - BFI INT patching is not necessarily true on binary loading of files and not
  5296. true on ATI SDK2.6+. Report bitalign instead.
  5297. - Various string fixes for reject reason.
  5298. - Generalize --temp-cutoff and implement support for reading temperature from
  5299. BitFORCE FPGAs
  5300. - Change message from recovered to alive since it is used on startup as well as
  5301. when a pool has recovered.
  5302. - Start mining as soon as any pool is found active and rely on the watchpool
  5303. thread to bring up other pools.
  5304. - Delayed responses from testing pools that are down can hold up the watchdog
  5305. thread from getting to its device testing code, leading to false detection of
  5306. the GPU not checking in, and can substantially delay auto gpu/auto fan
  5307. management leading to overheating. Move pool watching to its own thread.
  5308. - Bugfix: BitFORCE index needs to be static to count correctly
  5309. - Space out retrieval of extra work according to the number of mining threads.
  5310. - Make shutdown more robust. Enable the input thread only after the other
  5311. threads exist. Don't kill off the workio thread and use it to exit main() only
  5312. if there is an unexpected problem. Use kill_work() for all anticipated shutdowns
  5313. where possible. Remove unused thread entry.
  5314. - Change poclbm version number.
  5315. - One array is faster than 2 separate arrays so change to that in poclbm kernel.
  5316. - Microoptimisations to poclbm kernel which increase throughput slightly.
  5317. - Import diablominer kernel. Currently disabled as not working.
  5318. - Import diapolo kernel. Currently disabled as not working.
  5319. - Conflicting entries of cl_kernel may have been causing problems, and
  5320. automatically chosen kernel type was not being passed on. Rename the enum to
  5321. cl_kernels and store the chosen kernel in each clState.
  5322. - Set cl_amd_media_ops with the BITALIGN flag and allow non-bitselect devices to
  5323. build.
  5324. - ALlow much longer filenames for kernels to load properly.
  5325. - Allow different kernels to be used by different devices and fix the logic fail
  5326. of overcorrecting on last commit with !strstr.
  5327. - Fix kernel selection process and build error.
  5328. - queue_phatk_kernel now uses CL_SET_VARG() for base-nonce(s), too
  5329. - added OpenCL >= 1.1 detection code, in preparation of OpenCL 1.1 global offset
  5330. parameter support
  5331. - Use K array explicitly to make it clear what is being added.
  5332. - Work items have a tendency to expire at exactly the same time and we don't
  5333. queue extra items when there are plenty in the queue, regardless of age. Allow
  5334. extra work items to be queued if adequate time has passed since we last
  5335. requested work even if over the limit.
  5336. - Discard work when failover-only is enabled and the work has come from a
  5337. different pool.
  5338. - Missing include to build on newer mingw32.
  5339. - Move from the thread safe localtime_r to regular localtime which is the only
  5340. one supported on newer pthread libraries on mingw32 to make it compile with the
  5341. newer ming. Thread safety is of no importance where localtime is used in this
  5342. code.
  5343. - Define in_addr_t in windows if required
  5344. - sys/wait.h not required in windows
  5345. - Allow API to restrict access by IP address
  5346. - Add pool switching to example miner.php
  5347. - Display X-Reject-Reason, when provided
  5348. - Remove the test for whether the device is on the highest profil level before
  5349. raising the GPU speed as it is ineffectual and may prevent raising the GPU
  5350. speed.
  5351. - Remove unnecessary check for opt_debug one every invocation of applog at
  5352. LOG_DEBUG level and place the check in applog().
  5353. CGMiner Version 2.2.3 - February 6, 2012
  5354. - Revert "Rewrite the convoluted get_work() function to be much simpler and roll
  5355. work as much as possible with each new work item." This seems to cause a race on
  5356. work in free_work(). Presumably other threads are still accessing the structure.
  5357. CGMiner Version 2.2.2 - February 6, 2012
  5358. - Provide support for the submitold extension on a per-pool basis based on the
  5359. value being detected in a longpoll.
  5360. - Don't send a ping to a dynamic device if it's not enabled as that will just
  5361. enable it for one pass and then disable it again.
  5362. - Rewrite the convoluted get_work() function to be much simpler and roll work as
  5363. much as possible with each new work item.
  5364. - Roll as much work as possible from the work returned from a longpoll.
  5365. - Rolling work on each loop through the mining thread serves no purpose.
  5366. - Allow to stage more than necessary work items if we're just rolling work.
  5367. - Replace divide_work with reuse_work function used twice.
  5368. - Give rolled work a new ID to make sure there is no confusion in the hashtable
  5369. lookups.
  5370. - Remove now-defunct hash_div variables.
  5371. - Remove unused get_dondata function.
  5372. - Silence ADL warnings.
  5373. - Silence unused parameter warnings.
  5374. - Stagger the restart of every next thread per device to keep devices busy ahead
  5375. of accessory threads per device.
  5376. - Deprecate the --donation feature. Needlessly complex, questionable usefulness,
  5377. depends on author's server and a central pool of some kind, and was not heavily
  5378. adopted.
  5379. - It's devices that report back now, not threads, update message.
  5380. - Continue auto-management of fan and engine speeds even if a device is disabled
  5381. for safety reasons.
  5382. - No need to check we're highest performance level when throttling GPU engine
  5383. speed.
  5384. - Abstract out tests for whether work has come from a block that has been seen
  5385. before and whether a string is from a previously seen block.
  5386. - Probe but don't set the timeout to 15 seconds as some networks take a long
  5387. time to timeout.
  5388. - Remove most compiler warnings from api.c
  5389. - Add last share's pool info in cgpu_info
  5390. - Allow the OpenCL platform ID to be chosen with --gpu-platform.
  5391. - Iterate over all platforms displaying their information and number of devices
  5392. when --ndevs is called.
  5393. - Deprecate main.c
  5394. - Some networks can take a long time to resolve so go back to 60 second timeouts
  5395. instead of 15.
  5396. - Only enable curses on failure if curses is desired.
  5397. - Fix warnings in bitforce.c
  5398. - Bugfix: Need to open BitForce tty for read-write
  5399. - Fix various build issues.
  5400. - Modularize code: main.c -> device-cpu + device-gpu
  5401. - Fix phatk kernel not working on non-bitalign capable devices (Nvidia, older
  5402. ATI).
  5403. - Update poclbm kernel for better performance on GCN and new SDKs with bitalign
  5404. support when not BFI INT patching. Update phatk kernel to work properly for non
  5405. BFI INT patched kernels, providing support for phatk to run on GCN and non-ATI
  5406. cards.
  5407. - Return last accepted share pool/time for devices
  5408. - Display accepted share pool/time for CPUs
  5409. - Bug intensity always shows GPU 0
  5410. - Update example web miner.php to use new API commands
  5411. CGMiner Version 2.2.1 - January 30, 2012
  5412. NOTE - The GPU Device reordering in 2.2.0 by default was considered a bad idea
  5413. so the original GPU ordering is used by default again unless reordering is
  5414. explicitly requested.
  5415. - Fix bitforce failing to build into cgminer.
  5416. - Add missing options to write config function.
  5417. - Add a --gpu-reorder option to only reorder devices according to PCI Bus ID
  5418. when requested.
  5419. - Fix for midstate support being broken on pools that supported no-midstate
  5420. work by ensuring numbers are 32 bits in sha2.c
  5421. - Set virtual GPUs to work when ADL is disabled or all mining will occur on GPU
  5422. 0.
  5423. - Add information about paused threads in the menu status.
  5424. - Disable all but the first thread on GPUs in dynamic mode for better
  5425. interactivity.
  5426. - Set the latest network access time on share submission for --net-delay even if
  5427. we're not delaying that submission for further network access.
  5428. - Clear adl on exiting after probing values since it may attempt to overclock.
  5429. - As share submission is usually staggered, and delays can be costly, submit
  5430. shares without delay even when --net-delay is enabled.
  5431. - Display GPU number and device name when ADL is successfully enabled on it.
  5432. - Display GPU ordering remapping in verbose mode.
  5433. - Don't fail in the case the number of ADL and OpenCL devices do not match, and
  5434. do not attempt to reorder devices unless they match. Instead give a warning
  5435. about
  5436. - Display error codes should ADL not return ADL_OK in the more critical function
  5437. calls.
  5438. - Fix unused warning.
  5439. - Fix compile warnings in api.c
  5440. - Add extensive ADL based device info in debug mode.
  5441. - Make --ndevs display verbose opencl information as well to make debugging
  5442. version information easier.
  5443. - Display information about the opencl platform with verbose enabled.
  5444. - Explicitly check for nvidia in opencl platform strings as well.
  5445. CGMiner Version 2.2.0 - January 29, 2012
  5446. NOTE: GPU Device order will change with this release with ATI GPUs as cgminer
  5447. now can enumerate them according to their Bus ID which means the values should
  5448. now correlate with their physical position on the motherboard.
  5449. - Default to poclbm kernel on Tahiti (7970) since phatk does not work, even
  5450. though performance is sub-standard so that at least it will mine successfully by
  5451. defau
  5452. - Retain cl program after every possible place we might build the program.
  5453. - Update ADL SDK URL.
  5454. - Fix potential overflow.
  5455. - Map GPU devices to virtual devices in their true physical order based on
  5456. BusNumber.
  5457. - Change the warning that comes with failure to init cl on a device to be more
  5458. generic and accurate.
  5459. - Advertise longpoll support in X-Mining-Extensions
  5460. - Detect dual GPU cards by iterating through all GPUs, finding ones without
  5461. fanspeed and matching twins with fanspeed one bus ID apart.
  5462. - Do not attempt to build the program that becomes the kernel twice. This could
  5463. have been leading to failures on initialising cl.
  5464. - Some opencl compilers have issues with no spaces after -D in the compiler
  5465. options.
  5466. - Allow intensity up to 14.
  5467. - Use calloced stack memory for CompilerOptions to ensure sprintf writes to the
  5468. beginning of the char.
  5469. - Whitelist 79x0 cards to prefer no vectors as they perform better without.
  5470. - Adjust fan speed gently while in the optimal range when temperature is
  5471. drifting to minimise overshoot in either direction.
  5472. - Detect dual GPU cards via the indirect information of - 1st card has a fan
  5473. controller. 2nd card does not have a fan controller, cards share the same device
  5474. name
  5475. - Instead of using the BFI_INT patching hack on any device reporting
  5476. cl_amd_media_ops, create a whitelist of devices that need it. This should enable
  5477. GCN architec
  5478. - Fixed API compiling issue on OS X
  5479. - Add more explanation of JSON format and the 'save' command
  5480. - Return an error if using ADL API commands when it's not available
  5481. - Read off lpThermalControllerInfo from each ADL device.
  5482. - Add ADL_Overdrive5_ThermalDevices_Enum interface.
  5483. - Add API commands: config, switchpool, gpu settings, save
  5484. - Implement socks4 proxy support.
  5485. - Fix send() for JSON strings
  5486. - Introduce a --net-delay option which guarantees at least 250ms between any
  5487. networking requests to not overload slow routers.
  5488. - Generalise locking init code.
  5489. - Allow invalid values to be in the configuration file, just skipping over them
  5490. provided the rest of the file is valid JSON. This will allow older configurat
  5491. - Allow CPU mining explicitly enable only if other mining support is built in.
  5492. - BitForce FPGA support
  5493. - Configure out building and support of all CPU mining code unless
  5494. --enable-cpumining is enabled.
  5495. - Allow parsed values to be zero which will allow 0 values in the config file to
  5496. work.
  5497. - Advertise that we can make our own midstate, so the pool can skip generating
  5498. it for us
  5499. - Refactor the CPU scanhash_* functions to use a common API. Fixes bugs.
  5500. - Don't consider a pool lagging if a request has only just been filed. This
  5501. should decrease the false positives for "pool not providing work fast enough".
  5502. - Invalidating work after longpoll made hash_pop return no work giving a false
  5503. positive for dead pool. Rework hash_pop to retry while finds no staged work u
  5504. - Remove TCP_NODELAY from curl options as many small packets may be contributing
  5505. to network overload, when --net-delay is enabled.
  5506. - Refactor miner_thread to be common code for any kind of device
  5507. - Simplify submit_nonce loop and avoid potentially missing FOUND - 1 entry.
  5508. Reported by Luke-Jr.
  5509. - Micro-optimisation in sha256_sse2 code courtesy of Guido Ascioti
  5510. guido.ascioti@gmail.com
  5511. - Refactor to abstract device-specific code
  5512. CGMiner Version 2.1.2 - January 6, 2012
  5513. - If api-description is specified, save it when writing the config file
  5514. - Adjust utility width to be constant maximum as well.
  5515. - Add percent signs to reject ratio outputs
  5516. - Should the donation pool fail, don't make the fallover pool behave as though
  5517. the primary pool is lagging.
  5518. - Use an alternative pool should the donation getwork fail.
  5519. CGMiner Version 2.1.1 - January 1, 2012
  5520. - Include API examples in distribution tarball.
  5521. - Don't attempt to pthread_join when cancelling threads as they're already
  5522. detached and doing so can lead to a segfault.
  5523. - Give more generic message if slow pool at startup is the donation pool.
  5524. - Continue to attempt restarting GPU threads if they're flagged dead at 1 min.
  5525. intervals.
  5526. - Don't attempt to restart sick flagged GPUs while they're still registering
  5527. activity.
  5528. - Make curl use fresh connections whenever there is any communication issue
  5529. in case there are dead persistent connections preventing further comms from
  5530. working.
  5531. - Display pool in summary if only 1 pool.
  5532. - Adjust column width of A/R/HW to be the maximum of any device and align them.
  5533. CGMiner Version 2.1.0 - December 27, 2011
  5534. - Major infrastructure upgrade with RPC interface for controlling via sockets
  5535. encoded with/without JSON courtesy of Andrew Smith. Added documentation for
  5536. use of the API and sample code to use with it.
  5537. - Updated linux-usb-cgminer document.
  5538. - Rewrite of longpoll mechanism to choose the current pool wherever possible to
  5539. use for the longpoll, or any pool that supports longpoll if the current one
  5540. does not.
  5541. - Display information about longpoll when the chosen server has changed.
  5542. - Fix the bug where longpoll generated work may have been sent back to the
  5543. wrong pool, causing rejects.
  5544. - Fix a few race conditions on closing cgminer which caused some of the crashes
  5545. on exit.
  5546. - Only adjust gpu engine speed in autotune mode if the gpu is currently at the
  5547. performance level of that being adjusted.
  5548. - Various fixes for parsing/writing of configuration files.
  5549. - Do not add blank lines for threads of unused CPUs.
  5550. - Show which pool is unresponsive on startup.
  5551. - Only show GPU management menu item if GPUs are in use.
  5552. - Align most device columns in the curses display.
  5553. CGMiner Version 2.0.8 - November 11, 2011
  5554. - Make longpoll do a mandatory flushing of all work even if the block hasn't
  5555. changed, thus supporting longpoll initiated work change of any sort and merged
  5556. mining.
  5557. - Byteswap computed hash in hashtest so it can be correctly checked. This fixes
  5558. the very rare possibility that a block solve on solo mining was missed.
  5559. - Add x86_64 w64 mingw32 target
  5560. - Allow a fixed speed difference between memory and GPU clock speed with
  5561. --gpu-memdiff that will change memory speed when GPU speed is changed in
  5562. autotune mode.
  5563. - Don't load the default config if a config file is specified on the command
  5564. line.
  5565. - Don't build VIA on apple since -a auto bombs instead of gracefully ignoring
  5566. VIA failing.
  5567. - Build fix for dlopen/dlclose errors in glibc.
  5568. CGMiner Version 2.0.7 - October 17, 2011
  5569. - Support work without midstate or hash1, which are deprecated in bitcoind 0.5+
  5570. - Go to kernel build should we fail to clCreateProgramWithBinary instead of
  5571. failing on that device. This should fix the windows problems with devices not
  5572. initialising.
  5573. - Support new configuration file format courtesy of Chris Savery which can write
  5574. the config file from the menu and will load it on startup.
  5575. - Write unix configuration to .cgminer/cgminer.conf by default and prompt to
  5576. overwrite if given a filename from the menu that exists.
  5577. CGMiner Version 2.0.6 - October 9, 2011
  5578. - Must initialise the donorpool mutex or it fails on windows.
  5579. - Don't make donation work interfere with block change detection allowing
  5580. donation to work regardless of the block chain we're mining on.
  5581. - Expire shares as stale with a separate timeout from the scantime, defaulting
  5582. to 120 seconds.
  5583. - Retry pools after a delay of 15 seconds if none can be contacted on startup
  5584. unless a key is pressed.
  5585. - Don't try to build adl features without having adl.
  5586. - Properly check shares against target difficulty - This will no longer show
  5587. shares when solo mining at all unless they're considered to be a block solve.
  5588. - Add altivec 4 way (cpu mining) support courtesy of Gilles Risch.
  5589. - Try to use SSL if the server supports it.
  5590. - Display the total solved blocks on exit (LOL if you're lucky).
  5591. - Use ADL activity report to tell us if a sick GPU is still busy suggesting it
  5592. is hard hung and do not attempt to restart it.
  5593. CGMiner Version 2.0.5 - September 27, 2011
  5594. - Intensity can now be set to dynamic or static values per-device.
  5595. - New donation feature --donation sends a proportion of shares to author's
  5596. account of choice, but is disabled by default!
  5597. - The hash being displayed and block detection has been fixed.
  5598. - Devices not being mined on will not attempt to be ADL managed.
  5599. - Intensity is now displayed per GPU device.
  5600. - Make longpoll attempt to restart as often as opt_retries specifies.
  5601. - We weren't rolling work as often as we could.
  5602. - Correct some memory management issues.
  5603. - Build fixes.
  5604. - Don't mess with GPUs if we don't have them.
  5605. CGMiner Version 2.0.4 - September 23, 2011
  5606. - Confused Longpoll messages should be finally fixed with cgminer knowing for
  5607. sure who found the new block and possibly avoiding a rare crash.
  5608. - Display now shows the actual hash and will say BLOCK! if a block is deemed
  5609. solved.
  5610. - Extra spaces, which would double space lines on small terminals, have been
  5611. removed.
  5612. - Fan speed change is now damped if it is already heading in the correct
  5613. direction to minimise overshoot.
  5614. - Building without opencl libraries is fixed.
  5615. - GPUs are autoselected if there is only one when in the GPU management menu.
  5616. - GPU menu is refreshed instead of returning to status after a GPU change.
  5617. CGMiner Version 2.0.3 - September 17, 2011
  5618. - Various modes of failure to set fanspeeds and adl values have been addressed
  5619. and auto-fan should work now on most hardware, and possibly other values
  5620. which previously would not have worked.
  5621. - Fixed a crash that can occur on switching pools due to longpoll thread races.
  5622. - Use ATISTREAMSDKROOT if available at build time.
  5623. - Fanspeed management is returned to the driver default on exit instead of
  5624. whatever it was when cgminer was started.
  5625. - Logging of events deemed WARNING or ERR now will display even during
  5626. periods where menu input is being awaited on.
  5627. CGMiner Version 2.0.2 - September 11, 2011
  5628. - Exit cleanly if we abort before various threads are set up or if they no
  5629. longer exist.
  5630. - Fix a rare crash in HASH_DEL due to using different mutexes to protect the
  5631. data.
  5632. - Flag devices that have never started and don't allow enabling of devices
  5633. without restarting them.
  5634. - Only force the adapter speed to high if we've flagged this device as being
  5635. managed.
  5636. - Flag any devices with autofan or autogpu as being managed.
  5637. - Use a re-entrant value to store what fanspeed we're trying to set in case the
  5638. card doesn't support small changes. Force it to a multiple of 10% if it
  5639. fails on trying to speed up the fan.
  5640. - Do not bother resetting values to old ones if changes to GPU parameters report
  5641. failure, instead returning a failure code only if the return value from get()
  5642. differs.
  5643. - Remove redundant check.
  5644. - Only display supported values from fanspeed on change settings.
  5645. - Missing bracket from output.
  5646. - Display fan percentage on devices that only support reporting percent and not
  5647. RPM.
  5648. - Properly substitute DLOPEN flags to build with ADL support when -ldl is needed
  5649. and not when opencl is not found.
  5650. CGMiner Version 2.0.1 - September 9, 2011
  5651. - Fix building on 32bit glibc with dlopen with -lpthread and -ldl
  5652. - ByteReverse is not used and the bswap opcode breaks big endian builds. Remove
  5653. it.
  5654. - Ignore whether the display is active or not since only display enabled devices
  5655. work this way, and we skip over repeat entries anwyay.
  5656. - Only reset values on exiting if we've ever modified them.
  5657. - Flag adl as active if any card is successfully activated.
  5658. - Add a thermal cutoff option as well and set it to 95 degrees by default.
  5659. - Change the fan speed by only 5% if it's over the target temperature but less
  5660. than the hysteresis value to minimise overshoot down in temperature.
  5661. - Add a --no-adl option to disable ADL monitoring and GPU settings.
  5662. - Only show longpoll received delayed message at verbose level.
  5663. - Allow temperatures greater than 100 degrees.
  5664. - We should be passing a float for the remainder of the vddc values.
  5665. - Implement accepting a range of engine speeds as well to allow a lower limit to
  5666. be specified on the command line.
  5667. - Allow per-device fan ranges to be set and use them in auto-fan mode.
  5668. - Display which GPU has overheated in warning message.
  5669. - Allow temperature targets to be set on a per-card basis on the command line.
  5670. - Display fan range in autofan status.
  5671. - Setting the hysteresis is unlikely to be useful on the fly and doesn't belong
  5672. in the per-gpu submenu.
  5673. - With many cards, the GPU summaries can be quite long so use a terse output
  5674. line when showing them all.
  5675. - Use a terser device status line to show fan RPM as well when available.
  5676. - Define max gpudevices in one macro.
  5677. - Allow adapterid 0 cards to enumerate as a device as they will be non-AMD
  5678. cards, and enable ADL on any AMD card.
  5679. - Do away with the increasingly confusing and irrelevant total queued and
  5680. efficiency measures per device.
  5681. - Only display values in the log if they're supported and standardise device log
  5682. line printing.
  5683. CGMiner Version 2.0.0 - September 6, 2011
  5684. Major feature upgrade - GPU monitoring, (over)clocking and fan control for ATI
  5685. GPUs.
  5686. New command line switches:
  5687. --auto-fan- Automatically adjust all GPU fan speeds to maintain a target
  5688. temperature
  5689. --auto-gpu- Automatically adjust all GPU engine clock speeds to maintain
  5690. a target temperature
  5691. --gpu-engine <arg> Set the GPU engine (over)clock in Mhz - one value for all or
  5692. separate by commas for per card.
  5693. --gpu-fan <arg> Set the GPU fan percentage - one value for all or separate
  5694. by commas for per card.
  5695. --gpu-memclock <arg> Set the GPU memory (over)clock in Mhz - one value for all
  5696. or separate by commas for per card.
  5697. --gpu-powertune <arg> Set the GPU powertune percentage - one value for all or
  5698. separate by commas for per card.
  5699. --gpu-vddc <arg> Set the GPU voltage in Volts - one value for all or separate
  5700. by commas for per card.
  5701. --temp-hysteresis <arg> Set how much the temperature can fluctuate outside
  5702. limits when automanaging speeds (default: 3)
  5703. --temp-overheat <arg> Set the overheat temperature when automatically managing
  5704. fan and GPU speeds (default: 85)
  5705. --temp-target <arg> Set the target temperature when automatically managing fan
  5706. and GPU speeds (default: 75)
  5707. - Implement ATI ADL support for GPU parameter monitoring now and setting later
  5708. (temp, fan, clocks etc.).
  5709. - Check for the presence of the ADL header files in ADL_SDK.
  5710. - Import adl_functions.h from amd overdrive ctrl.
  5711. - Implement a setup function that tries to detect GPUs that support the ADL and
  5712. link in the parameters into the gpus struct.
  5713. - Put a summary of monitoring information from the GPU menu.
  5714. - Implement changing memory speed and voltage on the fly.
  5715. - Implement fan speed setting.
  5716. - Minor corrections to set fan speed by percentage.
  5717. - Make sure to read off the value in RPM only.
  5718. - Implement auto fanspeed adjustment to maintain a target temperature and
  5719. fanspeed below 85%, with an overheat check that will speed the fan up to 100%.
  5720. - Add an --auto-fan command line option to allow all GPUs to have autofan
  5721. enabled from startup.
  5722. - Add a gpu autotune option which adjusts GPU speed to maintain a target
  5723. temperature within the bounds of the default GPU speed and any overclocking set.
  5724. - Avoid a dereference if the longpoll thread doesn't exist.
  5725. - Clean up by setting performance profiles and fan settings to startup levels on
  5726. exit.
  5727. - Add a small amount of hysteresis before lowering clock speed.
  5728. - Allow target, overheat and hysteresis temperatures to be set from command
  5729. line.
  5730. - Combine all stats collating into one function to avoid repeating function
  5731. calls on each variable.
  5732. - Add gpu statistics to debugging output via the watchdog thread.
  5733. - Implement menus to change temperature limits.
  5734. - Implement setting the GPU engine clock speed of all devices or each device as
  5735. a comma separated value.
  5736. - Implement setting the GPU memory clock speed of all devices or each device as
  5737. a comma separated value.
  5738. - Implement setting the GPU voltage of all devices or each device as a comma
  5739. separated value.
  5740. - Implement setting the GPU fan speed of all devices or each device as a comma
  5741. separated value.
  5742. - Add support for monitoring powertune setting.
  5743. - Implement changing of powertune value from the GPU change settings menu.
  5744. - Get the value of powertune in get_stats.
  5745. - Implement setting the GPU powertune value of all devices or each device as a
  5746. comma separated value.
  5747. - Remove the safety checks in speed setting since confirmation is done first in
  5748. the menu, then show the new current values after a short pause.
  5749. - Force the speed to high on startup and restore it to whatever the setting was
  5750. on exit.
  5751. - Add temperature to standard output where possible and use more compact output.
  5752. - Move and print at the same time in curses to avoid random trampling display
  5753. errors.
  5754. - Update the status window only from the watchdog thread, do not rewrite the top
  5755. status messages and only refresh once all the status window is complete,
  5756. clearing the window each time to avoid corruption.
  5757. - Set a safe starting fan speed if we're automanaging the speeds.
  5758. - Provide locking around all adl calls to prevent races.
  5759. - Lower profile settings cannot be higher than higher profile ones so link any
  5760. drops in settings.
  5761. - Add new needed text files to distribution.
  5762. - Queue requests ignoring the number of staged clones since they get discarded
  5763. very easily leading to false positives for pool not providing work fast enough.
  5764. - Include libgen.h in opt.c to fix win32 compilation warnings.
  5765. - Fix compilation warning on win32.
  5766. - Add the directory name from the arguments cgminer was called from as well to
  5767. allow it running from a relative pathname.
  5768. - Add a --disable-adl option to configure and only enable it if opencl support
  5769. exists.
  5770. - Retry before returning a failure to get upstream work as a failure to avoid
  5771. false positives for pool dead.
  5772. - Retry also if the decoding of work fails.
  5773. - Use the presence of X-Roll-Ntime in the header as a bool for exists unless N
  5774. is found in the response.
  5775. CGMiner Version 1.6.2 - September 2, 2011
  5776. - Add --failover-only option to not leak work to backup pools when the primary
  5777. pool is lagging.
  5778. - Change recommendation to intensity 9 for dedicated miners.
  5779. - Fix the bouncing short term value by allowing it to change dynamically when
  5780. the latest value is very different from the rolling value, but damp the change
  5781. when it gets close.
  5782. - Use the curses_lock to protect the curses_active variable and test it under
  5783. lock.
  5784. - Go back to requesting work 2/3 of the way through the current scantime with
  5785. CPU mining as reports of mining threads running out of work have occurred with
  5786. only 5 seconds to retrieve work.
  5787. - Add start and stop time scheduling for regular time of day running or once off
  5788. start/stop options.
  5789. - Print summary on quit modes.
  5790. - Put some sanity checks on the times that can be input.
  5791. - Give a verbose message when no active pools are found and pause before
  5792. exiting.
  5793. - Add verbose message when a GPU fails to initialise, and disable the correct
  5794. GPU.
  5795. - Cryptopp asm32 was not correctly updated to the incremental nonce code so the
  5796. hash counter was bogus.
  5797. - Get rid of poorly executed curl check.
  5798. - If curl does not have sockopts, do not try to compile the
  5799. json_rpc_call_sockopt_cb function, making it possible to build against older
  5800. curl libraries.
  5801. - Most people expect /usr/local when an unspecified prefix is used so change to
  5802. that.
  5803. - Rename localgen occasions to getwork fail occasions since localgen is
  5804. unrelated now.
  5805. CGMiner Version 1.6.1 - August 29, 2011
  5806. - Copy cgminer path, not cat it.
  5807. - Switching between redrawing windows does not fix the crash with old
  5808. libncurses, so redraw both windows, but only when the window size hasn't
  5809. changed.
  5810. - Reinstate minimum 1 extra in queue to make it extremely unlikely to ever have
  5811. 0 staged work items and any idle time.
  5812. - Return -1 if no input is detected from the menu to prevent it being
  5813. interpreted as a 0.
  5814. - Make pthread, libcurl and libcurses library checks mandatory or fail.
  5815. - Add a --disable-opencl configure option to make it possible to override
  5816. detection of opencl and build without GPU mining support.
  5817. - Confusion over the variable name for number of devices was passing a bogus
  5818. value which likely was causing the zero sized binary issue.
  5819. - cgminer no longer supports default url user and pass so remove them.
  5820. - Don't show value of intensity since it's dynamic by default.
  5821. - Add options to explicitly enable CPU mining or disable GPU mining.
  5822. - Convert the opt queue into a minimum number of work items to have queued
  5823. instead of an extra number to decrease risk of getting idle devices without
  5824. increasing risk of higher rejects.
  5825. - Statify tv_sort.
  5826. - Check for SSE2 before trying to build 32 bit SSE2 assembly version. Prevents
  5827. build failure when yasm is installed but -msse2 is not specified.
  5828. - Add some defines to configure.ac to enable exporting of values and packaging,
  5829. and clean up output.
  5830. - Give convenient summary at end of ./configure.
  5831. - Display version information and add --version command line option, and make
  5832. sure we flush stdout.
  5833. - Enable curses after the mining threads are set up so that failure messages
  5834. won't be lost in the curses interface.
  5835. - Disable curses after inputting a pool if we requested no curses interface.
  5836. - Add an option to break out after successfully mining a number of accepted
  5837. shares.
  5838. - Exit with a failed return code if we did not reach opt_shares.
  5839. - The cpu mining work data can get modified before we copy it if we submit it
  5840. async, and the sync submission is not truly sync anyway, so just submit it sync.
  5841. CGMiner Version 1.6.0 - August 26, 2011
  5842. - Make restarting of GPUs optional for systems that hang on any attempt to
  5843. restart them. Fix DEAD status by comparing it to last live time rather than
  5844. last attempted restart time since that happens every minute.
  5845. - Move staged threads to hashes so we can sort them by time.
  5846. - Create a hash list of all the blocks created and search them to detect when a
  5847. new block has definitely appeared, using that information to detect stale work
  5848. and discard it.
  5849. - Update configure.ac for newer autoconf tools.
  5850. - Use the new hashes directly for counts instead of the fragile counters
  5851. currently in use.
  5852. - Update to latest sse2 code from cpuminer-ng.
  5853. - Allow LP to reset block detect and block detect lp flags to know who really
  5854. came first.
  5855. - Get start times just before mining begins to not have very slow rise in
  5856. average.
  5857. - Add message about needing one server.
  5858. - We can queue all the necessary work without hitting frequent stales now with
  5859. the time and string stale protection active all the time. This prevents a
  5860. pool being falsely labelled as not providing work fast enough.
  5861. - Include uthash.h in distro.
  5862. - Implement SSE2 32 bit assembly algorithm as well.
  5863. - Fail gracefully if unable to open the opencl files.
  5864. - Make cgminer look in the install directory for the .cl files making make
  5865. install work correctly.
  5866. - Allow a custom kernel path to be entered on the command line.
  5867. - Bump threshhold for lag up to maximum queued but no staged work.
  5868. - Remove fragile source patching for bitalign, vectors et. al and simply pass it
  5869. with the compiler options.
  5870. - Actually check the value returned for the x-roll-ntime extension to make sure
  5871. it isn't saying N.
  5872. - Prevent segfault on exit for when accessory threads don't exist.
  5873. - Disable curl debugging with opt protocol since it spews to stderr.
  5874. CGMiner Version 1.5.8 - August 23, 2011
  5875. - Minimise how much more work can be given in cpu mining threads each interval.
  5876. - Make the fail-pause progressively longer each time it fails until the network
  5877. recovers.
  5878. - Only display the lagging message if we've requested the work earlier.
  5879. - Clean up the pool switching to not be dependent on whether the work can roll
  5880. or not by setting a lagging flag and then the idle flag.
  5881. - Only use one thread to determine if a GPU is sick or well, and make sure to
  5882. reset the sick restart attempt time.
  5883. - The worksize was unintentionally changed back to 4k by mistake, this caused a
  5884. slowdown.
  5885. CGMiner Version 1.5.7 - August 22, 2011
  5886. - Fix a crash with --algo auto
  5887. - Test at appropriate target difficulty now.
  5888. - Add per-device statics log output with --per-device-stats
  5889. - Fix breakage that occurs when 1 or 4 vectors are chosen on new phatk.
  5890. - Make rolltime report debug level only now since we check it every work
  5891. item.
  5892. - Add the ability to enable/disable per-device stats on the fly and match
  5893. logging on/off.
  5894. - Explicitly tell the compiler to retain the program to minimise the chance of
  5895. the zero sized binary errors.
  5896. - Add one more instruction to avoid one branch point in the common path in the
  5897. cl return code. Although this adds more ALUs overall and more branch points, the
  5898. common path code has the same number of ALUs and one less jmp, jmps being more
  5899. expensive.
  5900. - Explicitly link in ws2_32 on the windows build and update README file on how
  5901. to compile successfully on windows.
  5902. - Release cl resources should the gpu mining thread abort.
  5903. - Attempt to restart a GPU once every minute while it's sick.
  5904. - Don't kill off the reinit thread if it fails to init a GPU but returns safely.
  5905. - Only declare a GPU dead if there's been no sign of activity from the reinit
  5906. thread for 10 mins.
  5907. - Never automatically disable any pools but just specify them as idle if they're
  5908. unresponsive at startup.
  5909. - Use any longpoll available, and don't disable it if switching to a server that
  5910. doesn't have it. This allows you to mine solo, yet use the longpoll from a pool
  5911. even if the pool is the backup server.
  5912. - Display which longpoll failed and don't free the ram for lp_url since it
  5913. belongs to the pool hdr path.
  5914. - Make the tcp setsockopts unique to linux in the hope it allows freebsd et. al
  5915. to compile.
  5916. CGMiner Version 1.5.6 - August 17, 2011
  5917. - New phatk and poclbm kernels. Updated phatk to be in sync with latest 2.2
  5918. courtesy of phateus. Custom modified to work best with cgminer.
  5919. - Updated output buffer code to use a smaller buffer with the kernels.
  5920. - Clean up the longpoll management to ensure the right paths go to the right
  5921. pool and display whether we're connected to LP or not in the status line.
  5922. CGMiner Version 1.5.5 - August 16, 2011
  5923. - Rework entirely the GPU restart code. Strike a balance between code that
  5924. re-initialises the GPU entirely so that soft hangs in the code are properly
  5925. managed, but if a GPU is completely hung, the thread restart code fails
  5926. gracefully, so that it does not take out any other code or devices. This will
  5927. allow cgminer to keep restarting GPUs that can be restarted, but continue
  5928. mining even if one or more GPUs hangs which would normally require a reboot.
  5929. - Add --submit-stale option which submits all shares, regardless of whether they
  5930. would normally be considered stale.
  5931. - Keep options in alphabetical order.
  5932. - Probe for slightly longer for when network conditions are lagging.
  5933. - Only display the CPU algo when we're CPU mining.
  5934. - As we have keepalives now, blaming network flakiness on timeouts appears to
  5935. have been wrong. Set a timeout for longpoll to 1 hour, and most other
  5936. network connectivity to 1 minute.
  5937. - Simplify output code and remove HW errors from CPU stats.
  5938. - Simplify code and tidy output.
  5939. - Only show cpu algo in summary if cpu mining.
  5940. - Log summary at the end as per any other output.
  5941. - Flush output.
  5942. - Add a linux-usb-cgminer guide courtesy of Kano.
  5943. CGMiner Version 1.5.4 - August 14, 2011
  5944. - Add new option: --monitor <cmd> Option lets user specify a command <cmd> that
  5945. will get forked by cgminer on startup. cgminer's stderr output subsequently gets
  5946. piped directly to this command.
  5947. - Allocate work from one function to be able to initialise variables added
  5948. later.
  5949. - Add missing fflush(stdout) for --ndevs and conclusion summary.
  5950. - Preinitialise the devices only once on startup.
  5951. - Move the non cl_ variables into the cgpu info struct to allow creating a new
  5952. cl state on reinit, preserving known GPU variables.
  5953. - Create a new context from scratch in initCQ in case something was corrupted to
  5954. maximise our chance of succesfully creating a new worker thread. Hopefully this
  5955. makes thread restart on GPU failure more reliable, without hanging everything
  5956. in the case of a completely wedged GPU.
  5957. - Display last initialised time in gpu management info, to know if a GPU has
  5958. been re-initialised.
  5959. - When pinging a sick cpu, flush finish and then ping it in a separate thread in
  5960. the hope it recovers without needing a restart, but without blocking code
  5961. elsewhere.
  5962. - Only consider a pool lagging if we actually need the work and we have none
  5963. staged despite queue requests stacking up. This decreases significantly the
  5964. amount of work that leaks to the backup pools.
  5965. - The can_roll function fails inappropriately in stale_work.
  5966. - Only put the message that a pool is down if not pinging it every minute. This
  5967. prevents cgminer from saying pool down at 1 minute intervals unless in debug
  5968. mode.
  5969. - Free all work in one place allowing us to perform actions on it in the future.
  5970. - Remove the extra shift in the output code which was of dubious benefit. In
  5971. fact in cgminer's implementation, removing this caused a miniscule speedup.
  5972. - Test each work item to see if it can be rolled instead of per-pool and roll
  5973. whenever possible, adhering to the 60 second timeout. This makes the period
  5974. after a longpoll have smaller dips in throughput, as well as requiring less
  5975. getworks overall thus increasing efficiency.
  5976. - Stick to rolling only work from the current pool unless we're in load balance
  5977. mode or lagging to avoid aggressive rolling imitating load balancing.
  5978. - If a work item has had any mining done on it, don't consider it discarded
  5979. work.
  5980. CGMiner Version 1.5.3 - July 30, 2011
  5981. - Significant work went into attempting to make the thread restart code robust
  5982. to identify sick threads, tag them SICK after 1 minute, then DEAD after 5
  5983. minutes of inactivity and try to restart them. Instead of re-initialising the
  5984. GPU completely, only a new cl context is created to avoid hanging the rest of
  5985. the GPUs should the dead GPU be hung irrevocably.
  5986. - Use correct application name in syslog.
  5987. - Get rid of extra line feeds.
  5988. - Use pkg-config to check for libcurl version
  5989. - Implement per-thread getwork count with proper accounting to not over-account
  5990. queued items when local work replaces it.
  5991. - Create a command queue from the program created from source which allows us
  5992. to flush the command queue in the hope it will not generate a zero sized binary
  5993. any more.
  5994. - Be more willing to get work from the backup pools if the work is simply being
  5995. queued faster than it is being retrieved.
  5996. CGMiner Version 1.5.2 - July 28, 2011
  5997. - Restarting a hung GPU can hang the rest of the GPUs so just declare it dead
  5998. and provide the information in the status.
  5999. - The work length in the miner thread gets smaller but doesn't get bigger if
  6000. it's under 1 second. This could end up leading to CPU under-utilisation and
  6001. lower and lower hash rates. Fix it by increasing work length if it drops
  6002. under 1 second.
  6003. - Make the "quiet" mode still update the status and display errors, and add a
  6004. new --real-quiet option which disables all output and can be set once while
  6005. running.
  6006. - Update utility and efficiency figures when displaying them.
  6007. - Some Intel HD graphics support the opencl commands but return errors since
  6008. they don't support opencl. Don't fail with them, just provide a warning and
  6009. disable GPU mining.
  6010. - Add http:// if it's not explicitly set for URL entries.
  6011. - Log to the output file at any time with warnings and errors, instead of just
  6012. when verbose mode is on.
  6013. - Display the correct current hash as per blockexplorer, truncated to 16
  6014. characters, with just the time.
  6015. CGMiner Version 1.5.1 - July 27, 2011
  6016. - Two redraws in a row cause a crash in old libncurses so just do one redraw
  6017. using the main window.
  6018. - Don't adjust hash_div only up for GPUs. Disable hash_div adjustment for GPUs.
  6019. - Only free the thread structures if the thread still exists.
  6020. - Update both windows separately, but not at the same time to prevent the double
  6021. refresh crash that old libncurses has. Do the window resize check only when
  6022. about to redraw the log window to minimise ncurses cpu usage.
  6023. - Abstract out the decay time function and use it to make hash_div a rolling
  6024. average so it doesn't change too abruptly and divide work in chunks large enough
  6025. to guarantee they won't overlap.
  6026. - Sanity check to prove locking.
  6027. - Don't take more than one lock at a time.
  6028. - Make threads report out when they're queueing a request and report if they've
  6029. failed.
  6030. - Make cpu mining work submission asynchronous as well.
  6031. - Properly detect stale work based on time from staging and discard instead of
  6032. handing on, but be more lax about how long work can be divided for up to the
  6033. scantime.
  6034. - Do away with queueing work separately at the start and let each thread grab
  6035. its own work as soon as it's ready.
  6036. - Don't put an extra work item in the queue as each new device thread will do so
  6037. itself.
  6038. - Make sure to decrease queued count if we discard the work.
  6039. - Attribute split work as local work generation.
  6040. - If work has been cloned it is already at the head of the list and when being
  6041. reinserted into the queue it should be placed back at the head of the list.
  6042. - Dividing work is like the work is never removed at all so treat it as such.
  6043. However the queued bool needs to be reset to ensure we *can* request more work
  6044. even if we didn't initially.
  6045. - Make the display options clearer.
  6046. - Add debugging output to tq_push calls.
  6047. - Add debugging output to all tq_pop calls.
  6048. CGMiner Version 1.5.0 - July 26, 2011
  6049. - Increase efficiency of slow mining threads such as CPU miners dramatically. Do
  6050. this by detecting which threads cannot complete searching a work item within the
  6051. scantime and then divide up a work item into multiple smaller work items.
  6052. Detect the age of the work items and if they've been cloned before to prevent
  6053. doing the same work over. If the work is too old to be divided, then see if it
  6054. can be time rolled and do that to generate work. This dramatically decreases the
  6055. number of queued work items from a pool leading to higher overall efficiency
  6056. (but the same hashrate and share submission rate).
  6057. - Don't request work too early for CPUs as CPUs will scan for the full
  6058. opt_scantime anyway.
  6059. - Simplify gpu management enable/disable/restart code.
  6060. - Implement much more accurate rolling statistics per thread and per gpu and
  6061. improve accuracy of rolling displayed values.
  6062. - Make the rolling log-second average more accurate.
  6063. - Add a menu to manage GPUs on the fly allowing you to enable/disable GPUs or
  6064. try restarting them.
  6065. - Keep track of which GPUs are alive versus enabled.
  6066. - Start threads for devices that are even disabled, but don't allow them to
  6067. start working.
  6068. - The last pool is when we are low in total_pools, not active_pools.
  6069. - Make the thread restart do a pthread_join after disabling the device, only
  6070. re-enabling it if we succeed in restarting the thread. Do this from a separate
  6071. thread so as to not block any other code.This will allow cgminer to continue
  6072. even if one GPU hangs.
  6073. - Try to do every curses manipulation under the curses lock.
  6074. - Only use the sockoptfunction if the version of curl is recent enough.
  6075. CGMiner Version 1.4.1 - July 24, 2011
  6076. - Do away with GET for dealing with longpoll forever. POST is the one that works
  6077. everywhere, not the other way around.
  6078. - Detect when the primary pool is lagging and start queueing requests on backup
  6079. pools if possible before needing to roll work.
  6080. - Load balancing puts more into the current pool if there are disabled pools.
  6081. Fix.
  6082. - Disable a GPU device should the thread fail to init.
  6083. - Out of order command queue may fail on osx. Try without if it fails.
  6084. - Fix possible dereference on blank inputs during input_pool.
  6085. - Defines missing would segfault on --help when no sse mining is built in.
  6086. - Revert "Free up resources/stale compilers." - didn't help.
  6087. - Only try to print the status of active devices or it would crash.
  6088. - Some hardware might benefit from the less OPS so there's no harm in leaving
  6089. kernel changes that do that apart from readability of the code.
  6090. CGMiner Version 1.4.0 - July 23, 2011
  6091. - Feature upgrade: Add keyboard input during runtime to allow modification of
  6092. and viewing of numerous settings such as adding/removing pools, changing
  6093. multipool management strategy, switching pools, changing intensiy, verbosity,
  6094. etc. with a simple keypress menu system.
  6095. - Free up resources/stale compilers.
  6096. - Kernels are safely flushed in a way that allows out of order execution to
  6097. work.
  6098. - Sometimes the cl compiler generates zero sized binaries and only a reboot
  6099. seems to fix it.
  6100. - Don't try to stop/cancel threads that don't exist.
  6101. - Only set option to show devices and exit if built with opencl support.
  6102. - Enable curses earlier and exit with message in main for messages to not be
  6103. lost in curses windows.
  6104. - Make it possible to enter server credentials with curses input if none are
  6105. specified on the command line.
  6106. - Abstract out a curses input function and separate input pool function to allow
  6107. for live adding of pools later.
  6108. - Remove the nil arguments check to allow starting without parameters.
  6109. - Disable/enable echo & cbreak modes.
  6110. - Add a thread that takes keyboard input and allow for quit, silent, debug,
  6111. verbose, normal, rpc protocol debugging and clear screen options.
  6112. - Add pool option to input and display current pool status, pending code to
  6113. allow live changes.
  6114. - Add a bool for explicit enabling/disabling of pools.
  6115. - Make input pool capable of bringing up pools while running.
  6116. - Do one last check of the work before submitting it.
  6117. - Implement the ability to live add, enable, disable, and switch to pools.
  6118. - Only internally test for block changes when the work matches the current pool
  6119. to prevent interleaved block change timing on multipools.
  6120. - Display current pool management strategy to enable changing it on the fly.
  6121. - The longpoll blanking of the current_block data may not be happening before
  6122. the work is converted and appears to be a detected block change. Blank the
  6123. current block be
  6124. - Make --no-longpoll work again.
  6125. - Abstract out active pools count.
  6126. - Allow the pool strategy to be modified on the fly.
  6127. - Display pool information on the fly as well.
  6128. - Add a menu and separate out display options.
  6129. - Clean up the messy way the staging thread communicates with the longpoll
  6130. thread to determine who found the block first.
  6131. - Make the input windows update immediately instead of needing a refresh.
  6132. - Allow log interval to be set in the menu.
  6133. - Allow scan settings to be modified at runtime.
  6134. - Abstract out the longpoll start and explicitly restart it on pool change.
  6135. - Make it possible to enable/disable longpoll.
  6136. - Set priority correctly on multipools. Display priority and alive/dead
  6137. information in display_pools.
  6138. - Implement pool removal.
  6139. - Limit rolltime work generation to 10 iterations only.
  6140. - Decrease testing log to info level.
  6141. - Extra refresh not required.
  6142. - With huge variation in GPU performance, allow intensity to go from -10 to +10.
  6143. - Tell getwork how much of a work item we're likely to complete for future
  6144. splitting up of work.
  6145. - Remove the mandatory work requirement at startup by testing for invalid work
  6146. being passed which allows for work to be queued immediately. This also
  6147. removes the requirem
  6148. - Make sure intensity is carried over to thread count and is at least the
  6149. minimum necessary to work.
  6150. - Unlocking error on retry. Locking unnecessary anyway so remove it.
  6151. - Clear log window from consistent place. No need for locking since logging is
  6152. disabled during input.
  6153. - Cannot print the status of threads that don't exist so just queue enough work
  6154. for the number of mining threads to prevent crash with -Q N.
  6155. - Update phatk kernel to one with new parameters for slightly less overhead
  6156. again. Make the queue kernel parameters call a function pointer to select
  6157. phatk or poclbm.
  6158. - Make it possible to select the choice of kernel on the command line.
  6159. - Simplify the output part of the kernel. There's no demonstrable advantage from
  6160. more complexity.
  6161. - Merge pull request #18 from ycros/cgminer
  6162. - No need to make leaveok changes win32 only.
  6163. - Build support in for all SSE if possible and only set the default according to
  6164. machine capabilities.
  6165. - Win32 threading and longpoll keepalive fixes.
  6166. - Win32: Fix for mangled output on the terminal on exit.
  6167. CGMiner Version 1.3.1 - July 20, 2011
  6168. - Feature upgrade; Multiple strategies for failover. Choose from default which
  6169. now falls back to a priority order from 1st to last, round robin which only
  6170. changes pools when one is idle, rotate which changes pools at user-defined
  6171. intervals, and load-balance which spreads the work evenly amongst all pools.
  6172. - Implement pool rotation strategy.
  6173. - Implement load balancing algorithm by rotating requests to each pool.
  6174. - Timeout on failed discarding of staged requests.
  6175. - Implement proper flagging of idle pools, test them with the watchdog thread,
  6176. and failover correctly.
  6177. - Move pool active test to own function.
  6178. - Allow multiple strategies to be set for multipool management.
  6179. - Track pool number.
  6180. - Don't waste the work items queued on testing the pools at startup.
  6181. - Reinstate the mining thread watchdog restart.
  6182. - Add a getpoll bool into the thread information and don't restart threads stuck
  6183. waiting on work.
  6184. - Rename the idlenet bool for the pool for later use.
  6185. - Allow the user/pass userpass urls to be input in any order.
  6186. - When json rpc errors occur they occur in spits and starts, so trying to limit
  6187. them with the comms error bool doesn't stop a flood of them appearing.
  6188. - Reset the queued count to allow more work to be queued for the new pool on
  6189. pool switch.
  6190. CGMiner Version 1.3.0 - July 19, 2011
  6191. - Massive infrastructure update to support pool failover.
  6192. - Accept multiple parameters for url, user and pass and set up structures of
  6193. pool data accordingly.
  6194. - Probe each pool for what it supports.
  6195. - Implement per pool feature support according to rolltime support as
  6196. advertised by server.
  6197. - Do switching automatically based on a 300 second timeout of locally generated
  6198. work or 60 seconds of no response from a server that doesn't support rolltime.
  6199. - Implement longpoll server switching.
  6200. - Keep per-pool data and display accordingly.
  6201. - Make sure cgminer knows how long the pool has actually been out for before
  6202. deeming it a prolonged outage.
  6203. - Fix bug with ever increasing staged work in 1.2.8 that eventually caused
  6204. infinite rejects.
  6205. - Make warning about empty http requests not show by default since many
  6206. servers do this regularly.
  6207. CGMiner Version 1.2.8 - July 18, 2011
  6208. - More OSX build fixes.
  6209. - Add an sse4 algorithm to CPU mining.
  6210. - Fix CPU mining with other algorithms not working.
  6211. - Rename the poclbm file to ensure a new binary is built since.
  6212. - We now are guaranteed to have one fresh work item after a block change and we
  6213. should only discard staged requests.
  6214. - Don't waste the work we retrieve from a longpoll.
  6215. - Provide a control lock around global bools to avoid racing on them.
  6216. - Iterating over 1026 nonces when confirming data from the GPU is old code
  6217. and unnecessary and can lead to repeats/stales.
  6218. - The poclbm kernel needs to be updated to work with the change to 4k sized
  6219. output buffers.
  6220. - longpoll seems to work either way with post or get but some servers prefer
  6221. get so change to httpget.
  6222. CGMiner Version 1.2.7 - July 16, 2011
  6223. - Show last 8 characters of share submitted in log.
  6224. - Display URL connected to and user logged in as in status.
  6225. - Display current block and when it was started in the status line.
  6226. - Only pthread_join the mining threads if they exist as determined by
  6227. pthread_cancel and don't fail on pthread_cancel.
  6228. - Create a unique work queue for all getworks instead of binding it to thread 0
  6229. to avoid any conflict over thread 0's queue.
  6230. - Clean up the code to make it clear it's watchdog thread being messaged to
  6231. restart the threads.
  6232. - Check the current block description hasn't been blanked pending the real
  6233. new current block data.
  6234. - Re-enable signal handlers once the signal has been received to make it
  6235. possible to kill cgminer if it fails to shut down.
  6236. - Disable restarting of CPU mining threads pending further investigation.
  6237. - Update longpoll messages.
  6238. - Add new block data to status line.
  6239. - Fix opencl tests for osx.
  6240. - Only do local generation of work if the work item is not stale itself.
  6241. - Check for stale work within the mining threads and grab new work if
  6242. positive.
  6243. - Test for idle network conditions and prevent threads from being restarted
  6244. by the watchdog thread under those circumstances.
  6245. - Make sure that local work generation does not continue indefinitely by
  6246. stopping it after 10 minutes.
  6247. - Tweak the kernel to have a shorter path using a 4k buffer and a mask on the
  6248. nonce value instead of a compare and loop for a shorter code path.
  6249. - Allow queue of zero and make that default again now that we can track how
  6250. work is being queued versus staged. This can decrease reject rates.
  6251. - Queue precisely the number of mining threads as longpoll_staged after a
  6252. new block to not generate local work.
  6253. CGMiner Version 1.2.6 - July 15, 2011
  6254. - Put a current system status line beneath the total work status line
  6255. - Fix a counting error that would prevent cgminer from correctly detecting
  6256. situations where getwork was failing - this would cause stalls sometimes
  6257. unrecoverably.
  6258. - Limit the maximum number of requests that can be put into the queue which
  6259. otherwise could get arbitrarily long during a network outage.
  6260. - Only count getworks that are real queue requests.
  6261. CGMiner Version 1.2.5 - July 15, 2011
  6262. - Conflicting -n options corrected
  6263. - Setting an intensity with -I disables dynamic intensity setting
  6264. - Removed option to manually disable dynamic intensity
  6265. - Improve display output
  6266. - Implement signal handler and attempt to clean up properly on exit
  6267. - Only restart threads that are not stuck waiting on mandatory getworks
  6268. - Compatibility changes courtesy of Ycros to build on mingw32 and osx
  6269. - Explicitly grab first work item to prevent false positive hardware errors
  6270. due to working on uninitialised work structs
  6271. - Add option for non curses --text-only output
  6272. - Ensure we connect at least once successfully before continuing to retry to
  6273. connect in case url/login parameters were wrong
  6274. - Print an executive summary when cgminer is terminated
  6275. - Make sure to refresh the status window
  6276. CGMiner Versions -> 1.2.4
  6277. - Con Kolivas - July 2011. New maintainership of code under cgminer name.
  6278. - Massive rewrite to incorporate GPU mining.
  6279. - Incorporate original oclminer c code.
  6280. - Rewrite gpu mining code to efficient work loops.
  6281. - Implement per-card detection and settings.
  6282. - Implement vector code.
  6283. - Implement bfi int patching.
  6284. - Import poclbm and phatk ocl kernels and use according to hardware type.
  6285. - Implement customised optimised versions of opencl kernels.
  6286. - Implement binary kernel generation and loading.
  6287. - Implement preemptive asynchronous threaded work gathering and pushing.
  6288. - Implement variable length extra work queues.
  6289. - Optimise workloads to be efficient miners instead of getting lots of extra
  6290. work.
  6291. - Implement total hash throughput counters, per-card accepted, rejected and
  6292. hw error count.
  6293. - Staging and watchdog threads to prevent fallover.
  6294. - Stale and reject share guarding.
  6295. - Autodetection of new blocks without longpoll.
  6296. - Dynamic setting of intensity to maintain desktop interactivity.
  6297. - Curses interface with generous statistics and information.
  6298. - Local generation of work (xroll ntime) when detecting poor network
  6299. connectivity.
  6300. cpuminer Version 1.0.2
  6301. - Linux x86_64 optimisations - Con Kolivas
  6302. - Optimise for x86_64 by default by using sse2_64 algo
  6303. - Detects CPUs and sets number of threads accordingly
  6304. - Uses CPU affinity for each thread where appropriate
  6305. - Sets scheduling policy to lowest possible
  6306. - Minor performance tweaks
  6307. cpuminer Version 1.0.1 - May 14, 2011
  6308. - OSX support
  6309. cpuminer Version 1.0 - May 9, 2011
  6310. - jansson 2.0 compatibility
  6311. - correct off-by-one in date (month) display output
  6312. - fix platform detection
  6313. - improve yasm configure bits
  6314. - support full URL, in X-Long-Polling header
  6315. cpuminer Version 0.8.1 - March 22, 2011
  6316. - Make --user, --pass actually work
  6317. - Add User-Agent HTTP header to requests, so that server operators may
  6318. more easily identify the miner client.
  6319. - Fix minor bug in example JSON config file
  6320. cpuminer Version 0.8 - March 21, 2011
  6321. - Support long polling: http://deepbit.net/longpolling.php
  6322. - Adjust max workload based on scantime (default 5 seconds,
  6323. or 60 seconds for longpoll)
  6324. - Standardize program output, and support syslog on Unix platforms
  6325. - Suport --user/--pass options (and "user" and "pass" in config file),
  6326. as an alternative to the current --userpass
  6327. cpuminer Version 0.7.2 - March 14, 2011
  6328. - Add port of ufasoft's sse2 assembly implementation (Linux only)
  6329. This is a substantial speed improvement on Intel CPUs.
  6330. - Move all JSON-RPC I/O to separate thread. This reduces the
  6331. number of HTTP connections from one-per-thread to one, reducing resource
  6332. usage on upstream bitcoind / pool server.
  6333. cpuminer Version 0.7.1 - March 2, 2011
  6334. - Add support for JSON-format configuration file. See example
  6335. file example-cfg.json. Any long argument on the command line
  6336. may be stored in the config file.
  6337. - Timestamp each solution found
  6338. - Improve sha256_4way performance. NOTE: This optimization makes
  6339. the 'hash' debug-print output for sha256_way incorrect.
  6340. - Use __builtin_expect() intrinsic as compiler micro-optimization
  6341. - Build on Intel compiler
  6342. - HTTP library now follows HTTP redirects
  6343. cpuminer Version 0.7 - February 12, 2011
  6344. - Re-use CURL object, thereby reuseing DNS cache and HTTP connections
  6345. - Use bswap_32, if compiler intrinsic is not available
  6346. - Disable full target validation (as opposed to simply H==0) for now
  6347. cpuminer Version 0.6.1 - February 4, 2011
  6348. - Fully validate "hash < target", rather than simply stopping our scan
  6349. if the high 32 bits are 00000000.
  6350. - Add --retry-pause, to set length of pause time between failure retries
  6351. - Display proof-of-work hash and target, if -D (debug mode) enabled
  6352. - Fix max-nonce auto-adjustment to actually work. This means if your
  6353. scan takes longer than 5 seconds (--scantime), the miner will slowly
  6354. reduce the number of hashes you work on, before fetching a new work unit.
  6355. cpuminer Version 0.6 - January 29, 2011
  6356. - Fetch new work unit, if scanhash takes longer than 5 seconds (--scantime)
  6357. - BeeCee1's sha256 4way optimizations
  6358. - lfm's byte swap optimization (improves via, cryptopp)
  6359. - Fix non-working short options -q, -r
  6360. cpuminer Version 0.5 - December 28, 2010
  6361. - Exit program, when all threads have exited
  6362. - Improve JSON-RPC failure diagnostics and resilience
  6363. - Add --quiet option, to disable hashmeter output.
  6364. cpuminer Version 0.3.3 - December 27, 2010
  6365. - Critical fix for sha256_cryptopp 'cryptopp_asm' algo
  6366. cpuminer Version 0.3.2 - December 23, 2010
  6367. - Critical fix for sha256_via
  6368. cpuminer Version 0.3.1 - December 19, 2010
  6369. - Critical fix for sha256_via
  6370. - Retry JSON-RPC failures (see --retry, under "minerd --help" output)
  6371. cpuminer Version 0.3 - December 18, 2010
  6372. - Add crypto++ 32bit assembly implementation
  6373. - show version upon 'minerd --help'
  6374. - work around gcc 4.5.x bug that killed 4way performance
  6375. cpuminer Version 0.2.2 - December 6, 2010
  6376. - VIA padlock implementation works now
  6377. - Minor build and runtime fixes
  6378. cpuminer Version 0.2.1 - November 29, 2010
  6379. - avoid buffer overflow when submitting solutions
  6380. - add Crypto++ sha256 implementation (C only, ASM elided for now)
  6381. - minor internal optimizations and cleanups
  6382. cpuminer Version 0.2 - November 27, 2010
  6383. - Add script for building a Windows installer
  6384. - improve hash performance (hashmeter) statistics
  6385. - add tcatm 4way sha256 implementation
  6386. - Add experimental VIA Padlock sha256 implementation
  6387. cpuminer Version 0.1.2 - November 26, 2010
  6388. - many small cleanups and micro-optimizations
  6389. - build win32 exe using mingw
  6390. - RPC URL, username/password become command line arguments
  6391. - remove unused OpenSSL dependency
  6392. cpuminer Version 0.1.1 - November 24, 2010
  6393. - Do not build sha256_generic module separately from cpuminer.
  6394. cpuminer Version 0.1 - November 24, 2010
  6395. - Initial release.