|
fb987fd2
|
2012-09-29T19:15:58
|
|
We should be hashing the binary coinbase, not the hex one.
|
|
61360952
|
2012-09-29T17:44:19
|
|
Fix endianness of nonce submitted for stratum.
|
|
fab9ff3c
|
2012-09-29T16:10:44
|
|
Revert "Free stratum buffers added to the work struct when freeing work ram."
This reverts commit 13fdff6531a6586dadebff913d85252577fb5bb7.
Not always allocated... needs some more thought.
|
|
7415d7aa
|
2012-09-29T16:10:13
|
|
Begin implementing a hash database of submissions and attempt sending results.
|
|
13fdff65
|
2012-09-29T15:13:18
|
|
Free stratum buffers added to the work struct when freeing work ram.
|
|
aa93fa33
|
2012-09-29T15:02:23
|
|
Copy parameters from stratum work required for share submission.
|
|
4a297594
|
2012-09-29T14:48:34
|
|
Set lagging flag on first adding a pool to prevent pool slow warning at startup.
|
|
73d61ca4
|
2012-09-29T14:25:21
|
|
Fix work->target being a 32 byte binary in gen_stratum_work.
|
|
ac47f7f3
|
2012-09-29T14:16:16
|
|
Store and display stripped url in its own variable.
|
|
3db6fb4f
|
2012-09-29T13:07:00
|
|
Create machinery to divert work requests to stratum.
|
|
636f4b14
|
2012-09-29T11:38:52
|
|
Generate the work target in gen_stratum_work, setting default diff to 1 in case it is not yet set.
|
|
2e9ade14
|
2012-09-29T11:12:59
|
|
Generate work data, midstate and hash1 in gen_stratum_work.
|
|
e1468cc5
|
2012-09-29T11:02:25
|
|
Generate header created from stratum structures in gen_stratum_work.
|
|
5c74be59
|
2012-09-29T10:30:56
|
|
Generate merkle root hash in gen_stratum_work.
|
|
1f6fe551
|
2012-09-29T02:16:22
|
|
Generate the coinbase for generation of stratum based work.
|
|
54ab28fd
|
2012-09-29T00:38:09
|
|
Provide rudimentary support for stratum clean work command in the stratum thread.
|
|
04551445
|
2012-09-29T00:23:27
|
|
Cope with pools being removed in the stratum thread.
|
|
0f1f2a62
|
2012-09-28T18:04:28
|
|
Use the pool sock value directly in the stratum thread in case it changes after reconnecting.
|
|
56255a0c
|
2012-09-28T18:01:33
|
|
Create a stratum thread per pool that has stratum that monitors the socket and serves received data.
|
|
a6f1a622
|
2012-09-28T04:35:16
|
|
Create helper functions for checking when a socket is ready to read on and receive a single line at a time.
Begin stratum authorisation process.
|
|
30b665f0
|
2012-09-27T13:01:12
|
|
Test specifically for stratum being active in pool_active.
|
|
f6f43500
|
2012-09-27T09:06:56
|
|
Detect stratum in common place when adding urls, and use a bool to tell us when it's active.
|
|
a1b17229
|
2012-09-26T15:23:01
|
|
Initiate stratum and grab first json result.
|
|
58873c1d
|
2012-09-25T20:23:59
|
|
Get detailed addressinfo from the parsed URL for future raw socket usage when possible. IPV4 only for now.
|
|
ee3b7865
|
2012-09-25T05:46:07
|
|
Prepare for getaddrinfo call.
|
|
823a710a
|
2012-09-24T14:08:35
|
|
Display share difficulty on log with a shortened hash display on submission.
|
|
7c32562d
|
2012-09-24T11:34:50
|
|
API stats add some pool getwork difficulty stats
|
|
fd28d9f4
|
2012-09-24T09:03:27
|
|
Ignore any pings pushed to the worker threads if the thread is still paused to prevent it being enabled and disabled repeatedly.
|
|
57a73dce
|
2012-09-24T08:30:07
|
|
Test for sequential getwork failures on a pool that might actually be up but failing to deliver work as we may end up hammering it repeatedly by mistake.
|
|
a6bf276f
|
2012-09-19T01:14:43
|
|
API - Add last share difficulty for devices and pool
|
|
89b6989f
|
2012-09-19T00:54:55
|
|
Store and report Accepted,Rejected,Stale difficulty in the summary and API
|
|
7ede5a59
|
2012-09-18T14:30:46
|
|
WorkTime - display prevblock for scrypt
|
|
923b9e0d
|
2012-09-18T11:19:57
|
|
Calculate work difficulty for each getwork and display with WorkTime debug
|
|
796f3906
|
2012-09-16T07:57:43
|
|
WorkTime - multiple nonce per work and identify the work source
|
|
bd3c98aa
|
2012-09-15T14:04:57
|
|
Optional WorkTime details with each Accepted/Rejected work item
|
|
99f0607f
|
2012-09-12T23:26:43
|
|
API add display of and setting queue,scantime,expiry
|
|
e649aa39
|
2012-09-12T20:10:00
|
|
HW: dont submit bad shares
|
|
fced503e
|
2012-09-12T19:45:49
|
|
save individual pool proxy settings to config
|
|
0ac35054
|
2012-09-12T19:32:37
|
|
--default-config - allow command line to define the default configuration file for loading and saving
|
|
cef9731f
|
2012-09-12T07:44:00
|
|
CURL support for individual proxy per pool and all proxy types
|
|
307d8da0
|
2012-09-04T15:57:11
|
|
HW: error counter auto for all devices - ztex code not fixed
|
|
fd2034ce
|
2012-09-04T00:56:35
|
|
Merge branch 'main'
|
|
4023872b
|
2012-09-01T23:51:51
|
|
count device diff1 shares
|
|
568b0fed
|
2012-09-01T18:21:08
|
|
API allow full debug settings control
|
|
57c3b12f
|
2012-08-31T12:01:44
|
|
Sort the blocks database in reverse order, allowing us to remove the first block without iterating over them. Output the block number to debug.
|
|
f97bf2e2
|
2012-08-28T20:16:50
|
|
Keep the local block number in the blocks structs stored and sort them by number to guarantee we delete the oldest when ageing the block struct entries.
|
|
b7687588
|
2012-08-27T10:15:48
|
|
Test for lagging once more in queue_request to enable work to leak to backup pools.
|
|
579c1299
|
2012-08-27T10:10:50
|
|
There is no need to try to switch pools in select_pool since the current pool is actually not affected by the choice of pool to get work from.
|
|
4a210d4e
|
2012-08-27T10:02:53
|
|
Only clear the pool lagging flag if we're staging work faster than we're using it.
|
|
d1683f75
|
2012-08-27T09:55:19
|
|
needed flag is currently always false in queue_request. Remove it for now.
|
|
1b7db5bc
|
2012-08-27T09:47:55
|
|
thr is always NULL going into queue_request now.
|
|
0e0093e6
|
2012-08-24T01:23:54
|
|
Select pool regardless of whether we're lagging or not, and don't queue another request in switch pool to avoid infinite recursion.
|
|
7992e5f3
|
2012-08-24T00:41:14
|
|
Carry the needed bool over the work command queue.
|
|
37fa7d36
|
2012-08-24T00:35:26
|
|
Move the decision to queue further work upstream before threads are spawned based on fine grained per-pool stats and increment the queued count immediately.
|
|
618b3e8b
|
2012-08-23T23:50:38
|
|
Track queued and staged per pool once again for future use.
|
|
4ca288e8
|
2012-08-23T16:55:14
|
|
Limit queued_getworks to double the expected queued maximum rather than factoring in number of pools.
|
|
ad902695
|
2012-08-23T16:33:24
|
|
Minimise the number of getwork threads we generate.
|
|
0feb679b
|
2012-08-23T12:19:23
|
|
Only keep the last 6 blocks in the uthash database to keep memory usage constant. Storing more is unhelpful anyway.
|
|
b74b54d9
|
2012-08-23T11:09:09
|
|
Check we haven't staged work while waiting for a curl entry before proceeding.
|
|
61df3013
|
2012-08-22T23:03:17
|
|
Ignore the submit_fail flag when deciding whether to recruit more curls or not since we have upper bounds on how many curls can be recruited, this test is redundant and can lead to problems.
|
|
edd9b816
|
2012-08-22T10:07:20
|
|
Do not add time to dynamic opencl calculations over a getwork.
|
|
9de3a264
|
2012-08-21T22:51:34
|
|
Increase max curls to number of mining threads + queue * 2, accounting for up and downstream comms.
|
|
3ab5dba6
|
2012-08-21T22:50:09
|
|
Queue enough requests to get started.
|
|
3ebe8e8c
|
2012-08-21T22:09:11
|
|
Revert "Scale maximum number of curls up according to work submission rate."
This reverts commit 1dff48e7595d4b407e6b31ecc5278455858157ea.
Did not increase staged work even though it decreased queues.
|
|
3ceb57b8
|
2012-08-21T21:54:33
|
|
There is no point trying to clone_work in get_work() any more since we clone on every get_work_thread where possible.
|
|
787e40a7
|
2012-08-21T21:53:35
|
|
There is no point subtracting 1 from maxq in get_work_thread.
|
|
1dff48e7
|
2012-08-21T21:50:20
|
|
Scale maximum number of curls up according to work submission rate.
|
|
56be7522
|
2012-08-21T21:22:26
|
|
Roll back to 45f0ac7b482abe9d9d7c4644c286df6e70924145
|
|
c1886c9c
|
2012-08-21T21:13:14
|
|
Assume we need a full allotment of work after lp and make clone_work clone_lpwork only.
|
|
82fa6e25
|
2012-08-21T21:11:22
|
|
There is no point running through clone_work from get_work() now that cloning is done from the get_work_thread.
|
|
caa266ca
|
2012-08-21T21:10:23
|
|
Make opt_queue a function of mining threads in clone_work as well.
|
|
652efc69
|
2012-08-21T21:08:17
|
|
opt_queue should be a function of the number of mining threads.
|
|
8ed381f7
|
2012-08-21T19:47:30
|
|
Only set lagging flag once there are no staged work items.
|
|
f5ac84b8
|
2012-08-21T19:32:05
|
|
select_pool does not switch back to the primary once lagging is disabled.
|
|
af32fb9a
|
2012-08-21T00:28:50
|
|
Merge pull request #301 from kanoi/minerphp
API new command 'coin' with mining information
|
|
f71d635f
|
2012-08-21T17:02:11
|
|
Free work before retrying in get_work_thread.
|
|
b3cfe472
|
2012-08-20T22:24:28
|
|
Increment total work counter under mutex lock.
|
|
e8daf1d8
|
2012-08-20T12:45:07
|
|
Increment the queued count after the curl is popped in case there's a delay waiting on curls and we think we've queued work when in fact we're waiting on curls.
|
|
b3e9858c
|
2012-08-20T16:07:20
|
|
API new command 'coin' with mining information
|
|
08948e02
|
2012-08-20T13:33:08
|
|
Increase curl reaping time to 5 minutes since comms between curl requests can be 2 mins apart with lots of rolltime.
|
|
51d485e2
|
2012-08-20T12:31:43
|
|
No need for extra variable in hash_push.
|
|
c01284fb
|
2012-08-20T11:58:05
|
|
Remove short options -r and -R to allow them to be reused and remove readme entries for deprecated options.
|
|
8fc701dd
|
2012-08-20T11:18:37
|
|
Deprecate the opt_fail_pause parameter, leaving a null placeholder for existing configurations.
|
|
35cb7fd1
|
2012-08-20T11:16:38
|
|
Don't pause after failed getwork, set lagging flag and reassess.
|
|
69d8c339
|
2012-08-20T11:08:56
|
|
Add message to share if it's a resubmit.
|
|
b622e97e
|
2012-08-20T11:03:28
|
|
We should not be pausing in trying to resubmit shares.
|
|
a9278ce9
|
2012-08-20T11:00:10
|
|
Get rid of the extending fail pause on failed connects since we discard work after a period.
|
|
34b8dcb7
|
2012-08-20T10:58:12
|
|
get_work always returns true so turn it into a void function.
|
|
260b1c87
|
2012-08-20T10:54:59
|
|
get_work never returns false so get rid of fail pause loop.
|
|
4df9c387
|
2012-08-20T10:53:42
|
|
Get rid of pause and retry from get_upstream_work so we only do it from one place.
|
|
1f295cd7
|
2012-08-20T10:43:50
|
|
Deprecate the opt_retries feature as no one wants cgminer to automatically abort. Leave a null placeholder for configurations that still have it.
|
|
f6d2853c
|
2012-08-18T19:53:43
|
|
Summary layout difference.
|
|
ed3eb577
|
2012-08-18T15:44:48
|
|
Introduce a new statistic, Work Utility, which is the number of difficulty 1 shares solved per minute. This is useful for measuring a relative rate of work that is independent of reject rate and target difficulty.
|
|
26ab7346
|
2012-08-18T15:27:53
|
|
Implement a new pool strategy, BALANCE, which monitors work performed per pool as a rolling average every 10 minutes to try and distribute work evenly over all the pools.
Do this by monitoring diff1 solutions to allow different difficulty target pools to be treated equally, along with solo mining.
Update the documentation to describe this strategy and more accurately describe the load-balance one.
|
|
d8c76bbd
|
2012-08-18T11:26:11
|
|
Getwork fail was not being detected. Remove a vast amount of unused variables and functions used in the old queue request mechanism and redefine the getfail testing.
|
|
8fa70809
|
2012-08-18T11:07:32
|
|
Don't try to start devices that don't support scrypt when scrypt mining.
|
|
b814b42c
|
2012-08-16T18:55:09
|
|
Consider us lagging only once our queue is almost full and no staged work.
|
|
b60f9da4
|
2012-08-16T17:24:04
|
|
Simplify the enough work algorithm dramatically.
|
|
0e56dffd
|
2012-08-16T17:01:25
|
|
Only queue from backup pools once we have nothing staged.
|
|
e16b7566
|
2012-08-16T15:49:11
|
|
Don't keep queueing work indefinitely if we're in opt failover mode.
|