<p><a href="https://github.com/jgarzik/pyminer" rel="nofollow">This is the simplest miner I know of:</a></p>

<blockquote>
  <p>pyminer</p>
  
  <p>This is a 'getwork' CPU mining client for bitcoin.</p>
  
  <p>It is pure-python, and therefore very, very slow.  The purpose is to
  provide a reference implementation of a miner, for study.</p>
</blockquote>

<p>This doesn't support long polling, but there's a spec for that <a href="https://deepbit.net/longpolling.php" rel="nofollow">here</a>.</p>

<p><a href="http://xkcd.com/541/" rel="nofollow">:)</a></p>

CC BY-SA 3.0
2013-04-14T20:58:02.547Z
2013-04-14T20:58:02.547Z
Nick ODell
<p>I want to write own GPU miner, but I can't find any simple solution (cgminer and RPC miner are big projects with many useless to me functions). I need the sources of only one GPU miner with long pooling, nothing more.</p>

<gpu-mining><mining-software><c++>
Simple GPU miner with long pooling C++
Roman
# Simple GPU miner with long pooling C++

(Asked by: username_0 on 2013-04-14)

I want to write own GPU miner, but I can't find any simple solution (cgminer and RPC miner are big projects with many useless to me functions). I need the sources of only one GPU miner with long pooling, nothing more.

**Tags:** gpu-mining, mining-software, c++


---

## 1 answers

### Answer by username_1 on 2013-04-14. Score: 1

[This is the simplest miner I know of:](https://github.com/jgarzik/pyminer)

> pyminer
>
> This is a 'getwork' CPU mining client for bitcoin.
>
> It is pure-python, and therefore very, very slow. The purpose is to
> provide a reference implementation of a miner, for study.

This doesn't support long polling, but there's a spec for that [here](https://deepbit.net/longpolling.php).

[:)](http://xkcd.com/541/)


---

