summaryrefslogtreecommitdiffstats
path: root/xmrstak
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #1608 from psychocrypt/topic-versionIncease2_4_4fireice-uk2018-05-301-1/+1
|\ | | | | increase version to 2.4.4
| * increase version to 2.4.4psychocrypt2018-05-301-1/+1
| | | | | | | | version prepere for the next release
* | Merge pull request #1607 from psychocrypt/toipic-removeNotNeededDefinefireice-uk2018-05-301-1/+1
|\ \ | | | | | | remove definition of `_mm256_set_m128i`
| * | remove definition of `_mm256_set_m128i`psychocrypt2018-05-301-1/+1
| |/ | | | | | | The define of `_mm256_set_m128i` is not needed and avoid intel compiler throws a warning about it.
* | Merge pull request #1592 from psychocrypt/fix-dupNonces2fireice-uk2018-05-304-12/+20
|\ \ | |/ |/| fix duplicated nonce usage
| * fix duplicated nonce usagepsychocrypt2018-05-224-12/+20
| | | | | | | | | | | | - avoid that a nonce which not fits to the current job is used (check jobId after start nonce is consumed) - move jobId check into the if condition to get a new bunch of nonces - CPU: add jobId validation after the start nonce is consumed
* | Merge pull request #1569 from psychocrypt/fix-cuda9VoltaShufflefireice-uk2018-05-221-1/+1
|\ \ | |/ |/| fix possible deadlock with Volta
| * fix possible deadlock with Voltapsychocrypt2018-05-161-1/+1
| | | | | | | | | | | | | | If CUDA 9.X is used and the miner is compiled for `sm_70` and used with Volta GPUs than the miner deadlocks if `threads` is not a multiple of `32`. - use `__activemask()` to get all active lanes
* | Add options to set wait/work time for benchmark; Fixup as reqTony Butler2018-05-172-8/+50
| |
* | Merge pull request #1568 from psychocrypt/fix-avoidOutOfOrderJobProcessingfireice-uk2018-05-172-10/+33
|\ \ | | | | | | avoid out of order job processing
| * | avoid out of order job processingpsychocrypt2018-05-172-10/+33
| |/ | | | | | | | | | | | | | | | | | | | | 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
* | github annotationspsychocrypt2018-05-122-52/+62
| | | | | | | | | | | | - reformat `read_write_lock.h` - fix spelling issue - move job id increase of the write to the buttom
* | use read write locks to secure job updatespsychocrypt2018-05-122-61/+6
| | | | | | | | user read write locks to be sure that no job is consumend during the job update
* | add license header to `read_write_lock.h`psychocrypt2018-05-121-0/+23
| |
* | add read write lock classpsychocrypt2018-05-124-45/+148
| | | | | | | | | | | | | | | | add log class from Will Zhang: Package: cpputil Source: https://github.com/willzhang4a58/cpputil License: MIT License
* | fix job consume (possible deadlock)psychocrypt2018-05-129-85/+78
|/ | | | | | | | | fix #1505 - fix possible deadlock of the executor thread - fix racecondition during the job consumation - remove switch_work in all classes `minethd` - move `consume_work` into `globalStates`
* 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.
* | Merge pull request #1554 from psychocrypt/fix-possibleRaceConditionJpSockfireice-uk2018-05-081-2/+4
|\ \ | | | | | | fix possible race condition in jpsock
| * | fix possible race condition in jpsockpsychocrypt2018-05-071-2/+4
| | | | | | | | | | | | Trigger event with a new job after the current pool job is updated.
* | | Fix condition on stellite checkJason Rhinelander2018-05-081-1/+1
| |/ |/|
* | Merge pull request #1537 from psychocrypt/fix-minerWorkInitialPoolIdfireice-uk2018-05-053-14/+26
|\ \ | |/ |/| set correct `iPoolId` for miner_work
| * set correct `iPoolId` for miner_workpsychocrypt2018-05-043-14/+26
| | | | | | | | | | - initialize miner_work iPoolId in the default constructor with the invalid pool id - move definition of `pool_data` into an own file
* | add masarignock2018-05-042-0/+2
|/
* Spell checkTony Butler2018-05-0384-854/+853
|
* support stellite v4 forkpsychocrypt2018-05-019-41/+121
| | | | | | solve #1494 - add algorithm `cryptonight_v7_stellite` (internal named: `cryptonight_stellite`)
* Merge pull request #1486 from psychocrypt/fix-disableCachefireice-uk2018-04-241-6/+6
|\ | | | | fix that cli option `--noAMDCache`
| * fix that cli option `--noAMDCache`psychocrypt2018-04-221-6/+6
| | | | | | | | - fix that to much OpenCL calls whre used if cache is disabled
* | 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-2210-34/+123
|/ | | | | - add algorithm `cryptonight_lite_v7_xor` - update documentation
* Merge pull request #1469 from ZedPea/devpsychocrypt2018-04-222-1/+3
|\ | | | | Add turtlecoin as a config option
| * Add turtlecoin as a config optionZedPea2018-04-192-1/+3
| |
* | Fixes #1467Vladimir Tamara2018-04-191-0/+1
|/
* version update to 2.4.3psychocrypt2018-04-181-1/+1
|
* Merge pull request #1454 from psychocrypt/bbscoin-devfireice-uk2018-04-182-1/+3
|\ | | | | BBSCoin support and get ready for cryptonight v7 upgrade
| * update BBSCoinpsychocrypt2018-04-182-2/+2
| | | | | | | | | | | | - fix dev pool algorithms - add note to `pools.tpl` - remove pool suggestion
| * Add BBSCoin support and get ready for cryptonight v7 upgradeRan Ding2018-04-182-1/+3
| |
* | remove pool suggestionpsychocrypt2018-04-181-1/+1
| |
* | Update ITNS with v4 fork to CN v1Brian Oates2018-04-171-1/+1
|/ | | | Official Announcement: https://intensecoin.com/2018/04/16/imminent-hard-fork-and-network-attack/
* 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 missing EOadd missing EOFpsychocrypt2018-04-171-1/+1
|
* remove fork for sumokoin and moneropsychocrypt2018-04-172-17/+17
| | | | remove fork version for sumokoin and monero7
* add independent dev pool coin descriptionpsychocrypt2018-04-1713-89/+141
| | | | | | | | | | | | | | - allow the dev pool to fork on a different block version than the user descriped coin All algorithm are centered around the user coin description. It is allowed to have two two different coin algorithms in the user coin description. It is only allowed to use algorithms for the dev pool coin description those are used in the user coin description. There are two ways to define a non forking coin. - set both user coin algorithm descriptions to the same algorithm and set version to zero - set the first algorithm in the user coin description to something you like to use in the dev pool and set the second algorithm to the correct representation of the coin. Set the version to 255. This will allow that the dev pool can mine on a different coin algorithm than the not forking user coin. Do not use an algorithm with different scratchpad size for the dev pool.
* fix wrong algo selectionpsychocrypt2018-04-173-8/+36
| | | | | In the case where the dev pool mines on a higher version than a monero fork coin the miner is not resetting the algorithm. This PR select the correct algorithm each time the block version hash changed.
* Merge pull request #1112 from psychocrypt/topic-nvidiaOpenCLfireice-uk2018-04-177-15/+73
|\ | | | | allow non AMD OpenCL driver and devices
| * allow non AMD OpenCL driver and devicespsychocrypt2018-04-147-15/+73
| | | | | | | | | | | | - add CLI flag to explicitly use non AMD OpenCL and devices - adjust OpenCL output (use OpenCL instead of AMD if --altOpenCL is sued) - optimize NVIDIA OpenCL auto suggestion
* | Merge pull request #1375 from psychocrypt/topic-exposeOrinalAlgorithmsfireice-uk2018-04-172-3/+14
|\ \ | | | | | | expose original algorithm
| * | expose original algorithmpsychocrypt2018-04-142-3/+14
| |/ | | | | | | | | - expose cryptonight_lite_v7, cryptonight_heavy and cryptonight_v7 - remove cryptonight_lite
OpenPOWER on IntegriCloud