summaryrefslogtreecommitdiffstats
path: root/xmrstak/net/jpsock.cpp
Commit message (Collapse)AuthorAgeFilesLines
* avoid out of order job processingpsychocrypt2018-05-171-8/+28
| | | | | | | | | | | The login result of a pool contains the first job for the miner. In the case where the pool is sending very fast after the pool login result a new job it is possible that the newer job is processed faster than the job within the login result. The result will be that the miner is mining an older job instead the newest (last received). - enumerate all received messages - trace the message id of the last procssed job - skip all jobs where the message id is older than the last procesed id
* Merge pull request #1553 from psychocrypt/fix-doubleJobfireice-uk2018-05-091-16/+30
|\ | | | | ignore duplicated equal job from pools
| * ignore duplicated equal job from poolspsychocrypt2018-05-091-16/+30
| | | | | | | | | | | | | | Some pools or proxys are sending multiple times in row the same job to the miner. This PR will extent the miner to trigger an socket error if job with the same `jobID` than the current active job is received. Move motd evaluation before the possibil part where a job is ignored.
* | fix possible race condition in jpsockpsychocrypt2018-05-071-2/+4
|/ | | | Trigger event with a new job after the current pool job is updated.
* Spell checkTony Butler2018-05-031-10/+10
|
* support stellite v4 forkpsychocrypt2018-05-011-0/+3
| | | | | | solve #1494 - add algorithm `cryptonight_v7_stellite` (internal named: `cryptonight_stellite`)
* Merge pull request #1501 from imperdin/patch-2fireice-uk2018-04-241-1/+1
|\ | | | | Small typo correction
| * Small typo correctionimperdin2018-04-241-1/+1
| |
* | rename printed algorithmspsychocrypt2018-04-221-5/+5
| | | | | | | | changes printed algorithm names to algorithms exposed to the used instead of internal used names
* | add support for IPBC coinpsychocrypt2018-04-221-0/+3
|/ | | | | - add algorithm `cryptonight_lite_v7_xor` - update documentation
* fix wrong unique_lock usagepsychocrypt2018-04-171-6/+6
| | | | | | | | | | | | clang warns about the wrong usage: ``` ``` xmrstak/net/jpsock.cpp:232:30: warning: parentheses were disambiguated as redundant parentheses around declaration of variable named 'job_mutex' [-Wvexing-parse] std::unique_lock<std::mutex>(job_mutex); ^~~~~~~~~~~ xmrstak/net/jpsock.cpp:232:30: note: add a variable name to declare a 'std::unique_lock<std::mutex>' initialized with 'job_mutex' std::unique_lock<std::mutex>(job_mutex); ```
* Add cn-heavy to algo reportfireice-uk2018-04-011-2/+5
|
* Yet another nicehash workaround -.-fireice-uk2018-03-311-0/+6
|
* POW AEON v7psychocrypt2018-03-271-0/+3
| | | | | - add new pow for AEON - fix missing cryptonight-heavy selection for multi hashes
* XMR-Stak 2.3.0 RCxmr-stak-devs2018-03-251-7/+44
| | | | | | | Co-authored-by: psychocrypt <psychocryptHPC@gmail.com> Co-authored-by: fireice-uk <fireice-uk@users.noreply.github.com> Co-authored-by: Lee Clagett <code@leeclagett.com> Co-authored-by: curie-kief <curie-kief@users.noreply.github.com>
* Add rig identifierfireice-uk2018-02-101-4/+4
|
* Fix cases where postive feedback was still occurring.Unknown2017-11-161-1/+2
|
* Remove whitespace linesUnknown2017-11-161-4/+4
|
* remove space indention with tabspsychocrypt2017-11-161-2/+2
| | | | - removed all space indention in `*.hpp` and `*.cpp` files
* Print motd on console and web uiUnknown2017-11-141-7/+14
|
* Pass threadno up the food chainUnknown2017-11-141-1/+1
|
* jpsock changesUnknown2017-11-141-7/+65
|
* Versioning final versionUnknown2017-11-101-2/+2
|
* Multi-pool final version (#90)fireice-uk2017-11-091-9/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Multi-pool first draft * Fix wspace from new IDE * Better TLS error message * Fix TLS bug * Don't put dev pool on stats + pool change-back * bug fixes * Error message work * fix win build * add per-pool nicehash setting * Fix bugs * rm debug msg * Multipool guided setup * Support TLS and Nicehash in config * prelim jconf changes * final multipool changes * increase default retry_time to 30, fix mac erro * rm debug dev pool settings * Fix another source of connect runaway
* amd: use 64bit targetpsychocrypt2017-10-241-2/+0
| | | | | - remove 32bit target value - use always 64bit target for amd backend
* Implement pool-controlled nonce allocationfireice-uk2017-10-221-1/+6
|
* cleanup includespsychocrypt2017-09-301-9/+9
|
* group filespsychocrypt2017-09-301-0/+620
- move source code to `src` - categorize files and move to group folder - change upper case class files to lower case - change C++ header to `*.hpp`
OpenPOWER on IntegriCloud