So I was trying to make my own Monero miner and I found out that it uses the Cryptonight hash algorithm and I found documentation for it and I can implement it. But then how do I connect my miner to a pool, there doesn't seem to be any API on any of the Monero mining pool websites. Can someone explain how I can connect my miner to a pool?
Asked
Active
Viewed 2,058 times
1 Answers
6
Pool miners talk to pools using JSON over HTTP. This is a fairly simple protocol, which is different from the one used by Bitcoin miners, but similar. I don't know of a documentation for it, but you can easily see what it's doing by looking at cpu-miner.c in Wolf's miner (copy found on github, not the original):
https://github.com/okae/cpu_miner_wolf/blob/master/cpu-miner.c
For the other side of the communication, you can look at the pool server:
https://github.com/zone117x/node-cryptonote-pool/blob/master/lib/pool.js
user36303
- 34,928
- 2
- 58
- 123