1. 07 Feb, 2019 2 commits
    • psychocrypt's avatar
      remove cn_turtle as native POW · 1033dc28
      psychocrypt authored
      cryptonight_turtle is only cryptonight_v8 with a different scratchpad,
      iteration and mask value.
      We are using now the new machanism to describe such derived POWs.
      1033dc28
    • psychocrypt's avatar
      refactor POW definition · 3426e185
      psychocrypt authored
      A POW is now defined by a function `f` and three degrees of freedom `f(iteration, scratchpad, mask)`.
      `f` is the base algorithm like `cryptonight, cryptonight_gpu`
      An easy to pars snytax to write the full POW definition down is: `cryptonight_gpu:0x0000c000:0x00200000:0x001fffc0`
      
      This change make it very easy to integrate the new trend of variate the
      number of iteations or the scratchpad size without modifying the full
      code.
      3426e185
  2. 04 Feb, 2019 6 commits
  3. 03 Feb, 2019 3 commits
  4. 02 Feb, 2019 5 commits
  5. 01 Feb, 2019 10 commits
  6. 30 Jan, 2019 5 commits
  7. 29 Jan, 2019 1 commit
  8. 25 Jan, 2019 4 commits
  9. 09 Jan, 2019 1 commit
  10. 29 Dec, 2018 3 commits
    • psychocrypt's avatar
      OpenCl: avoid multiple map lookups · 0643f601
      psychocrypt authored
      Avoid that we do multiple lookups to `std::map` to find the OpenCL
      kernel binaries.
      0643f601
    • psychocrypt's avatar
      improve POW algorithm selection · 758dbfb1
      psychocrypt authored
      - add helper method `GetAllAlgorithms()` to get all active POW
      algorithms
      - select max scratchpad memory size based on the dev pool and user
      algorithms
      758dbfb1
    • psychocrypt's avatar
      OpenCL: allow more than two algorithms · a39ee088
      psychocrypt authored
      In the current implementation the POW algorithm in dev pool section of a
      currency will not be taken into account during the binary creation.
      This PR changes the behavior and allow to create binaries for more than two POW algorihms.
      a39ee088