Bitcoin Forum
April 27, 2024, 05:17:32 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: svn r168 : -testnet switch to run on TEST network  (Read 2395 times)
Gavin Andresen (OP)
Legendary
*
qt
Offline Offline

Activity: 1652
Merit: 2216


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?
1714195052
Hero Member
*
Offline Offline

Posts: 1714195052

View Profile Personal Message (Offline)

Ignore
1714195052
Reply with quote  #2

1714195052
Report to moderator
1714195052
Hero Member
*
Offline Offline

Posts: 1714195052

View Profile Personal Message (Offline)

Ignore
1714195052
Reply with quote  #2

1714195052
Report to moderator
You can see the statistics of your reports to moderators on the "Report to moderator" pages.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714195052
Hero Member
*
Offline Offline

Posts: 1714195052

View Profile Personal Message (Offline)

Ignore
1714195052
Reply with quote  #2

1714195052
Report to moderator
LZ
Legendary
*
Offline Offline

Activity: 1722
Merit: 1072


P2P Cryptocurrency


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

Great! Thank you! Cheesy

My OpenPGP fingerprint: 5099EB8C0F2E68C63B4ECBB9A9D0993E04143362
ribuck
Donator
Hero Member
*
Offline Offline

Activity: 826
Merit: 1039


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
Legendary
*
Offline Offline

Activity: 1722
Merit: 1072


P2P Cryptocurrency


View Profile
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

My OpenPGP fingerprint: 5099EB8C0F2E68C63B4ECBB9A9D0993E04143362
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!