Bitcoin Forum
May 08, 2024, 12:49:02 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Guide on mining testnet btc  (Read 275 times)
decryptit (OP)
Member
**
Offline Offline

Activity: 100
Merit: 15


View Profile
September 29, 2023, 10:20:36 PM
 #1

Hi all,

Does anyone have a guide to mining testnet btc? I prefer a larger amount of btc instead of the typical drip from faucet. Thanks.
1715129342
Hero Member
*
Offline Offline

Posts: 1715129342

View Profile Personal Message (Offline)

Ignore
1715129342
Reply with quote  #2

1715129342
Report to moderator
Each block is stacked on top of the previous one. Adding another block to the top makes all lower blocks more difficult to remove: there is more "weight" above each block. A transaction in a block 6 blocks deep (6 confirmations) will be very difficult to remove.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715129342
Hero Member
*
Offline Offline

Posts: 1715129342

View Profile Personal Message (Offline)

Ignore
1715129342
Reply with quote  #2

1715129342
Report to moderator
1715129342
Hero Member
*
Offline Offline

Posts: 1715129342

View Profile Personal Message (Offline)

Ignore
1715129342
Reply with quote  #2

1715129342
Report to moderator
1715129342
Hero Member
*
Offline Offline

Posts: 1715129342

View Profile Personal Message (Offline)

Ignore
1715129342
Reply with quote  #2

1715129342
Report to moderator
albert0bsd
Hero Member
*****
Offline Offline

Activity: 856
Merit: 662



View Profile WWW
September 29, 2023, 10:26:14 PM
 #2

Maybe n0nce can help he made a good manual faucet project here:
[For Developers] n0nce's Bitcoin Testnet Faucet [~10 tBTC]

but mining from testnet is not different from mainnet. Only the rules for the difficult change a little.

Some weeks ago there was some low difficult in testnet: Interesting behaivor of TESTNET difficulty

NotFuzzyWarm
Legendary
*
Online Online

Activity: 3626
Merit: 2533


Evil beware: We have waffles!


View Profile
September 29, 2023, 10:30:59 PM
 #3

Hi all,
Does anyone have a guide to mining testnet btc? I prefer a larger amount of btc instead of the typical drip from faucet. Thanks.
Kudos for asking i the right area this time. As I replied to same query in the (wrong area):
 Learn what a search engine is and how to use one. Search term:   how to mine testnet btc
You will instantly have tons of answers...

- For bitcoin to succeed the community must police itself -    My info useful? Donations welcome! 1FuzzyWc2J8TMqeUQZ8yjE43Rwr7K3cxs9
 -Sole remaining active developer of cgminer, Kano's repo is here
-Support Sidehacks miner development. Donations to:   1BURGERAXHH6Yi6LRybRJK7ybEm5m5HwTr
paid2
Hero Member
*****
Offline Offline

Activity: 686
Merit: 2091


Crypto Swap Exchange


View Profile WWW
September 30, 2023, 12:42:41 AM
 #4

Hi all,

Does anyone have a guide to mining testnet btc? I prefer a larger amount of btc instead of the typical drip from faucet. Thanks.

Hey,

[Guide] Solo mine testnet bitcoins with cgminer, Bitcoin Core, and a Compac F

[Guide] Solo mine testnet bitcoins with bfgminer, Bitcoin Core, and a CPU/GPU

█▀▀▀











█▄▄▄
▀▀▀▀▀▀▀▀▀▀▀
e
▄▄▄▄▄▄▄▄▄▄▄
█████████████
████████████▄███
██▐███████▄█████▀
█████████▄████▀
███▐████▄███▀
████▐██████▀
█████▀█████
███████████▄
████████████▄
██▄█████▀█████▄
▄█████████▀█████▀
███████████▀██▀
████▀█████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
c.h.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀█











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
decryptit (OP)
Member
**
Offline Offline

Activity: 100
Merit: 15


View Profile
September 30, 2023, 12:44:40 AM
Last edit: September 30, 2023, 03:45:42 PM by hilariousandco
 #5

Thanks guys. I already found a guide. But just trying to find some more info on it. It's not exactly a press download and install and now you run your S9 and enter the testnet btc address. What I was looking for is more of a comprehensive guide on how to mine testnet btc. Most stuff I found tend to offer you a general idea on how to do it. But general idea don't show you how to set up a bitcoin testnet full node and then setup a testnet pool interface to direct your miner to. The mining with say an S9 or renting it or using testnet wallet address, I already have them.

So I'm just trying to search for a better option to run a testnet full node. I do have a full node for mainnet but I can't redirect it to testnet because I need it for mainnet.

So right now I'm using a server to try to run a testnet full node and then set up a pool interface to direct the miner to it.



Thank you. This is very helpful. I'm either using an S9 to mine or renting one to mine it. I already have a testnet address. I found a guide from Dave Parrish that appears to be fairly comprehensive on how to do it. But for sure I'll be looking at these ones too.

Thanks again!
BitMaxz
Legendary
*
Offline Offline

Activity: 3248
Merit: 2965


Block halving is coming.


View Profile WWW
September 30, 2023, 12:27:58 PM
 #6


So I'm just trying to search for a better option to run a testnet full node. I do have a full node for mainnet but I can't redirect it to testnet because I need it for mainnet.

So right now I'm using a server to try to run a testnet full node and then set up a pool interface to direct the miner to it.

Why not back up all your mainnet data to the external drive?
Setting up a testnet is not hard you can just edit the bitcoin.conf file and add testnet=1 and then reboot or in Windows edit the shortcut properties under target you can add -testnet after that run the Bitcoin core and let it sync.

Mining on testnet is usually done using CPU or GPU so you can't mine on testnet with s9.
However, if you can set up a pool I think you can able to mine on testnet with an S9 miner.
I couldn't find any comprehensive guide but check the open-source pool below
- https://bitcointalk.org/index.php?topic=790323.0

Or check the Yiimp open source pool you can follow this video guide below.
- https://youtu.be/MKb9YKIAltE?si=BwT-bmMOOdmLQ3lu

█▀▀▀











█▄▄▄
▀▀▀▀▀▀▀▀▀▀▀
e
▄▄▄▄▄▄▄▄▄▄▄
█████████████
████████████▄███
██▐███████▄█████▀
█████████▄████▀
███▐████▄███▀
████▐██████▀
█████▀█████
███████████▄
████████████▄
██▄█████▀█████▄
▄█████████▀█████▀
███████████▀██▀
████▀█████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
c.h.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀█











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
decryptit (OP)
Member
**
Offline Offline

Activity: 100
Merit: 15


View Profile
September 30, 2023, 04:11:22 PM
 #7

To mitigate any potential risks or mishandling, I prefer to not mix up the wallet between testnet and mainnet. But I was able to install a Bitcoin Core and run it as testnet on another computer. Although I had to prune the data. I'm assuming, pruning the data to two months out shouldn't affect the ability to mine a block. I did find a guide that shows you how to set up a pool and mine with an S9 or S17. But I will definitely keep it in mind in the event that things don't pan out and maybe it's simpler for me to just use the builtin GPU on a computer to try to solo testnet blocks. Thanks for your help.

Also, any idea on how to configure the rpc server? The UI has an option to check it in the setting. But do I need to configure it maybe via CLI? Probably would need to open a port?

[/quote]

Why not back up all your mainnet data to the external drive?
Setting up a testnet is not hard you can just edit the bitcoin.conf file and add testnet=1 and then reboot or in Windows edit the shortcut properties under target you can add -testnet after that run the Bitcoin core and let it sync.

Mining on testnet is usually done using CPU or GPU so you can't mine on testnet with s9.
However, if you can set up a pool I think you can able to mine on testnet with an S9 miner.
I couldn't find any comprehensive guide but check the open-source pool below
- https://bitcointalk.org/index.php?topic=790323.0

Or check the Yiimp open source pool you can follow this video guide below.
- https://youtu.be/MKb9YKIAltE?si=BwT-bmMOOdmLQ3lu
[/quote]
BitMaxz
Legendary
*
Offline Offline

Activity: 3248
Merit: 2965


Block halving is coming.


View Profile WWW
September 30, 2023, 11:13:08 PM
 #8

Please don't quote the post or edit the quote it looks messy.

Also, any idea on how to configure the rpc server? The UI has an option to check it in the setting. But do I need to configure it maybe via CLI? Probably would need to open a port?


By adding server=1 into bitcoin.conf it should enable the RPC to accept RPC commands.

The default RPC port is 8332 you can edit it and change to other port by adding this parameter rpcport=8332 to bitcoin.conf.

According to the documentation enabling the RPC port to host outside your trusted local network is not recommended because the RPC password is transmitted to the network unencrypted.

The guide can be found from the link below including this note.
- bitcoin.conf example

It was removed from Bitcoin Core because they added a new dev tool called gen-bitcoin-conf.sh so the link that I provided above is from the commits.

█▀▀▀











█▄▄▄
▀▀▀▀▀▀▀▀▀▀▀
e
▄▄▄▄▄▄▄▄▄▄▄
█████████████
████████████▄███
██▐███████▄█████▀
█████████▄████▀
███▐████▄███▀
████▐██████▀
█████▀█████
███████████▄
████████████▄
██▄█████▀█████▄
▄█████████▀█████▀
███████████▀██▀
████▀█████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
c.h.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀█











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
decryptit (OP)
Member
**
Offline Offline

Activity: 100
Merit: 15


View Profile
September 30, 2023, 11:51:49 PM
 #9

Hi. Again thanks for your response. I was able to run another bitcoin-core as a testnet full node. The data is pruned to two months out. I insert the rpc info into the bitcoin.conf. I did open a port. But currently, was trying to follow the cgminer guide per your post and basically stuck here.

My computer has a builtin GPU and I'm trying to mine tBTC with it. But the cgminer is saying that the config has error. Not quite sure what I need to specifically change in the cgminer config to make it work.

It basically says, "invalid config". "Invalid parameters to set_kernel"

I think I may need to revisit this a later time. I'll move on with trying to mine with asic instead.

On another node, bitnodes has an easy script to install a bitcoin full node with a one line command. I just haven't figured out the right config to run it on testnet. I keep getting error when changing the bitcoin.conf to testnet=1.
decryptit (OP)
Member
**
Offline Offline

Activity: 100
Merit: 15


View Profile
October 01, 2023, 11:38:03 PM
 #10

I'll have to figure out where I can rent an S9 first. So right now seems like I have my full node ready, the P2Pool node is running but with no miner. The bitcoin core cofig generator is pretty cool. That helps with some of my config that I needed. Thank you.
decryptit (OP)
Member
**
Offline Offline

Activity: 100
Merit: 15


View Profile
October 01, 2023, 11:43:18 PM
 #11

Btw, I'm only seeing 119GH/s on testnet. So probably don't even need an ASIC. But I do want to test.
decryptit (OP)
Member
**
Offline Offline

Activity: 100
Merit: 15


View Profile
October 02, 2023, 01:04:30 PM
 #12

Ah ok.

So I just did a pool test on nice hash and it says pool is incompatible. But it didn't have the option for sha256t and only had option for sha256. However, on mempool, you can clearly see that nicehash is doing testing on testnet. So the pool that I set up doesn't work is what I'm thinking. Anyone has suggestions on to set up a better pool?
paid2
Hero Member
*****
Offline Offline

Activity: 686
Merit: 2091


Crypto Swap Exchange


View Profile WWW
October 07, 2023, 08:39:19 AM
 #13

Ah ok.

So I just did a pool test on nice hash and it says pool is incompatible. But it didn't have the option for sha256t and only had option for sha256. However, on mempool, you can clearly see that nicehash is doing testing on testnet. So the pool that I set up doesn't work is what I'm thinking. Anyone has suggestions on to set up a better pool?

And did you tried via Miningrigrentals ? It's a little bit expensive, but for some th/s should be fine if it works with your setup.

MRR's way of working allows you to use more or less all the pools in general.

█▀▀▀











█▄▄▄
▀▀▀▀▀▀▀▀▀▀▀
e
▄▄▄▄▄▄▄▄▄▄▄
█████████████
████████████▄███
██▐███████▄█████▀
█████████▄████▀
███▐████▄███▀
████▐██████▀
█████▀█████
███████████▄
████████████▄
██▄█████▀█████▄
▄█████████▀█████▀
███████████▀██▀
████▀█████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
c.h.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀█











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
decryptit (OP)
Member
**
Offline Offline

Activity: 100
Merit: 15


View Profile
October 15, 2023, 11:28:25 PM
 #14

I did look into miningrigrental, but I can't set up a new account. They wouldn't send me an email confirmation to confirm my account.
decryptit (OP)
Member
**
Offline Offline

Activity: 100
Merit: 15


View Profile
October 15, 2023, 11:29:17 PM
 #15

Testnet hashrate is over 500TH/s now. I would love to be able to mine on testnet.
decryptit (OP)
Member
**
Offline Offline

Activity: 100
Merit: 15


View Profile
October 16, 2023, 03:29:01 AM
 #16

Ah ok.

So I just did a pool test on nice hash and it says pool is incompatible. But it didn't have the option for sha256t and only had option for sha256. However, on mempool, you can clearly see that nicehash is doing testing on testnet. So the pool that I set up doesn't work is what I'm thinking. Anyone has suggestions on to set up a better pool?

And did you tried via Miningrigrentals ? It's a little bit expensive, but for some th/s should be fine if it works with your setup.

MRR's way of working allows you to use more or less all the pools in general.

So I was able to set up an account on miningrigrentals. But does anyone by chance have a stratum address:port for me to use to mine tBTC?
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!