summaryrefslogtreecommitdiffstats
path: root/xmrstak
Commit message (Collapse)AuthorAgeFilesLines
* 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
* | fix a few conversion warningspsychocrypt2018-04-149-15/+16
| | | | | | | | - fix conversion from large type tp small
* | change 64Bit size value to 32Bitpsychocrypt2018-04-146-24/+26
|/ | | | avoid conversion warning by reducing the size value type
* Update graft algorithm with graft fork supportJason Rhinelander2018-04-131-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-04-086-11/+35
| | | | Use the maximum scratchpad size from before and after the fork.
* amd simplify kernel for different algorithmspsychocrypt2018-04-084-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`
* Merge pull request #1324 from takeshibaconsuzuki/devpsychocrypt2018-04-061-2/+2
|\ | | | | Fix spelling mistake in gpu.cpp
| * Fix spelling mistake in gpu.cppTakeshi Suzuki2018-04-051-2/+2
| |
* | Merge pull request #1327 from Spudz76/devpsychocrypt2018-04-0628-31/+31
|\ \ | | | | | | Repair all 'namepsace' to 'namespace' (all within comments)
OpenPOWER on IntegriCloud