Con Kolivas
|
98e338cc52
|
Provide a variant of find_work_bymidstate that returns a clone of the found work.
|
11 years ago |
Con Kolivas
|
e95ad0479f
|
Nonce2 stratum submission is not working with nonce2 lengths >4, revert the buggy __bin2hex function and use bin2hex.
|
11 years ago |
Con Kolivas
|
1d614599a7
|
Add room for the null byte at the end of the nonce2 string on stratum share submission and zero the allocated ram.
|
11 years ago |
Con Kolivas
|
c8aac74114
|
Only perform the bin2hex on nonce2 data if it's required for stratum submission, thereby removing the last conversion of that type from stratum work generation.
|
11 years ago |
Con Kolivas
|
87ae66c7e6
|
Create a work data template when receiving stratum notification, allowing a simple memcpy of the merkle root avoiding more hex2bin conversions on each work generation.
|
11 years ago |
Con Kolivas
|
34bc106d82
|
Export the workpadding char in miner.h
|
11 years ago |
Con Kolivas
|
46b6b07afa
|
Avoid a potential overflow should a pool specify a large nonce2 length with stratum.
|
11 years ago |
Con Kolivas
|
0379123bc1
|
Avoid one more hex2bin in gen stratum work.
|
11 years ago |
Con Kolivas
|
11bcf2b3fb
|
Rename work gbt_coinbase to coinbase to be in line with pool variable name.
|
11 years ago |
Con Kolivas
|
5237bf350d
|
Perform merkle bin hex2bin on stratum notify to avoid doing it on each work generation.
|
11 years ago |
Con Kolivas
|
8bc469e916
|
Reuse just the one pool coinbase variable in stratum, avoiding more string functions and storage in gen_stratum_work on each work generation.
|
11 years ago |
Con Kolivas
|
8c8ef6ff9b
|
Rename pool gbt_coinbase variable to coinbase to combine it with the stratum coinbase data.
|
11 years ago |
Con Kolivas
|
c542e47aa3
|
Use a nonce2 offset variable for both gbt and stratum to consolidate requirements on work generation.
|
11 years ago |
Con Kolivas
|
fb94dfa098
|
Cache as much of the gbt coinbase as possible to avoid doing unnecessary hex2bin conversion on every work generation with gbt.
|
11 years ago |
Con Kolivas
|
a1052188fd
|
We should be using a cg_wlock initially in generating stratum and gbt work before downgrading the lock.
|
11 years ago |
Con Kolivas
|
b423fe9de8
|
Cache the hex2bin of pool nonce1 in stratum, avoiding hex2bin on each work generation.
|
11 years ago |
Con Kolivas
|
fef649dfef
|
Cache the binary generation of coinbase1 and 2 on stratum, avoiding a hex2bin of coinbase1 and 2 on each work generation.
|
11 years ago |
Con Kolivas
|
580b77b757
|
Fix warning.
|
11 years ago |
Con Kolivas
|
106e461f21
|
Recreate curses windows on windows when a device is hotplugged to allow window resizing without crashing.
|
11 years ago |
Con Kolivas
|
2b171f7fae
|
Limit intensity range according to whether scrypt is in use or not.
|
11 years ago |
Con Kolivas
|
cb6d62de08
|
Do not allow benchmark mode to be used with scrypt.
|
11 years ago |
Con Kolivas
|
d71e9f91f4
|
Add a --bflsc-overheat command which allows you to set the throttling temperature for BFLSC devices or disable it.
|
11 years ago |
Con Kolivas
|
812852cc36
|
Move bflsc defines to a header file.
|
11 years ago |
Olivier Langlois
|
c31ff57277
|
remove unnecessary memcpy
The next operation is flipping the merkleroot on the same
destination.
Signed-off-by: Olivier Langlois <olivier@olivierlanglois.net>
|
11 years ago |
Chris Chua
|
dc4ca0de97
|
using more concise description
|
11 years ago |
Chris Chua
|
b0f4d55be7
|
changes to Avalon driver for BitBurner boards
|
11 years ago |
Kano
|
a8c974f5f1
|
set device_drv function noops when first add_cgpu
|
12 years ago |
Kano
|
a9e10988ed
|
force type checking on curses
|
12 years ago |
Kano
|
74d71cce2c
|
cgminer - size check all sprintf
|
12 years ago |
Kano
|
ad1572f77f
|
size check get_datestamp/get_timestamp and remove unused cgpu->init
|
12 years ago |
Kano
|
385a70bea7
|
make all statline overflow safe
|
12 years ago |
Kano
|
df05174e1d
|
WU only needs +2 width
|
12 years ago |
Con Kolivas
|
42d96ee7fe
|
Convert the decay_time function into one that truly creates an exponentially decaying average over opt_log_interval.
|
12 years ago |
Con Kolivas
|
065b6a5e36
|
Provide an --avalon-freq command line to give a valid range of frequencies for avalon in auto mode.
|
12 years ago |
Con Kolivas
|
f142a4de23
|
Allow the avalon fanspeed range to be passed as parameter on the command line, default to 20-100%
|
12 years ago |
Con Kolivas
|
1b81ecf932
|
Just display A: and R: for difficulty accepted and rejected to preserve screen real estate and decrease decimal places for WU.
|
12 years ago |
Kano
|
a94b7be3bc
|
correct device DR: and remove global U:
|
12 years ago |
Kano
|
800dc24916
|
Update all screen A/R to instead use DA/DR and device U to WU
|
12 years ago |
Con Kolivas
|
e811c4dc77
|
Add an avalon-auto option which enables dynamic overclocking based on hardware error rate for maximum effective hashrate.
|
12 years ago |
Con Kolivas
|
9b45daba6b
|
Add an --avalon-cutoff feature which puts the avalon idle should it reach this temperature, defaulting to 60, re-enabling it when it gets to target temperature.
|
12 years ago |
Con Kolivas
|
661a448ad8
|
Fix build warning.
|
12 years ago |
Con Kolivas
|
1fca632f7c
|
Add an --avalon-temp option to allow a user specified target temperature.
|
12 years ago |
Con Kolivas
|
2ab7dac243
|
Demote the invalid nonce warning to log info.
|
12 years ago |
Con Kolivas
|
94e636a906
|
Only update hashmeter if we have done hashes or haven't updated longer than the log interval, fixing a us/ms error.
|
12 years ago |
Con Kolivas
|
ccfa893577
|
Increase watchdog sick time to longer than it takes for a pool to be detected dead.
|
12 years ago |
Kano
|
e300e50281
|
disable curses device resize that crashes on windows
|
12 years ago |
Con Kolivas
|
e0c4d35b28
|
Multiplier fail for microseconds vs milliseconds when updating hashmeter in hash_queued_work.
|
12 years ago |
Con Kolivas
|
6eb7f6226a
|
Only make threads report in/out across the actual driver code and update their status on reporting out as well as in.
|
12 years ago |
Con Kolivas
|
7014bd6b8b
|
Difficulty should be unconditionally byteswapped, not swapped to big endian.
|
12 years ago |
Kano
|
7eba963477
|
remove varargs from logging/quit/in general as much as possible
|
12 years ago |