Bitcoin Forum
November 14, 2024, 08:59:22 AM *
News: Check out the artwork 1Dq created to commemorate this forum's 15th anniversary
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: svn rev 194: boolean options/flags bug fix  (Read 1256 times)
Gavin Andresen (OP)
Legendary
*
qt
Offline Offline

Activity: 1652
Merit: 2301


Chief Scientist


View Profile WWW
December 03, 2010, 07:49:15 PM
 #1

I just checked in a minor bug fix / cleanup.

The bug:  boolean options/flags were being treated inconsistently.  If you specified -gen=0, that meant (and still means) "do not generate."  But specifying -testnet=0 did the opposite of what you might expect.

Now all boolean flags behave the same way; for example:
 -gen  : means generate
 -gen=1  (or gen=1 in bitcoin.conf): means generate
 -gen=0  (or gen=0 in bitcoin.conf): means do not generate

... and if you don't specify the option at all, that means "don't."

Check your bitcoin.conf file!  If you are using anything beside "0" and "1" for boolean options, you need to change.  I had:

Code:
rpcssl=true   # THIS IS WRONG!

... in one of my bitcoin.conf files.  The correct syntax is rpcssl=1

How often do you get the chance to work on a potentially world-changing project?
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!