Nault / Nault

⚡ The most advanced Nano wallet with focus on security, speed and robustness
https://nault.cc
MIT License
263 stars 82 forks source link

Improve local PoW on desktop app by including an openCL work server #169

Open Joohansson opened 4 years ago

Joohansson commented 4 years ago

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.

My1 commented 4 years ago

well whether GPU is worth it no idea but javascript sounds kinda inefficient

Joohansson commented 3 years ago

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