Mining testnet bitcoins solo with S9

13 replies 416 views
john69Full Member
Posts: 35 · Reputation: 319
#1Aug 17, 2023, 05:28 AM
Has anyone used an Antminer S9 (14 TH)? I'm thinking about giving testnet Bitcoin mining a shot and I'm on the lookout for a dependable older miner.
4 Reply Quote Share
hash_bossLegendary
Posts: 1166 · Reputation: 5261
#2Aug 17, 2023, 07:15 AM
FYI, AntMiner S9 has it's own OS/computer. You'll need to run your own mining pool software such as https://github.com/benjamin-wilson/public-pool or https://github.com/tpruvot/yiimp, then point your S9 to IP which run the software.
6 Reply Quote Share
john69Full Member
Posts: 35 · Reputation: 319
#3Aug 17, 2023, 10:00 AM
Well, I have received S9 and checked it's work on antpool, seems all fine getting 13.1Th/s. Miner running Hiveon ASIC. But i don't understand why i can't use tutorial from that thread to mine testing btc. UPD. Tried to use https://github.com/benjamin-wilson/public-pool and it failed to build in docker and wont run with npm run start Anyway i opened github issue, might someone help to resolve.
4 Reply Quote Share
hash_bossLegendary
Posts: 1166 · Reputation: 5261
#4Aug 18, 2023, 05:38 AM
I never say it's impossible, but rather need to change some steps. I don't own S9 or any similar ASIC, but roughly you need to. 1. Follow step 1 of tutorial on this thread. If you don't know IP of your S9, you could use rpcallowip=192.168.0.0/16. 2. Ignore step 2 of tutorial on this thread. You need to configure your S9 connect to your Bitcoin Core directly using RPC url, user and password (which use GBT protocol) or your own mining pool (which use stratum protocol). Earlier i forget to mention you could connect S9 directly to Bitcoin Core since GBT protocol is very outdated. You may want to try that since you've failed to run public-pool.
0 Reply Quote Share
john69Full Member
Posts: 35 · Reputation: 319
#5Aug 18, 2023, 11:45 AM
I was able to run public pool after i match node and npm version used in docker container, but got "Error getmininginfo 404 - undefined " error. Probably it's some issue with my configs. bitcoin_testnet.conf .env And actual error after starting public pool I can't get how to set bitcoin testnet address and rpc username and password in asic config. I tried to set as: URL: http://dem:mypassword@192.168.1.181:5000 Worker: bitcoin_testnet_address Password: x but it does not work, miner reports Dead pool
2 Reply Quote Share
john69Full Member
Posts: 35 · Reputation: 319
#6Aug 18, 2023, 12:16 PM
I'm back, had some home issues. So, i found problem in my .env config file, BITCOIN_RPC_URL was defined in wrong way. I've added port number to it, but it should be ommited. instead BITCOIN_RPC_URL=http://192.168.1.181:5000 should be BITCOIN_RPC_URL=http://192.168.1.181 And pool log now says it connected to bitcoind. Then i have configured Antminer S9 pool config as pool: stratum+tcp://192.168.1.15:3333 Worker: mrYpN6imcBNkmsceuw5C7JjtFa9AyasEBL password: x Miner status page showing that pool alive and it accepts blocks, but public pool log shows that antminer connects and disconnects. I guess it some problem with public pool config again. Previously i tested this Antminer S9 on real btc pool (antpool) and it was working fine without disconnects.
2 Reply Quote Share
hash_bossLegendary
Posts: 1166 · Reputation: 5261
#7Aug 18, 2023, 05:26 PM
All i can suggest is to also check your S9 log, either from it's webpage[1] or SSH (if you already use custom firmware which allow that) in order to see whether S9 mention reason of the disconnection. [1] https://support.bitmain.com/hc/en-us/articles/360025531034--For-S9series-Common-Problems-Indicated-by-Miner-s-Kernel-Log-and-Ways-to-Resolve-them
0 Reply Quote Share
john69Full Member
Posts: 35 · Reputation: 319
#8Aug 20, 2023, 09:27 AM
Okay, i left miner running while i was sleeping and despite his disconnects it mined 5 btc. But i don't understand why balance showing as unmatured and on-chain separately, these small transactions in october i got from btc faucets.
2 Reply Quote Share
humbleledgerLegendary
Posts: 1027 · Reputation: 6554
#9Aug 20, 2023, 11:43 AM
"New" Bitcoins need 100 confirmations before you can spend them.
1 Reply Quote Share
john69Full Member
Posts: 35 · Reputation: 319
#10Aug 20, 2023, 04:53 PM
Thanks for suggestions, indeed it was related to to miner settings, i found theses messages in its watchdog logs It means miner was stopping because of hashrate threshold drop, and further i found setting which adjust this Restart if hashrate us below given number of percents of ideal hashrate I have disabled restart function and so far the miner running for 10 mins without restarts keeping approx. 9th/s hashrate. It's a not a big deal, but why it cant reach at least 13 th/s which it has on antpool?
4 Reply Quote Share
hash_bossLegendary
Posts: 1166 · Reputation: 5261
#11Aug 20, 2023, 05:00 PM
I was thinking about low power enchanted mode being enabled, but you also mentioned you get 13 TH/s on Antpool. So at this point, i suggest you to create new thread on Mining support section.
4 Reply Quote Share
john69Full Member
Posts: 35 · Reputation: 319
#12Aug 20, 2023, 07:45 PM
Yes, i had 13 th/s on antpool for about 20 mins of testing. I further investigated miner chips and found that many already yellow and red, therefore asic runs unstable and reducing hashrate. Considering above i have reduced mining speed at the lowest possible profile 8 th/s and 600 watt power which is more than enough for mining tbtc. At that point i've mined more than i need tbtc for my development work, and i'm going to share the rest with other developers in separate thread.
2 Reply Quote Share
vault2019Member
Posts: 57 · Reputation: 212
#13Aug 22, 2023, 07:23 PM
I dont think 20 minutes would be enough to accurately calculate the miners true avg hashrate, you need 24-48hour+ at a place like antpool
3 Reply Quote Share
john69Full Member
Posts: 35 · Reputation: 319
#14Aug 24, 2023, 08:27 AM
Nice, my question about Antminer S9 Solo tbtc mining now having separate thread. Actually all works good, since my miner already seen many days of mining before now it's not suitable for mining real btc because having many unstable chips, however it's enough for mining tbtc if miner power reduced. For everyone, just short clarifications Basically you need to follow original thread - Solo mine testnet bitcoins with cgminer, Bitcoin Core, and a Compac F https://bitcointalk.org/index.php?topic=5415335.60 but you dont need to setup cgminer, because Antminer has its own, which should be configured via antminer web interface. Then you need to setup own pool with https://github.com/benjamin-wilson/public-pool
0 Reply Quote Share

Related topics