summaryrefslogtreecommitdiffstats
path: root/xmrstak/backend/cpu/minethd.cpp
Commit message (Collapse)AuthorAgeFilesLines
* fix duplicated nonce usagepsychocrypt2018-05-221-0/+6
| | | | | | - 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 job consume (possible deadlock)psychocrypt2018-05-121-12/+4
| | | | | | | | | 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`
* Spell checkTony Butler2018-05-031-3/+3
|
* support stellite v4 forkpsychocrypt2018-05-011-2/+32
| | | | | | solve #1494 - add algorithm `cryptonight_v7_stellite` (internal named: `cryptonight_stellite`)
* add support for IPBC coinpsychocrypt2018-04-221-3/+32
| | | | | - add algorithm `cryptonight_lite_v7_xor` - update documentation
* Fixes #1467Vladimir Tamara2018-04-191-0/+1
|
* add independent dev pool coin descriptionpsychocrypt2018-04-171-12/+14
| | | | | | | | | | | | | | - 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-171-4/+18
| | | | | 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.
* fix a few conversion warningspsychocrypt2018-04-141-5/+5
| | | | - fix conversion from large type tp small
* Repair all 'namepsace' to 'namespace' (all within comments)Tony Butler2018-04-051-1/+1
|
* change `height` to `version`psychocrypt2018-04-021-2/+2
| | | | -rename `mining_fork_height` to `*_version`
* refactor mining algo selectionpsychocrypt2018-04-011-25/+35
| | | | | - add `fork_height` to currency - refactor algorithm selection
* POW AEON v7psychocrypt2018-03-271-30/+70
| | | | | - add new pow for AEON - fix missing cryptonight-heavy selection for multi hashes
* XMR-Stak 2.3.0 RCxmr-stak-devs2018-03-251-105/+162
| | | | | | | 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>
* void nonce overlapppingpsychocrypt2018-01-271-3/+4
| | | | | The cpu miner backend uses the wrong ranges of nonces instead of using `[startNonce,startNonce + nonce_chunk)` (startNonce,startNonce + nonce_chunk]` is used. This will results in an overlap with nonces used by the gpu back-ends.
* Merge pull request #772 from vtamara/comp_adJpsychocrypt2018-01-211-0/+2
|\ | | | | It compiles on OpenBSD/adJ 6.2
| * Extra code path for OpenBSD suggested by psychocryptVladimir Tamara2018-01-161-1/+3
| |
| * It compiles on OpenBSD/adJ 6.2Vladimir Tamara2018-01-011-1/+1
| |
* | fix set affinity for windowspsychocrypt2018-01-131-1/+10
| | | | | | | | Ignore any affinity >=64 and throw a warning.
* | Update minethd.cppBrian Recchia2018-01-041-1/+1
|/ | | | | | Changed capitalization of "macOS" Squashed the commit
* Make sure we are using a steady clockfireice-uk2017-12-221-4/+2
|
* Fix nonce allocationUnknown2017-12-071-15/+23
|
* Extend low_power_mode to do up to 5 cn hashes at a time.Grzegorz Hasse2017-12-061-80/+157
| | | | | | The "low_power_mode" option in config.txt can be set to numeral values between 1 and 5. A value of 5 seems optimal on certain processors with large L4 cache.
* Remove whitespace linesUnknown2017-11-161-3/+3
|
* fix wrong indentions by hand after auto conversionpsychocrypt2017-11-161-3/+4
|
* remove space indention with tabspsychocrypt2017-11-161-3/+3
| | | | - removed all space indention in `*.hpp` and `*.cpp` files
* Merge pull request #115 from fireice-uk/topic-net-extpsychocrypt2017-11-161-4/+4
|\ | | | | Network extensions
| * Pass threadno up the food chainUnknown2017-11-141-4/+4
| |
* | Fix misc bugs (#117)fireice-uk2017-11-151-0/+7
|/ | | | | | * CONF_NO_TLS fix * gpu error fix + always return to sched after pin
* add backend typepsychocrypt2017-11-101-0/+1
| | | | | - add type of the backend to each backend-plugin - add `gteName` to `iBackend` to get the name of the backend
* rename `xmr` to `monero`psychocrypt2017-10-271-30/+36
| | | | | | - rename all `xmr` to `monero` - be insensitive while check for set currency - add function to compate two strings insensitive
* add aeon support to backend cpupsychocrypt2017-10-271-38/+82
| | | | | - update auto suggestion default and hwloc - extent hash function table to support aeon and xmr within one miner
* check if affinity must be setpsychocrypt2017-10-271-3/+3
| | | | - check if affinity vale before calling `thd_setaffinity`
* thread affinity for non cpu backendspsychocrypt2017-10-261-5/+5
| | | | | | | | This is a follow up of #43 and use the some mechanism to set the thread affinity for non cpu backends correct. - use cpu affinity workflow for nvidia and amd - cpu: move messages of thread spawning before thread creation
* remove double blob copypsychocrypt2017-10-231-4/+0
| | | | - remove double copied memory
* move nicehash check into nonce calcfireice-uk2017-10-221-8/+8
|
* note-to-self: don't type with your foreheadfireice-uk2017-10-221-1/+1
|
* separate nonce_ctr from result pushfireice-uk2017-10-221-32/+24
|
* Implement changes suggestedfireice-uk2017-10-221-2/+2
|
* Implement pool-controlled nonce allocationfireice-uk2017-10-221-8/+28
|
* add order_fix for double hashfireice-uk2017-10-181-0/+2
|
* rm pin_thd_affinityfireice-uk2017-10-171-8/+2
|
* Affinity - fix Cfireice-uk2017-10-121-3/+6
|
* Affinity - fix Bfireice-uk2017-10-121-7/+9
|
* swap orderfireice-uk2017-10-121-3/+3
|
* print warningfireice-uk2017-10-111-1/+2
|
* cleanup and give a return from set_affinityfireice-uk2017-10-111-31/+10
|
* Port the crash fix from xmr-stak-cpufireice-uk2017-10-051-4/+15
|
* rename `Params` to `params`psychocrypt2017-09-301-1/+1
|
* fix compilepsychocrypt2017-09-301-19/+22
|
OpenPOWER on IntegriCloud