summaryrefslogtreecommitdiffstats
path: root/xmrstak
Commit message (Collapse)AuthorAgeFilesLines
* Fix FTBFSpowerTimothy Pearson2018-06-042-2/+1
|
* increase version to 2.4.4psychocrypt2018-06-041-1/+1
| | | | version prepere for the next release
* remove definition of `_mm256_set_m128i`psychocrypt2018-06-041-1/+1
| | | | The define of `_mm256_set_m128i` is not needed and avoid intel compiler throws a warning about it.
* fix duplicated nonce usagepsychocrypt2018-06-044-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
* fix possible deadlock with Voltapsychocrypt2018-06-041-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-06-042-8/+50
|
* avoid out of order job processingpsychocrypt2018-06-042-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-06-042-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-06-042-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-06-041-0/+23
|
* add read write lock classpsychocrypt2018-06-044-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-06-049-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`
* ignore duplicated equal job from poolspsychocrypt2018-06-041-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-06-041-2/+4
| | | | Trigger event with a new job after the current pool job is updated.
* Fix condition on stellite checkJason Rhinelander2018-06-041-1/+1
|
* set correct `iPoolId` for miner_workpsychocrypt2018-06-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-06-042-0/+2
|
* Spell checkTony Butler2018-06-0483-847/+845
|
* support stellite v4 forkpsychocrypt2018-06-049-41/+121
| | | | | | solve #1494 - add algorithm `cryptonight_v7_stellite` (internal named: `cryptonight_stellite`)
* fix that cli option `--noAMDCache`psychocrypt2018-06-041-6/+6
| | | | - fix that to much OpenCL calls whre used if cache is disabled
* Small typo correctionimperdin2018-06-041-1/+1
|
* rename printed algorithmspsychocrypt2018-06-041-5/+5
| | | | changes printed algorithm names to algorithms exposed to the used instead of internal used names
* add support for IPBC coinpsychocrypt2018-06-0410-34/+123
| | | | | - add algorithm `cryptonight_lite_v7_xor` - update documentation
* Add turtlecoin as a config optionZedPea2018-06-042-1/+3
|
* Fixes #1467Vladimir Tamara2018-06-041-0/+1
|
* version update to 2.4.3psychocrypt2018-06-041-1/+1
|
* update BBSCoinpsychocrypt2018-06-042-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-06-042-1/+3
|
* remove pool suggestionpsychocrypt2018-06-041-1/+1
|
* Update ITNS with v4 fork to CN v1Brian Oates2018-06-041-1/+1
| | | | Official Announcement: https://intensecoin.com/2018/04/16/imminent-hard-fork-and-network-attack/
* fix wrong unique_lock usagepsychocrypt2018-06-041-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-06-041-1/+1
|
* remove fork for sumokoin and moneropsychocrypt2018-06-042-17/+17
| | | | remove fork version for sumokoin and monero7
* add independent dev pool coin descriptionpsychocrypt2018-06-0413-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-06-043-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.
* allow non AMD OpenCL driver and devicespsychocrypt2018-06-047-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
* expose original algorithmpsychocrypt2018-06-042-3/+14
| | | | | - expose cryptonight_lite_v7, cryptonight_heavy and cryptonight_v7 - remove cryptonight_lite
* fix a few conversion warningspsychocrypt2018-06-048-14/+15
| | | | - fix conversion from large type tp small
* change 64Bit size value to 32Bitpsychocrypt2018-06-046-24/+26
| | | | avoid conversion warning by reducing the size value type
* Update graft algorithm with graft fork supportJason Rhinelander2018-06-041-1/+1
| | | | | | | | | | Graft is forking soon, with updated software released yesterday, to what will be v8 in Graft (current Graft cryptonight algorithm is graft v7). This commit updates the `graft` algorithm to recognize the fork and switch algorithms. Fork annoucement: https://www.graft.network/2018/04/12/patch-1-1-1-released-major-network-update-block-65110/
* refactor scratchpad creationpsychocrypt2018-06-046-11/+35
| | | | Use the maximum scratchpad size from before and after the fork.
* amd simplify kernel for different algorithmspsychocrypt2018-06-044-431/+295
| | | | | | | - remove version numbers within the kernel - create seperate program context for each mining algorithm - remove kernel `cn1_monero` is now integrated in `cn1` - remname `cnX` kernel in `cnX + algorithmNumber`
* Fix spelling mistake in gpu.cppTakeshi Suzuki2018-06-041-2/+2
|
* Repair more typos in comments onlyTony Butler2018-06-045-6/+6
|
* Repair all 'namepsace' to 'namespace' (all within comments)Tony Butler2018-06-0425-25/+25
|
* Add CROAT coinridd842018-06-042-0/+2
|
* Add support for Haven (XHV) using CryptoNight Heavyhavenprotocol2018-06-042-0/+2
|
* increase version to 2.4.2psychocrypt2018-06-041-1/+1
|
* NVIDIA: fix sumokoinpsychocrypt2018-06-041-26/+20
| | | | | | | | sumokoin is broken if `bfactor >= 5` is used (default for windows) sumokoin for `sm_20` is broken due to the missing extern shared memory - call phase3 kernel two times if sumokoin is enabled - create extern shared memory for phase3 kernel
* fix cuda architecture detectionpsychocrypt2018-06-041-1/+1
| | | | | | fix #1297 If sm_20 is mixed with other architectures the detection for the minimal supported architecture is broken.
OpenPOWER on IntegriCloud