Closed oknoorap closed 3 years ago
Yes, a javascript miner is technically possible using software-emulated floating point operations, but it will be too slow for any practical use. IIRC someone already implemented it and was getting around 1 H/s per CPU core.
@tevador wow cool, someone already created js miner, where is the repo? can you share with me 😁
It was a closed-source miner. Here is the discussion from reddit. However, their website doesn't seem to work anymore.
Ah okay thanks for the info, and also you told that JS RandomX miner is possible, it motivates me to do different approach but still in JS. 👍
@tevador is your randomX service actually works? https://github.com/tevador/randomx-service
Yes, it works. You can test it here: https://tevador.github.io/
It's error, "service is not accessible", what happen?
It's error, "service is not accessible", what happen?
It means you didn't follow the "How to use" instructions on the website correctly.
Or your web browser blocks requests to localhost. The following browsers are known to work: Chrome, Edge, Firefox (make sure it's updated to the latest version).
alright, I thought it works online. so, technically it's server who's doing random_x hashing job?
so, technically it's server who's doing random_x hashing
No. Hashes are calculated by the client running randomx-service. It works exactly like any web miner except the hashing is not done directly in the browser due to js/wasm limitations.
yes I mean the hashing work will be done on the server, right? isn't the server use 100% of cpu resources? can we start talk in telegram / any chat platfrom, I'll PM you . I think our chit-chat is out of topics here 😁
yes I mean the hashing work will be done on the server, right?
No. That's not how it works at all. Hashing is still done by the client and not by the server.
You can come to the IRC channel #monero-pow on Freenode and ask there if you have specific questions.
I read the FAQ and it said:
I want to create a javascript miner version of RandomX algo, I'm just curious, are these libraries support direct rounding floating point operation?