forked from LordzS/sgminer-x17
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ChangeLog
6162 lines (6162 loc) · 437 KB
/
ChangeLog
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
Updated on Fri Jun 27 18:24:12 EEST 2014.
If working with git, use `git log --oneline --decorate` for latest change log.
------------------------------------------------------------------------
92d2256 (HEAD, tag: 4.2.2, sgminer-dev/master, origin/master, origin/HEAD, master) Bump version to 4.2.2.
ae94126 tools: update_changelog.sh and entire ChangeLog.
5cc43f2 (ystarnaud/master) misc: ChangeLog typo.
411a413 Merge branch 'dejavusec-backport'
ae7dbca (dejavusec-backport) stratum: parse_notify(): Don't die on malformed bbversion/prev_hash/nbit/ntime.
cab6e28 stratum: parse_reconnect(): treat pool-sent URL as untrusted.
91d29ea Stratum: extract_sockaddr: Truncate overlong addresses rather than stack overflow
44e7709 Bugfix: initiate_stratum: Ensure extranonce2 size is not negative (which could lead to exploits later as too little memory gets allocated)
1bd9636 Fixed found blocks calculation.
b08782f Merge pull request #214 from sterlingpickens/patch-1
812efe4 initial_args warning
246615f initial_args warning
c46c913 doc: mention optional name/desc/algo for addpool.
49eae16 (tag: 4.2.1) doc: NEWS.md typo.
76c462d Bump version to 4.2.1.
22a3c5b Reverting 83d71da. VS2010 fix.
addc411 Merge pull request #212 from Fcases/master
8fe9b0a Added ultratune
87ece62 (tag: 4.2.0, sourceforge/master) Bump version to 4.2.0.
9fd94b5 doc: list kernels alphabetically.
67763bf Merge remote-tracking branch 'bufius/master'
0b0a3ed (bufius/master) core. include check in ocl.c regarding lookup-gap for kernel 'bufius'
6d5e7bd add credits
292ede3 format code
3c14f0a slightly improved performance, works with LG of 2, 4 and 8
ecfd497 core: remove second-to-last remnants of hotplug.
e32dcd7 (sling00/master) Mark pool as idle if stratum restart is failed
9867676 Set the pool idle and switch pool, if need
c469ff9 Disconnect from pool, if auth is failed
3eb22b2 api: write xintensity and rawintensity using api_add_int().
d27e869 api: Add XIntensity and RawIntensity to `devs` output.
5b05454 config: Don't write commas if not needed, default to `opt_algorithm` when adding pool without one set explicitly.
f3df639 Merge pull request #203 from sterlingpickens/master
ff45bb3 Update configure.ac
83d71da Update sgminer.c
89c1411 Update driver-opencl.c
bfff79c Merge branch 'api-quit'
eb53e32 misc: add API restart/quit changes to NEWS.md.
3a6c1c8 RPC: Provide a full status section for quit/restart commands
828aa7b misc: update NEWS.md with changes from `api-compatibility` branch.
2f3e08a Merge branch 'api-compatibility'
47d00ee api: add missing header.
5bd5b07 (origin/api-compatibility) RPC: Add "Miner" to version response to include software name along with version
897ca9f Merge pull request #200 from Elbandi/poolnamefix
973dcef Use get_pool_name everywhere
b090ac9 misc: veox can no longer actively maintain this software.
3d7167c config: improve pool section writing.
e42f77d misc: moved from veox/sgminer to sgminer-dev/sgminer
7bc0be0 misc: FAQ cleanup.
b2462e6 misc: Add Michael Fiano <mfiano> to AUTHORS.md.
f570991 (tag: 4.1.271) api: Bugfix, bump version to 4.1.271, initialise name/desc/algo in addpool() so checks for NULL work.
49fecf9 misc: Bump version to 4.1.270.
92c3b5e api: set algorithm properly on addpool.
5409ffc api: check if name/desc/algo are NULL and fill with defaults if so.
9aaff8c api: bump version, but allow name/desc/algo to be missing when adding pool details.
3c3a584 ui+api: ask for pool name/description/algorithm when adding pool from NCurses/API.
e731aa1 Merge pull request #193 from troky/master
2a087a7 Added algorithm name to 'pools' API command.
01e9660 Fixed (pool) algo selection.
da667d6 config: write pool name and description to config.
2c00158 Merge pull request #189 from Bllacky/patch-7
942c671 Update miner.h
b3d483a core: revert two of the changes in Bllacky's pull request #187.
b457461 Merge pull request #187 from Bllacky/patch-5
fe64ac9 (bllacky/patch-7) Update sgminer.c
1dc8aab Update sgminer.c
4f3d2ed misc: set `algorithm` for pool in example.conf.
aa5f4c7 config: add `const` qualifier to set_pool_{algorithm,nfactor}().
7051629 log: change log level in setup_stratum_socket().
0dcb6ca doc: clarify `algorithm` usage in a config file pool section.
e7078a5 misc: clarify currentpool() comment.
f6616aa config: allow specifying per-pool algorithm with `--algorithm` instead of `--pool-algorithm`.
53a199a config: use get_pool_name() in set_pool_algorithm() and set_pool_nfactor().
af879b1 core/misc: rename set_poolname() to set_pool_name().
cc59247 adding mrbrdo to AUTHORS.md for kernel hot-switching
3ddf6ba core: rename default_algorithm to opt_algorithm.
0793c96 Merge remote-tracking branch 'mrbrdo/poolalgo' into poolalgo
336135f (tag: 4.1.242) misc: Bump version to 4.1.242.
b6218e2 config: rename --pool-priority to --priority, --coin to --description.
cc735db misc: don't violate reserved identifier naming convention.
cabb02f log: do not show pool difficulty changes on non-current pool.
4c64a19 Merge pull request #181 from morenoh149/patch-1
3c5f0fa made debian apt-get a one-liner
74ec146 added clarification for dependencies
cdb817b (mrbrdo/poolalgo_working_2_4_2014) Change algorithm more robustly and faster, previous way was buggy
c2131df add support for setting algorithm/nfactor for each pool separately, and fix bugged OpenCL thread cleanup (thread shutdown)
9a2b928 misc: update NEWS.md with reference to mailing lists and duplicate entry removal.
a57f841 Revert "fix for mingw-w64"
e1b944e (veox-sf/master) doc: update README.md with links to mailing lists.
2724091 doc: minor README wording.
9e97ccd adl/misc: remove unused lpAdlDisplayInfo (silence GCC warning).
db0f7cf core: silence gcc warning about sprintf() use in add_pool() - this time for sure.
524833f adl/misc: remove unused iNumDisplays.
5fd5e3b adl/misc: mention that the found adapters are logical.
5896da1 core: remove total_users, total_passes, total_userpasses (no longer used).
08ff157 config: write `algorithm` to config if not default.
27e4515 opencl: move lookup-gap check for kernel zuikkis to after it is set from opt_lg.
377266a misc: update NEWS.md (with what was added in #168).
8203fea config: move `--coin` in config table (alphabetically).
e7ca7fa Merge pull request #168 from troky/testing
bc9b313 opencl: check if gpus.kernelname has to be free()'d before setting.
18d9c64 opencl: update comment on generated binary file name.
10ec776 pool: don't pass unused argument to sprintf() in add_pool().
ac3d138 Revert "core: correctly parse boolean configuration values."
bcb78ed Added --coin pool parameter.
17f5e29 Fixed configuration/command line parsing.
8db5302 Added --pool-priority
1f7b7ef stratum: move log warning under opt_disable_client_reconnect clause.
01b3f70 A new --no-client-reconnect command that disables the 'client.reconnect' function. It looks like there's an exploit that abuses said command, but it is still not clear exactly how.
aa471a2 api: remove unused SCRYPTSTR.
e02f111 opencl: reuse strbuf in initCl, get rid of poorly-named numbuf.
89d6416 log: warn on using kernel zuikkis with lookup-gap != 2.
7a3a510 log: mention non-user-settable kernel parameters in "Initialising kernel" notice.
0d89777 opencl: correctly test if no kernel name was specified in config.
1b3df7c doc: add note on incognito mode in doc/BUGS.md.
29cbd1f doc: make the title of your issue report informative.
57fce98 Merge pull request #159 from troky/api-ext
9414592 Added pool name to API "pools" command
04942b6 Merge pull request #155 from troky/master
9e481eb VS2010 build: Removed kernel name definitions.
ea9c54a (mrbrdo/kernel-name) misc: update NEWS.md.
41f9948 doc: update README.md doc list, rename KERNEL.md to kernel.md.
9b68b27 doc: update doc/KERNEL.md to reflect the fact that kernel names are no longer hard-coded.
106dbee core: check if GPU thread is disabled before checking if it's waiting on getwork.
e0736b1 misc: suggest checking configuration in log message.
98cd96f opencl: add log notice, change another to notice level, shorten comment.
0adf597 build: remove kernel name definitions from configure.ac.
87801c2 opencl: rename cgpu_info->kname to cgpu_info->kernelname.
4ea5088 opencl: rename queue_scrypt_kernel() to queue_kernel().
3787f47 misc: add comment on what cgpu_info->{,k}name are.
c9ccf55 opencl: remove cl_kernels structure definition and mention.
1333ed5 core: simplify kernel selection code.
f2934d8 (mrbrdo/master) misc: set `algorithm` in example.conf, set GPU clocks as if there were 3 GPUs.
ddd3b12 misc: change `poolname` to `name` in example.conf.
fc902f0 pool: add back --poolname as hidden option for backward compatibility.
49aef71 Reverting "poolname" to "name".
43f9678 misc: mention adaptive-n-factor support in NEWS.md.
ef14022 misc: typo in doc/configuration.md
d2c6f9a Merge pull request #149 from troky/master
958764f MSVS build: Fixed debug build. MSVS doesn't like uninitialized variables.
6b0b424 Fixed API timeval formatting again. Use of snprintf() causes problems in MSVS.
bf2ca7b doc: update doc/configuration.md with `algorithm` aliases.
b80f6c2 misc: fix typo in NEWS.md.
8079d05 Merge branch 'nfactor'
e59e4f5 (tag: 4.1.153) Bump version to 4.1.153.
0db99d6 (mrbrdo/nfactor) algorithm: add nfactor aliases "adaptive-n-factor" and "nscrypt".
2b75a67 Merge pull request #147 from troky/nfactor
0e37fc2 Added algorrithm name to "coin" API command. Changed default algo name to "scrypt".
609b4f0 Merge pull request #145 from troky/master
2524286 API: Fixed timeval struct formatting .
07f5787 Merge pull request #144 from troky/master
2ff4234 Merge pull request #143 from Bllacky/patch-4
e7fbdf3 Removed orphan file.
f7f5827 Fixed bufsize type.
e2763e7 (bllacky/patch-4) Update README.txt
549d01e Merge pull request #142 from Bllacky/patch-3
6a32e17 (bllacky/patch-3) Update README.txt
95e397d Merge pull request #140 from troky/nfactor
a697c66 Merge pull request #139 from Bllacky/patch-1
201036d Added algorithm.* and inttypes.h for MSVS build
0b5aace (bllacky/patch-1) Update README.txt
4ed13e4 doc: update configuration.md with latest on --algorithm and --nfactor.
a3f9b24 core: set default algorithm for when neither --algorithm nor --nfactor are provided.
c6a2770 core: use global algorithm structure instead of opt_nfactor.
a0c52bf config: introduce set_nfactor() and use it to call set_algorithm_nfactor().
92b7770 config: add `--algorithm` option and documentation.
50a792f algorithm: initial set_algorithm() and set_algorithm_nfactor().
776eec2 algorithm: initial structure definition.
c2c8231 kernel: zuikkis supports all worksizes.
28ade9f Merge remote-tracking branch 'troky/build-msvs2010-upd2'
ded4452 ui: check for opt_incognito is Display settings menu.
8f014ef util: add missing include.
9c0f912 core: remove ifdef from opt_compact and opt_incognito declaration.
747efda MSVS2010: Added pool.c and pool.h to project.
428061e pool: display URL instead of "Pool N" if no poolname provided.
4059780 pool: do not use defines, just inline strings.
d58de45 pool: use get_pool_name() where appropriate.
0a4f718 pool: use get_pool_user().
934c4f5 pool: introduce get_pool_user() for simpler opt_incognito use.
bd6766f pool: define and use POOL_NAME_INCOGNITO.
8e4fb3c pool: abstract get_pool_name()
0d562ff core: use opt_incognito in a few more applog() places.
888fab4 ui: <incognito> pool name in incognito mode, too.
2bab1d7 doc: update BUGS.md.
4c4b909 doc: in example.conf, remove boolean values (and ones related to them) set to non-default states.
a511266 doc: minor fix for --help message on `--incognito`.
5a8f84b ui: allow switching to incognito mode through ncurses interface.
d78f372 core: undo some of previous two commits and andd conditionals to display user name as `<incognito>` instead.
2561295 log: do not set poolname in log in incognito mode.
f737992 (bllacky/master) core: introduce `--incognito` + minimal revision of `--compact`.
8ff6246 doc: verbose FAQ answer on running per-instance.
9eba015 doc: update example.conf.
394c200 doc: minor FAQ update (formatting and reference a Q from another).
11cf733 (bllacky/nfactor) misc: fix spaces after closing parenthesis.
e18bcc2 kernel: use N-factor table instead of passing parameter N directly.
3afaaf1 ocl: rename nfactor to N where appropriate.
c159470 doc: update Windows build references in README.md.
c4c85ca (mrbrdo/nfactor-zuikkis, bllacky/nfactor-zuikkis) misc: add FIXME for scrypt_test() and scanhash_scrypt().
2135777 scrypt: remove commented-out magic numbers.
4b3b2ef ocl: use 'nf' instead of 'n' in compiled kernel binary name.
5b42d38 ocl/misc: spacing.
7217da3 ocl: vectors are hard-set to 1, add appropriate "optimisation".
ab9fcb1 ocl: use same type convention for nfactor (`cl_uint` instead of `int`).
c4edf50 VS2010 build: Cosmetic changes in project configuration.
dab737c VS2010 build: Fixed compatibility with non-MSVS compilers.
3640f14 Merge remote-tracking branch 'dadiv/zuikkis-nfactor' into nfactor
ee70f9f misc: FAQ formatting.
ae23d25 api: proper type casting for MSVS support.
2b9a588 (dadiv/zuikkis-nfactor) Update sgminer.c & scrypt.c
73bb150 Scrypt-nfactor support!
44aed35 (dadiv/master) Merge branch 'build-msvs2010-upd' into build-msvs2010-merge
a38f01c misc: explain gpu-threads comment FIXME.
323c849 Merge pull request #106 from sshimko/master
45a16f1 Fixup --help on intensities.
80e6307 Merge branch 'port-ckolivas-3.12.3'
edc94b0 (dadiv/port-ckolivas-3.12.3) misc: update NEWS with what's been ported from ckolivas/cgminer.
fa21900 Merge pull request #100 from gionn/patch-1
7ca0965 Fixed md formatting in MINING.md
a825524 We shouldn't block on no work situations directly from the getwork scheduler itself.
b9b3abe Make the pthread cond wait in the getwork scheduler a timed wait in case we miss a wakeup.
ac3f6c5 misc: add note about ports from ckolivas/cgminer.
7134cd7 Add debug output when get_work() is blocked for an extended period and add grace time to the device's last valid work to prevent false positives for device failure.
26c4be8 Show device info in noffset nonce share above target message.
aca8a58 Only show one decimal place if pool diff is not an integer.
117c032 Slowly remove work even if it's not being used to keep the getwork counter incrementing even if work is not used and as a test that pools are still working.
5dad99c Give device info with share above target message.
f8b9e41 Check for when errno is set on windows as well as the windows variant for errors.
88c7720 These may not be longs (eg: OSX)... fo a safe cast to ensure.
a1844cd API-README correct new text format documentation
ae837a7 API allow multiple commands/replies in one request
b5abf68 Always show the stratum share lag time in debug mode.
9c59fe2 Add stratum share response lag time to verbose output if it's greater than 1 second.
7731806 Add stratum share submission lag time to verbose information if it's over 1 second.
f7394ff Check for more interrupted conditions in util.c and handle them gracefully.
90cc93c Add the ability to display a hexadecimal 32 bit unsigned integer to the API.
6b246a5 Handle interruptions to various select calls in util.c
95ac0c4 Export the flush_queue function for use by drivers.
ab805ec Remove wrong goto
d5d34f2 Remove the unqueued work reference when we discard work from get queued as well.
ee7fb11 Wake the global work scheduler when we remove a work item from the unqueued work pointer.
2cea7ce Discard work that is stale in the get_queued() function, returning NULL instead.
8592226 Add a get and queue helper work function.
0115125 Add a call to a driver specific zero stats function when zero stats is called to allow each driver to reset its own stats as well if desired.
796c032 misc: note having ported changes up to cgminer 3.12.0.
dc76748 Fix displayed diff when solo mining at >2^32 diff.
aeaedef misc: note about updates from ckolivas/cgminer.
c31de26 Store when the last getwork was retrieved and display it in the API summary.
d1e2bfa Make submit_tested_work return a bool about whether it meets the work target or not.
a58ef1b Provide a helper function for determining dev runtime and use it in the hashmeters used.
3323f9f Generically increase the queue if we are mining on a pool without local work generation each time we run out of work.
5167962 Change new block detection message since longpoll is rarely relevant today.
1ad3285 Use unused line at the top of the log window which often gets stuck unchanging.
cc2aa21 Clear pool work on a stratum reconnect message.
faf63ec Modify thread naming to make them easier to identify
301daae api.c 2014
b6c6ec5 api add data type AVG float 3 decimal
83ea44a api.c set the actual version number to 3.0
83176cb API V3.0 unlimited socket reply size
003b65b Change stratum strings under stratum_lock in reconnect and free old strings.
91d36d0 log: add LOG_DEBUG message on restarting stratum.
ed586c4 misc: indentation.
abeeff3 log: print getaddrinfo() error description.
1819064 conf: disable API by default.
21ba583 Merge pull request #96 from honeymaker/patch-1
dc9f270 log: disable spammy log message.
fad2c66 Update example.conf
a8dfb3e pool: add getaddrinfo() LOG_DEBUG messages.
a1724e3 api: add missing extern declaration (for consistency).
115eb1a pool: be verbose on which pool failed.
87102ec pool: additional debug logging for stratum pools.
4e08eb4 api: bump API version number to indicate changes that happened after 4.0.0.
dab1d35 log: add LOG_INFO message about suspended stratum to stratum_rthread().
861307b VS2010 build: Fixed debug build. Moved some windows related defines to preprocessor.
9e4c276 VS2010 build: removed unused defines.
be4305e doc: FAQ formatting (allows linking to specific questions).
806b236 doc: Change answer about scrypt-jane/Keccak/SHA-3 support.
ee5995e doc: add FAQ (Kessak/SHA-3).
02d409f misc: add Markus Peloquin to AUTHORS, reorder.
ae3c7c0 Merge remote-tracking branch 'markuspeloquin/master'
f4fcc7a Add clarification to Cygwin install section.
2c53b8a Add Cygwin build instructions.
6450f46 VS2010 build: Fixed git versioning script
dfc7f57 VS2010 build: removed gitversion.h from repo since it is created dynamically.
914f89b doc: add a FAQ.
fc51d16 VS2010 build: config.h cleanup and offload. Added git versioning.
a0132b6 doc: remove old references to NVidia cards.
c09a5b4 core: remove num_processors (unused).
3f5485a misc: clarify comments in switch_pools().
dde099f doc: Reorder FAQ to have more common questions on top, fix a few links.
b178ade VS2010 build: Added PSW kernel. Version bump to 4.1.0.
bf8e37c Support building in cygwin.
4ce8a3e misc: AUTHORS formatting.
dff7876 Merge branch 'master' into build-msvs2010-upd
feac311 VS2010 build: Converted applog() macro to function.
d6e46f2 doc: recommend ADL version 6.
321c4c7 (tag: 4.1.0) Bump version to 4.1.0.
3c324a6 doc: update FAQ.
8043af5 core: write gpu-threads to config when using ncurses menu.
b5b20c1 core: make errors on reading experimental options from config less scary.
e465779 doc: Update README.md
0a3710d doc: update FAQ, rename to FAQ.md.
c061b4e doc: Update part of MINING, rename to MINING.md.
9e9ac30 doc: KERNEL.md formatting.
4300e42 doc: fix link in BUGS.md.
2a950ff doc:BUGS.md minor updates.
8dd1c2d core: correctly parse boolean configuration values.
0e8ec8d pools: Allow disabling pool even if it's the last one enabled.
f5c51b7 build: don't allow disabling OpenCL (it is mandatory).
3f34049 core: change default scantime/expiry to 7/28 (back to 1:4 ratio).
3ae7531 adl: rename adl_errors() to adl_error_desc(), shorten error desc's, handle unknown error
b298675 Merge remote-tracking branch 'deba12/master'
cd63c1b Add descriptive adl errors
f2f2bce build: use git version if available.
76b79b2 build: fix AC_INIT string of configure.ac.
52e9df8 help: temp-target and temp-overheat had identical descriptions that do not describe what they actually do.
b8f4419 Merge pull request #69 from Oriumpor/patch-2
8b92708 Replace second ZUIKKIS_KERNNAME for PSW_KERNNAME
ad5b5fd Merge pull request #64 from bigchirv/patch-1
4082064 Adding definition for psw's kernel name.
638b24d doc: update KERNEL.md.
23eb242 kernel: make psw usable, reorder cases alphabetically.
bda1070 kernel: add psw kernel.
21c007e VS2010 build: Static pthreads compiling and linking.
7084571 VS2010 build: Added library building instructions.
922bf25 Fix build error in changed compat/jansson-2.5/src/dump.c (missing 'struct').
975139e VS2010 build: Prepared jansson for VS compile.
80d0032 VS2010 build: added sleep/usleep macros
b3dbe14 Fixed le25todouble() casting.
e0c380a Fixed missing realloc removed by mistake.
b97a641 Merge branch 'master' into build-msvs2010-upd
2e16fb5 doc: Update BUGS.md to ask whether using precompiled binary.
464913a misc: Update AUTHORS (add Perry Huang, reorder).
c235220 ui: Don't display pool list N times if N pools are set hidden in config.
37f60c3 Merge pull request #59 from perryh/add_api_khs
8bd980d Add API_KHS endpoint.
9f99474 pools: Revert back to "Pool N" default pool name, and use json_array_index to set it.
ed61c38 build/mingw: style fixup after tonobitc merge.
241c94c Merge remote-tracking branch 'tonokip/master'
32b13cc fix for mingw-w64
d56d4ce include winsock2.h to resolve ws2tcpip.h conflict
af01573 sleep function still needed for MingW not MW-W64
e123cc2 kernel: search in `pwd`/kernel/ for kernels.
d203ddd ui: remove mention of cgminer in "Settings" menu.
83d984a doc: add releases, issues and irc channel to README.
6c343ae VS2010 build: Added libs download link.
14aac4b VS2010 build: move windows config.h gitignore rule to winbuild/.gitignore
e053f49 VS2010 build: Missing config.h and .gitignore rule to keep windows config.h
d9eb547 VS2010 build: revert le256todouble() cast/ref/deref change.
8d25b38 VS2010 build: winbuild/* dist and project files.
761f100 VS2010 build: fix a segfault from a removed realloc.
108ac24 core: check for GPU_* environment variables unconditionally.
87e5f35 VS2010 build: commit elist.h and relevant changes in sgminer.c and util.c
5078db8 VS2010 build: Prepare util.c
e35d7b1 VS2010 build: Prepare scrypt.c
17ef58b doc: typo in doc/KERNEL.md
5d57691 VS2010 build: Prepare ocl.c
7ac101f VS2010 build: Prepare miner.h
b5a3dbe VS2010 build: Prepare hexdump.c
db35294 VS2010 build: Prepare findnonce.c
8c0e250 VS2010 build: Prepare driver-opencl.c.
cf70796 VS2010 build: Prepare compat/jansson-2.5.
5ce16a4 VS2010 build: ccan/opt
84eefc7 VS2010 build: prepare API.
da42e6a VS2010 build: prepare ADL.
cd5fa8d Merge branch 'windows-cross-compile'
e081a66 doc: add note about --disable-adl-checks.
2879994 adl: only ask for iDrvIndex on Linux.
b56e65a misc: line wrap.
a65ff54 doc: update README.md with "state" option.
d3a3ee6 misc: update AUTHORS.md with recent testers.
d7c8d1d core: change scantime/expiry to 10/30 from 30/120.
64fc832 pools: initial implementation of pool state machines.
1ebcb07 Merge branch 'master' into pools
cae071b Merge branch 'kernels'
67d15f2 Merge branch 'adl-extra-logging'
e269656 Merge branch 'pools-joe'
048c82b pools: rename 'pool->enabled' to 'pool->state'.
22b78e9 tui: Refactor status line printing.
6417bcc Merge remote-tracking branch 'joe/pool_options' into pools
90d49e9 Updated the README file to explain the 'remove-pool' json config file option
b1eb2ab Implemented the 'remove-pool' config option for json file pools
817ed55 Pool management option now shows pool name when available
dd7bd69 Updated README to explain new 'disable-pool' configuration file option
1d81196 Added a 'disable-pool' option to the json configuration, to allow pools to be started up disabled
8a6c716 Merge pull request #40 from gacheson/master
1eacb3f Fixes for "--pools" flag and fatal JSON error
e0ca8eb doc: Simplify paths for cross-compiling instructions in windows-build.txt
f321a02 Add clarification on Windows cross-build, out of tree is possible
47d83df doc: revert some formatting changes made by Drogean to windows-build.txt
1ceedd5 Add some notes about cross-compiling cgminer for Windows from Linux
06240b9 cross-compile: comment out sleep().
6089dfb adl: code cleanup after last commit.
7123851 Added the stratum port to the status print
a7bca56 Getting some extra log messages in the adl handling code
08abb9e build: reorder ADL checks.
de08e71 core: write xintensity and rawintensity to config, add vectors back as a hidden option; a little whitespace for readability.
dda6284 core: Add -v as an shorthand for --verbose.
e8978db kernel: slight refactor, add warnings about new kernels, and known limitations of zuikkis.
7a69044 doc: update KERNEL.md
abf1b94 doc: update README.md to point to KERNEL.md
5f795be core: use kernel name defines now that version date is not in the filenames.
68f0a45 doc: BUGS.md
e9af210 doc: change bog reporting address.
45848ed misc: Add Kalroth's bitcoin donation address.
d04a8d1 tui: display line getting off-screen on narrow terminals.
d11df69 --rawintensity option, by request of Dead2. This setting allows to set the GPU intensity value directly without any modifiers, it does not get any more raw than this! Look at the xintensity description raw for examples of regular intensity values. You can also set this value through the ncurses interface by pressing: G -> A -> select device id -> enter value.
967c757 Cleaned a few messages up after pool naming feature.
0c38db6 build: Add --disable-adl-checks
cb174d4 Failover pool switching back delay is now configurable. --failover-switch-delay sets the delay in seconds before switching back to a failed pool, default is 60 seconds.
35a2394 kernel: fix alexkar* kernel crashes due to missing case in switch.
45bf2f2 doc: Add debug compilation instructions.
2f1fafe doc: skeleton KERNEL documentation.
629f7b1 kernel/zuikkis: remove unneeded comments and change defines.
4de2785 misc: add ozbenh and gdevenyi to AUTHORS.md.
4ac17b0 misc: Add Zuikkis and Alex Karimov to authors.
8bb66ad Merge remote-tracking branch 'origin/kernels' into kernels
5f326d6 kernel: allow choosing Alexey Karimov's kernels.
9545c14 Merge pull request #25 from gdevenyi/kernels
81337e0 kernel: vanilla Alexey Karimov kernels (alexkarnew and alexkarold).
a6ccc05 Replace multiply by 2 (i*2) with left shift. This should be slightly faster. Can't use OpenCL rotate becase of bit carry overs
f796aa5 kernel/misc: change ckolivas.cl encoding to UTF-8.
7950c10 kernel: integrate Zuikkis' kernel, selectable with `--kernel=zuikkis`.
afdc8b5 kernel: zuikkis' vanilla kernel added.
9d1db95 misc: move scrypt130511.cl kernel file to kernel/ckolivas.cl
875db70 adl: unambiguosly check if FanSpeedInfo specifies support for either mechanism to set FanSpeed.
74fb5ab adl: Set iSpeedType to RPM for get-fanspeed requests
99fa25c core: don't use magic numbers to set xintensity.
463668b core: initial implementation of user-settable xintensity. Has a bug.
9d0b7f9 core: Accidentally left a part of a previously non-merged commit (thread display).
1049af3 misc: Add Luke-jr back to AUTHORS.md and reorder a bit.
3faf4dd Use lround instead of llround, since it has better compatibility with older MingW and Cygwin versions
7aeae40 EXPERIMENTAL: A new way of setting intensity; introducing xintensity! All of this is credited to ArGee of RGMiner, he did the initial ground work for this setting.
d7e469b Stratum servers can now be named. The names will be used throughout the display in the program, when not set "Pool 1" will simply be used instead. The names are not exposed through API yet, it's on my TODO list.
2f0fac6 core: Allow setting kernel.
b16a05a core: lower maximum intensity to 31.
39b9945 Changed API reporting of MH/s for added precision.
bc1ce69 doc: minor FAQ update.
f16f1b1 Merge pull request #13 from Drogean/patch-1
b1de4c8 Added SGMINER specific steps
3845e89 doc: wrong link in ADL_SDK readme.txt.
693a567 Merge pull request #3 from jbruggeman/master
4b7cf40 doc: update faq to remove non-scrypt (irrelevent) information
9b37a01 doc: update windows doc to reflect changes in configure.ac
3af2534 doc: missing 'make' in README + file name misspelled.
3bf3df0 (tag: 4.0.0) Bump version to 4.0.0.
cbad2d6 doc: clarify what doc/GPU is.
1192008 ui: Don't pad most displayed strings with spaces.
e46581d Remove --vectors (current kernel only supports 1 vector).
e6b5fb7 core: remove deprecated --scrypt option.
50066cf misc: Replace all remaining instances of 'cgminer' with 'sgminer'.
6ea3b93 core: fix build error due to CGMINER_PREFIX reference.
9d16ff9 doc: reference veox/sgminer in ChangeLog.
683abd0 build: fix warning + other small fixes.
5b97712 misc: Replace many (but not all) instances of 'cgminer' with 'sgminer'.
909af92 Merge pull request #2 from veox/forward-port
65518d3 api.c no decref if not json
350fe7f Minimise risk of nonce2 overflow with small nonce2 lengths by always encoding the work little endian, and increasing the maximum size of nonce2 to 8 bytes.
9628207 Provide a helper function that can reset cgsems to zero.
1559450 Add to cgminer_CPPFLAGS instead of redefining them.
747d870 build: remove reference to a linux-usb-miner
d26fb09 Replace deprecated use of INCLUDES with _CPPFLAGS.
1ca4198 Quieten down jansson component of build.
0a187bd Fixed one byte stack overflow in mcast recvfrom.
65d9136 Fix json parsing in api.c
79521fe Initialise devices before attempting to connect to pools to allow their thread prepare function to be called before having to connect to pools.
7d2cee3 Drop json stratum auth failed message log level to verbose.
39b7bc2 Silence irrelevant warning.
05d69bf Provide a function to discard queued work based on age. (NOTE: may be unused)
ebeb710 Decrement json references in api.c to not leak memory.
c8b97fb line 2913 added urlencode
93782c3 Update api example compilation instructions.
7dd8b31 Prevent a deadlock with use of restart_threads by spawning a thread to send the driver flush work messages.
3912118 Set priority of various threads if possible.
e9f20f5 Do not hold the mining thread lock in restart_threads when calling the driver flush work commands.
b5eddd1 Don't run device restart code if the device is not enabled.
9ed6c3b Provide a function for setting the work ntime.
89000ff api.c trylock() add missing locklock
d976abe api.c: Release apisock on error in api()
7383e19 api.c: Release io_data->ptr when releasing io_data in io_free()
f1902fe We can't connect to a GBT pool at all with fix protocol enabled.
cb806d2 core: Display difficulty in cgminer style, not true network difficulty (for consistency within the interface).
08727c1 Update authors.
4c99829 Merge pull request #1 from veox/forward-port
8fa5ddf util.c: Decreasing reference count on allocated JSON obects to prevent memory leak
cd7f6ed Initialise the stgd lock mutex earlier to prevent dereferences when pool testing occurs before it.
694a98e --shares should be scaled to diff1 not absolute number of shares
cd03fcd Reset the work_restart bool after the scanwork loop in case the driver flushes work synchronously.
75c5ac0 Only check for the stratum clean message if we have had a valid message.
d38802a Get rid of the stage thread since all work can be asynchronously added now via hash_push anyway.
c9bf06d Break out of the hash work loops when a failure is detected instead of dropping into mt disable.
d9b3037 Fix build for no libcurl
be02704 doc: update README, rename CONFIGURATION back to SCRYPT.
e4680ab core: allow changing TCP keepalive packet idle time using `tcp-keepalive` command-line option or config-file option.
bb5065b core: Remove two unused functions.
211da58 Remove a few stray ASIC defines.
d6f5f01 doc: move to separate directory.
21289de misc: Remove LICENSE (use COPYING).
83e52df api: remove references to FPGAs and ASICs.
71927bb misc: Add Martin Danielsen to AUTHORS.
b11ca36 Remove remaining references to have_opencl.
744e819 Remove last references to opt_nogpu.
2799c23 Added BIOS information to --ndevs|-n listing.
e3d2579 doc: If ADL SDK is used, then version 5 or 6 is required.
45b1219 misc: Change encoding of adl_functions.c to UTF-8.
783cd01 Preparation for ADL Overdrive 6 support There's no functionality implemented yet, nor has the existing functionality been changed.
11c20c8 core: Warn if GPU_MAX_ALLOC_PERCENT or GPU_USE_SYNC_OBJECTS is not set
31123de -g or --gpu-threads now support comma separated values, yaaay! It is exactly what it says, now you can finally put that Frankenrig configuration in one file. The parameter follows the same design as gpu-engine and gpu-memclock.
b4e36e6 Code cleanup after last two commits.
d53b329 core: Revert printing threads for every GPU, this setting is not modifiable at run-time.
89663c7 Display reject percentage instead of absolute accepted/rejected values
3ade514 log: Do not pad log string with a space.
f6f9502 log: Change log_dateformat to log_show_date and make it bool.
ba1c477 log: Added a switch to the log date and time format.
fd8d465 core: Timeout on switching back to a pool after a broken connection lowered from 5 minutes to one minute.
5f8e69f doc: Fix build instructions.
02c7b9d misc: AUTHORS cleanup.
1cb2207 core: Clarify --scrypt deprecation message.
8cc7ba7 misc: Add Benjamin to AUTHORS.
9b8a731 core: Add back a dummy --scrypt option
4256bd1 adl: Properly restore default perf levels
f44d2fc adl: Fix query of default fan speed
199cb10 HAVE_OPENCL is mandatory, remove checks form code an build system.
75e0cfc Update AUTHORS (add Noel Maersk aka veox).
dcd417a Update README with minimal instructions on how to build with ADL SDK.
e1413db README stray semicolon.
a5ba238 README whitespace.
82298d6 README update.
dcb0111 Add all sources unconditionally in Makefile.am.
edf6779 Minor README improvements.
16730ed Reinstitute MAX_INTENSITY=42, but this time with a note in SCRYPT-README.
4bc93fb Remove mentiones of unused options.
4532cb5 Minor SCRYPT-README imrovements.
d062a60 Revert MAX_INTENSITY increase.
533f16a Increase MAX_INTENSITY to 42.
ebecc79 Remove unused HashFast header files.
fd57382 Remove USE_USBUTILS define clauses.
664fc33 Remove code for Bitcoin GPU kernel execution.
ec1796e Remove scrypt selection form configure.ac altogether.
59c46ff Don't track *.lo
323af83 Remove define-clauses for USE_SCRYPT.
aa06d39 Don't report that scrypt is enabled in configure output.
95586f7 Squash-merge branch dead-end with unnecessary check removals.
9f64ee9 Remove USB, FPGA and ASIC files.
bb29c29 Update README warning.
37cd3fb Get rid of several opt_scrypt checks.
593080d Update READMEs.
d0070c0 HARD RESET to: Remove Bitcoin detection code.
8ea32a0 Don't run configure automatically.
829f068 Bump version to 3.7.2
5d7c99f Revert "Return ETIMEDOUT regardless if we fail in cgsem_mswait since we may be waiting on it on shutdown and the return response is harmless."
0485208 Bump version to 3.7.1
528eadb Update NEWS
3dcae53 Return ETIMEDOUT regardless if we fail in cgsem_mswait since we may be waiting on it on shutdown and the return response is harmless.
82a97a0 Avalon doesn't like losing its device data even after it's been unplugged.
31bbaa1 Don't free the cgpu data on shutting down avalon driver.
ce19604 Clean up completely on avalon shutdown.
a4c96d7 Use cgsem timed waits in avalon driver to not miss any queued wake ups to account for async messages coming during a flush work.
7011a7a Statline before is too long on icarus that doesn't have monitoring.
b1be5c6 Different windows+usb combinations respond with varying levels of reliability wrt timeouts so use a nominal extra 40ms before cancelling transfers that fail to time out on their own.
21f1895 Revert "Use no cancel transfer functions on windows in callback_wait"
757fcb3 Do all hotplug_process under the write mining_thr_lock
2489b2a Fix for opt_worktime on big endian machines.
463e366 Correct set_blockdiff for big endian machines.
043e9d9 Make sure cgpu exists in the restart threads loop in cases of hotplug etc.
6bc691a Treat usb write timeout errors as unrecoverable.
42b3cf1 Transfer errors are filtered out in usbutils now so no need to look for them in NODEV checks.
2e11a50 Remove now unused entries from struct cg_usb_device
e692cd0 Do not double up with checking for end of timeout measurements in usb read/write.
8f6acad Use no cancel transfer functions on windows in callback_wait
c030439 Do get_work in fill_queue without holding other locks.
4a620cc Initialise usb after all the locks and conditionals are initialised.
aa99389 Use only a trylock in flush queue to prevent deadlocks.
f4cf093 Add a wr_trylock wrapper for pthread rw lock write trylock.
251e1a9 Give AMU a much longer timeout on windows than other icarus devices.
609ca92 Scale diff for scrypt when testing for block solves.
c5b10a6 Fix for non curses build.
e503fad Bump version to 3.7.0
87f1a3f README updates.
e6e39ab Update NEWS
8b38d7f Use WRITEIOERR macro check for all usb writes.
38164d6 Merge branch 'icarushit'
8fb7a0d Always use a usb read buffer instead of having to explicitly enable it.
e3ed101 Force unlocking of the console lock on restart to avoid corrupting the console state when we finally quit.
6c2a8d8 Force unlocking of the console lock on restart to avoid corrupting the console state when we finally quit.
c9b54f1 Never wait indefinitely for a pthread conditional in the hash_pop loop in case the work scheduler misses the last wakeup.
a077c9f Make hash_pop signal the work scheduler each time it waits on the conditional that it should look for more work.
3f9ccc1 Never wait indefinitely for a pthread conditional in the hash_pop loop in case the work scheduler misses the last wakeup.
31df767 Make hash_pop signal the work scheduler each time it waits on the conditional that it should look for more work.
310aa75 Discriminate between libusb transfer errors and regular libusb errors and make sure to capture them all.
d1683fe Always read a full sized transfer for bulk reads.
fc80e2f Deprecate preferred packet size functions in usbutils since they're unhelpful.
ea12210 Why are we reading extra again in usb read when buffering is enabled? Don't do that.
38d9c24 Copy known transferred amount back to buffer for usb reads instead of requested length.
b5dfb8f Ignore preferred packet size.
0cceacc Treat timeout errors on usb writes as IO errors.
dfba30b Ignore iManufacturer from bitfury devices to support bluefury as well as redfury.
9579782 Add more debugging info for when usb details don't match.
73f6a57 Look for timeout overruns in usb read/write.
ccb7423 Use an int for usb_read/write to identify overruns.
1f22746 Use the callback timeout as a safety mechanism only on windows.
4c0b643 Instead of using complicated sleeps to emulate characters per second on usb writes, submit only as many characters as can be transferred per usb poll of 1ms, and use timeouts in bulk transfers, cancelling transfers only as a failsafe.
efc605f Ignore iManufacturer from bitfury devices to support bluefury as well as redfury.
ef0b7d3 Add more debugging info for when usb details don't match.
8194067 Remove discarded work from quota used.
c385437 Display works completed in summary and API data.
8e1ec8b Store how many work items are worked on per pool.
ab1e940 Make each pool store its on reference for what the most current block is and fine tune management of block change in shared pool failover strategies using the information.
448b1fa Rationalise use of current_hash to a single hex string the length of the previous block and display only the first non zero hex chars of the block in the status window.
b764862 Update uthash to latest.
e6a5068 show_hash doesn't know the size of the string so hard code the max size.
57d6a6f Remove as many initial zeroes as exist on share display, abstracting out a hash show function to use across different submission mechanisms.
6e63eeb Add missing endian swap functions for 64bits.
876a830 Sanity check for absurd target setting and divide by zero.
21bdcdd Abstract out conversion of a 256 bit endian number to a double, correcting errors and use it for determining any magnitude share diff.
759bd39 Avoid the extra generation of a byte flipped hash2 in struct work and directly use the LE work hash.
e95b42e Add a sanity check to avoid divide by zero crashes in set_target
8abe9d4 Calculate diff from target accurately for all 256 bits.
8d61ee2 Set a true 256bit binary target based on any diff value in set_target()
6129739 Provide a copy_work_noffset function for copying a work struct but changing its ntime.
e18ae1e Make calls to flush queue and flush work asynchronous wrt to the main work loops.
39c8491 Share is also above target for submit noffset nonce.
8ed9363 Use round for displaying current pool diff.
eb73897 Use round for stratum share diff display instead of floor.
7e59ec4 Use round instead of floor for displayed pool difficulty.
ac5b12e Allow arbitrary diffs to be tested against nonces via a test_nonce_diff function.
99b24c4 Abstract out the rebuilding of hash2 in work.
5da3d58 Share is above, not below target, when it doesn't meet it.
25d4f16 Add the ability to add uint8 and uint16 entities to api data.
eaaf34a Use a non blocking connect with a 1 second select timeout when initiating stratum to allow us to iterate over all IPs returned by getaddrinfo in round robin DNS pools.
774061e Minor style changes to output.
c4542f2 Merge branch 'master' into hfa
b431ea4 Merge branch 'master' into kncminer
178c9a0 Revert two different hash_sequence(_head)'s to one variable, use HF_SEQUENCE_DISTANCE in both places
fdcac44 Remove duplicate HF_SEQUENCE_DISTANCE() macro, and duplicate hash_sequence from info structure
d6e9a5a Change SEQUENCE_DISTANCE() macro to HF_SEQUENCE_DISTANCE()
065054f Structure changes for OP_NONCE, add big endian header
f562174 klondike - initialise stat_lock
75230ed klondike - better to unlock locks than to lock them twice :)
5c9f303 Merge branch 'master' into hashfast
b542f52 Add copyright notice to knc driver.
6e3bee0 Trivial style changes to knc driver.
f75fdbb Improve performance of work generation by optimizing hex2bin and bin2hex
3e93b26 klondike - change options to clock and temptarget only
5ce372e klondike - fix another uninit dev warning
b4eb870 klondike - downgrade 'late update' but add an idle detect - and correct error levels
4153d90 klondike - fix isc uninit warning
d3f3388 Merge branch 'master' into kncminer
e684358 Use a mutex to protect data in the knc structure, to prevent loading more work during a flush, and unlock and return to main between calls to get_queued_work.
ac7dc46 Use the existing device_data for knc state data.
1388b84 Revert "Process multiple responses in the knc driver."
32ec362 Only count successful nonces as hashrate in the knc driver.
76af3bf Process multiple responses in the knc driver.
5467dfe Fix trivial warnings in knc driver.
6bcd60a Add KNC to api
3b04a30 Merge branch 'master' into kncminer
2bfd8e2 Merge pull request #513 from kanoi/master
037f430 klondike - drop the device for hotplug if it's unresponsive
5bd1b56 usbutils - usb_nodev() allow a driver to drop a device
50c8377 klondike - single 'shutdown' and ensure it happens
a39a38e Merge pull request #512 from kanoi/master
0e4997a klondike remove SCNu8 - unsupported on windows
a821df6 Correctly calculate sleep_estimate in usbutils that may have been preventing usecps from working.
b424612 Use a sanity check on timeout on windows.
6d4a03a Better HW error count; disable permanently those cores which fail often
53570ae KnC driver: knc-spi-fpga ASIC driver
dee0192 Improve performance of work generation by optimizing hex2bin and bin2hex
4bc955c Fixup jansson & libusb include paths when using separate build directory
14d2083 'llround' is more suitable here than 'roundl'
1e51336 Silence warning if MAX/MIN is already defined
1ceeb3b Remove prebuild ccan/opt dependencies
36c6da8 Reinstate block solve testing.
3f6b9d6 Dramatically simplify the calculation of blockdiff.
ca91994 Simplify the set_target function, allowing it to work properly for fractional diffs.
4940b71 Merge branch 'master' into hashfast
1e35965 Bump version to 3.6.6
e8abedb Update NEWS.
691a681 Remove inappropriate extra locking in _usb_transfer_read
2d67bb0 Merge branch 'master' into hashfast
47554f8 Bump version to 3.6.5
5b1d46e Update README for build options.
1da5592 Update NEWS
f9d3d00 Merge pull request #509 from roybadami/master
a95dfb1 klondike - fix uninitialised dev bug
e1b4aa9 Merge branch 'master' into hashfast
3ffc3f1 Adjust the binary ntime data in submit_noffset_nonce even when there is no hex ntime string for eg. gbt.
f29f612 Merge branch 'master' into hashfast
316e6d6 Put an entry into the work struct telling drivers how much they can roll the ntime themselves.
0657b64 Only set libusb cancellable status if the transfer succeeds.
4728dd8 Remove the applog on miner threads dying to prevent deadlocks on exit.
4c979d7 Do one extra guaranteed libusb event handling before testing if there are any pending async usb transfers.
0da551f Use a linked list for all usb transfers instead of just cancellable ones.
d342bcb Provide a mechanism for informing drivers of updated work templates for stratum and gbt mining.
8795fbc Remove modified Bitburner avalon defaults - I was mistaken about maximum stack size
7b5884c Add cancellable transfers correctly to the ct_list
e22035f Check for presence of thr in icarus get nonce for startup nonce testing to work.
f8fdff4 Use cancellable usb transfers in the icarus driver to avoid having to loop and poll when waiting for a response and to speed up work restart response time.
2b99893 Add a usb_read_ii_timeout_cancellable wrapper
9d8e3df Add usb transfer cancellation on shutdown and documentation regarding where cancellable transfers are suitable.
eb5b611 Use cancellable transfers on bitfury device.
d2feacd Cancel cancellable usb transfers on work restart messages.
5166083 Don't bother having a separate cancellable transfer struct for usb transfers, simply include the list in the usb_transfer struct.
c96f096 Add wrappers for usb_read_cancellable and usb_read_timeout_cancellable
c2c6987 Specifically set the cancellable state for it to not be uninitialised in the usb transfer struct.
b52bb5c Alter the usb cancellable list only under cgusb_fd_lock write lock.
19ec360 Pass the cancellable option to _usb_read options to decide on whether to add usb transfers to the list of cancellable transfers.
2b075cc Create a linked list of potentially cancellable usb transfers.
b639e68 Merge branch 'master' into hashfast
448f8dd Don't attempt to disable curses or print a summary during an app restart to prevent deadlocks.
251b71b Merge branch 'master' of github.com:ckolivas/cgminer
81dfe60 Keep the libusb event handle polling thread active until there are no async usb transfers in progress.
824aa5c Keep a global counter of how many async usb transfers are in place.
856471e Perform libusb_submit_transfer under the write variant of cgusb_fd_lock
3c2647d Merge pull request #511 from kanoi/master
8437805 klondike - error condition handling
5ea6a8e Merge branch 'master' into hashfast
4f7b6fe Avoid entering static libusb directory if --with-system-libusb is enabled.
e764213 Minor opencl build corrections.
ed16f32 Enable dynamic linking against system libusb --with-system-libusb
9fa8e92 Modify Makefile to only include opencl related code when configured in.
05478b5 Convert opencl to need to be explicitly enabled during build with --enable-opencl
d2719e3 Implement a cglock_destroy function.
de4ad51 Implement a rwlock_destroy function.
6bd5139 Implement a mutex_destroy function.
fc6472f Minor buildfix for other platforms.
669bcac Merge branch 'master' into hashfast
269a145 Add usb command name to critical libusb error reporting.
ce61b9b Merge branch 'master' of github.com:ckolivas/cgminer
8dcbc86 Use windows' own higher resolution time and handlers allowing us to have higher precision absolute timeouts.
563cad1 Fix lldiv error in windows cgminer_t calculation.
9932c95 miner.php correct sort gen field names largest to smallest
d9449b2 api ... the code related to device elapsed
939b8d0 Merge branch 'master' into hashfast
cac7cdb api add device elapsed since hotplug devices Elapsed is less than cgminer Elapsed
5ee279c Add atmel init sequence likely to be required on hashfast for windows to work.
75726f6 Implement max temp and volt monitoring on statline for hashfast driver.
f5679aa Check for nodev on hashfast driver and disable it if it has disappeared.
1eb1806 Limit the number of work items we queue at any one time in the hashfast driver and do not keep updating the job count during the scanwork() loop to prevent indefinitely changing our tail.
ad8e0f1 Free hashfast structures allocated on driver shutdown.
44cc52c Drop usb buffering message to debug logging level.
6493b97 Drop usb buffering message to debug logging level.
cbb72aa Drop sending op_usb_init message level in hashfast driver to verbose logging.
2a92d2a Make the cmd stored in hfa_cmd structure a uint8_t to match opcodes.
a999611 Op work restart needs a usb command macro offset for hashfast driver.
1bafafb Enable USB buffers for hashfast on initialise and clear buffers where appropriate.
17baf45 Send correct command with hfa_send_frame in hashfast driver.
eb1f54f Add die temperatures and voltages to hashfast api output.
5acaf1f Add die statistics to hashfast api output.
9645c1a Add asic and core counts to hashfast api data.
1124853 Add hf_long_usb_stats1 to hashfast api data.
063b2db Add hf_usb_init_base info to hashfast api output.
273b04b Do the ntime binary modification to the work struct when submitting an ntime offset nonce within submit_noffset_nonce
572c8b9 Do the ntime binary modification to the work struct when submitting an ntime offset nonce within submit_noffset_nonce
a9835b0 Implement a shutdown routine for the hashfast driver.
71c6206 Remove unused statistics from hashfast driver struct and don't pack hashfast info structs since there is no need for them to match the device ones identically.
6b2a39d Add op stats1 processing for the hashfast driver.
92a5a2d Implement update_die_statistics for hashfast driver.
5d61677 Code cleanup and improved documentation
51548c6 Move to consistent function names hfa_ for hashfast driver.
8218ba2 Implement OP_NONCE processing in hashfast driver read thread.
c69a130 Improvements to support for BitBurner boards
0ae3e1e Implement update_die_status message parsing for hashfast.
f340c52 Implement reading of a whole hashfast packet from the read thread and parsing it, implementing parsing of gwq status.
12be011 Updates to hf_protocol header
31e8eba Merge branch 'master' into hashfast
eed0afc Convert libusb transfer errors to regular libusb error messages to allow for accurate message reporting.
43699c7 Bump version to 3.6.4
d58f2f0 Update NEWS.
d77f367 Fixing the memory leak for remaining semaphores means we can go back to using async transfers on other OSes with our own timeout management again.
06776af Use the forcelog function on shutdown to cope with indeterminate console lock states due to killing of threads.
8e9f32a Add a forcelog variant of applog which invalidates any console lock to force output.
3956382 Send pthread_cancel to failed completion_timeout that has timed out.
f5baf9f Merge branch 'master' into hashfast
680f014 Simplify queued hashtable by storing unqueued work separately in a single pointer.
dfa849a bflsc use getinfo chip parallelization if it is present
4aa84ab bflsc - fix brackets so [Chips] isn't always null
7838af1 Remove unused variables.
40821d1 Use cgcompletion timeouts for the unreliable shutdown functions on kill_work.
0430165 Fix cgcompletion return code and free on successful completion.
f826e35 Provide a cg_completion_timeout helper function for unreliable functions that takes arbitrary functions and parameters and reliably returns.
b1fc68b Merge pull request #508 from kanoi/master
789d448 Perform sync transfers on shutdown to allow final transfers to complete.
011f2d3 Merge branch 'master' of github.com:ckolivas/cgminer
ad8d949 Destroy cgsems used after transfers to not leave open files on osx.
03d9f56 klondike rewrite work control
c9adb19 allow __work_complete() access
3fc7ff4 miner.h allow devices to tv_stamp work
06ed3e3 Bump version to 3.6.3
4b44396 Update NEWS
c04f3bf Merge branch 'master' into mergelibusb
514b3c4 API add 'MHS %ds' to 'summary'
d3d3fc1 Optional lock tracking and stats via the API
685c2ac Speed up polling repeat again in usb poll thread and handle async after the message to disable polling is complete.
920c0bd Merge pull request #507 from kanoi/master
55e233d API add 'MHS %ds' to 'summary'
103bc0b Revert to using timeouts on !linux since libusb leaks memory without them.
bf810a1 Merge pull request #506 from kanoi/master
c2073f0 Optional lock tracking and stats via the API
74a4ccb Bump version to 3.6.2
eac5d49 Update NEWS.
65b130c Remove unused components of jansson
4ed54d8 Remove unused parts of libusb
539f2c3 Work around older libtoolize that fails without top ltmain.sh not being present during autogen
40034ba Add m4 directory to jansson
ec4dfc5 Fix open coded use of autoreconf in autogen
77cffa2 Update jansson to only build parts we require and suited to our build environment.
d529a3f Initial import of jansson-2.5
955e971 Prevent further USB transfers from occurring once the shutdown signal has been sent to prevent transfers getting stuck and libusb failing to shut down.
bec75b6 Make the USB polling thread poll every second to potentially aid longer timeout transfers.
f821d0f Set device_diff on work in get_work to not be missed with drivers that use get_work directly.
330e642 Convert icarus driver to hash_driver_work model.
addb848 bflsc - also allow ' 0' in DEVICES IN CHAIN
8455cc3 bflsc - allow a 0 in DEVICES IN CHAIN
c70cea2 Bump version to 3.6.2
a461a91 Update NEWS.
7a32a7b Remove unused components of jansson
b84166e Remove unused parts of libusb
84382e1 Work around older libtoolize that fails without top ltmain.sh not being present during autogen
8f3a055 Add m4 directory to jansson
53bcd25 Fix open coded use of autoreconf in autogen
3488cc9 Update jansson to only build parts we require and suited to our build environment.
591aa98 Initial import of jansson-2.5
3c9d61e Merge branch 'master' into libusbx
4e5946d Prevent further USB transfers from occurring once the shutdown signal has been sent to prevent transfers getting stuck and libusb failing to shut down.
b683145 Make the USB polling thread poll every second to potentially aid longer timeout transfers.
bc0bb82 klondike - adjust work matching and cleanup
ecacb24 miner.h allow devices to tv_stamp work
c52973a klondike - ensure all memcpy use the size of the target
8dbe1a6 Merge to master
fe5da96 Set device_diff on work in get_work to not be missed with drivers that use get_work directly.
58c5ebb Convert icarus driver to hash_driver_work model.
2bbe492 Merge with master
dd1f67f bflsc - also allow ' 0' in DEVICES IN CHAIN
1f166d9 bflsc - allow a 0 in DEVICES IN CHAIN
ab5b222 Bump version to 3.6.1
7e43f51 Update NEWS for 3.6.1
7c6bd4a Emulate the libusb_control_transfer sync setup in our async variant.
e6280c8 Add the libusb control setup size offset for control writes.
91d1d10 Merge branch 'master' of github.com:ckolivas/cgminer
8fdaeb0 Differentiate send from receive in control transfers!
bae0815 Merge pull request #505 from kanoi/master
108e737 usbutils - make all libusb_error_name messages the same
a089cac Bump version to 3.6.0
1016616 Further update NEWS
9e287f9 Merge pull request #499 from someone42/master
f706fef Merge branch 'master' of github.com:ckolivas/cgminer
4b66519 Update NEWS.
fb32e31 Merge pull request #504 from kanoi/master
38f10c0 Rename hfa_read thread on it starting.
53b33c8 Limit max diff internally used by hashfast driver to 256 to still get some nonces back to check for errors if mining at very high diff.
3dda8a2 Cosmetic changes to hashfast output.
fe945e1 Implement primary scanwork loop submitting work and returning hashrate for hashfast.
8b24b3d Send a work restart frame when the restart message is received in hashfast scanwork.
222af65 Remove hashfast write thread for all writes can be done from scanwork without added complexity.
e9b67b5 Pass the thr argument to the read and write threads for hashfast to have access to its data.
5cbe4be Incorporate hf protocol header changes.
e06e495 Merge branch 'master' into hashfast
1452cbf klondike - can only calculate the nonce difference on or after the 2nd nonce
c3b0566 Merge branch 'master' into libusbx
5c7b9f7 Merge pull request #503 from kanoi/master
0783707 hexstr is too small in test_work_current
166200c Windows uses errno for WSAETIMEDOUT
02a4f8d Convert the usb callback function to using cgsem_t timed waits to avoid race conditions with conditionals/mutexes.
c9c39ac Give correct return code in cgsem_mswait
1d9f90b Revert "Convert the usb callback function to use a cgsem_t using the timedwait code to avoid races with mutexes/conditionals."
433465b Convert the usb callback function to use a cgsem_t using the timedwait code to avoid races with mutexes/conditionals.
6e948d8 Check for correct timeout error in cgsem_mswait
51f8107 Fix util.h exports for cgsem_mswait
c75ce85 Implement a generic cgsem_mswait similar to sem_timedwait
634151f Merge branch 'master' into hashfast
9ca22ed Use the one LIBUSB_ERROR_TIMEOUT for cancelled transactions since this error is explicitly tested for in various drivers.
a7580f1 Do not use locking on usb callback function pthread signalling to prevent deadlock with libusb's own event lock.
8d1604a Do not use locking on usb callback function pthread signalling to prevent deadlock with libusb's own event lock.
d2d7a74 Merge branch 'master' into hashfast
280dc4b Lock mutex before second pthread_cond_wait in usbutils to prevent a race.
3c7af2e Join threads to close hashfast driver.
598b58c Create basic read and write threads that will be used by hashfast driver.
93d1f93 Perform remainder of hashfast_detect_common setup.
cbfa78e Device data will not be allocated in hashfast_detect_one_usb so no point freeing it.
49befae Get remaining data from reset sequence on hashfast driver.
922b4d8 Store the device data returned from hashfast header returned in reset
775f204 Check return code from hashfast_get_header in reset and fail when appropriate.
d7a907f Timeout should not be a fatal error in hashfast_get_header
58dd80e Implement a hashfast get_header function which reads till it finds a header preamble or times out.
4b9eb37 Implement hashfast send header function and add relevant usb op codes to arrays, beginning reset sequence on hashfast detection.
e7a9aef Add hf_protocol.h to cgminer sources.
176cae2 Add basic definitions for hashfast device recognition.
df6873e Remove old initialisation code from hashfast, use hf protocol library where possible and prepare for new driver model.
f1941db Minor style changes.
4664350 Include hf protocol header.
6e2d12e Remove now unused crc32 code from hashfast driver.
9b5c534 Merge branch 'master' into hashfast
9d29e09 Merge branch 'master' into libusbx
84de52c Use a write lock when performing any USB control transfers to prevent concurrent transfers.
c069028 Free a libusb transfer after we have finished using it to avoid a dereference in usb_control_transfer
578fabe Do not perform bfi int patching for opencl1.2 or later.
84f642f Although async transfers are meant to use heap memory, we never return before the transfer function has completed so stack memory will suffice for control transfers, fixing a memory leak in the process.
16bd0a0 klondike - correct/reverse min/max stats
da7223f api incorrect message name
f1d77f1 klondike - use a link list queue rather than a circular buffer - and add timing stats
56edabc Use a timeout with usb handle events set to a nominal 200ms and wait for the polling thread to shut down before deinitialising libusb.
9f8023a Use stack memory for hex used in stratum share submissions.
e0c9035 Use stack memory in test_work_current, avoiding a malloc/free cycle each time.
d3c215f Provide a lower level __bin2hex function that does not allocate memory itself.
835ad82 Convert the bitfury driver to use the hash_driver_work version of hash_work.
58008a3 Add a hash_driver_work function to allow for drivers that wish to do their own work queueing and management.
e8b51b2 Merge branch 'master' into libusbx
3b2630c Merge branch 'master' of github.com:ckolivas/cgminer
2ca8d85 Convert all usb control transfers to asynchronous communication with our own timeout management as well.
159673c Merge pull request #502 from kanoi/master
595dcdf Klondike - increase circular read buffer size
8e82da4 Klondike - extra zero value and range checking in temp conversion
44f96c6 klondike - display MHz also
64f5cac Merge branch 'master' into libusbx
b537976 Make pthread conditional timeouts handle all bulk usb transfer timeouts performing libusb_cancel_transfer, disabling timeouts within libusb itself.
5af1cfe increasing max miners for avalon driver (properly this time)
b509e84 using separate identifier for bitburner fury boards
521e746 changes to bitburner driver for bitburner fury boards
cda797d Avoid calling get_statline_before on exit to avoid trying to use it on drivers in an indeterminate state.
d437de8 Avoid calling get_statline on exit.
03ad59f Add a small amount to the usb timeout before cancelling to allow for a regular usb polling interval to pass.
08d8612 Do not attempt to clear a usb halt before sending the cancel message since all transfers should normally be cancelled before attempting to clear a halt condition, and only change the return message to a timeout if it's consistent with a cancellation.
6d18ce4 Retry up to USB_RETRY_MAX times to clear a halt condition before failing.
3a7a677 Show the error number as well as the description in erroring bulk transfers.
7fbe999 Drop logging level for failed to connect to stratum to verbose mode only since we hit it regularly.
a139196 Update NEWS.
b5dface We are always dependent on libusb handling events so use the blocking libusb_handle_events in the polling thread and use a bool to know if we should continue polling.
853aa28 Merge branch 'master' into async
b30ae4a Use fractional hashrate return values in bitfury_scanhash to minimise the number of times we return 0 based on hashrate so far to further damp out displayed hashrate.
32bc746 Check for presence of driver name in DRIVER_COUNT_FOUND to prevent strcmp on a null pointer when a driver is not built in.
a715d27 Merge pull request #501 from kanoi/cmr
d97c3a4 API-README update pgaset, pgaidentify and ascset docs
39ac69c CMR allow sending flash and clock commands
2834eb8 Kill off threads that have failed using hash_sole_work instead of just disabling them.
bdbe9dd Make the bf1 getinfo size a macro
e05bfdd Failing to add_cgpu in bitfury should be a terminal failure.
078f7f4 Check return values when attempting to open a BF1 device and set the msg size as a macro.
a5ed177 Revert "Further smooth out avalon hashrate by limiting the maximum number of nonces counted each cycle to 1 per miner, saving them for later cycles."
7be5999 Further smooth out avalon hashrate by limiting the maximum number of nonces counted each cycle to 1 per miner, saving them for later cycles.
dc9c378 Display errors on failed usb read and write and consider sequential IO errors a permanent failure.
a22f5bf Use libusb's own error name function instead of hand coding the error names.
936fca4 Limit ms_tdiff to 1 hour as a sanity check.
39ec951 Enable the usb buffer in avalon driver.
efd8c44 Check for async transfer variants of error messages.
2806f49 Revert "Check for the async variants of the libusb errors and retry up to retry max when trying to clear a pipe error/stall."
d34279b Remove unused variables.
f80c900 Merge branch 'master' into async
f8e28f2 Try switching pools if for some reason we end up with only idle pools and have ended up current_pool set to an idle one.
3b527f1 Check a pool is stable for >5 mins before switching back to it.
ef8efd6 Minimise the time between dropping the read devlock and grabbing the write devlock to avoid tons of logging spam in the interim.
97b5dd0 Limit ms_tdiff to 1 hour as a sanity check.
6c757c6 Check for async transfer variants of error messages.
85e0b3a Check for the async variants of the libusb errors and retry up to retry max when trying to clear a pipe error/stall.
a79768b Use libusb's own error name function instead of hand coding the error names.
74775e4 Check for libusb transfer stall error to be consistent with async IO errors returned for a halt condition.
38ae709 Check for continuous IO errors on USB and consider the device inactive if more than retry max.
7318ece Make the devlock a cglock in usbutils and only grab the write lock for fundamental changes allowing us to send and receive transfers concurrently without lock contention.
d5e9e08 Prevent overflows in us_tdiff and ms_tdiff.
8037eb1 Change second initialise message on bitfury verbose mode.
8c0ea19 Submitting an ntime offset nonce needs to be done on a copy of the work instead of the original so abstract out shared components as much as possible, minimising strdups in copy_work and make submit_work_async work take copied work, cleaning up code in the process.
b6a97de Provide a way for drivers to submit work that it has internally rolled the ntime value by returning the amount it has ntime rolled to be added.
fb79b37 Typo in configure.ac
6cd7f0f Remove unmaintained broken ztex driver.
680a1ae Icarus - use a data structure for I/O rather than magic numbers
2b6d1a3 delete old tracked ccan/opt/*.o files
9eb7810 klondike correct cvtKlnToC() temperature calculation
d5b3f55 klondike - correct 1st reply debug based on define
0d9f338 klondike - debug dump structured replies
11a3641 klondike - avoid division by zero if maxcount is unexpectedly zero
b5ea2bf klondike store and report errorcount and noise
2e606d8 klondike - fix chipstats api stats buffer overrun with 16 chips
d7db1e8 klondike add new nonecount only once
577f1a2 klondike - report mh/s based on nonces found + put old estimate into API stats
ef54de1 klondike use a memcpy
e8d49bc klondike fix bracket tabs indenting
e11b6d7 api.c missing Klondike from ASIC list
51418f7 Klondike update code to current git
26ee9ab Add Klondike to README
b79f444 Add Klondike to ASIC-README
56b461c Add 2nd CMR to 01-cgminer.rules
2a9527f Add Klondike to 01-cgminer.rules
7b6a97f Klondike to main directory
2f00a90 Klondike consistent code spacing
5e3404b Klondike update driver code to current git
087159a update firmware for 16 chips, add dist files
1dc8ea7 beta final 0.3.0 release
1a755a5 updated firmware, IOC method
2fb4b62 prevent nonces when not state W
9bc1c8b added driver config option support
5ae1502 fixes for 300 MHz, fix K1 parts list
72a5872 update driver, docs
cc1e9fb update firmware & utils
6176c52 updated cgminer driver for 3.3.1
8ddd6b2 update firmware and driver, create new cgminer fork
88dc03d update klondike driver
46520a9 add cgminer driver file as-is
998182f Add API output displaying USB cancellations.
585d4af Store statistics on how often we have to cancel async bulk transfers and add a debug message whenever we do.