Bitcoin Forum
September 24, 2018, 01:12:52 AM *
News: ♦♦ New info! Bitcoin Core users absolutely must upgrade to previously-announced 0.16.3 [Torrent]. All Bitcoin users should temporarily trust confirmations slightly less. More info.
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: bitcoind testnet solo mining  (Read 62 times)
gelius
Sr. Member
****
Offline Offline

Activity: 272
Merit: 250


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

How?
Code:
./bitcoind -testnet -gen
./bitcoind -testnet -mine
don't work.
1537751572
Hero Member
*
Offline Offline

Posts: 1537751572

View Profile Personal Message (Offline)

Ignore
1537751572
Reply with quote  #2

1537751572
Report to moderator
1537751572
Hero Member
*
Offline Offline

Posts: 1537751572

View Profile Personal Message (Offline)

Ignore
1537751572
Reply with quote  #2

1537751572
Report to moderator
1537751572
Hero Member
*
Offline Offline

Posts: 1537751572

View Profile Personal Message (Offline)

Ignore
1537751572
Reply with quote  #2

1537751572
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
achow101
Moderator
Legendary
*
Offline Offline

Activity: 1526
Merit: 1654


3F1Y9yquzvY6RWvKbw2n2zeo9V5mvBhADU


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: 686
Merit: 253



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..

        ▄▄▄▀▀▀▀▀▀▀▀▄▄▄▄
      ██            ▀▀███▄▄
    ██                  ▀███▄
   █       ▄▄  ▄▄         ████
  █        ██  ██          ████
 █       ███████████        ████
█        ███████████         ████
█        ████                █▀ ▀▌
█        ██████████           ▄█▄
█        ██████████          ████▌
█        ████               ▐████
 █       ███████████        ████
  █      ███████████       ████
   █       ██  ██         ████
    ██     ▀▀  ▀▀       ████▀
      ██            ▄▄████▀
        ▀▀▄▄▄▄▄▄▄▄▄▀▀▀▀▀
██
██  ██  ██
██
██  ██  ██
██  ██  ██
██  ██  ██
██  ██  ██
██  ██  ██
██  ██  ██
██  ██  ██
██
██  ██  ██
██
██
██  ██  ██
██
██  ██  ██
██  ██  ██
██  ██  ██
██  ██  ██
██  ██  ██
██  ██  ██
██  ██  ██
██
██  ██  ██
██
▄███▄
███████████████████████
██                   ██
██ ░███████████████░ ██
██                   ██
▀███ ░███████████████░ ███▀
▄  ▀█                   █▀  ▄
██▄    ███████████████    ▄██
████▄                   ▄████
██████▄               ▄██████
████████             ████████
██████▀  ▄██▄   ▄██▄  ▀██████
████▀  ▄██████▄██████▄  ▀████
██▀  ▄█████████████████▄  ▀██

WHITEPAPER
.██████████████████████
████████████████████████
████████████████████████
██▄     ███████     ▄███
████     █████     █████
████ ▌    ███▌     █████
████ █     █▌ ▐    █████
████ ██      ▐█    █████
████ ███    ▐██    █████
███▀ ▀███   ███    █████
█▀     ▀██ ██▀      ▀███
████████████████████████
.██████████████████████
.██████████████████████
████████████████████████
█████████████▀    ▀█████
██░▀████████▌      ▀████
██░   ▀████▀        ▀███
██                 █████
███                █████
█████              █████
██████           ▄██████
█████▀         ▄████████
███▄▄      ▄▄███████████
████████████████████████
.██████████████████████
.██████████████████████
████████████████████████
████████████████████████
████████████▀▀    ▐█████
███████▀▀     ▄▀  ▐█████
███▀▀       ▄▀    ██████
██░       ▄▀      ██████
████▄▄  ▄▀       ███████
████████▄        ███████
█████████        ███████
██████████ ██▄▄ ████████
████████████████████████
.██████████████████████
73blazer
Member
**
Offline Offline

Activity: 104
Merit: 12


View Profile
February 05, 2018, 03:44:58 PM
 #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:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!