How to Solo Mine Testnet Bitcoins: A Step-by-Step Guide

21 replies 369 views
Posts: 48 · Reputation: 170
#1Jul 18, 2017, 08:55 PM
Need some testnet bitcoins? Just solo mine them. I noticed a lot of guides out there are old, so I’m sharing this one with the latest tools.
4 Reply Quote Share
0xNodeMember
Posts: 671 · Reputation: 80
#2Jul 19, 2017, 02:37 AM
A few blocks overnight? Wow, that testnet difficulty must be super low. What was the exact difficulty when you wrote this?
3 Reply Quote Share
Posts: 48 · Reputation: 170
#3Jul 19, 2017, 08:15 AM
It was in the millions. But I think testnet3 resets the difficulty to 1 after certain blocks. That’s why I managed to mine more than I expected.
4 Reply Quote Share
maxi_cobraSenior Member
Posts: 2 · Reputation: 1897
#4Jul 19, 2017, 11:47 AM
Nice guide you’ve put together!
1 Reply Quote Share
gang2015Member
Posts: 682 · Reputation: 62
#5Jul 19, 2017, 12:23 PM
Thanks for this! But if you don’t have an ASIC, maybe try Signet or Regtest instead? Unless you really wanna gamble on solo mining mainnet.
3 Reply Quote Share
token_sageFull Member
Posts: 66 · Reputation: 625
#6Jul 19, 2017, 05:17 PM
Didn’t know that! Gonna fire up my Compac F now for some testnet BTC mining. This should be fun since I’ve never hit a solo block.
0 Reply Quote Share
Posts: 48 · Reputation: 170
#7Jul 20, 2017, 08:43 PM
That was exactly why I started this whole thing! Just make sure to log your first block.
2 Reply Quote Share
Posts: 48 · Reputation: 170
#8Jul 20, 2017, 09:52 PM
You can even write a message in the coinbase of the block. Just add a line to the config file.
0 Reply Quote Share
Posts: 48 · Reputation: 170
#9Jul 21, 2017, 12:33 AM
Right, it’s just a simple text line like the btc-address one. Just give it a shot, that’s what testnet is for.
1 Reply Quote Share
token_sageFull Member
Posts: 66 · Reputation: 625
#10Jul 21, 2017, 06:38 PM
I just shared a guide that doesn’t need an ASIC at all! It’s all about using your CPU or GPU. Should be easy to try.
3 Reply Quote Share
token_sageFull Member
Posts: 66 · Reputation: 625
#11Jul 21, 2017, 09:50 PM
A couple of fixes: (1) Add datadir=/home/user/bitcoin_testnet/data to your conf file. (2) There’s a typo; it should be enable-gekko. (3) Remove the comma at the end of the last line.
2 Reply Quote Share
Posts: 29 · Reputation: 23
#12Jul 22, 2017, 12:53 AM
Your guide worked like a charm! I mined multiple blocks in a day. Almost hit 30 blocks in 24 hours with my Compac F. What a ride!
2 Reply Quote Share
token_sageFull Member
Posts: 66 · Reputation: 625
#13Jul 22, 2017, 01:28 AM
What do I need to change to mine on the mainnet? Just remove testnet=1?
3 Reply Quote Share
Posts: 48 · Reputation: 170
#14Jul 22, 2017, 07:02 AM
Interesting, I thought a CPU/GPU setup would do fine too. But yeah, at difficulty 1, low latency is key. The ASIC might make a big difference.
2 Reply Quote Share
0xBridgeMember
Posts: 17 · Reputation: 247
#15Jul 24, 2017, 10:12 AM
Totally agree, got consecutive blocks too. Guess a few hundred GH is enough for consistent rewards.
4 Reply Quote Share
0xBridgeMember
Posts: 17 · Reputation: 247
#16Jul 24, 2017, 10:26 AM
Glad to see folks solo mining testnet BTC thanks to this guide!
2 Reply Quote Share
wallet_vaultFull Member
Posts: 321 · Reputation: 431
#17Jul 24, 2017, 10:36 AM
That’s way faster than my CPU mining! Wanna try? I still have a synced testnet blockchain.
4 Reply Quote Share
token_sageFull Member
Posts: 66 · Reputation: 625
#18Jul 24, 2017, 11:42 AM
I’m on a quad-core Xeon E3-1270 V2 at 3.50GHz. Just wondering if I messed something up.
6 Reply Quote Share
mr_apeNewbie
Posts: 401 · Reputation: 35
#19Jul 24, 2017, 01:08 PM
Stale blocks are more about networking than mining power. Make sure you’ve got enough CPU left to broadcast quickly. Also, how many nodes are you connected to?
4 Reply Quote Share
orbit1337Senior Member
Posts: 434 · Reputation: 941
#20Jul 25, 2017, 03:11 AM
You found my hidden messages! I will plant more soon.
0 Reply Quote Share

Related topics