Bitcoin Forum
April 27, 2024, 12:14:00 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: bitcoind testnet solo mining  (Read 168 times)
gelius (OP)
Sr. Member
****
Offline Offline

Activity: 292
Merit: 251


View Profile
February 05, 2018, 12:04:13 AM
 #1

How?
Code:
./bitcoind -testnet -gen
./bitcoind -testnet -mine
don't work.
If you see garbage posts (off-topic, trolling, spam, no point, etc.), use the "report to moderator" links. All reports are investigated, though you will rarely be contacted about your reports.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714176840
Hero Member
*
Offline Offline

Posts: 1714176840

View Profile Personal Message (Offline)

Ignore
1714176840
Reply with quote  #2

1714176840
Report to moderator
achow101
Moderator
Legendary
*
Offline Offline

Activity: 3374
Merit: 6535


Just writing some code


View Profile WWW
February 05, 2018, 05:26:35 AM
 #2

With bitcoin-cli or in bitcoin-qt's debug console, use the generate and setgenerate commands.

MrCrank
Sr. Member
****
Offline Offline

Activity: 1336
Merit: 258



View Profile
February 05, 2018, 09:47:11 AM
 #3

How?
Code:
./bitcoind -testnet -gen
./bitcoind -testnet -mine
don't work.

I'm interesting too..
What do you want make? (solo mining pool)

Please post your result here..
73blazer
Member
**
Offline Offline

Activity: 111
Merit: 17


View Profile
February 05, 2018, 03:44:58 PM
Last edit: February 05, 2018, 04:03:48 PM by 73blazer
 #4

The mining software is long gone out of the bitcoin core code (because it was a CPU miner). You will need a stick miner or some piece of mining hardware.
A CPU miner won't cut it, even on testnet. A GPU miner may get you lucky on testnet, but I wouldn't count on it. It took my stick miner (25gh/s) about a week on testnet to get a block. No GPu is gonna come close to that.

Start bitcoin with -daemon -rpcport=18332 -testnet -rpcuser -rpc password options. rpcallowip is not nessesary but provides extra insurance tha tonly addresses on my local network can use the miner even though my router doesn't route port 18332 from the outside.
In my case here is the exact command I use to start bitcoin on testnet with an open port for miners to connect to:
Code:
bitcoin-qt -datadir=/bitcoin/data  -daemon -server -rpcuser=t -rpcpassword=t -rpcallowip=192.168.0.0/255.255.0.0 -rpcport=18332 -testnet

Then startup your miner like so
cgminer -o http://YourbitcoinServername_OR_IP:18332 -u t -p t --btc-address BTCADDYfromYOURtestnetWALLET --btc-sig ANYBLOCKSIGYOUWANT
and any other options specific to your miners hardware
In my case this is the exact command I use with a gekko 2pac miner (cranked up a tad)  in a specific USB port:
Code:
cgminer -o http://impalaubu:18332 -u t -p t --btc-address mziZEvRutyzoB3NX1eYv214K67hwYP87bB --btc-sig TheAnoyer --gekko-2pac-freq 225 --usb 2:13 

most mining software has the -o address and sig options. user and password doesn't matter, use anything you want just make sure to match them in your bitcoin command and miner command....You'll also want to ensure port 18332 is open on the machine you started bitcion on, most linux have default firewall you'll need to disable or add a rule to allow that port.
DrSha
Jr. Member
*
Offline Offline

Activity: 42
Merit: 4

<3 BTC


View Profile
February 06, 2018, 08:31:18 PM
 #5

You could always rent a miner from https://www.miningrigrentals.com/ should you need one for mining on the test net.
GPU is not advised.

LCC - LitecoinCash - https://p2p-a.minelcc.net
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!