NEWS 273 KB

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