Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
591 commits
Select commit Hold shift + click to select a range
ff05aac
attempt to fix memory issues when doing curl calls
mrbrdo Jun 8, 2014
0f9bf18
Add option --more-notices & shorten stale submit
platinum4 Jun 7, 2014
a5fd98c
declare opt_morenotices;
platinum4 Jun 7, 2014
77c9968
fix compiler warning and indentation
mrbrdo Jun 9, 2014
954c0e6
fix opt_kernel_path writing over the allocated memory! also some smal…
mrbrdo Jun 9, 2014
d1f7ef6
is already locked at this point
mrbrdo Jun 9, 2014
2877e8d
of course it needs to be a write lock! fixes segfault
mrbrdo Jun 9, 2014
9fdd23e
since mining_threads count can change, we need to lock more carefully…
mrbrdo Jun 9, 2014
2ea8f5d
just in case, read-lock devices
mrbrdo Jun 9, 2014
25d7d42
convert tabs to spaces in most commonly modified files
mrbrdo Jun 9, 2014
280a64e
Squelch "Network diff set" unless --more-notices
platinum4 Jun 9, 2014
3cbfe25
fix bug where device is not restarted after overheating and cooling off
mrbrdo Jun 9, 2014
d818014
index was into cgpu threads, not into global mining threads
mrbrdo Jun 9, 2014
d8d8ba8
adl spaces indentation
mrbrdo Jun 9, 2014
9f6bf16
Refactored logging. Increased default log buffer size.
troky Jun 10, 2014
cbc2282
Removed trailing slashes from folder paths to avoid kernel building u…
troky Jun 10, 2014
6971ce6
logging spaces/indentation
troky Jun 10, 2014
fd35c77
Kernel include path fix.
troky Jun 10, 2014
24fa44e
Make sure log string is null-terminated.
troky Jun 10, 2014
cd9864f
Removed unneccessary code introduced in 954c0e6
troky Jun 10, 2014
f9a8e66
Fixed crash when changing display modes (#237)
troky Jun 11, 2014
d83d7bd
Removed original sha2 and made code use sph_sha2
troky Jun 12, 2014
60a7902
MSVS project cleanup.
troky Jun 13, 2014
5ba1772
algorithm spaces/indentation fix
troky Jun 13, 2014
c924433
Lock tracking code fixed for MSVS.
troky Jun 15, 2014
e7228b2
talkcoin-mod
lasybear Jun 15, 2014
8ad1d91
Fixed MSVS project bug introduced in d83d7bd386
troky Jun 16, 2014
a85e669
Fix compatibility with AMD drivers 14.6
lasybear Jun 16, 2014
b2e500e
Fixed pool name display in rejected share notice when pool name is lo…
troky Jun 16, 2014
c0d79fa
Refactored kernel source loading (missing / delimiter). Added more de…
troky Jun 16, 2014
e86b72e
Remove unused enum
elbandi Jun 17, 2014
3b29847
Made opt_algorithm to simple variable
elbandi Jun 17, 2014
1f76f9b
Use macros in queue_kernel functions
elbandi Jun 17, 2014
14d2b94
Merge pull request #274 from Elbandi/v5_0
veox Jun 19, 2014
9faa8fa
Updated the config parser
ystarnaud Jun 14, 2014
03379f9
Fixed whitespaces
ystarnaud Jun 15, 2014
9fe5272
Updated config writer
veox Jun 20, 2014
d9b4798
More options added
ystarnaud Jun 18, 2014
4c3352b
Update configuration.md (19 squashed commits).
ystarnaud Jun 18, 2014
832ac82
Updated API functionality
veox Jun 20, 2014
ea1aba0
API Update
ystarnaud Jun 19, 2014
58def44
Fixed a segfault issue writing config file
ystarnaud Jun 20, 2014
fae56ce
Added API function to change pool profile
ystarnaud Jun 20, 2014
bd54c59
Updated example.conf
ystarnaud Jun 20, 2014
e7881ff
Update configuration.md
ystarnaud Jun 20, 2014
3042745
Update API.md (3 squashed commits).
ystarnaud Jun 20, 2014
4021704
Update configuration.md
ystarnaud Jun 20, 2014
5309da5
config: remove unused variable.
veox Jun 20, 2014
0b85c05
misc: update AUTHORS and NEWS with changes from branch config-parser …
veox Jun 20, 2014
6228694
config: conflict with v5_0 (develop) branch, opt_algorithm was change…
veox Jun 20, 2014
0886740
Merge branch 'config-parser' into v5_0
veox Jun 20, 2014
5430d1e
config: be a little less cryptic on what's going on in load_default_p…
veox Jun 20, 2014
ef722e6
Fix to apply correct GPU engine clock or range
ystarnaud Jun 20, 2014
76dd32a
config: one less branching in load_default_profile(), some whitespace.
veox Jun 20, 2014
513307c
config: remove commented-out old config-loading code.
veox Jun 20, 2014
85a6adf
MSVS project update for config_parser commit
troky Jun 20, 2014
3f83f22
Moved (reverted) some struct definitions to api.c. MSVS doesn't like …
troky Jun 20, 2014
83b2ac9
Compatibility update for MSVS
ystarnaud Jun 20, 2014
3975f04
Updated x13 kernel
ystarnaud Jun 21, 2014
1965131
Moved strsep() implementation from winbuild.h to compat.h
troky Jun 21, 2014
5e8bba2
Update configuration.md
ystarnaud Jun 21, 2014
1fb86b3
Update configuration.md
ystarnaud Jun 21, 2014
056a9f7
Merge pull request #272 from lasybear/v5_0
ystarnaud Jun 21, 2014
5605575
Whitespace and indentation fix
ystarnaud Jun 21, 2014
e96f279
Sync with v5_0
ystarnaud Jun 21, 2014
d7d387a
MSVS fix for talkcoin commit.
troky Jun 21, 2014
f6adfd5
Updated x13 kernel
ystarnaud Jun 21, 2014
298a752
Merge remote-tracking branch 'upstream/v5_0' into x11mod
ystarnaud Jun 21, 2014
1914cef
Fixed x13 and other issues
ystarnaud Jun 21, 2014
2925ea0
Use macros in queue_talkcoin_mod_kernel
elbandi Jun 21, 2014
ea1de32
Updated x11 kernel
ystarnaud Jun 21, 2014
707ddd6
Merge pull request #282 from ystarnaud/x11mod
ystarnaud Jun 21, 2014
8dea195
Merge pull request #281 from Elbandi/v5_0
ystarnaud Jun 21, 2014
4278c87
Fixed kernel problems under 13.12
ystarnaud Jun 21, 2014
0bdb7d3
Fix issue compiling in mingw32
ystarnaud Jun 22, 2014
c78f14d
Update windows-build.txt
troky Jun 22, 2014
416c6b6
Update AUTHORS.md
ystarnaud Jun 22, 2014
3a728e6
Fix possible config issue
ystarnaud Jun 23, 2014
b91f2d3
60 second quit fix after algo switch
ystarnaud Jun 23, 2014
e9b8299
60 second quit fix after algo switch
ystarnaud Jun 23, 2014
7628773
Fixed GPU initialization
ystarnaud Jun 23, 2014
212009a
GPU Initialization update
ystarnaud Jun 23, 2014
99082f4
GPU initialization update
ystarnaud Jun 24, 2014
f0527d3
Fix high fan issue at startup/algo switch
ystarnaud Jun 24, 2014
7024d14
Fix high fan issue at startup/algo switch
ystarnaud Jun 24, 2014
78014ab
work queue: verbose log as to why staged work is being discarded.
veox Jun 24, 2014
044bf70
Nfactor fix
ystarnaud Jun 25, 2014
cc699e1
Fix typo
elbandi Jun 27, 2014
82518d6
Merge pull request #291 from Elbandi/v5_0
ystarnaud Jun 27, 2014
ae94126
tools: update_changelog.sh and entire ChangeLog.
veox Jun 27, 2014
92d2256
Bump version to 4.2.2.
veox Jun 27, 2014
0677b95
Merge branch 'master' into v5_0
veox Jun 27, 2014
63afb25
tools: typo in update_changelog.sh.
veox Jun 27, 2014
10fcbd3
tools: typo in update_changelog.sh.
veox Jun 27, 2014
3ae5f97
Algorithm Switcher Update
ystarnaud Jun 28, 2014
9d54637
Fix HW Issue at startup
ystarnaud Jun 30, 2014
ba7c489
Remove obsolete benchmark mode
mrbrdo Jun 30, 2014
028f19e
remove old commented-out code
mrbrdo Jun 30, 2014
be7d47d
add lock when accessing mining_threads
mrbrdo Jun 30, 2014
7f04513
Refactor and stability improvements when restarting threads
mrbrdo Jun 30, 2014
7507790
GPUs cannot be hotplugged
mrbrdo Jun 30, 2014
40894db
Changing disabled devices on pool switch is not possible if remove-di…
mrbrdo Jun 30, 2014
92deefc
Fix bad lock
mrbrdo Jun 30, 2014
50483e3
spaces/indent
mrbrdo Jun 30, 2014
d9b1f20
unused preprocessor directive
mrbrdo Jun 30, 2014
976873b
more locks for devices
mrbrdo Jun 30, 2014
8f53b7c
safer
mrbrdo Jun 30, 2014
1c2de13
fix broken disabled devices when remove-disabled is set
mrbrdo Jul 1, 2014
6f8d38e
Remote config files
ystarnaud Jul 1, 2014
18e0ed0
Add BitBlock kernel
aznboy84 Jun 27, 2014
52b4dab
Add bitblock to source list
aznboy84 Jun 27, 2014
b728a32
Shabal algo
aznboy84 Jun 27, 2014
f1f5046
Shabal header
aznboy84 Jun 27, 2014
9711682
Whirlpool header
aznboy84 Jun 27, 2014
63153e6
Whirlpool algo
aznboy84 Jun 27, 2014
fd417c0
Add shabal.c and whirlpool.c to source list
aznboy84 Jun 27, 2014
99abe7e
Bitblock kernel
aznboy84 Jun 27, 2014
84b21e0
bitblock header
aznboy84 Jun 27, 2014
fbcde31
Create hamsi_old.cl
aznboy84 Jun 27, 2014
69e3282
Create hamsi_helper_old.cl
aznboy84 Jun 27, 2014
348c974
Create bitblock.cl
aznboy84 Jun 27, 2014
80d5195
Create bitblockold.cl
aznboy84 Jun 27, 2014
c24cd98
Optimized a bit
aznboy84 Jun 27, 2014
4be3039
File too big .. can't edit
aznboy84 Jun 27, 2014
e78d444
Create hamsi_helper.cl
aznboy84 Jun 27, 2014
847d454
Add bitblock files to solution
aznboy84 Jun 27, 2014
81bcc15
Create shabal.cl
aznboy84 Jun 27, 2014
ab8be24
Create whirlpool.cl
aznboy84 Jun 27, 2014
12a2acc
MSVC X15 commit
aznboy84 Jun 27, 2014
85fa163
Fixed marucoin mod
aznboy84 Jun 27, 2014
bb667fe
Remove old files
ystarnaud Jun 28, 2014
e234b2d
X13 Fix
ystarnaud Jun 28, 2014
e064754
Hamsi fix
ystarnaud Jun 28, 2014
5c9126f
X14 Implementation
ystarnaud Jun 30, 2014
22c34fb
Old Kernel Fix
ystarnaud Jun 30, 2014
47c6034
Cleanup
ystarnaud Jul 1, 2014
dc3ec79
Thread info struct should be initialized/allocated for disabled devic…
troky Jul 1, 2014
9e515ab
MSVS fix.
troky Jul 1, 2014
f3a773f
Merge pull request #307 from sgminer-dev/v5_0-x15
ystarnaud Jul 1, 2014
16361a6
Update configuration.md
ystarnaud Jul 1, 2014
2df1924
Update configuration.md
ystarnaud Jul 1, 2014
d211d5b
Update configuration.md
ystarnaud Jul 1, 2014
65a1509
Remove unused diff_nonce
elbandi Jul 1, 2014
55cd3ec
Hangup fix
ystarnaud Jul 1, 2014
ecdb8ac
Merge pull request #309 from Elbandi/v5_0-removeunused
mrbrdo Jul 1, 2014
66ec621
Added Jansson as submodule.
troky Jul 2, 2014
cf4aa31
Switcher thread fix
ystarnaud Jul 2, 2014
b3d6e5b
Update configuration.md
ystarnaud Jul 2, 2014
a0e95b3
some improvements for the zero-hashrate fix, and more debug output
mrbrdo Jul 1, 2014
69ab3a8
Changed the way hard restart is done for better compatibility with wi…
ystarnaud Jul 2, 2014
171e5dd
Update configuration.md
ystarnaud Jul 2, 2014
27709ce
Remove now unused temporary fix for algo switch
mrbrdo Jul 2, 2014
db40274
convert tabs to spaces in kernel files
elbandi Jul 1, 2014
6c60ce2
Fix kernel code style: every hash has own codeblocks
elbandi Jun 27, 2014
ec8ba02
nicehash deserve mention for providing bitcoins for stimulation of de…
mrbrdo Jul 3, 2014
21d3ad4
added sgminer.1 manpage file, draft
davedean Jul 3, 2014
0950af7
Documentation update.
troky Jul 3, 2014
74d4cfa
Added Janson version string to log output.
troky Jul 3, 2014
e15f354
Updated AUTHORS.md
troky Jul 3, 2014
a39316d
Fix nonce1 and sessionid memory leak
elbandi Jul 3, 2014
8567370
Merge pull request #316 from Elbandi/v5_0-leakfix
troky Jul 3, 2014
c196dfd
MSVS2010 project update.
troky Jul 3, 2014
03daaff
Merge pull request #313 from davedean/master
mrbrdo Jul 3, 2014
e8f1089
Merge pull request #292 from Elbandi/v5_0
mrbrdo Jul 3, 2014
30d0a9b
Deprecating "difficulty-multiplier" setting
mrbrdo Jul 3, 2014
2902429
Add algorithm aliases x11, x13, x15, x15mod, nist5, keccak
mrbrdo Jul 3, 2014
94607ba
Merge pull request #310 from sgminer-dev/v5_0-jansson
troky Jul 3, 2014
fdd4e84
Update README.md
troky Jul 3, 2014
b6aefc6
Fixed segfault when adding pool profile via ncurses GUI #322
troky Jul 4, 2014
8001dc0
Algorithm alias fix
ystarnaud Jul 4, 2014
e64291e
Fix bitblock algo code style
elbandi Jul 4, 2014
0a66d49
Fix x14 algo code style
elbandi Jul 4, 2014
855adf1
Merge pull request #324 from Elbandi/v5_0-stylefix
troky Jul 4, 2014
a96048e
Update configuration.md
ystarnaud Jul 5, 2014
485ec9a
rename poorly named variable
mrbrdo Jul 5, 2014
eb6f47e
Add debug-log setting to log everything when stderr is redirected to …
mrbrdo Jul 5, 2014
f3336dc
Update README.md
mrbrdo Jul 5, 2014
2d66c44
Add debug-log documentation and enable it by default
mrbrdo Jul 5, 2014
363f52d
Write to both stderr and console within same console lock "session"
mrbrdo Jul 5, 2014
e33590f
Thread was never joined because thr_info_cancel sets pth to 0. Should…
mrbrdo Jul 7, 2014
0bd7a9f
After cancelling a thread (unless it's detached, but mining threads a…
mrbrdo Jul 7, 2014
4a9ee47
Add log-file option to automatically redirect stderr to a file
mrbrdo Jul 7, 2014
2d23a7d
Added missing permission flags to Windows build #333
troky Jul 7, 2014
04722e2
sshare could have already been free'd by parse_stratum_response in st…
mrbrdo Jul 8, 2014
b4dd3ae
Forgot include needed for pthread_kill
mrbrdo Jul 8, 2014
72590bd
Fix potential division by 0 if nfactor is not set
ystarnaud Jul 8, 2014
8b44007
Fixed compatilibilty issues on MSVS.
troky Jul 9, 2014
f8fcbbc
Config writer fix
ystarnaud Jul 9, 2014
a408e85
Fix API profile list
ystarnaud Jul 9, 2014
e0b3448
Fixed compatilibilty issues on MSVS.
troky Jul 11, 2014
283e8fb
Added coding.md
troky Jul 11, 2014
19fcb5e
improve locking to prevent race condition
mrbrdo Jul 11, 2014
deacbdd
immediately exit threads if doing hard reset
mrbrdo Jul 7, 2014
5bd2689
Hard reset only when gpu-threads or devices are changed, but not when…
mrbrdo Jul 7, 2014
82b5320
Check if mining threads are initialized before restarting them.
troky Jul 19, 2014
dbe0263
Fixed device display when both --device and --remove-disabled options…
troky Jul 20, 2014
3ddffaa
Compatibility fix.
troky Jul 21, 2014
5bf26e7
Update cygwin-build.txt
Phoenix48 Jul 22, 2014
92a9250
Merge pull request #361 from Phoenix48/patch-1
mrbrdo Jul 27, 2014
447dd68
Merge branch 'v5_0'
mrbrdo Sep 2, 2014
7a16f78
bump version to 5.0.0, update changelog
mrbrdo Sep 2, 2014
0ec4912
update changelog for v5 release
mrbrdo Sep 2, 2014
e39121b
Version bump for MSVS project.
troky Sep 3, 2014
eb2ad8b
Removed AMD APP SDK include files.
troky Sep 3, 2014
a90bbf7
Added "Fresh" Algorithm and optimized it for a slight speed increase …
ystarnaud Jul 8, 2014
b3c07ac
Xn Algorithms Fine Tuning
ystarnaud Jul 28, 2014
c3e1842
Added documentation for Xn algorithm options
ystarnaud Jul 28, 2014
9603479
Cleanup X11/X13 options
ystarnaud Jul 29, 2014
247d70e
more algo optimization
badman74 Aug 3, 2014
e481d67
MSVS fix.
troky Sep 19, 2014
32d95dd
Updated to MSVS 2013
troky Nov 16, 2014
ba9818a
Fix version display in windows builds (mingw)
troky Nov 16, 2014
b53cc15
Fix worksize per GPU
ystarnaud Nov 9, 2014
1005853
Update windows-build.txt
Phoenix48 Nov 17, 2014
2fe4551
Update windows-build.txt
Phoenix48 Nov 17, 2014
ce36358
Update windows-build.txt
Phoenix48 Nov 17, 2014
95134c7
Merge pull request #399 from Phoenix48/patch-2
troky Nov 17, 2014
c0515e8
Added alt kernel file option
ystarnaud Nov 19, 2014
0557017
Merge branch 'master' of https://github.com/sgminer-dev/sgminer
troky Nov 19, 2014
42737ac
Added Neoscrypt with Wolf9466 improvements.
ystarnaud Nov 19, 2014
8a6168f
Fix for UI/API intensity changes
ystarnaud Nov 4, 2014
611b370
Fix for random HW errors
ystarnaud Nov 12, 2014
81d9c9e
Events framework
ystarnaud Nov 19, 2014
7f88bab
Fixed missing declaration.
troky Nov 23, 2014
4ba8a68
Merged develop branch with master +updates
ystarnaud Dec 3, 2014
4ced43b
MSVS fix.
troky Dec 3, 2014
387bb28
Neoscrypt fixes
ystarnaud Dec 4, 2014
cd9d037
Fix errors compiling on OS X
nwoolls Jan 13, 2015
f27f8dd
Merge pull request #408 from nwoolls/bug/clang-inline-errors
troky Jan 13, 2015
89c380a
Added WhirlpoolX algorithm
troky Mar 9, 2015
f366619
Version bump to 5.1.1
troky Mar 9, 2015
8d68e96
Added Lyra2RE algo
troky Mar 10, 2015
8cb4fc9
Added Pluck algo
troky Mar 10, 2015
c50e3d2
added some changes after refork
badman74 Mar 10, 2015
f1bf570
Merge pull request #411 from badman74/master
troky Mar 18, 2015
ae87ca6
wolf's whirlpoolx mod
troky Mar 25, 2015
fe62dc7
wolf's improvements #2
troky Mar 25, 2015
f157dd9
Fixed uninitialized key array.
troky Mar 26, 2015
1854e96
Reverted create_opencl_command_queue
troky Mar 26, 2015
137519d
Merge branch 'wolf-whirlpoolx'
troky Mar 28, 2015
7811d37
Renamed Lyra2 OpenCL kernel files to make them accessible in Linux also.
netswift Mar 28, 2015
632ea79
Merge remote-tracking branch 'sgminer-dev/master'
netswift Mar 28, 2015
e729bd0
Updated the compilation instructions.
netswift Mar 28, 2015
c536243
Merge pull request #412 from netswift/master
troky Mar 28, 2015
55da7b5
Removed bitalign/opcode patching code. It's dead, and no one else is …
Apr 7, 2015
e59c616
When my WhirlpoolX code was checked in, I used C99 features that caus…
Apr 7, 2015
5fe8555
Merge pull request #414 from wolf9466/master
troky Apr 7, 2015
666641b
Removed patch_kernel.* from MSVS project.
troky Apr 7, 2015
d0881e8
store the next difficulty
bitbandi Jun 18, 2015
8bf1c18
Merge pull request #418 from bitbandi/diffbug
troky Jul 19, 2015
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
[submodule "jansson"]
path = submodules/jansson
url = https://github.com/akheron/jansson.git

33 changes: 25 additions & 8 deletions AUTHORS.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,35 +2,47 @@

## Core

* Scrypt-only refactor and maintenance: Noel Maersk <veox at wemakethings dot net> LfxRFgXzA13TSTxgFGUFEtumv5ShGzAmLw
* Core: Martin Danielsen <kalroth {at} gmail _dot_ com> 1DNBcSEENBwDKrcTyTW61ezWhzsPy5imkn
* Core: Con Kolivas <kernel [at] kolivas {dot} org> 15qSxP1SQcUX3o4nhkfdbgyoWEFMomJ4rZ
* Core: Luke Dashjr <luke-jr+cgminer @at@ utopios .dot. org> 1QATWksNFGeUJCWBrN4g6hGM178Lovm7Wh
* API: Andrew Smith <kan0i {at} kano-kun [dot] net> 1Jjk2LmktEQKnv8r2cZ9MvLiZwZ9gxabKm
* Jan Berdajs <mrbrdo at mrbrdo dot net> 15bULC8snaKAMeFb3xBmmhbWj1xyTmBUfm
* Noel Maersk <veox at wemakethings dot net> 12jF1VExtmmMu8D36vo4Y4CYqLK5yCtLC4
* troky <troky2001 at yahoo dot com> 1DqHeJdVy4kQX1jHaaVxef9Bgii14pwEbg
* Yann St.Arnaud <ystarnaud at gmail dot com> 1SLixz2vRvjdpzZTep4Tiqs82Jc28tc6J
* lasybear <**FIXME**>
* Luke Dashjr <luke-jr+cgminer @at@ utopios .dot. org> 1QATWksNFGeUJCWBrN4g6hGM178Lovm7Wh
* Andrew Smith <kan0i {at} kano-kun [dot] net> 1Jjk2LmktEQKnv8r2cZ9MvLiZwZ9gxabKm


## Core (history)

* Con Kolivas <kernel [at] kolivas {dot} org> 15qSxP1SQcUX3o4nhkfdbgyoWEFMomJ4rZ
* Martin Danielsen <kalroth {at} gmail _dot_ com> 1DNBcSEENBwDKrcTyTW61ezWhzsPy5imkn


## Cross-platform support

* MinGW (Windows native): Drogean <Drogean>
* MinGW (Linux cross-compilation): Wolf` <wolf9466>
* MinGW (Linux cross-compilation): tonobitc <tonobitc>
* MSVS2010: troky <troky2001 at yahoo dot com> Letoqz4yEnJxjWw9B7Ysn8h9VDQTMDnT29
* MSVS2010: troky <troky2001 at yahoo dot com>
* Cygwin: Markus Peloquin <markuspeloquin>


## OpenCL kernels

**FIXME**: this section is outdated.

All current kernels are based on `scrypt`, originally by Colin Percival,
updated by many others.

* alexkarnew/alexkarold: Alexey Karimov LMqRcHdwnZtTMH6c2kWoxSoKM5KySfaP5C
* bufius: Bufius VvvmmkYHKGtdr97JLyyZuJ3Th5ayungnjk
* ckolivas: Con Kolivas <kernel @at@ kolivas }dot{ org> 15qSxP1SQcUX3o4nhkfdbgyoWEFMomJ4rZ
* psw: Pavel Semjanov LP6GRFvgoMxKA6AW4TVF668cNezEGZvEtr
* zuikkis: Zuikkis LeXck7EYgxyjw13zNDxZFmmgmWffFvhmSh


## Testing, bug fixes, improvements

* Michael Fiano <mfiano>
* Gabriel Devenyi <gdevenyi>
* Benjamin Herrenschmidt <ozbenh>
* Joe4782 <Joe4782>
Expand All @@ -40,12 +52,17 @@ updated by many others.
* tonobitc <tonobitc>
* Perry Huang <perryh>
* Joseph Bruggeman <jbruggeman>
* Badman74 <badman74>
* djm34 <djm4>

...and many others. See:

* [veox/sgminer](https://github.com/veox/sgminer/graphs/contributors)

* [sgminer-dev/sgminer](https://github.com/sgminer-dev/sgminer/graphs/contributors)

## Legacy

* Original CPU mining software: Jeff Garzik <jgarzik@pobox.com>

## Sponsors and acknowledgments

* nicehash.com - sponsored adding/merging many additional algorithms including X11 and Keccak, stratum extranonce
6,458 changes: 6,452 additions & 6 deletions ChangeLog

Large diffs are not rendered by default.

41 changes: 34 additions & 7 deletions Makefile.am
Original file line number Diff line number Diff line change
@@ -1,22 +1,22 @@

ACLOCAL_AMFLAGS = -I m4

JANSSON_CPPFLAGS= -I$(top_builddir)/compat/jansson-2.5/src -I$(top_srcdir)/compat/jansson-2.5/src
JANSSON_CPPFLAGS= -I$(top_builddir)/submodules/jansson/src -I$(top_srcdir)/submodules/jansson/src

EXTRA_DIST = example.conf m4/gnulib-cache.m4 \
ADL_SDK/readme.txt api-example.php miner.php \
API.class API.java api-example.c hexdump.c \
doc/API doc/FAQ doc/GPU doc/SCRYPT doc/windows-build.txt

SUBDIRS = lib compat ccan
SUBDIRS = lib submodules ccan sph

bin_PROGRAMS = sgminer

sgminer_CPPFLAGS = $(PTHREAD_FLAGS) -fno-strict-aliasing $(JANSSON_CPPFLAGS)
sgminer_CPPFLAGS = $(PTHREAD_FLAGS) -std=gnu99 $(JANSSON_CPPFLAGS)
sgminer_LDFLAGS = $(PTHREAD_FLAGS)
sgminer_LDADD = $(DLOPEN_FLAGS) @LIBCURL_LIBS@ @JANSSON_LIBS@ @PTHREAD_LIBS@ \
@OPENCL_LIBS@ @NCURSES_LIBS@ @PDCURSES_LIBS@ @WS2_LIBS@ \
@MM_LIBS@ @RT_LIBS@ @MATH_LIBS@ lib/libgnu.a ccan/libccan.a
@MM_LIBS@ @RT_LIBS@ @MATH_LIBS@ lib/libgnu.a ccan/libccan.a sph/libsph.a

sgminer_CPPFLAGS += -I$(top_builddir)/lib -I$(top_srcdir)/lib @OPENCL_FLAGS@

Expand All @@ -32,17 +32,44 @@ sgminer_CPPFLAGS += -DGIT_VERSION=\"$(GIT_VERSION)\"
endif

sgminer_SOURCES := sgminer.c
sgminer_SOURCES += api.c
sgminer_SOURCES += api.c api.h
sgminer_SOURCES += elist.h miner.h compat.h bench_block.h
sgminer_SOURCES += util.c util.h uthash.h
sgminer_SOURCES += sha2.c sha2.h
sgminer_SOURCES += logging.c logging.h
sgminer_SOURCES += driver-opencl.c driver-opencl.h
sgminer_SOURCES += ocl.c ocl.h
sgminer_SOURCES += findnonce.c findnonce.h
sgminer_SOURCES += adl.c adl.h adl_functions.h
sgminer_SOURCES += scrypt.c scrypt.h
sgminer_SOURCES += pool.c pool.h
sgminer_SOURCES += algorithm.c algorithm.h
sgminer_SOURCES += config_parser.c config_parser.h
sgminer_SOURCES += events.c events.h
sgminer_SOURCES += ocl/build_kernel.c ocl/build_kernel.h
sgminer_SOURCES += ocl/binary_kernel.c ocl/binary_kernel.h

sgminer_SOURCES += kernel/*.cl
sgminer_SOURCES += algorithm/scrypt.c algorithm/scrypt.h
sgminer_SOURCES += algorithm/darkcoin.c algorithm/darkcoin.h
sgminer_SOURCES += algorithm/qubitcoin.c algorithm/qubitcoin.h
sgminer_SOURCES += algorithm/quarkcoin.c algorithm/quarkcoin.h
sgminer_SOURCES += algorithm/myriadcoin-groestl.c algorithm/myriadcoin-groestl.h
sgminer_SOURCES += algorithm/fuguecoin.c algorithm/fuguecoin.h
sgminer_SOURCES += algorithm/inkcoin.c algorithm/inkcoin.h
sgminer_SOURCES += algorithm/animecoin.c algorithm/animecoin.h
sgminer_SOURCES += algorithm/groestlcoin.c algorithm/groestlcoin.h
sgminer_SOURCES += algorithm/sifcoin.c algorithm/sifcoin.h
sgminer_SOURCES += algorithm/twecoin.c algorithm/twecoin.h
sgminer_SOURCES += algorithm/marucoin.c algorithm/marucoin.h
sgminer_SOURCES += algorithm/maxcoin.c algorithm/maxcoin.h
sgminer_SOURCES += algorithm/talkcoin.c algorithm/talkcoin.h
sgminer_SOURCES += algorithm/bitblock.c algorithm/bitblock.h
sgminer_SOURCES += algorithm/x14.c algorithm/x14.h
sgminer_SOURCES += algorithm/fresh.c algorithm/fresh.h
sgminer_SOURCES += algorithm/whirlcoin.c algorithm/whirlcoin.h
sgminer_SOURCES += algorithm/neoscrypt.c algorithm/neoscrypt.h
sgminer_SOURCES += algorithm/whirlpoolx.c algorithm/whirlpoolx.h
sgminer_SOURCES += algorithm/lyra2re.c algorithm/lyra2re.h algorithm/lyra2.c algorithm/lyra2.h algorithm/sponge.c algorithm/sponge.h
sgminer_SOURCES += algorithm/pluck.c algorithm/pluck.h

bin_SCRIPTS = $(top_srcdir)/kernel/*.cl

93 changes: 91 additions & 2 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,97 @@
# Release news

## Version 4.2.0 - TBA
## Version 5.0.0 - 2nd September 2014

* Forward-port changes from `ckolivas/cgminer` up to 3.12.1.
* Added support for animecoin, darkcoin, fuguecoin, groestlcoin, inkcoin,
marucoin, myriadcoin-groestl, quarkcoin, qubitcoin, sifcoin, twecoin,
darkcoin-mod ("X11-mod"), marucoin-mod ("X13-mod"), maxcoin (by
_mrbrdo_).
* `intensity`, `xintensity`, `rawintensity`, `gpu-memclock`,
`gpu-engine`, `thread-concurrency`, `gpu-threads` now also have a
`pool-*` version to configure them for each pool separately
(by _mrbrdo_).
* Initial configuration system revamping (by _ystarnaud_).
* Algorithm profile configuration (by _ystarnaud_).
* Complete configuration documentation, see `doc/configuration.md` (by
_ystarnaud_).
* API documentation update, see `doc/API.md` (by _ystarnaud_).
* Extranonce support for stratum (by _bitbandi_).


## Version 4.2.2 - 27th June 2014

* Fixes for a few stratum-related security vulnerabilities (reported by
_Mick Ayzenberg_ of DejaVu Security).
* Found blocks calculation fix (by _troky_).


## Version 4.2.1 - 22nd May 2014

* Fixed MSVS building, tested with MSVC++ 2010 and 2013 (by _troky_).
* Added the "ultratune" feature from `sph-sgminer`, available in the
NCurses interface with `[G][C][U]` (by _ultracorp_).


## Version 4.2.0 - 20th May 2014

* git repo moved to [sgminer-dev](https://github.com/sgminer-dev/sgminer).
It is now a GitHub organisation with several people having write access.
* Kernel `bufius` merger from `vertminer` (by _Bufius_).
* Set pool as idle on several stratum failure conditions (by _elbandi_).
* API response to `version` has field `CGMiner` instead of `SGMiner`
for API client compatibility, and an additional `Miner` field (by
_luke-jr_).
* API response to `restart` and `quit` only contains a `status` section
and passes JSON validation (by _luke-jr_).
* API response to `devs` contains `XIntensity` and `RawIntensity` fields.
* Config file writing from TUI/API should produce a borked config less
often.


## Version 4.1.271 - 12th April 2014

* Allow setting algorithm per-pool and initial implementation of kernel
hot-swapping (by _mrbrdo_). Use options `pool-algorithm` (in config
file or in CLI) or `algorithm` (config-only).
* NCurses UI `[S][W]` writes pool name and description to configuration.
* Added algorithm name to `pools` API command (by _troky_).
* NCurses UI asks for (optional) pool name, description and algorithm
when adding pool.
* API command `addpool` allows both `url,user,pass` and
`url,user,pass,name,desc,algo`.


## Version 4.1.242 - 7th April 2014

* There are now two mailing lists (on SourceForge), see `README.md`.
* Adaptive-N-factor algorithm support (by _Bufius_, _Zuikkis_ and
_veox_). For details on choosing the algorithm, see
`doc/configuration.md`.
* Allowed kernel names are no longer hard-coded. It is now possible to
use any `.cl` file.
* Configuration parameter `poolname` has been renamed to `name`.
`poolname` is deprecated and will be removed in a future version.
* Multiple `--name` parsing should now work as expected (by _troky_).
* `--description` configuration parameter to specify a freeform pool
description, and `--priority` to specify the pool's priority (by
_troky_).


## Version 4.1.153 - 14th March 2014

* Display pool URL instead of "Pool N" if no `poolname` specified.
* Incognito mode to hide user name in NCurses interface - useful for
publishing screenshots. To enable, use `--incognito` on command line,
`incognito` in config or `[D][I]` in NCurses interface.
* Support building in Microsoft Visual Studio 2010, perhaps other
versions as well (by _troky_). Documentation in `winbuild/README.txt`.
* Support building in Cygwin (by _markuspeloquin_). Documentation in
`doc/cygwin-build.txt`.
* Forward-port changes from `ckolivas/cgminer` up to 3.12.3.
* Allow setting `worksize` for kernel `zuikkis`.
* More log messages in pool handling.
* Updated `doc/FAQ.md`.
* Updated `example.conf`.


## Version 4.1.0 - 7th February 2014
Expand Down
54 changes: 38 additions & 16 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,33 +4,42 @@
## Introduction

This is a multi-threaded multi-pool GPU miner with ATI GPU monitoring,
(over)clocking and fanspeed support for scrypt-based coins. It is based on
cgminer by Con Kolivas (ckolivas), which is in turn based on cpuminer by
Jeff Garzik (jgarzik).
(over)clocking and fanspeed support for scrypt-based cryptocurrency. It is
based on cgminer by Con Kolivas (ckolivas), which is in turn based on
cpuminer by Jeff Garzik (jgarzik).

**releases**: https://github.com/veox/sgminer/releases
**releases**: https://github.com/sgminer-dev/sgminer/releases

**git tree**: https://github.com/veox/sgminer
**git tree**: https://github.com/sgminer-dev/sgminer

**issues**: https://github.com/veox/sgminer/issues
**bugtracker**: https://github.com/sgminer-dev/sgminer/issues

**irc**: `#sgminer` on freenode
**irc**: `#sgminer` and `#sgminer-dev` on freenode

**mailing lists**: https://sourceforge.net/p/sgminer/mailman/

License: GPLv3. See `COPYING` for details.


## Documentation

Documentation is available in directory `doc`. For details on several topics, see:
Documentation is available in directory `doc`. It is organised by topics:

* `API` for the RPC API specification;
* `configuration.md` for (largely incomplete) detailed information on all
configuration options;
* `FAQ.md` for frequently asked questions;
* `GPU` for semi-obsolete information on GPU configuration options and mining SHA256d-based coins;
* `KERNEL.md` for OpenCL kernel-related information;
* `MINING.md` for how to find the right balance in GPU configuration to mine Scrypt-based coins effectively;
* `GPU` for semi-obsolete information on GPU configuration options and mining
SHA256d-based coins;
* `kernel.md` for OpenCL kernel-related information, including development
procedure;
* `MINING.md` for how to find the right balance in GPU configuration to mine
Scrypt-based coins efficiently;
* `windows-build.txt` for information on how to build on Windows.

Note that **most of the documentation is outdated**. If you want to contribute, fork this repository, update as needed, and submit a pull request.
Note that **most of the documentation is outdated or incomplete**. If
you want to contribute, fork this repository, update as needed, and
submit a pull request.


## Building
Expand Down Expand Up @@ -60,28 +69,40 @@ sgminer-specific configuration options:
--disable-adl-checks
--without-curses Do not compile support for curses TUI

#### Debian Example

apt-get install libcurl4-openssl-dev pkg-config libtool libncurses5-dev
AMD APP SDK and AMD ADL SDK must be downloaded from the amd websites.

### *nix build instructions

If needed, place include headers (`*.h` files) from `ADL_SDK_*<VERSION>*.zip` in `sgminer/ADL_SDK`.

Then:

git submodule init
git submodule update
autoreconf -i
CFLAGS="-O2 -Wall -march=native" ./configure <options>
CFLAGS="-O2 -Wall -march=native -std=gnu99" ./configure <options>
make

To compile a version that can be used accross machines, remove
`-march=native`.

To compile a debug version, replace `-O2` with `-ggdb`.

Depending on your environment, replace `-std=gnu99` with `-std=c99`.

Systemwide installation is optional. You may run `sgminer` from the build
directory directly, or `make install` if you wish to install
`sgminer` to a system location or a location you specified with `--prefix`.

### Windows build instructions

See `doc/windows-build.txt` (might be outdated).
See `doc/windows-build.txt` for MinGW compilation and cross-compiation,
`doc/cygwin-build.txt` for building using Cygwin, or use the provided
`winbuild` Microsoft Visual Studio project (tested on MSVS2010), with
instructions in `winbuild/README.txt`.


## Basic Usage
Expand Down Expand Up @@ -400,8 +421,9 @@ file and any changes that may have been made.

sgminer will log to stderr if it detects stderr is being redirected to a
file. To enable logging simply append `2>logfile.txt` to your command line
and `logfile.txt` will contain the logged output at the log level you
specify (normal, verbose, debug etc.)
and `logfile.txt` will contain all debug output unless you set `debug-log`
to `false`, in which case it will only contain output at the log level you
specified (notice by default).

There is also the -m option on Linux which will spawn a command of your choice
and pipe the output directly to that command.
Expand Down
Loading