Con Kolivas
|
77b3b185b2
|
Add quota support to configuration files.
|
11 years ago |
Con Kolivas
|
ea7b2a7da3
|
Rotate pools on all failures to set a pool in select_pool.
|
11 years ago |
Con Kolivas
|
7c19984fd6
|
Use quotas for load-balance pool strategy.
|
11 years ago |
Con Kolivas
|
0121b75a4e
|
Provide a mechanism for setting a pool quota to be used by load-balance.
|
11 years ago |
Con Kolivas
|
770556cdec
|
Use the --socks-proxy option with stratum, changing it to defaulting to socks5 and give appropriate message should it fail to connect.
|
11 years ago |
Con Kolivas
|
8ede407df7
|
Make extract_sockaddr set variables passed to it rather than pool struct members.
|
11 years ago |
Con Kolivas
|
5bf9856a4a
|
take_queued_work_bymidstate should use a write lock.
|
11 years ago |
Kano
|
76185ede38
|
API mcast add a description option with miner.php
|
11 years ago |
Con Kolivas
|
1d5d28d7fb
|
Skip dissecting opt->names in parse_config if it doesn't exist.
|
11 years ago |
ckolivas
|
0f42fd3f46
|
Remove unused HAVE_LISBUSB macro and use USE_USBUTILS everywhere.
|
11 years ago |
Con Kolivas
|
572df10207
|
Provide a funcion that looks up queued work by midstate and then removes it from the device hash database.
|
11 years ago |
Con Kolivas
|
ab917082fc
|
Only count submitted nonces as diff1shares if they're valid.
|
11 years ago |
Kano
|
febcc53d99
|
Update the API Multicast documentation
|
11 years ago |
Kano
|
14ac6fa5ab
|
Initial API Multicast response v0.1 to find cgminer APIs
|
11 years ago |
Con Kolivas
|
b9aa5b6528
|
Check for cnx_needed on each loop through wait_lp_current.
|
11 years ago |
Con Kolivas
|
919a836f14
|
Return positive for cnx_needed when no_work is true.
|
11 years ago |
Con Kolivas
|
7dbe4bbeb3
|
Stratum is used more often so test for it first.
|
11 years ago |
Con Kolivas
|
a52ec336bf
|
Reorder support names alphabetically.
|
11 years ago |
ckolivas
|
77f9400ca2
|
Only display the no pool work message once if there are multiple waiters in hash_pop
|
11 years ago |
ckolivas
|
20de9226fd
|
Provide a message and set a bool when no work is available from any pools and when it resumes again.
|
11 years ago |
ckolivas
|
0e43084c09
|
We don't want to continue into the hash_pop function if the getq is frozen.
|
11 years ago |
ckolivas
|
cbea0a5306
|
Only report threads in and out in queued work devices across a get work since the rest happens asynchronously and the get work is what the device might be waiting on.
|
11 years ago |
ckolivas
|
b12badc9f2
|
Thread reportin and out can be static non inline.
|
11 years ago |
Con Kolivas
|
ee2a5ae8f4
|
TimeBeginPeriod and TimeEndPeriod do not add significant overhead when run the entire time for cgminer so avoid trying to maintain balanced numbers of them for specific time calls to simplify code.
|
11 years ago |
Con Kolivas
|
eeac9d81fc
|
Replace all references to the old n*sleep functions with the equivalent cgsleep_*s replacements.
|
11 years ago |
Con Kolivas
|
78d78b1063
|
Import Aaron D. Gifford's fast sha256 implementation.
|
11 years ago |
Con Kolivas
|
a61e41a070
|
Check for thr->work_restart in restart_wait.
|
11 years ago |
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 |