Bitcoin Forum
September 27, 2018, 10:37:37 PM *
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: Running Bitcoin testnet3 privately  (Read 1025 times)
dismayldream
Newbie
*
Offline Offline

Activity: 3
Merit: 0


View Profile
August 22, 2013, 08:12:21 PM
 #1

I have recently setup a small private farm of three Bitcoin 0.83 daemons on an internal testnet, all connected to each other only and all set to generate Bitcoins. The problem is after 5 hours and ~100% CPU usage, not one of the instances has managed to generate a single block:


bitcoind -datadir=2 getinfo
{
    "version" : 80300,
    "protocolversion" : 70001,
    "walletversion" : 60000,
    "balance" : 0.00000000,
    "blocks" : 0,
    "timeoffset" : 0,
    "connections" : 1,
    "proxy" : "",
    "difficulty" : 1.00000000,
    "testnet" : true,
    "keypoololdest" : 1377192724,
    "keypoolsize" : 6,
    "paytxfee" : 0.00000000,
    "errors" : ""
}

They've never seen the real test net and their databases were freshly initialized, but I have noticed the difficulty seems slightly at odds to some historical posts (on here) which showed a difficulty of 0.125 for default earlier versions (testnet2 I believe). Any pointers as to exactly why exactly this might be the case and if there is any way to reduce the difficulty so some blocks start being created?
1538087857
Hero Member
*
Offline Offline

Posts: 1538087857

View Profile Personal Message (Offline)

Ignore
1538087857
Reply with quote  #2

1538087857
Report to moderator
1538087857
Hero Member
*
Offline Offline

Posts: 1538087857

View Profile Personal Message (Offline)

Ignore
1538087857
Reply with quote  #2

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

Posts: 1538087857

View Profile Personal Message (Offline)

Ignore
1538087857
Reply with quote  #2

1538087857
Report to moderator
dismayldream
Newbie
*
Offline Offline

Activity: 3
Merit: 0


View Profile
August 22, 2013, 08:34:59 PM
 #2

Turns out someone has done the hard work already: testnet-in-a-box https://github.com/freewil/bitcoin-testnet-box/tree/master/1/testnet3 - so I'm just posting this for anyone else who may be in a similar situation and doesn't want to trawl Google.
blueadept
Full Member
***
Offline Offline

Activity: 225
Merit: 100


View Profile
August 22, 2013, 08:51:16 PM
 #3

In the current development version, there's a new mode called "regtest." It works really well for private testing.

Like my posts?  Connect with me on LinkedIn and endorse my "Bitcoin" skill.
Decentralized, instant off-chain payments.
BombaUcigasa
Legendary
*
Offline Offline

Activity: 1442
Merit: 1000



View Profile
August 23, 2013, 04:41:06 PM
 #4

    "blocks" : 0,
I'm not really sure, but don't you need a genesis block custom made to bootstrap the clients?
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!