Bitcoin Forum
May 01, 2024, 07:39:30 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Running Bitcoin testnet3 privately  (Read 1057 times)
dismayldream (OP)
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?
1714592370
Hero Member
*
Offline Offline

Posts: 1714592370

View Profile Personal Message (Offline)

Ignore
1714592370
Reply with quote  #2

1714592370
Report to moderator
1714592370
Hero Member
*
Offline Offline

Posts: 1714592370

View Profile Personal Message (Offline)

Ignore
1714592370
Reply with quote  #2

1714592370
Report to moderator
The Bitcoin software, network, and concept is called "Bitcoin" with a capitalized "B". Bitcoin currency units are called "bitcoins" with a lowercase "b" -- this is often abbreviated BTC.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714592370
Hero Member
*
Offline Offline

Posts: 1714592370

View Profile Personal Message (Offline)

Ignore
1714592370
Reply with quote  #2

1714592370
Report to moderator
dismayldream (OP)
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: 101


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:  

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