Luke Dashjr
|
1b21b168be
Bugfix: Restore delay for authorization on stratum mining.get_transactions
|
12 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.
|
12 years ago |
Con Kolivas
|
46b6b07afa
Avoid a potential overflow should a pool specify a large nonce2 length with stratum.
|
12 years ago |
Con Kolivas
|
5237bf350d
Perform merkle bin hex2bin on stratum notify to avoid doing it on each work generation.
|
12 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.
|
12 years ago |
Con Kolivas
|
c542e47aa3
Use a nonce2 offset variable for both gbt and stratum to consolidate requirements on work generation.
|
12 years ago |
Kano
|
eca6ace2d5
util.c update quit call for new functions
|
12 years ago |
Kano
|
bab9ba9603
use correct define for OSX in util.c
|
12 years ago |
Kano
|
bd3612c104
util.c expand quit to show file/func/line
|
12 years ago |
Kano
|
cf30053793
Merge remote-tracking branch 'conman/master'
|
12 years ago |
Con Kolivas
|
b423fe9de8
Cache the hex2bin of pool nonce1 in stratum, avoiding hex2bin on each work generation.
|
12 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.
|
12 years ago |
Kano
|
48d91c7f2d
cgsem - increase information on failure
|
12 years ago |
Luke Dashjr
|
7537023841
Avoid using potentially locale-dependent ctype functions in locale-independent contexts
|
12 years ago |
Luke Dashjr
|
1c47c4fbcb
Merge commit 'cdddd4b' into bfgminer
|
12 years ago |
Luke Dashjr
|
cdddd4be5c
Bugfix: Stratum Fix debug logging of initial mining.subscribe command
|
12 years ago |
Luke Dashjr
|
9211ea687c
Bugfix: setup_stratum_curl: Need to release stratum lock on connection failure too
|
12 years ago |
Luke Dashjr
|
2575f8be0e
Bugfix: setup_stratum_curl: Hold stratum lock until connection completes, to avoid potential races
|
12 years ago |
Luke Dashjr
|
a35a7bb76b
Split total_bytes_xfer to total_bytes_rcvd and total_bytes_sent
|
12 years ago |
Luke Dashjr
|
acf7832b84
Stratum: Roll ntime as we generate work
|
13 years ago |
Luke Dashjr
|
b8c5e9778e
Stratum: Make swork.ntime native-endian
|
13 years ago |
Luke Dashjr
|
39fa94e8f9
Stratum: Treat ntime as uint32_t (as it should be), still always big endian
|
13 years ago |
ckolivas
|
eb9278ca53
Check for negative wait time in socket_full.
|
13 years ago |
ckolivas
|
f2ae7fadb2
Adjust socket wait timeout in recv_line according to how long we've already waited to avoid a 60 second wait dropping to 1 second due to a blocked socket.
|
13 years ago |
Luke Dashjr
|
b81e7a23bd
Timer-based gettimeofday substitute for systems with poor time-of-day clocks (Windows)
|
13 years ago |
Luke Dashjr
|
5e8a11062b
Use clock_gettime(CLOCK_MONOTONIC) for timers when available
|
13 years ago |
Luke Dashjr
|
0696bc10c5
Use QueryPerformanceCounter for timers on Windows
|
13 years ago |
Luke Dashjr
|
d7d70cbe71
Generic refactoring for timer_set_now
|
13 years ago |
Luke Dashjr
|
df45e5cf9f
Always use struct timeval for timers, and don't mix timers with timestamps (functional only)
|
13 years ago |
Luke Dashjr
|
f08199b4a6
Stratum: Fix nonce2 sizes greater than 4 and (on big-endian) smaller than 4
|
13 years ago |