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.

1 Answer 1


This is the simplest miner I know of:


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.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.