Skip to content
Snippets Groups Projects
  1. Sep 19, 2018
    • psychocrypt's avatar
      OpenCL: avoid out of memory access · 16da9886
      psychocrypt authored
      During the initialization of the compile parameter for OpenCL it could be that the
      fixed size buffer is to small. To avoid this we are now using `std::string`.
      There is no problem by using `std::string` because this part of code is not perfromance critical.
      16da9886
  2. 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
  3. Aug 28, 2018
    • psychocrypt's avatar
      add self test hashes · 69628078
      psychocrypt authored
      The most algorithm currently are not checked in the cpu self test function.
      
      - add hash for each algorithm
      69628078
  4. Aug 08, 2018
  5. Jul 17, 2018
  6. Jul 16, 2018
  7. Jul 14, 2018
    • psychocrypt's avatar
      cryptonight_bittube2 · 12575794
      psychocrypt authored
      - add cryptonight_heavy derivate cryptonight_bittube2
      - add coin bittube
      - remove coin ipbc because this coin is now called bittube
      12575794
  8. 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
  9. Jul 08, 2018
  10. Jun 10, 2018
  11. Jun 07, 2018
  12. Jun 05, 2018
  13. May 30, 2018
  14. 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
  15. May 16, 2018
    • psychocrypt's avatar
      fix possible deadlock with Volta · 4a4a2f85
      psychocrypt authored
      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
      4a4a2f85
  16. May 12, 2018
  17. May 08, 2018
  18. May 04, 2018
  19. May 03, 2018
  20. May 01, 2018
  21. Apr 22, 2018
  22. Apr 19, 2018
  23. Apr 17, 2018
    • psychocrypt's avatar
      remove fork for sumokoin and monero · 053dcb01
      psychocrypt authored
      remove fork version for sumokoin and monero7
      053dcb01
    • 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
  24. Apr 14, 2018
  25. Apr 08, 2018
  26. Apr 06, 2018
  27. Apr 04, 2018
    • psychocrypt's avatar
      NVIDIA: fix sumokoin · ce60d710
      psychocrypt authored
      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
      ce60d710
    • psychocrypt's avatar
      fix cuda architecture detection · c3b687c0
      psychocrypt authored
      fix #1297
      
      If sm_20 is mixed with other architectures the detection for the minimal supported architecture is broken.
      c3b687c0
  28. Apr 03, 2018
Loading