Open Joohansson opened 4 years ago
well whether GPU is worth it no idea but javascript sounds kinda inefficient
So custom work server is allowed now. Not sure if it's worth the effort to implementing openCL in the electron app. If it's even possible. I'll leave the issue open
The speed of local PoW can be heavily improved by primarily using a dedicated work server with openCL instead of javascript. Especially now with 8x threshold and with latest speed improvements seen here: https://github.com/nanocurrency/nano-work-server/pull/18
It would be easy to implement in Nault to just call PoW from a local server. The difficulty is how to implement it in some kind of user-friendly installer. It needs to detect and set up the correct GPU or fallback to CPU, or let the user select it.
The desktop app is normally using server PoW so I'm not sure if the difficulty with this solution is worth it?
Hopefully, someday someone can also improve the current webGL library used for web PoW.