Con Kolivas
|
e6a5068470
|
show_hash doesn't know the size of the string so hard code the max size.
|
11 years ago |
Con Kolivas
|
57d6a6f697
|
Remove as many initial zeroes as exist on share display, abstracting out a hash show function to use across different submission mechanisms.
|
11 years ago |
Con Kolivas
|
6e63eebfe1
|
Add missing endian swap functions for 64bits.
|
11 years ago |
Con Kolivas
|
876a83024d
|
Sanity check for absurd target setting and divide by zero.
|
11 years ago |
Con Kolivas
|
21bdcdd6b3
|
Abstract out conversion of a 256 bit endian number to a double, correcting errors and use it for determining any magnitude share diff.
|
11 years ago |
Con Kolivas
|
759bd39f17
|
Avoid the extra generation of a byte flipped hash2 in struct work and directly use the LE work hash.
|
11 years ago |
Con Kolivas
|
e95b42ea54
|
Add a sanity check to avoid divide by zero crashes in set_target
|
11 years ago |
Con Kolivas
|
8abe9d4e39
|
Calculate diff from target accurately for all 256 bits.
|
11 years ago |
Con Kolivas
|
8d61ee2455
|
Set a true 256bit binary target based on any diff value in set_target()
|
11 years ago |
Con Kolivas
|
61297399de
|
Provide a copy_work_noffset function for copying a work struct but changing its ntime.
|
11 years ago |
Con Kolivas
|
e18ae1e222
|
Make calls to flush queue and flush work asynchronous wrt to the main work loops.
|
11 years ago |
Con Kolivas
|
39c8491302
|
Share is also above target for submit noffset nonce.
|
11 years ago |
Con Kolivas
|
8ed936330e
|
Use round for displaying current pool diff.
|
11 years ago |
Con Kolivas
|
eb73897ade
|
Use round for stratum share diff display instead of floor.
|
11 years ago |
Con Kolivas
|
7e59ec4f2d
|
Use round instead of floor for displayed pool difficulty.
|
11 years ago |
Con Kolivas
|
ac5b12e1a0
|
Allow arbitrary diffs to be tested against nonces via a test_nonce_diff function.
|
11 years ago |
Con Kolivas
|
99b24c48fd
|
Abstract out the rebuilding of hash2 in work.
|
11 years ago |
Con Kolivas
|
5da3d58f6f
|
Share is above, not below target, when it doesn't meet it.
|
11 years ago |
Con Kolivas
|
25d4f16727
|
Add the ability to add uint8 and uint16 entities to api data.
|
11 years ago |
Con Kolivas
|
eaaf34a19d
|
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.
|
11 years ago |
Con Kolivas
|
774061e3f2
|
Minor style changes to output.
|
11 years ago |
Con Kolivas
|
c4542f2b96
|
Merge branch 'master' into hfa
Conflicts:
Makefile.am
api.c
configure.ac
miner.h
|
11 years ago |
Con Kolivas
|
b431ea4e1f
|
Merge branch 'master' into kncminer
|
11 years ago |
Adrian Port
|
178c9a0cc8
|
Revert two different hash_sequence(_head)'s to one variable, use HF_SEQUENCE_DISTANCE in both places
|
11 years ago |
Adrian Port
|
fdcac44218
|
Remove duplicate HF_SEQUENCE_DISTANCE() macro, and duplicate hash_sequence from info structure
|
11 years ago |
Adrian Port
|
d6e9a5ac18
|
Change SEQUENCE_DISTANCE() macro to HF_SEQUENCE_DISTANCE()
|
11 years ago |
Adrian Port
|
065054f658
|
Structure changes for OP_NONCE, add big endian header
|
11 years ago |
Kano
|
f562174a39
|
klondike - initialise stat_lock
|
11 years ago |
Kano
|
75230ed808
|
klondike - better to unlock locks than to lock them twice :)
|
11 years ago |
Con Kolivas
|
5c9f30369a
|
Merge branch 'master' into hashfast
|
11 years ago |
Con Kolivas
|
b542f5235b
|
Add copyright notice to knc driver.
|
11 years ago |
Con Kolivas
|
6e3bee0d5b
|
Trivial style changes to knc driver.
|
11 years ago |
Vitalii Demianets
|
f75fdbbbbe
|
Improve performance of work generation by optimizing hex2bin and bin2hex
sprintf is a very expensive function, do direct translation instead.
|
11 years ago |
Kano
|
3e93b268fa
|
klondike - change options to clock and temptarget only
|
11 years ago |
Kano
|
5ce372e5df
|
klondike - fix another uninit dev warning
|
11 years ago |
Kano
|
b4eb870af0
|
klondike - downgrade 'late update' but add an idle detect - and correct error levels
|
11 years ago |
Kano
|
4153d907d4
|
klondike - fix isc uninit warning
|
11 years ago |
Con Kolivas
|
d3f33888fd
|
Merge branch 'master' into kncminer
|
11 years ago |
Con Kolivas
|
e684358828
|
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.
|
11 years ago |
Con Kolivas
|
ac7dc468e2
|
Use the existing device_data for knc state data.
|
11 years ago |
Con Kolivas
|
1388b84178
|
Revert "Process multiple responses in the knc driver."
This reverts commit 76af3bf9a3 .
|
11 years ago |
Con Kolivas
|
32ec362821
|
Only count successful nonces as hashrate in the knc driver.
|
11 years ago |
Con Kolivas
|
76af3bf9a3
|
Process multiple responses in the knc driver.
|
11 years ago |
Con Kolivas
|
5467dfe7a9
|
Fix trivial warnings in knc driver.
|
11 years ago |
Con Kolivas
|
6bcd60a931
|
Add KNC to api
|
11 years ago |
Con Kolivas
|
3b04a306b7
|
Merge branch 'master' into kncminer
|
11 years ago |
kanoi
|
2bfd8e2a10
|
Merge pull request #513 from kanoi/master
klondike - drop unresponsive devices
|
11 years ago |
Kano
|
037f430bb0
|
klondike - drop the device for hotplug if it's unresponsive
|
11 years ago |
Kano
|
5bd1b560ac
|
usbutils - usb_nodev() allow a driver to drop a device
|
11 years ago |
Kano
|
50c8377305
|
klondike - single 'shutdown' and ensure it happens
|
11 years ago |