Skip to content
Snippets Groups Projects
  1. Sep 13, 2018
    • psychocrypt's avatar
      unify cpu cryptonight implementations · 931bd5fe
      psychocrypt authored
      xmr-stak has several implementations for multi hash per thread.
      The results into 3 intepedent implementations.
      Each time the algorithm must be changed the possibility to introduce errors is very large.
      
      - unify the different cryptonight CPU implementations
      - simplify the function selection array to find the specilized cryptonight implementation
      - add a intermediat pointer to access the large state (similar to the old multi hash implementation)
      
      As side effect this change increases the speed of the single and multi hash algorithm.
      931bd5fe
  2. Jul 11, 2018
    • psychocrypt's avatar
      fix wrong miner algorithm in result data · e149fef1
      psychocrypt authored
      fix #1708
      
      The extension of the job result contains the wrong algorithm used to create the nonce.
      The fix provide now the correct used algorithm even if the coin is forking to a new algorithm.
      
      - forward the used algorithm from the miner
      e149fef1
  3. May 22, 2018
    • psychocrypt's avatar
      fix duplicated nonce usage · 0d85a32d
      psychocrypt authored
      - 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
      0d85a32d
  4. May 12, 2018
    • psychocrypt's avatar
      fix job consume (possible deadlock) · 95cc462d
      psychocrypt authored
      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`
      95cc462d
  5. May 03, 2018
  6. Apr 17, 2018
    • psychocrypt's avatar
      add independent dev pool coin description · 0877e2f6
      psychocrypt authored
      - 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.
      0877e2f6
    • psychocrypt's avatar
      fix wrong algo selection · a5ddd040
      psychocrypt authored
      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.
      a5ddd040
  7. Apr 14, 2018
    • psychocrypt's avatar
      allow non AMD OpenCL driver and devices · 4682b28a
      psychocrypt authored
      - 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
      4682b28a
  8. Apr 08, 2018
    • psychocrypt's avatar
      amd simplify kernel for different algorithms · a5797643
      psychocrypt authored
      - 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`
      a5797643
  9. Apr 02, 2018
  10. Apr 01, 2018
  11. Mar 27, 2018
    • psychocrypt's avatar
      POW AEON v7 · 5a2c4444
      psychocrypt authored
      - add new pow for AEON
      - fix missing cryptonight-heavy selection for multi hashes
      5a2c4444
  12. Mar 25, 2018
  13. Feb 19, 2018
  14. Feb 17, 2018
  15. Jan 04, 2018
  16. Dec 30, 2017
  17. Dec 22, 2017
  18. Dec 02, 2017
  19. Nov 16, 2017
  20. Nov 15, 2017
  21. Nov 14, 2017
    • Unknown's avatar
      · 608139cc
      Unknown authored
      Pass threadno up the food chain
      608139cc
  22. Nov 10, 2017
    • psychocrypt's avatar
      add backend type · 13433097
      psychocrypt authored
      - add type of the backend to each backend-plugin
      - add `gteName` to `iBackend` to get the name of the backend
      13433097
  23. Oct 27, 2017
  24. Oct 26, 2017
    • psychocrypt's avatar
      thread affinity for non cpu backends · b685c90f
      psychocrypt authored
      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
      b685c90f
  25. Oct 24, 2017
  26. Oct 22, 2017
  27. Oct 12, 2017
  28. Oct 01, 2017
  29. Sep 30, 2017
Loading