Bitcoin Forum
September 27, 2016, 08:39:54 PM *
News: Due to DDoS attacks, there may be periodic downtime.
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: svn r168 : -testnet switch to run on TEST network  (Read 2118 times)
Gavin Andresen
Legendary
*
qt
Offline Offline

Activity: 1652


Chief Scientist


View Profile WWW
October 19, 2010, 06:43:47 PM
 #1

Bitcoin version 0.3.13.05 (svn revision 168) adds the -testnet option to bitcoin/bitcoind, for testing or experimentation with worthless bitcoins on the TEST payment network.

This version is compatible with my old compile-time test network patch.  Stuff you aught to know as you run this:

  • A -testnet bitcoin will use the same bitcoin.conf file as regular bitcoin (unless overridden with the -conf= switch).
  • The -testnet data directory is a "testnet" subdirectory in the regular data directory.
  • A -testnet bitcoin listens for connections on ports 8333/8332, just like regular bitcoin, so you cannot run both -testnet and regular bitcoin at the same time on one machine.
  • You can get play bitcoins from the TEST faucet at https://freebitcoins.appspot.com/TEST/
  • testnet bitcoin addresses will not work on the regular bitcoin network, so it is impossible to accidently try to send real bitcoins to test address.  However, regular bitcoin addresses are valid testnet addresses; it is possible to try to send testnet bitcoins to a regular bitcoin address (they will effectively be lost if you do that).

This will be very useful for anybody creating a web-based bitcoin service.  You should be able to run bitcoind with the -testnet switch and no code changes to test your service with pretend, instead of real, bitcoins.

How often do you get the chance to work on a potentially world-changing project?
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1475008794
Hero Member
*
Offline Offline

Posts: 1475008794

View Profile Personal Message (Offline)

Ignore
1475008794
Reply with quote  #2

1475008794
Report to moderator
1475008794
Hero Member
*
Offline Offline

Posts: 1475008794

View Profile Personal Message (Offline)

Ignore
1475008794
Reply with quote  #2

1475008794
Report to moderator
1475008794
Hero Member
*
Offline Offline

Posts: 1475008794

View Profile Personal Message (Offline)

Ignore
1475008794
Reply with quote  #2

1475008794
Report to moderator
LZ
Staff
Legendary
*
Offline Offline

Activity: 1470


Satoshi everywhere!


View Profile WWW
October 20, 2010, 01:11:37 AM
 #2

Great! Thank you! Cheesy

"Never invest unless you can afford to lose your entire investment." © S3052
ribuck
Donator
Legendary
*
Offline Offline

Activity: 826


View Profile
October 20, 2010, 07:44:20 AM
 #3

Philosophical question for economists to ponder:

What is it that makes BTC from the test network have no value, and BTC from the other network have value?
LZ
Staff
Legendary
*
Offline Offline

Activity: 1470


Satoshi everywhere!


View Profile WWW
October 20, 2010, 07:58:31 AM
 #4

It may have value, but we must bear in mind that...
Initial difficulty is 4 times easier than production Bitcoin

"Never invest unless you can afford to lose your entire investment." © S3052
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!