|
ffb8a29a
|
2012-11-05T23:25:36
|
|
Count lost shares with stratum as submit stale lost.
|
|
0465fef5
|
2012-11-05T23:22:36
|
|
Discard record of stratum shares sent and report lost shares on disconnection since they will never be reported back.
|
|
7e17af69
|
2012-10-29T21:48:59
|
|
Merge pull request #322 from luke-jr/bugfix_stratum_tmpwork
Bugfix: Initialize temporary stratum work
|
|
e19c5d9d
|
2012-10-29T21:28:15
|
|
Set sshare id and swork_id within the sshare mutex to avoid multiple share submits with the same id.
|
|
280486a7
|
2012-10-29T07:14:29
|
|
Bugfix: Initialize temporary stratum work
Without this, work.mandatory might have been true skipping block change handling code
This caused newfound shares to be considered stale always, and bitforce devices to constantly restart work
|
|
d92609e6
|
2012-10-28T19:58:35
|
|
Fail on select() failing in stratum thread without needing to attempt recv_line.
|
|
843fa339
|
2012-10-29T16:35:54
|
|
Add share to stratum database before sending it again in case we get a response from the pool before it's added.
|
|
d28a844f
|
2012-10-29T12:33:25
|
|
Shorten the stratum timeout on read to 90 seconds to detect unresponsive pool.
|
|
c086ef80
|
2012-10-29T12:23:58
|
|
Display best share difficulty on exit.
|
|
6f4c47eb
|
2012-10-29T11:58:58
|
|
Make stratum socket fail more robust on windows by disabling the send buffer.
Reuse the same curl handle forcing a new connection instead of risking derefencing.
Add information about submission failure to stratum send.
|
|
cafe9aac
|
2012-10-28T14:42:54
|
|
Only add stratum share to database if we succeeded in submitting it, with a debug output saying it succeeded.
|
|
d9276557
|
2012-10-27T23:20:10
|
|
Show only the URL in the status bar to avoid long prefixes making for extra long lines.
|
|
2e56706c
|
2012-10-27T23:06:37
|
|
Display compact status in menu and update README to reflect current menu entries.
|
|
d97e19f1
|
2012-10-27T22:55:47
|
|
Add a compact display mode that does not list per device statistics in the status window.
|
|
784a41c8
|
2012-10-27T22:17:30
|
|
Add blank spaces after best share displayed.
|
|
d85b60c0
|
2012-10-27T17:28:42
|
|
Round a few static string arrays up to 4 byte boundaries for ARM.
|
|
7bca8a0a
|
2012-10-27T17:27:06
|
|
Display best share diff for scrypt as well.
|
|
27aa82aa
|
2012-10-27T17:21:22
|
|
Show the best diff share as "best share" and add info to the README.
|
|
a6cb920a
|
2012-10-27T16:49:00
|
|
Display the best diff share submitted so far.
|
|
f7b79e34
|
2012-10-27T12:33:46
|
|
Redundant check.
|
|
68c881fd
|
2012-10-23T20:17:10
|
|
Handle crash exceptions by trying to restart cgminer unless the --no-restart option is used.
|
|
9ccc418a
|
2012-10-22T23:12:06
|
|
Switch queued count when choosing a different pool from a failed stratum pool in getwork thread.
|
|
334a9db4
|
2012-10-22T23:08:38
|
|
Put a mandatory 5s wait between reattempting a getwork on failure to avoid hammering requests.
|
|
17251795
|
2012-10-17T14:09:15
|
|
Merge pull request #319 from kanoi/mmq
MMQ new initialisation (that works) and clocking control
|
|
3fce32f4
|
2012-10-17T10:33:22
|
|
Use 3 significant digits when suffix string is used and values are >1000.
|
|
fc14b2ee
|
2012-10-17T09:56:42
|
|
MMQ new initialisation (that works) and clocking control
|
|
2aa5163b
|
2012-10-16T22:04:05
|
|
Cope with dval being zero in suffix_string and display a single decimal place when significant digits is not specified but the value is greater than 1000.
|
|
54d2999d
|
2012-10-16T21:20:02
|
|
Pad out the suffix string function with zeroes on the right.
|
|
99adf397
|
2012-10-16T19:47:31
|
|
Failure to calloc in bin2hex is a fatal failure always so just check for that failure within the function and abort, simplifying the rest of the code.
|
|
5fcc8612
|
2012-10-16T14:56:50
|
|
Clear the pool idle flag in stratum when it comes back to life.
|
|
7adb7a30
|
2012-10-15T23:10:24
|
|
Display correct share hash and share difficulty with scrypt mining.
|
|
57aac504
|
2012-10-15T17:29:33
|
|
Show work target diff for scrypt mining.
|
|
d4f8a0b2
|
2012-10-15T10:29:44
|
|
Round target difficulties down to be in keeping with the rounding of detected share difficulties.
|
|
bd377f76
|
2012-10-14T03:35:01
|
|
Align static arrays to 4 byte boundaries to appease ARM builds for stratum.
|
|
13676ef1
|
2012-10-12T18:00:14
|
|
Left align values that are suffix_string generated.
|
|
f22fe761
|
2012-10-12T17:36:48
|
|
Share_diff should not be converting the work data to hex.
|
|
7c7e5116
|
2012-10-12T14:53:16
|
|
Disable stratum detection with scrypt.
|
|
c3bdb359
|
2012-10-12T14:52:14
|
|
Use the suffix string function when displaying device hashrates.
|
|
660a0ffe
|
2012-10-12T14:46:55
|
|
Correct variables used in get_statline
|
|
a10e3294
|
2012-10-12T14:41:13
|
|
Be consistent with the get_statline function.
|
|
911b1788
|
2012-10-12T14:40:02
|
|
Use the suffix string function for displaying hashrate with 4 significant digits.
|
|
420fdf32
|
2012-10-12T14:17:29
|
|
Display the actual share diff next to the pool required diff, using a suffix creation function to prevent values of >1000 being shown in their entirety.
|
|
d211f8e0
|
2012-10-11T19:52:40
|
|
Create a fix-protocol option which prevents cgminer from switching to stratum if it's detected.
|
|
5ed6e9d5
|
2012-10-11T19:31:24
|
|
Simplify target generation code.
|
|
ca962ee5
|
2012-10-11T10:46:45
|
|
Use a 64 bit unsigned integer on the diff target to generate the hex target.
|
|
ef6ad423
|
2012-10-10T23:46:49
|
|
Only copy the stratum url to the rpc url if an rpc url does not exist.
|
|
974f65c6
|
2012-10-10T23:22:24
|
|
Ignore the value of stratum_active on calling initiate_stratum and assume we're always trying to reinitiate it, and set the active flag to false in that function.
|
|
07605fad
|
2012-10-10T23:07:33
|
|
stratum auth can be unset if we fail to authorise on subsequent calls to auth_stratum which undoes the requirement of setting it in one place so set it in pool_active.
|
|
80d43557
|
2012-10-08T22:59:50
|
|
Remove free that could segfault.
|
|
7d6bcab8
|
2012-10-08T22:15:30
|
|
Use the stratum url as the rpc url advertised if we switch to it.
|
|
662ab1ef
|
2012-10-08T21:34:46
|
|
Count each stratum work item as local work.
|
|
2023e53f
|
2012-10-08T13:48:18
|
|
Cope with one stratum pool being the only active pool when it dies by sleeping for 5 seconds before retrying to get work from it instead of getting work indefinitely.
|
|
ef822a25
|
2012-10-08T11:08:04
|
|
Detect stratum outage based on either select timing out or receiving an empty buffer and properly re-establish connection by disabling the stratum_active flag, coping with empty buffers in parse_stratum.
|
|
0a902071
|
2012-10-07T13:22:17
|
|
Merge branch 'master' into stratum
|
|
461b7c6d
|
2012-10-06T15:12:05
|
|
Display correct pool number when block is found.
|
|
8a32f381
|
2012-10-06T14:33:51
|
|
Use the stratum thread to detect when a stratum pool has died based on no message for 2 minutes.
|
|
0cddd1ab
|
2012-10-06T12:17:46
|
|
Only set the stratum auth flag once and once the stratum thread is started, use that to set/unset the stratum active flag.
|
|
7a01578c
|
2012-10-06T10:14:30
|
|
Only hand off to stratum from getwork if we succeed in initiating the protocol.
|
|
8893f7ab
|
2012-10-06T01:13:52
|
|
Target should only be 32 bytes copied.
|
|
687fed1d
|
2012-10-05T19:03:28
|
|
Use a static array for work submission data instead of stack memory.
|
|
c4aa8d26
|
2012-10-05T19:02:10
|
|
Clear the buffer data before sprinting to it.
|
|
f0901e0a
|
2012-10-05T18:08:33
|
|
Clear work stratum strings before setting them and add them to debug output.
|
|
a8d69302
|
2012-10-05T12:37:29
|
|
Move stratum sockets to curl infrastructure with locking around send+recv to begin support for proxies and ssl.
|
|
591c4334
|
2012-10-05T09:41:23
|
|
Make detect stratum fail if a proxy has been set up.
|
|
51c499a5
|
2012-10-05T00:08:49
|
|
Stratum does not currently have any proxy support so do not try to switch to stratum if a proxy has been specified.
|
|
deb0a9b6
|
2012-10-04T23:18:33
|
|
Windows doesn't work with MSG_PEEK on recv so move to a continuously updating buffer for incoming messages.
|
|
3c85498d
|
2012-10-04T09:38:05
|
|
Add space to reject reason.
|
|
b4450bb8
|
2012-10-04T09:17:28
|
|
Parse the reject reason where possible from stratum share submission.
|
|
512d2440
|
2012-10-04T08:52:56
|
|
Pass json error value to share result function to be able to parse reject reason in stratum.
|
|
9698858a
|
2012-10-03T18:19:31
|
|
Remove the sshare hash entry if we failed to send it.
|
|
284b786d
|
2012-10-03T11:18:08
|
|
Check the stratum pool difference has not changed compared to the work diff when testing whether a share meets the target or not and retarget if necessary.
|
|
ac0c813f
|
2012-10-03T10:33:11
|
|
Bit error in target calculation for stratum.
|
|
310239b8
|
2012-10-03T10:20:54
|
|
Revert "Parse reject reason from the stratum json error code if there is one."
This reverts commit c6a3d065fa6c19191af3709fc5b138faf0c0fafb.
Segfaults. Needs work.
|
|
3d982dfb
|
2012-10-03T09:49:01
|
|
Set work_block in gen_stratum_work for when work is reused to avoid thinking it's all stale.
|
|
74c11945
|
2012-10-03T09:42:20
|
|
Offset the current block detection to the prev block hash.
|
|
c6a3d065
|
2012-10-03T08:55:02
|
|
Parse reject reason from the stratum json error code if there is one.
|
|
9e0e6150
|
2012-10-03T01:14:35
|
|
We should be testing for id_val, not id in parse stratum response.
|
|
fdaabf59
|
2012-10-03T00:35:08
|
|
Make target on stratum scale to any size by clearing sequential bits according to diff.
|
|
a8a8ed62
|
2012-10-02T16:01:32
|
|
Correct target calculation in gen_stratum_work.
|
|
925d0192
|
2012-10-02T14:12:34
|
|
If a share result has an error code but still has an id, it is likely a reject, not an error.
|
|
1b7aa48c
|
2012-10-02T11:46:48
|
|
Initiate stratum the first time in pool_active only, allowing us to switch to it on getting a failed getwork and detecting the presence of stratum on the url at that time.
|
|
210bc9be
|
2012-10-02T10:02:25
|
|
If no stratum url is set by the end of the detect stratum routine, copy the sockaddr url.
|
|
78aafcec
|
2012-10-02T09:26:18
|
|
Make all buffers slightly larger to prevent overflow.
|
|
df91df35
|
2012-10-02T02:03:52
|
|
Userpass needs to be copied to user and pass earlier to allow stratum authorisation to work with it.
|
|
2941febd
|
2012-10-02T00:00:55
|
|
Store a sockaddr url of the stripped url used in determining sockaddr to not confuse it with the stratum url and fix build warnings.
|
|
2ccb6d78
|
2012-10-01T23:19:34
|
|
Decrease the queued count with stratum work once it's staged as well.
|
|
601d1aca
|
2012-10-01T23:15:50
|
|
Allow the stratum retry to initiate and auth stratum in pool_alive to make sure the stratum thread is started.
|
|
4a7ce9dd
|
2012-10-01T22:21:43
|
|
Avoid duplicating pool->rpc_url and setting pool->stratum_url twice to itself.
|
|
eaf7ed0d
|
2012-10-01T22:13:20
|
|
Detect if a getwork based pool has the X-Stratum header on startup, and if so, switch to the stratum based pool.
|
|
b495a51b
|
2012-10-01T18:50:32
|
|
Comment update.
|
|
2aacd89a
|
2012-10-01T18:46:33
|
|
Minor message change.
|
|
90b18937
|
2012-10-01T18:43:24
|
|
Create a work item from a "clean" request from stratum allowing the new block to be detected and the appropriate block change message to be given.
|
|
b97a33a5
|
2012-10-01T14:44:44
|
|
Use statically allocated stratum strings in struct work to cope with the inability to safely deallocate dynamically allocated ram.
|
|
e93f679a
|
2012-09-30T23:44:27
|
|
Use the current pool when deciding whether to reuse work from a stratum source rather than the work's previous pool.
|
|
6174c806
|
2012-09-30T23:36:05
|
|
Copy the stratum url to the rpc url to avoid none being set.
|
|
b5617734
|
2012-09-30T23:10:43
|
|
Provide locking around stratum send operations to avoid races.
|
|
8baac0d6
|
2012-09-30T23:03:45
|
|
Submit shares from stratum through the abstracted submit share function detecting what message they belong to and showing the data from the associated work, and then deleting it from the hash.
|
|
2de95151
|
2012-09-30T20:24:24
|
|
Abstract out share submit as a function to be useable by stratum.
|
|
739cba28
|
2012-09-30T19:19:46
|
|
Rename parse_stratum to parse_method as it is only for stratum messages that contain methods.
|
|
b871f69f
|
2012-09-30T19:13:50
|
|
Display stratum as mechanism in status line when current pool is running it.
|