jtoomim / p2pool

Peer-to-peer Bitcoin mining pool
https://github.com/jtoomim/p2pool/
GNU General Public License v3.0
37 stars 45 forks source link

Bitcoin Core testnet #47

Closed dmp1ce closed 4 years ago

dmp1ce commented 4 years ago

I'm interested in generating some testnet coins on Bitcoin Core (tBTC). Is this possible with this project?

More generally, are there any testnet pools available for Bitcoin Core?

jtoomim commented 4 years ago

It is possible. I haven't done anything with BTC recently. Bitcoin Core has a tendency to change their API every 6 months or so in a way that breaks p2pool, and I'm not sure whether the most recent such instance of that API breaking has been fixed yet. But if that's the case, you should be able to get it to work using a slightly older version of Bitcoin Core.

If you want to solo mine on testnet, you'll need to set PERSIST = True in p2pool/networks/bitcoin.py or p2pool/bitcoin/networks/bitcoin.py, and then run p2pool with the --testnet command-line flag.

dmp1ce commented 4 years ago

I'll give it a try.