# PoW change for grin-miner

**URL:** <https://forum.grin.mw/t/pow-change-for-grin-miner/5489>\
**Category:** Mining\
**Created:** [July 10, 2019, 9:32pm UTC](https://forum.grin.mw/t/pow-change-for-grin-miner/5489 "2019-07-10T21:32:38Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![coinmine](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.grin.mw/coinmine/32/658_2.png) [@coinmine](https://forum.grin.mw/u/coinmine)\
**Post date:** [July 10, 2019, 9:32pm UTC](https://forum.grin.mw/t/pow-change-for-grin-miner/5489/1 "2019-07-10T21:32:38Z")

</div>

Hey all!

We’ve been supporting Grin and using grin-miner for our customers. I’m working on the preparation for the hardfork and was wondering when those changes will be added to the grin-miner repo. Are there any differences needed in the config file? I’d like to start working on this so that we can day-1 switch to the new PoW.

Thanks for all the help!

- Adam from Coinmine

---

<div class="post-metadata">

**Author:** ![jaspervdm](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.grin.mw/jaspervdm/32/3095_2.png) [@jaspervdm](https://forum.grin.mw/u/jaspervdm)\
**Post date:** [July 11, 2019, 12:31am UTC](https://forum.grin.mw/t/pow-change-for-grin-miner/5489/2 "2019-07-11T00:31:34Z")

</div>

The latest master of grin-miner has a cuckarood plugin that can be used post-HF.

---

<div class="post-metadata">

**Author:** ![coinmine](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.grin.mw/coinmine/32/658_2.png) [@coinmine](https://forum.grin.mw/u/coinmine)\
**Post date:** [July 11, 2019, 7:00pm UTC](https://forum.grin.mw/t/pow-change-for-grin-miner/5489/3 "2019-07-11T19:00:01Z")

</div>

Got it, so in the grin-miner.toml at the height of the fork change (height \>= 262080)

```auto
plugin_name = "ocl_cuckaroo"

```

to

```auto
plugin_name = "ocl_cuckarood"

```

?

I don’t see a change to the opencl version in the grin-miner.toml, just the cuda one.

---

<div class="post-metadata">

**Author:** ![tromp](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.grin.mw/tromp/32/22_2.png) [@tromp](https://forum.grin.mw/u/tromp)\
**Post date:** [July 11, 2019, 9:14pm UTC](https://forum.grin.mw/t/pow-change-for-grin-miner/5489/4 "2019-07-11T21:14:37Z")

</div>

> [@coinmine](#):
>
> I don’t see a change to the opencl version in the grin-miner.toml, just the cuda one.

Correct; there is only a CUDA plugin for cuckarood in the reference miner.

---

<div class="post-metadata">

**Author:** ![coinmine](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.grin.mw/coinmine/32/658_2.png) [@coinmine](https://forum.grin.mw/u/coinmine)\
**Post date:** [July 15, 2019, 4:32pm UTC](https://forum.grin.mw/t/pow-change-for-grin-miner/5489/5 "2019-07-15T16:32:49Z")

</div>

Is there any way that we can get the opencl implementation on grin-miner? Is there anything that I can do to help?

---

<div class="post-metadata">

**Author:** ![photon](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.grin.mw/photon/32/27_2.png) [@photon](https://forum.grin.mw/u/photon)\
**Post date:** [July 15, 2019, 7:18pm UTC](https://forum.grin.mw/t/pow-change-for-grin-miner/5489/6 "2019-07-15T19:18:46Z")

</div>

I could update the grin-miner OpenCL part, but not the Rust cycle-finder. That is work of Hashmap. However note that the implementation is quite old. We are about to open-source very fast OpenCL miner tomorrow as a part of GrinGoldMiner - that one is around 60%+ faster compared to grin-miner. You can either use that (and disable fees/external connections) and adapt the sources to your liking (GPL3) or try to update the Rust cycle-finder / bribe Hashmap.
