<p>I want to make a very simple Bitcoin mining software with use of <code>getblocktemplate</code>, my own SHA and block building. Is there any <code>c</code> or better <code>c++</code> library that would help with the networking part? I am new to Bitcoin and would prefer to focus on the block building and hashing part for now, as I'm starting from scratch.</p>

<p>I'm aware of the difficulty level and I am doing this just for getting to know Bitcoin better.</p>

CC BY-SA 3.0
2016-10-25T21:09:00.447Z
When you say miner, do you mean you want to make hardware or software?
Jestin
CC BY-SA 3.0
2016-10-25T21:17:14.437Z
Software, sorry for not making it clear
M-guy
CC BY-SA 3.0
2016-10-25T21:22:19.577Z
So, bad news:  http://bitcoin.stackexchange.com/questions/41276/in-the-asic-age-is-it-worth-starting-mining-bitcoin-at-home  If you just want to do this for fun, remember that you won't solve a block within your lifetime, so I don't know how much fun will be had.  Maybe you should focus on just the block building aspect.
Jestin
CC BY-SA 3.0
2016-10-25T21:35:25.490Z
Of course I don't expect this to profitable. But still when I have the mining part done it would be nice to connect to actual network and check whether it works on real-life blocks. Even if it's going to fail every time ;)
M-guy
CC BY-SA 3.0
2016-10-27T18:02:18.127Z
@M-guy: I've edited your question to include the content from your comments, please feel free to edit as you like.
Murch
<development><library>
Bitcoin c++ library that provides the networking
M-guy
# Bitcoin c++ library that provides the networking

(Asked by: username_0 on 2016-10-25)

I want to make a very simple Bitcoin mining software with use of `getblocktemplate`, my own SHA and block building. Is there any `c` or better `c++` library that would help with the networking part? I am new to Bitcoin and would prefer to focus on the block building and hashing part for now, as I'm starting from scratch.

I'm aware of the difficulty level and I am doing this just for getting to know Bitcoin better.

**Tags:** development, library

> **Comments:**
> **username_1**: When you say miner, do you mean you want to make hardware or software?  
> **username_0**: Software, sorry for not making it clear  
> **username_1**: So, bad news:  http://bitcoin.stackexchange.com/questions/41276/in-the-asic-age-is-it-worth-starting-mining-bitcoin-at-home  If you just want to do this for fun, remember that you won't solve a block within your lifetime, so I don't know how much fun will be had.  Maybe you should focus on just the block building aspect.  
> **username_0**: Of course I don't expect this to profitable. But still when I have the mining part done it would be nice to connect to actual network and check whether it works on real-life blocks. Even if it's going to fail every time ;)  
> **username_2**: @username_0: I've edited your question to include the content from your comments, please feel free to edit as you like.  

---

## 0 answers

