<p>It depends on the mining pool and the software they are using. There is no one specific way for mining pools for a specific coins to relay information to their miners. For Bitcoin, most use stratum or getblocktemplate. For stratum, I don't think either of the libraries will work as stratum is not served over HTTP.</p>

CC BY-SA 3.0
2018-02-23T05:01:42.480Z
2018-02-23T05:01:42.480Z
Ava Chow
<p>I wanna try and develop a small miner where anyone could see the backbone of it, so that everyone would know how everything works. Now I wanna ask whether what to use should I use for communicating with the pool, <a href="https://github.com/uskr/jsonrpc-lean" rel="nofollow noreferrer">jsonrpc-lean</a> or libcurl, I am not only trying to build just for bitcoin maybe some other altcoin like monero too. </p>

<p>but One big question. Is mining in bitcoin and monero the same? except for the fact that of course you should claculate (decrypt) them differently, what I mean was the way they work with the pool. (request infos from the pool, calculate it and submit it)  </p>

<json-rpc>
jsonrpc-lean VS. cURL?
simp
# jsonrpc-lean VS. cURL?

(Asked by: username_0 on 2018-02-22)

I wanna try and develop a small miner where anyone could see the backbone of it, so that everyone would know how everything works. Now I wanna ask whether what to use should I use for communicating with the pool, [jsonrpc-lean](https://github.com/uskr/jsonrpc-lean) or libcurl, I am not only trying to build just for bitcoin maybe some other altcoin like monero too.

but One big question. Is mining in bitcoin and monero the same? except for the fact that of course you should claculate (decrypt) them differently, what I mean was the way they work with the pool. (request infos from the pool, calculate it and submit it)

**Tags:** json-rpc


---

## 1 answers

### Answer by username_1 on 2018-02-23. Score: 1

It depends on the mining pool and the software they are using. There is no one specific way for mining pools for a specific coins to relay information to their miners. For Bitcoin, most use stratum or getblocktemplate. For stratum, I don't think either of the libraries will work as stratum is not served over HTTP.


---

