NEWS 31 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695
  1. Version 1.6.1 - August 29, 2011
  2. - Copy cgminer path, not cat it.
  3. - Switching between redrawing windows does not fix the crash with old
  4. libncurses, so redraw both windows, but only when the window size hasn't
  5. changed.
  6. - Reinstate minimum 1 extra in queue to make it extremely unlikely to ever have
  7. 0 staged work items and any idle time.
  8. - Return -1 if no input is detected from the menu to prevent it being
  9. interpreted as a 0.
  10. - Make pthread, libcurl and libcurses library checks mandatory or fail.
  11. - Add a --disable-opencl configure option to make it possible to override
  12. detection of opencl and build without GPU mining support.
  13. - Confusion over the variable name for number of devices was passing a bogus
  14. value which likely was causing the zero sized binary issue.
  15. - cgminer no longer supports default url user and pass so remove them.
  16. - Don't show value of intensity since it's dynamic by default.
  17. - Add options to explicitly enable CPU mining or disable GPU mining.
  18. - Convert the opt queue into a minimum number of work items to have queued
  19. instead of an extra number to decrease risk of getting idle devices without
  20. increasing risk of higher rejects.
  21. - Statify tv_sort.
  22. - Check for SSE2 before trying to build 32 bit SSE2 assembly version. Prevents
  23. build failure when yasm is installed but -msse2 is not specified.
  24. - Add some defines to configure.ac to enable exporting of values and packaging,
  25. and clean up output.
  26. - Give convenient summary at end of ./configure.
  27. - Display version information and add --version command line option, and make
  28. sure we flush stdout.
  29. - Enable curses after the mining threads are set up so that failure messages
  30. won't be lost in the curses interface.
  31. - Disable curses after inputting a pool if we requested no curses interface.
  32. - Add an option to break out after successfully mining a number of accepted
  33. shares.
  34. - Exit with a failed return code if we did not reach opt_shares.
  35. - The cpu mining work data can get modified before we copy it if we submit it
  36. async, and the sync submission is not truly sync anyway, so just submit it sync.
  37. Version 1.6.0 - August 26, 2011
  38. - Make restarting of GPUs optional for systems that hang on any attempt to
  39. restart them. Fix DEAD status by comparing it to last live time rather than
  40. last attempted restart time since that happens every minute.
  41. - Move staged threads to hashes so we can sort them by time.
  42. - Create a hash list of all the blocks created and search them to detect when a
  43. new block has definitely appeared, using that information to detect stale work
  44. and discard it.
  45. - Update configure.ac for newer autoconf tools.
  46. - Use the new hashes directly for counts instead of the fragile counters
  47. currently in use.
  48. - Update to latest sse2 code from cpuminer-ng.
  49. - Allow LP to reset block detect and block detect lp flags to know who really
  50. came first.
  51. - Get start times just before mining begins to not have very slow rise in
  52. average.
  53. - Add message about needing one server.
  54. - We can queue all the necessary work without hitting frequent stales now with
  55. the time and string stale protection active all the time. This prevents a
  56. pool being falsely labelled as not providing work fast enough.
  57. - Include uthash.h in distro.
  58. - Implement SSE2 32 bit assembly algorithm as well.
  59. - Fail gracefully if unable to open the opencl files.
  60. - Make cgminer look in the install directory for the .cl files making make
  61. install work correctly.
  62. - Allow a custom kernel path to be entered on the command line.
  63. - Bump threshhold for lag up to maximum queued but no staged work.
  64. - Remove fragile source patching for bitalign, vectors et. al and simply pass it
  65. with the compiler options.
  66. - Actually check the value returned for the x-roll-ntime extension to make sure
  67. it isn't saying N.
  68. - Prevent segfault on exit for when accessory threads don't exist.
  69. - Disable curl debugging with opt protocol since it spews to stderr.
  70. Version 1.5.8 - August 23, 2011
  71. - Minimise how much more work can be given in cpu mining threads each interval.
  72. - Make the fail-pause progressively longer each time it fails until the network
  73. recovers.
  74. - Only display the lagging message if we've requested the work earlier.
  75. - Clean up the pool switching to not be dependent on whether the work can roll
  76. or not by setting a lagging flag and then the idle flag.
  77. - Only use one thread to determine if a GPU is sick or well, and make sure to
  78. reset the sick restart attempt time.
  79. - The worksize was unintentionally changed back to 4k by mistake, this caused a
  80. slowdown.
  81. Version 1.5.7 - August 22, 2011
  82. - Fix a crash with --algo auto
  83. - Test at appropriate target difficulty now.
  84. - Add per-device statics log output with --per-device-stats
  85. - Fix breakage that occurs when 1 or 4 vectors are chosen on new phatk.
  86. - Make rolltime report debug level only now since we check it every work
  87. item.
  88. - Add the ability to enable/disable per-device stats on the fly and match
  89. logging on/off.
  90. - Explicitly tell the compiler to retain the program to minimise the chance of
  91. the zero sized binary errors.
  92. - Add one more instruction to avoid one branch point in the common path in the
  93. cl return code. Although this adds more ALUs overall and more branch points, the
  94. common path code has the same number of ALUs and one less jmp, jmps being more
  95. expensive.
  96. - Explicitly link in ws2_32 on the windows build and update README file on how
  97. to compile successfully on windows.
  98. - Release cl resources should the gpu mining thread abort.
  99. - Attempt to restart a GPU once every minute while it's sick.
  100. - Don't kill off the reinit thread if it fails to init a GPU but returns safely.
  101. - Only declare a GPU dead if there's been no sign of activity from the reinit
  102. thread for 10 mins.
  103. - Never automatically disable any pools but just specify them as idle if they're
  104. unresponsive at startup.
  105. - Use any longpoll available, and don't disable it if switching to a server that
  106. doesn't have it. This allows you to mine solo, yet use the longpoll from a pool
  107. even if the pool is the backup server.
  108. - Display which longpoll failed and don't free the ram for lp_url since it
  109. belongs to the pool hdr path.
  110. - Make the tcp setsockopts unique to linux in the hope it allows freebsd et. al
  111. to compile.
  112. Version 1.5.6 - August 17, 2011
  113. - New phatk and poclbm kernels. Updated phatk to be in sync with latest 2.2
  114. courtesy of phateus. Custom modified to work best with cgminer.
  115. - Updated output buffer code to use a smaller buffer with the kernels.
  116. - Clean up the longpoll management to ensure the right paths go to the right
  117. pool and display whether we're connected to LP or not in the status line.
  118. Version 1.5.5 - August 16, 2011
  119. - Rework entirely the GPU restart code. Strike a balance between code that
  120. re-initialises the GPU entirely so that soft hangs in the code are properly
  121. managed, but if a GPU is completely hung, the thread restart code fails
  122. gracefully, so that it does not take out any other code or devices. This will
  123. allow cgminer to keep restarting GPUs that can be restarted, but continue
  124. mining even if one or more GPUs hangs which would normally require a reboot.
  125. - Add --submit-stale option which submits all shares, regardless of whether they
  126. would normally be considered stale.
  127. - Keep options in alphabetical order.
  128. - Probe for slightly longer for when network conditions are lagging.
  129. - Only display the CPU algo when we're CPU mining.
  130. - As we have keepalives now, blaming network flakiness on timeouts appears to
  131. have been wrong. Set a timeout for longpoll to 1 hour, and most other
  132. network connectivity to 1 minute.
  133. - Simplify output code and remove HW errors from CPU stats.
  134. - Simplify code and tidy output.
  135. - Only show cpu algo in summary if cpu mining.
  136. - Log summary at the end as per any other output.
  137. - Flush output.
  138. - Add a linux-usb-cgminer guide courtesy of Kano.
  139. Version 1.5.4 - August 14, 2011
  140. - Add new option: --monitor <cmd> Option lets user specify a command <cmd> that
  141. will get forked by cgminer on startup. cgminer's stderr output subsequently gets
  142. piped directly to this command.
  143. - Allocate work from one function to be able to initialise variables added
  144. later.
  145. - Add missing fflush(stdout) for --ndevs and conclusion summary.
  146. - Preinitialise the devices only once on startup.
  147. - Move the non cl_ variables into the cgpu info struct to allow creating a new
  148. cl state on reinit, preserving known GPU variables.
  149. - Create a new context from scratch in initCQ in case something was corrupted to
  150. maximise our chance of succesfully creating a new worker thread. Hopefully this
  151. makes thread restart on GPU failure more reliable, without hanging everything
  152. in the case of a completely wedged GPU.
  153. - Display last initialised time in gpu management info, to know if a GPU has
  154. been re-initialised.
  155. - When pinging a sick cpu, flush finish and then ping it in a separate thread in
  156. the hope it recovers without needing a restart, but without blocking code
  157. elsewhere.
  158. - Only consider a pool lagging if we actually need the work and we have none
  159. staged despite queue requests stacking up. This decreases significantly the
  160. amount of work that leaks to the backup pools.
  161. - The can_roll function fails inappropriately in stale_work.
  162. - Only put the message that a pool is down if not pinging it every minute. This
  163. prevents cgminer from saying pool down at 1 minute intervals unless in debug
  164. mode.
  165. - Free all work in one place allowing us to perform actions on it in the future.
  166. - Remove the extra shift in the output code which was of dubious benefit. In
  167. fact in cgminer's implementation, removing this caused a miniscule speedup.
  168. - Test each work item to see if it can be rolled instead of per-pool and roll
  169. whenever possible, adhering to the 60 second timeout. This makes the period
  170. after a longpoll have smaller dips in throughput, as well as requiring less
  171. getworks overall thus increasing efficiency.
  172. - Stick to rolling only work from the current pool unless we're in load balance
  173. mode or lagging to avoid aggressive rolling imitating load balancing.
  174. - If a work item has had any mining done on it, don't consider it discarded
  175. work.
  176. Version 1.5.3 - July 30, 2011
  177. - Significant work went into attempting to make the thread restart code robust
  178. to identify sick threads, tag them SICK after 1 minute, then DEAD after 5
  179. minutes of inactivity and try to restart them. Instead of re-initialising the
  180. GPU completely, only a new cl context is created to avoid hanging the rest of
  181. the GPUs should the dead GPU be hung irrevocably.
  182. - Use correct application name in syslog.
  183. - Get rid of extra line feeds.
  184. - Use pkg-config to check for libcurl version
  185. - Implement per-thread getwork count with proper accounting to not over-account
  186. queued items when local work replaces it.
  187. - Create a command queue from the program created from source which allows us
  188. to flush the command queue in the hope it will not generate a zero sized binary
  189. any more.
  190. - Be more willing to get work from the backup pools if the work is simply being
  191. queued faster than it is being retrieved.
  192. Version 1.5.2 - July 28, 2011
  193. - Restarting a hung GPU can hang the rest of the GPUs so just declare it dead
  194. and provide the information in the status.
  195. - The work length in the miner thread gets smaller but doesn't get bigger if
  196. it's under 1 second. This could end up leading to CPU under-utilisation and
  197. lower and lower hash rates. Fix it by increasing work length if it drops
  198. under 1 second.
  199. - Make the "quiet" mode still update the status and display errors, and add a
  200. new --real-quiet option which disables all output and can be set once while
  201. running.
  202. - Update utility and efficiency figures when displaying them.
  203. - Some Intel HD graphics support the opencl commands but return errors since
  204. they don't support opencl. Don't fail with them, just provide a warning and
  205. disable GPU mining.
  206. - Add http:// if it's not explicitly set for URL entries.
  207. - Log to the output file at any time with warnings and errors, instead of just
  208. when verbose mode is on.
  209. - Display the correct current hash as per blockexplorer, truncated to 16
  210. characters, with just the time.
  211. Version 1.5.1 - July 27, 2011
  212. - Two redraws in a row cause a crash in old libncurses so just do one redraw
  213. using the main window.
  214. - Don't adjust hash_div only up for GPUs. Disable hash_div adjustment for GPUs.
  215. - Only free the thread structures if the thread still exists.
  216. - Update both windows separately, but not at the same time to prevent the double
  217. refresh crash that old libncurses has. Do the window resize check only when
  218. about to redraw the log window to minimise ncurses cpu usage.
  219. - Abstract out the decay time function and use it to make hash_div a rolling
  220. average so it doesn't change too abruptly and divide work in chunks large enough
  221. to guarantee they won't overlap.
  222. - Sanity check to prove locking.
  223. - Don't take more than one lock at a time.
  224. - Make threads report out when they're queueing a request and report if they've
  225. failed.
  226. - Make cpu mining work submission asynchronous as well.
  227. - Properly detect stale work based on time from staging and discard instead of
  228. handing on, but be more lax about how long work can be divided for up to the
  229. scantime.
  230. - Do away with queueing work separately at the start and let each thread grab
  231. its own work as soon as it's ready.
  232. - Don't put an extra work item in the queue as each new device thread will do so
  233. itself.
  234. - Make sure to decrease queued count if we discard the work.
  235. - Attribute split work as local work generation.
  236. - If work has been cloned it is already at the head of the list and when being
  237. reinserted into the queue it should be placed back at the head of the list.
  238. - Dividing work is like the work is never removed at all so treat it as such.
  239. However the queued bool needs to be reset to ensure we *can* request more work
  240. even if we didn't initially.
  241. - Make the display options clearer.
  242. - Add debugging output to tq_push calls.
  243. - Add debugging output to all tq_pop calls.
  244. Version 1.5.0 - July 26, 2011
  245. - Increase efficiency of slow mining threads such as CPU miners dramatically. Do
  246. this by detecting which threads cannot complete searching a work item within the
  247. scantime and then divide up a work item into multiple smaller work items.
  248. Detect the age of the work items and if they've been cloned before to prevent
  249. doing the same work over. If the work is too old to be divided, then see if it
  250. can be time rolled and do that to generate work. This dramatically decreases the
  251. number of queued work items from a pool leading to higher overall efficiency
  252. (but the same hashrate and share submission rate).
  253. - Don't request work too early for CPUs as CPUs will scan for the full
  254. opt_scantime anyway.
  255. - Simplify gpu management enable/disable/restart code.
  256. - Implement much more accurate rolling statistics per thread and per gpu and
  257. improve accuracy of rolling displayed values.
  258. - Make the rolling log-second average more accurate.
  259. - Add a menu to manage GPUs on the fly allowing you to enable/disable GPUs or
  260. try restarting them.
  261. - Keep track of which GPUs are alive versus enabled.
  262. - Start threads for devices that are even disabled, but don't allow them to
  263. start working.
  264. - The last pool is when we are low in total_pools, not active_pools.
  265. - Make the thread restart do a pthread_join after disabling the device, only
  266. re-enabling it if we succeed in restarting the thread. Do this from a separate
  267. thread so as to not block any other code.This will allow cgminer to continue
  268. even if one GPU hangs.
  269. - Try to do every curses manipulation under the curses lock.
  270. - Only use the sockoptfunction if the version of curl is recent enough.
  271. Version 1.4.1 - July 24, 2011
  272. - Do away with GET for dealing with longpoll forever. POST is the one that works
  273. everywhere, not the other way around.
  274. - Detect when the primary pool is lagging and start queueing requests on backup
  275. pools if possible before needing to roll work.
  276. - Load balancing puts more into the current pool if there are disabled pools.
  277. Fix.
  278. - Disable a GPU device should the thread fail to init.
  279. - Out of order command queue may fail on osx. Try without if it fails.
  280. - Fix possible dereference on blank inputs during input_pool.
  281. - Defines missing would segfault on --help when no sse mining is built in.
  282. - Revert "Free up resources/stale compilers." - didn't help.
  283. - Only try to print the status of active devices or it would crash.
  284. - Some hardware might benefit from the less OPS so there's no harm in leaving
  285. kernel changes that do that apart from readability of the code.
  286. Version 1.4.0 - July 23, 2011
  287. - Feature upgrade: Add keyboard input during runtime to allow modification of
  288. and viewing of numerous settings such as adding/removing pools, changing
  289. multipool management strategy, switching pools, changing intensiy, verbosity,
  290. etc. with a simple keypress menu system.
  291. - Free up resources/stale compilers.
  292. - Kernels are safely flushed in a way that allows out of order execution to
  293. work.
  294. - Sometimes the cl compiler generates zero sized binaries and only a reboot
  295. seems to fix it.
  296. - Don't try to stop/cancel threads that don't exist.
  297. - Only set option to show devices and exit if built with opencl support.
  298. - Enable curses earlier and exit with message in main for messages to not be
  299. lost in curses windows.
  300. - Make it possible to enter server credentials with curses input if none are
  301. specified on the command line.
  302. - Abstract out a curses input function and separate input pool function to allow
  303. for live adding of pools later.
  304. - Remove the nil arguments check to allow starting without parameters.
  305. - Disable/enable echo & cbreak modes.
  306. - Add a thread that takes keyboard input and allow for quit, silent, debug,
  307. verbose, normal, rpc protocol debugging and clear screen options.
  308. - Add pool option to input and display current pool status, pending code to
  309. allow live changes.
  310. - Add a bool for explicit enabling/disabling of pools.
  311. - Make input pool capable of bringing up pools while running.
  312. - Do one last check of the work before submitting it.
  313. - Implement the ability to live add, enable, disable, and switch to pools.
  314. - Only internally test for block changes when the work matches the current pool
  315. to prevent interleaved block change timing on multipools.
  316. - Display current pool management strategy to enable changing it on the fly.
  317. - The longpoll blanking of the current_block data may not be happening before
  318. the work is converted and appears to be a detected block change. Blank the
  319. current block be
  320. - Make --no-longpoll work again.
  321. - Abstract out active pools count.
  322. - Allow the pool strategy to be modified on the fly.
  323. - Display pool information on the fly as well.
  324. - Add a menu and separate out display options.
  325. - Clean up the messy way the staging thread communicates with the longpoll
  326. thread to determine who found the block first.
  327. - Make the input windows update immediately instead of needing a refresh.
  328. - Allow log interval to be set in the menu.
  329. - Allow scan settings to be modified at runtime.
  330. - Abstract out the longpoll start and explicitly restart it on pool change.
  331. - Make it possible to enable/disable longpoll.
  332. - Set priority correctly on multipools. Display priority and alive/dead
  333. information in display_pools.
  334. - Implement pool removal.
  335. - Limit rolltime work generation to 10 iterations only.
  336. - Decrease testing log to info level.
  337. - Extra refresh not required.
  338. - With huge variation in GPU performance, allow intensity to go from -10 to +10.
  339. - Tell getwork how much of a work item we're likely to complete for future
  340. splitting up of work.
  341. - Remove the mandatory work requirement at startup by testing for invalid work
  342. being passed which allows for work to be queued immediately. This also
  343. removes the requirem
  344. - Make sure intensity is carried over to thread count and is at least the
  345. minimum necessary to work.
  346. - Unlocking error on retry. Locking unnecessary anyway so remove it.
  347. - Clear log window from consistent place. No need for locking since logging is
  348. disabled during input.
  349. - Cannot print the status of threads that don't exist so just queue enough work
  350. for the number of mining threads to prevent crash with -Q N.
  351. - Update phatk kernel to one with new parameters for slightly less overhead
  352. again. Make the queue kernel parameters call a function pointer to select
  353. phatk or poclbm.
  354. - Make it possible to select the choice of kernel on the command line.
  355. - Simplify the output part of the kernel. There's no demonstrable advantage from
  356. more complexity.
  357. - Merge pull request #18 from ycros/cgminer
  358. - No need to make leaveok changes win32 only.
  359. - Build support in for all SSE if possible and only set the default according to
  360. machine capabilities.
  361. - Win32 threading and longpoll keepalive fixes.
  362. - Win32: Fix for mangled output on the terminal on exit.
  363. Version 1.3.1 - July 20, 2011
  364. - Feature upgrade; Multiple strategies for failover. Choose from default which
  365. now falls back to a priority order from 1st to last, round robin which only
  366. changes pools when one is idle, rotate which changes pools at user-defined
  367. intervals, and load-balance which spreads the work evenly amongst all pools.
  368. - Implement pool rotation strategy.
  369. - Implement load balancing algorithm by rotating requests to each pool.
  370. - Timeout on failed discarding of staged requests.
  371. - Implement proper flagging of idle pools, test them with the watchdog thread,
  372. and failover correctly.
  373. - Move pool active test to own function.
  374. - Allow multiple strategies to be set for multipool management.
  375. - Track pool number.
  376. - Don't waste the work items queued on testing the pools at startup.
  377. - Reinstate the mining thread watchdog restart.
  378. - Add a getpoll bool into the thread information and don't restart threads stuck
  379. waiting on work.
  380. - Rename the idlenet bool for the pool for later use.
  381. - Allow the user/pass userpass urls to be input in any order.
  382. - When json rpc errors occur they occur in spits and starts, so trying to limit
  383. them with the comms error bool doesn't stop a flood of them appearing.
  384. - Reset the queued count to allow more work to be queued for the new pool on
  385. pool switch.
  386. Version 1.3.0 - July 19, 2011
  387. - Massive infrastructure update to support pool failover.
  388. - Accept multiple parameters for url, user and pass and set up structures of
  389. pool data accordingly.
  390. - Probe each pool for what it supports.
  391. - Implement per pool feature support according to rolltime support as
  392. advertised by server.
  393. - Do switching automatically based on a 300 second timeout of locally generated
  394. work or 60 seconds of no response from a server that doesn't support rolltime.
  395. - Implement longpoll server switching.
  396. - Keep per-pool data and display accordingly.
  397. - Make sure cgminer knows how long the pool has actually been out for before
  398. deeming it a prolonged outage.
  399. - Fix bug with ever increasing staged work in 1.2.8 that eventually caused
  400. infinite rejects.
  401. - Make warning about empty http requests not show by default since many
  402. servers do this regularly.
  403. Version 1.2.8 - July 18, 2011
  404. - More OSX build fixes.
  405. - Add an sse4 algorithm to CPU mining.
  406. - Fix CPU mining with other algorithms not working.
  407. - Rename the poclbm file to ensure a new binary is built since.
  408. - We now are guaranteed to have one fresh work item after a block change and we
  409. should only discard staged requests.
  410. - Don't waste the work we retrieve from a longpoll.
  411. - Provide a control lock around global bools to avoid racing on them.
  412. - Iterating over 1026 nonces when confirming data from the GPU is old code
  413. and unnecessary and can lead to repeats/stales.
  414. - The poclbm kernel needs to be updated to work with the change to 4k sized
  415. output buffers.
  416. - longpoll seems to work either way with post or get but some servers prefer
  417. get so change to httpget.
  418. Version 1.2.7 - July 16, 2011
  419. - Show last 8 characters of share submitted in log.
  420. - Display URL connected to and user logged in as in status.
  421. - Display current block and when it was started in the status line.
  422. - Only pthread_join the mining threads if they exist as determined by
  423. pthread_cancel and don't fail on pthread_cancel.
  424. - Create a unique work queue for all getworks instead of binding it to thread 0
  425. to avoid any conflict over thread 0's queue.
  426. - Clean up the code to make it clear it's watchdog thread being messaged to
  427. restart the threads.
  428. - Check the current block description hasn't been blanked pending the real
  429. new current block data.
  430. - Re-enable signal handlers once the signal has been received to make it
  431. possible to kill cgminer if it fails to shut down.
  432. - Disable restarting of CPU mining threads pending further investigation.
  433. - Update longpoll messages.
  434. - Add new block data to status line.
  435. - Fix opencl tests for osx.
  436. - Only do local generation of work if the work item is not stale itself.
  437. - Check for stale work within the mining threads and grab new work if
  438. positive.
  439. - Test for idle network conditions and prevent threads from being restarted
  440. by the watchdog thread under those circumstances.
  441. - Make sure that local work generation does not continue indefinitely by
  442. stopping it after 10 minutes.
  443. - Tweak the kernel to have a shorter path using a 4k buffer and a mask on the
  444. nonce value instead of a compare and loop for a shorter code path.
  445. - Allow queue of zero and make that default again now that we can track how
  446. work is being queued versus staged. This can decrease reject rates.
  447. - Queue precisely the number of mining threads as longpoll_staged after a
  448. new block to not generate local work.
  449. Version 1.2.6 - July 15, 2011
  450. - Put a current system status line beneath the total work status line
  451. - Fix a counting error that would prevent cgminer from correctly detecting
  452. situations where getwork was failing - this would cause stalls sometimes
  453. unrecoverably.
  454. - Limit the maximum number of requests that can be put into the queue which
  455. otherwise could get arbitrarily long during a network outage.
  456. - Only count getworks that are real queue requests.
  457. Version 1.2.5 - July 15, 2011
  458. - Conflicting -n options corrected
  459. - Setting an intensity with -I disables dynamic intensity setting
  460. - Removed option to manually disable dynamic intensity
  461. - Improve display output
  462. - Implement signal handler and attempt to clean up properly on exit
  463. - Only restart threads that are not stuck waiting on mandatory getworks
  464. - Compatibility changes courtesy of Ycros to build on mingw32 and osx
  465. - Explicitly grab first work item to prevent false positive hardware errors
  466. due to working on uninitialised work structs
  467. - Add option for non curses --text-only output
  468. - Ensure we connect at least once successfully before continuing to retry to
  469. connect in case url/login parameters were wrong
  470. - Print an executive summary when cgminer is terminated
  471. - Make sure to refresh the status window
  472. Versions -> 1.2.4
  473. - Con Kolivas - July 2011. New maintainership of code under cgminer name.
  474. - Massive rewrite to incorporate GPU mining.
  475. - Incorporate original oclminer c code.
  476. - Rewrite gpu mining code to efficient work loops.
  477. - Implement per-card detection and settings.
  478. - Implement vector code.
  479. - Implement bfi int patching.
  480. - Import poclbm and phatk ocl kernels and use according to hardware type.
  481. - Implement customised optimised versions of opencl kernels.
  482. - Implement binary kernel generation and loading.
  483. - Implement preemptive asynchronous threaded work gathering and pushing.
  484. - Implement variable length extra work queues.
  485. - Optimise workloads to be efficient miners instead of getting lots of extra
  486. work.
  487. - Implement total hash throughput counters, per-card accepted, rejected and
  488. hw error count.
  489. - Staging and watchdog threads to prevent fallover.
  490. - Stale and reject share guarding.
  491. - Autodetection of new blocks without longpoll.
  492. - Dynamic setting of intensity to maintain desktop interactivity.
  493. - Curses interface with generous statistics and information.
  494. - Local generation of work (xroll ntime) when detecting poor network
  495. connectivity.
  496. Version 1.0.2
  497. - Linux x86_64 optimisations - Con Kolivas
  498. - Optimise for x86_64 by default by using sse2_64 algo
  499. - Detects CPUs and sets number of threads accordingly
  500. - Uses CPU affinity for each thread where appropriate
  501. - Sets scheduling policy to lowest possible
  502. - Minor performance tweaks
  503. Version 1.0.1 - May 14, 2011
  504. - OSX support
  505. Version 1.0 - May 9, 2011
  506. - jansson 2.0 compatibility
  507. - correct off-by-one in date (month) display output
  508. - fix platform detection
  509. - improve yasm configure bits
  510. - support full URL, in X-Long-Polling header
  511. Version 0.8.1 - March 22, 2011
  512. - Make --user, --pass actually work
  513. - Add User-Agent HTTP header to requests, so that server operators may
  514. more easily identify the miner client.
  515. - Fix minor bug in example JSON config file
  516. Version 0.8 - March 21, 2011
  517. - Support long polling: http://deepbit.net/longpolling.php
  518. - Adjust max workload based on scantime (default 5 seconds,
  519. or 60 seconds for longpoll)
  520. - Standardize program output, and support syslog on Unix platforms
  521. - Suport --user/--pass options (and "user" and "pass" in config file),
  522. as an alternative to the current --userpass
  523. Version 0.7.2 - March 14, 2011
  524. - Add port of ufasoft's sse2 assembly implementation (Linux only)
  525. This is a substantial speed improvement on Intel CPUs.
  526. - Move all JSON-RPC I/O to separate thread. This reduces the
  527. number of HTTP connections from one-per-thread to one, reducing resource
  528. usage on upstream bitcoind / pool server.
  529. Version 0.7.1 - March 2, 2011
  530. - Add support for JSON-format configuration file. See example
  531. file example-cfg.json. Any long argument on the command line
  532. may be stored in the config file.
  533. - Timestamp each solution found
  534. - Improve sha256_4way performance. NOTE: This optimization makes
  535. the 'hash' debug-print output for sha256_way incorrect.
  536. - Use __builtin_expect() intrinsic as compiler micro-optimization
  537. - Build on Intel compiler
  538. - HTTP library now follows HTTP redirects
  539. Version 0.7 - February 12, 2011
  540. - Re-use CURL object, thereby reuseing DNS cache and HTTP connections
  541. - Use bswap_32, if compiler intrinsic is not available
  542. - Disable full target validation (as opposed to simply H==0) for now
  543. Version 0.6.1 - February 4, 2011
  544. - Fully validate "hash < target", rather than simply stopping our scan
  545. if the high 32 bits are 00000000.
  546. - Add --retry-pause, to set length of pause time between failure retries
  547. - Display proof-of-work hash and target, if -D (debug mode) enabled
  548. - Fix max-nonce auto-adjustment to actually work. This means if your
  549. scan takes longer than 5 seconds (--scantime), the miner will slowly
  550. reduce the number of hashes you work on, before fetching a new work unit.
  551. Version 0.6 - January 29, 2011
  552. - Fetch new work unit, if scanhash takes longer than 5 seconds (--scantime)
  553. - BeeCee1's sha256 4way optimizations
  554. - lfm's byte swap optimization (improves via, cryptopp)
  555. - Fix non-working short options -q, -r
  556. Version 0.5 - December 28, 2010
  557. - Exit program, when all threads have exited
  558. - Improve JSON-RPC failure diagnostics and resilience
  559. - Add --quiet option, to disable hashmeter output.
  560. Version 0.3.3 - December 27, 2010
  561. - Critical fix for sha256_cryptopp 'cryptopp_asm' algo
  562. Version 0.3.2 - December 23, 2010
  563. - Critical fix for sha256_via
  564. Version 0.3.1 - December 19, 2010
  565. - Critical fix for sha256_via
  566. - Retry JSON-RPC failures (see --retry, under "minerd --help" output)
  567. Version 0.3 - December 18, 2010
  568. - Add crypto++ 32bit assembly implementation
  569. - show version upon 'minerd --help'
  570. - work around gcc 4.5.x bug that killed 4way performance
  571. Version 0.2.2 - December 6, 2010
  572. - VIA padlock implementation works now
  573. - Minor build and runtime fixes
  574. Version 0.2.1 - November 29, 2010
  575. - avoid buffer overflow when submitting solutions
  576. - add Crypto++ sha256 implementation (C only, ASM elided for now)
  577. - minor internal optimizations and cleanups
  578. Version 0.2 - November 27, 2010
  579. - Add script for building a Windows installer
  580. - improve hash performance (hashmeter) statistics
  581. - add tcatm 4way sha256 implementation
  582. - Add experimental VIA Padlock sha256 implementation
  583. Version 0.1.2 - November 26, 2010
  584. - many small cleanups and micro-optimizations
  585. - build win32 exe using mingw
  586. - RPC URL, username/password become command line arguments
  587. - remove unused OpenSSL dependency
  588. Version 0.1.1 - November 24, 2010
  589. - Do not build sha256_generic module separately from cpuminer.
  590. Version 0.1 - November 24, 2010
  591. - Initial release.