Con Kolivas
|
76e688aee1
|
Store the hash2 array in struct work for further reuse.
|
11 years ago |
Con Kolivas
|
39c52b1fb4
|
Use the test_nonce function within submit_nonce and store the uint32 corresponding to hash2 37 for further use.
|
11 years ago |
Con Kolivas
|
c1aba05506
|
Only set share diff if we've confirmed it's a share first.
|
11 years ago |
Con Kolivas
|
9040cac924
|
restart_wait should return 0 if thr_restart is true.
|
11 years ago |
Con Kolivas
|
759e82bb98
|
Add in first draft for a serialised work model sending/receiving data for BF1 devices.
|
11 years ago |
Con Kolivas
|
2ab023f300
|
Add BF1 detection code to bitfury driver.
|
11 years ago |
Kano
|
b1a3b012dd
|
pool_active uninitialised_var rolltime
|
11 years ago |
Con Kolivas
|
466d3beca0
|
Provide a --disable-libcurl config option to build support for stratum mining only.
|
11 years ago |
Con Kolivas
|
48681dd4bb
|
Reset quotas on load balance for all pools at the same time to avoid running out during selection and unintentionally dropping to fallback.
|
11 years ago |
Con Kolivas
|
972d04d2a8
|
Break out of select pool from a common point for appropriate debug messages and to avoid further tests.
|
11 years ago |
Con Kolivas
|
a76b09e4fc
|
Find the greatest common denominator in quotas and use the smallest number of consecutive work items per pool in quota load balance mode to smooth hashrate across pools with large quotas. Give excess quota to priority pool 0 instead of pool 0.
|
11 years ago |
Con Kolivas
|
d4ac1915fa
|
Avoid dynamically adding stack memory for nonce2 in the stratum send thread and check the pool's nonce2_len will not cause an overflow.
|
11 years ago |
Con Kolivas
|
89c07fa5c7
|
Add support for socks4/4a proxies with stratum, and drop back to socks4 support via the global --socks-proxy command to not break previous configurations.
|
11 years ago |
Con Kolivas
|
a41660f2f0
|
Only show long-poll message in pool summary if it's not using stratum.
|
11 years ago |
Con Kolivas
|
5b378f443a
|
Increase the time for the waiting for work message to be given to be greater than that required for a pool swap in the scheduler which is set to 5s.
|
11 years ago |
Con Kolivas
|
812f7541fd
|
Change message in status when using a balanced pool strategy to notify if there's a stratum pool as well.
|
11 years ago |
Con Kolivas
|
26a8a8e2c6
|
Use the --failover-only flag to have special meaning in combination with load-balance mode to distribute any unused quota back to pool 0 to maintain ratios amongst other pools.
|
11 years ago |
Con Kolivas
|
c325e7ae45
|
Only show long-poll message in pool summary if it's not using stratum.
|
11 years ago |
Con Kolivas
|
7d2c31e28a
|
Display quota and allow it to be modified via the pool menu.
|
11 years ago |
Con Kolivas
|
e8a1c9ebd1
|
Increase the time for the waiting for work message to be given to be greater than that required for a pool swap in the scheduler which is set to 5s.
|
11 years ago |
Con Kolivas
|
ea4a1ff98f
|
Change message in status when using a balanced pool strategy to notify if there's a stratum pool as well.
|
11 years ago |
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 |