I'm trying to connect to
pool.minexmr.com with port number
I'm using the npm package
stratum here is the link to the npm package and using the example from the example/client.
But I'm receiving an error which I don't understand. The logic is:
connect-> authorize -> subscribe -> submit
I also tried:
connect-> subscribe-> authorize-> submit
But that didn't work as well and isn't logical to me.
The code and output is codepile.
The socket says the authorization is still pending that where the error comes from?
But how do I know when the socket is authorized if
then not working.
As you can see in the second log from the socket
Authorized is still false while my console.log says authorized and the socket says that I'm not authorized.