TimSamshuijzen / iotaproxy

A simple proxy server for the IOTA tangle network, supporting the attachToTangle command (PoW).
GNU General Public License v3.0
43 stars 18 forks source link

"Hashing with 32 loops" doesn't finish #13

Closed MiyazawaK closed 6 years ago

MiyazawaK commented 6 years ago

Hi, I'm trying to get the MQTT Example https://github.com/nicoschtein/iota-mqtt-poc in combination with iotaproxy working. After a little trial and error everything kind of works, but the process doesn't finish. Console shows the following

node index.js IOTA proxy server started POW timeout is set to 15 min Listening on port 14265 Relaying requests to node01.iotatoken.nl:14265 Relaying command getNodeInfo Relaying command getTransactionsToApprove Processing command attachToTangle Getting platforms... X☺♀OpenCL Hashing with 32 loops...

Any idea how to make it work/continue?

MiyazawaK commented 6 years ago

Ok, quick update. Somehow it was going through, but only in ~50% of the cases (sometimes after 30sec, sometimes after several minutes). But still not constantly/reproducably working.

I'm thankful for any ideas what the problem could be :)

MiyazawaK commented 6 years ago

Fixed it! In the MQTT Tutorial, the value for minWeightMagnitude was set to 18. Reducing it to 14 made the whole process MUCH faster!